Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example
This commit is contained in:
commit
707ca1d3c3
|
@ -22,13 +22,13 @@ std::string default_realm_file_directory()
|
|||
|
||||
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)
|
||||
{
|
||||
std::string cmd = "rm " + s_default_realm_directory + "/*.realm " +
|
||||
s_default_realm_directory + "/*.realm.lock";
|
||||
system(cmd.c_str());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ android {
|
|||
buildToolsVersion "23.0.1"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.demo"
|
||||
applicationId "io.realm.reactnative.testapp"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 22
|
||||
versionCode 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<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" />
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.demo;
|
||||
package io.realm.reactnative.testapp;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
|
@ -1,3 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">Demo</string>
|
||||
<string name="app_name">ReactNative Test App</string>
|
||||
</resources>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
rootProject.name = 'Demo'
|
||||
rootProject.name = 'ReactNative Test App'
|
||||
|
||||
include ':app'
|
||||
include ':react-native-fs'
|
||||
|
|
Loading…
Reference in New Issue