react-native-multibundler
react-native-multibundler copied to clipboard
Buz1Activity cannot be cast to androidx.appcompat.app.AppCompatActivity
public class Buz1Activity extends AsyncReactActivity { /** * Returns the name of the main component registered from JavaScript. * This is used to schedule rendering of the component. */ @Override protected String getMainComponentName() { return "index"; }
@Override
protected RnBundle getBundle() {
RnBundle bundle = new RnBundle();
bundle.scriptType = AsyncReactActivity.ScriptType.NETWORK;
bundle.scriptPath = "index.android.bundle";
bundle.scriptUrl = AppInfoProviderImpl.zipUrl;
return bundle;
}
}