Skip to content

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

@Snooker-shoot

Description

@Snooker-shoot

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

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions