Skip to content

Unable to run on Android #49

@darkmantle

Description

@darkmantle

Whenever I run on Android I get the following error (iOS works perfectly fine with 0.3.0).

"Attempt to invoke virtual method 'void com.rollbar.android.Rollbar.configure(com.rollbar.notifier.config.ConfigProvider)' on a null object reference'

StackTrace poitns to RollbarReactNative.java:492

My code (minus API key) is:

const rollbarConfig = new Configuration("lolno", {
    captureUncaught: true,
    captureUnhandledRejections: true,
    payload: {
        environment: "debug"
    }
});
const rollbar = new Client(rollbarConfig);

Metadata

Metadata

Assignees

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