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…
Reference in New Issue