mirror of
https://github.com/RamonGebben/getmehigh-native.git
synced 2026-03-10 00:41:16 +00:00
importing without errors
This commit is contained in:
@@ -76,4 +76,5 @@ dependencies {
|
||||
compile "com.android.support:appcompat-v7:23.0.1"
|
||||
compile "com.facebook.react:react-native:0.17.+"
|
||||
compile project(':react-native-gmaps')
|
||||
compile project(':RNMaterialKit')
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ import com.facebook.react.ReactRootView;
|
||||
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
|
||||
import com.facebook.react.shell.MainReactPackage;
|
||||
import com.rota.rngmaps.RNGMapsPackage;
|
||||
import com.github.xinthink.rnmk.ReactMaterialKitPackage;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
public class MainActivity extends Activity implements DefaultHardwareBackBtnHandler {
|
||||
@@ -28,6 +29,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
|
||||
.setJSMainModuleName("index.android")
|
||||
.addPackage(new MainReactPackage())
|
||||
.addPackage(new RNGMapsPackage())
|
||||
.addPackage(new ReactMaterialKitPackage())
|
||||
.setUseDeveloperSupport(BuildConfig.DEBUG)
|
||||
.setInitialLifecycleState(LifecycleState.RESUMED)
|
||||
.build();
|
||||
|
||||
@@ -2,5 +2,7 @@ rootProject.name = 'getMeHighMobile'
|
||||
|
||||
include ':app'
|
||||
include ':react-native-gmaps', ':app'
|
||||
include ':RNMaterialKit'
|
||||
|
||||
project(':react-native-gmaps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gmaps/android/app')
|
||||
project(':RNMaterialKit').projectDir = file('../node_modules/react-native-material-kit/android')
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"react-native": "^0.17.0",
|
||||
"react-native-gmaps": "^1.0.6"
|
||||
"react-native-gmaps": "^1.0.6",
|
||||
"react-native-material-kit": "^0.2.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user