File tree Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def enableProguardInReleaseBuilds = false
9595
9696android {
9797 compileSdkVersion 25
98- buildToolsVersion " 25 .0.1 "
98+ buildToolsVersion " 26 .0.2 "
9999
100100 defaultConfig {
101101 applicationId " com.reduxtemplate"
Original file line number Diff line number Diff line change 1212 android : allowBackup =" false"
1313 android : theme =" @style/AppTheme" >
1414 <activity
15- android : name =" .MainApplication "
15+ android : name =" .MainActivity "
1616 android : label =" @string/app_name"
1717 android : configChanges =" keyboard|keyboardHidden|orientation|screenSize"
1818 android : windowSoftInputMode =" adjustResize" >
Original file line number Diff line number Diff line change 1+ package com .reduxtemplate ;
2+
13import com .reactnativenavigation .controllers .SplashActivity ;
24
35public class MainActivity extends SplashActivity {
46
7+ /**
8+ * Returns the name of the main component registered from JavaScript.
9+ * This is used to schedule rendering of the component.
10+ */
11+
12+ protected String getMainComponentName () {
13+ return "reduxTemplate" ;
14+ }
515}
Original file line number Diff line number Diff line change 1+ package com .reduxtemplate ;
2+
3+ import com .facebook .react .ReactPackage ;
14import com .reactnativenavigation .NavigationApplication ;
25
6+ import java .util .Arrays ;
7+ import java .util .List ;
8+
39public class MainApplication extends NavigationApplication {
410
511 @ Override
Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 jcenter()
6+ google()
67 }
78 dependencies {
89 classpath ' com.android.tools.build:gradle:3.0.1'
You can’t perform that action at this time.
0 commit comments