Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Null is not an object #8

@jeremiahlachica

Description

@jeremiahlachica

I was able to setup iOS and Android. When I visit the portal (one.newrelic.com), data is present like App Launches, HTTP response times, HTTP errors and network failure rate.

But when I try to call nrRecordMetric I get this error:
null is not an object (evaluating '_NewRelicRNModule.default.recordMetric')

Not sure if this is related to this open issue. I tried renaming from:
module.exports = NativeModules.NewRelicRNModule;

to

module.exports = NativeModules.NewRelicModule;

But it didn't work.

I noticed the required React Native version is 0.60 (I'm using 0.59.8) maybe it's not compatible? . Not sure if I'm missing something else. Please help.

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