Update example and dependencies

This commit is contained in:
zoontek
2018-04-21 17:06:46 +02:00
parent 6eb461b78c
commit 06f1eace48
20 changed files with 1982 additions and 227 deletions
+7 -3
View File
@@ -72,6 +72,10 @@ import com.android.build.OutputFile
* ]
*/
project.ext.react = [
entryFile: "index.js"
]
apply from: "../../node_modules/react-native/react.gradle"
/**
@@ -90,13 +94,13 @@ def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "com.reactnativelanguagesexample"
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 25
versionCode 1
versionName "1.0"
ndk {
@@ -1,20 +1,14 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.reactnativelanguagesexample"
android:versionCode="1"
android:versionName="1.0">
package="com.reactnativelanguagesexample">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="22" />
<application
android:name=".MainApplication"
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
@@ -28,6 +28,11 @@ public class MainApplication extends Application implements ReactApplication {
new ReactNativeLanguagesPackage()
);
}
@Override
protected String getJSMainModuleName() {
return "index";
}
};
@Override