Skip to content

Missing libRTCordova.a, ERROR new NativeEventEmitter() requires a non-null argument. #14

@sirpeas

Description

@sirpeas

6 years passed since last release happened. I hope someone will see this.
I'm running into problem setting it up with newest ReactNative 0.71.4 along with indoorAtlas library.

After adding this into package.json, which chas @remobile/react-native-cordova as a dependency, so I'm installing ver 1.1.1 as well of it.

"react-native-indooratlas": "git+https://github.com/IndoorAtlas/cordova-plugin.git#react-native",

and then on mounting component I initialize IndoorAtlas SDK I go this errors:

 ERROR  Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes
 LOG  Running "MobileAppName" with {"rootTag":1,"initialProps":{}}
 ERROR  Invariant Violation: "MobileAppName" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

Thing is that those errors are not connected to the hermes itself, it looks like one of those packages broke the build pipe.
I tried to go through README.md installation process but libRCTCordova.a file is missing under xcodeproj.

Any thoughts?

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