Skip to content

Commit 71b87a7

Browse files
ruiaraujouerceg
authored andcommitted
Allow RN 0.47 compability for Android
1 parent e5ca509 commit 71b87a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/src/main/java/com/adjust/sdk/AdjustPackage.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
2727
);
2828
}
2929

30+
// Deprecated RN 0.47
31+
public List<Class<? extends JavaScriptModule>> createJSModules() {
32+
return Collections.emptyList();
33+
}
34+
3035
@Override
3136
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
3237
return Arrays.<ViewManager>asList();

0 commit comments

Comments
 (0)