Skip to content

Commit

Permalink
Merge pull request #74 from radko93/patch-1
Browse files Browse the repository at this point in the history
Remove createJSModules - RN 0.47 compatibility
  • Loading branch information
crazycodeboy committed Aug 18, 2017
2 parents dcee9e1 + 50adfdd commit 54d1a33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
public class SplashScreenReactPackage implements ReactPackage {

@Override
// Deprecated RN 0.47
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}
Expand All @@ -36,4 +36,4 @@ public List<NativeModule> createNativeModules(
modules.add(new SplashScreenModule(reactContext));
return modules;
}
}
}

0 comments on commit 54d1a33

Please sign in to comment.