parent
0354f72b94
commit
65644b2d84
|
@ -123,5 +123,6 @@ dependencies {
|
||||||
compile "com.android.support:appcompat-v7:23.0.1"
|
compile "com.android.support:appcompat-v7:23.0.1"
|
||||||
compile "com.facebook.react:react-native:0.20.+"
|
compile "com.facebook.react:react-native:0.20.+"
|
||||||
compile project(':react-native-contacts')
|
compile project(':react-native-contacts')
|
||||||
|
compile project(':react-native-i18n')
|
||||||
compile(name:'geth', ext:'aar')
|
compile(name:'geth', ext:'aar')
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,8 @@ import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
import com.i18n.reactnativei18n.ReactNativeI18n;
|
||||||
|
|
||||||
|
|
||||||
public class MainActivity extends ReactActivity {
|
public class MainActivity extends ReactActivity {
|
||||||
|
|
||||||
|
@ -61,7 +63,8 @@ public class MainActivity extends ReactActivity {
|
||||||
protected List<ReactPackage> getPackages() {
|
protected List<ReactPackage> getPackages() {
|
||||||
return Arrays.<ReactPackage>asList(
|
return Arrays.<ReactPackage>asList(
|
||||||
new MainReactPackage(),
|
new MainReactPackage(),
|
||||||
new ReactNativeContacts()
|
new ReactNativeContacts(),
|
||||||
|
new ReactNativeI18n()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,3 +4,6 @@ include ':app'
|
||||||
|
|
||||||
include ':react-native-contacts'
|
include ':react-native-contacts'
|
||||||
project(':react-native-contacts').projectDir = new File(settingsDir, '../node_modules/react-native-contacts/android')
|
project(':react-native-contacts').projectDir = new File(settingsDir, '../node_modules/react-native-contacts/android')
|
||||||
|
|
||||||
|
include ':react-native-i18n'
|
||||||
|
project(':react-native-i18n').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-i18n/android')
|
Loading…
Reference in New Issue