Skip to content

Android crash on load splash screen #30

@DeDuckProject

Description

@DeDuckProject

Hi
I get this error on android (RN version 0.30.0)
screenshot 2016-10-29 23 44 38

This happens because I invoke the call to

new RCTSplashScreenPackage(MainActivity.activity)

before calling

    @Override
    protected String getMainComponentName() {
        activity = this;
        return "app";
    }

so MainActivity.activity is null.

Anyone experiencing this as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions