Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buz1Activity cannot be cast to androidx.appcompat.app.AppCompatActivity #100

Open
Snooker-shoot opened this issue May 13, 2022 · 0 comments

Comments

@Snooker-shoot
Copy link

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;
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant