Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example

This commit is contained in:
Nabil Hachicha 2016-01-22 18:06:18 +00:00
commit 707ca1d3c3
6 changed files with 8 additions and 8 deletions

View File

@ -22,13 +22,13 @@ std::string default_realm_file_directory()
void ensure_directory_exists_for_file(const std::string &fileName) void ensure_directory_exists_for_file(const std::string &fileName)
{ {
std::string cmd = "rm " + s_default_realm_directory + "/*.realm " +
s_default_realm_directory + "/*.realm.lock";
system(cmd.c_str());
} }
void remove_realm_files_from_directory(const std::string &directory) void remove_realm_files_from_directory(const std::string &directory)
{ {
std::string cmd = "rm " + s_default_realm_directory + "/*.realm " +
s_default_realm_directory + "/*.realm.lock";
system(cmd.c_str());
} }
} }

View File

@ -54,7 +54,7 @@ android {
buildToolsVersion "23.0.1" buildToolsVersion "23.0.1"
defaultConfig { defaultConfig {
applicationId "com.demo" applicationId "io.realm.reactnative.testapp"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 22 targetSdkVersion 22
versionCode 1 versionCode 1

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.demo"> package="io.realm.reactnative.testapp">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View File

@ -1,4 +1,4 @@
package com.demo; package io.realm.reactnative.testapp;
import android.app.Activity; import android.app.Activity;
import android.os.Bundle; import android.os.Bundle;

View File

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">Demo</string> <string name="app_name">ReactNative Test App</string>
</resources> </resources>

View File

@ -1,4 +1,4 @@
rootProject.name = 'Demo' rootProject.name = 'ReactNative Test App'
include ':app' include ':app'
include ':react-native-fs' include ':react-native-fs'