Open diogosperandio opened 3 years ago
Hi,
Could you help me, the file MainApplication.java is a little different from your doc. How could I modify it? Thank you
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override public boolean getUseDeveloperSupport() { return BuildConfig.DEBUG; } @Override protected List<ReactPackage> getPackages() { @SuppressWarnings("UnnecessaryLocalVariable") List<ReactPackage> packages = new PackageList(this).getPackages(); // Packages that cannot be autolinked yet can be added manually here, for example: // packages.add(new MyReactNativePackage()); return packages; } @Override protected String getJSMainModuleName() { return "index"; }
You dont need to modify it
Hi,
Could you help me, the file MainApplication.java is a little different from your doc. How could I modify it? Thank you