mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-01-21 09:30:25 +00:00
Fix unexistant createJSModules on rn 0.47+
This commit is contained in:
parent
dba1000fa7
commit
f19cd9bcd6
@ -17,7 +17,7 @@ public class RNI18nPackage implements ReactPackage {
|
||||
return Arrays.<NativeModule>asList(new RNI18nModule(reactContext));
|
||||
}
|
||||
|
||||
@Override
|
||||
// Deprecated in React Native 0.47
|
||||
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user