Archived
Bump to RN 0.47 add rn-config
Note: You need to cp env-example to .env and run yarn
This commit is contained in:
1 parent
714115e264
commit
74fa7ecfba
11 files changed
+368
-50
No files matched your search
@@ -3,6 +3,7 @@ package no.neuf.chateau;
|
||||
import android.app.Application;
|
||||
|
||||
import com.facebook.react.ReactApplication;
|
||||
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
|
||||
import com.facebook.react.ReactInstanceManager;
|
||||
import com.facebook.react.ReactNativeHost;
|
||||
import com.facebook.react.ReactPackage;
|
||||
@@ -23,7 +24,8 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
@Override
|
||||
protected List<ReactPackage> getPackages() {
|
||||
return Arrays.<ReactPackage>asList(
|
||||
new MainReactPackage()
|
||||
new MainReactPackage(),
|
||||
new ReactNativeConfigPackage()
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user