Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'initialize' of null (Crash Reporter) #180

Open
Goye opened this issue Oct 2, 2024 · 2 comments
Open

Cannot read property 'initialize' of null (Crash Reporter) #180

Goye opened this issue Oct 2, 2024 · 2 comments

Comments

@Goye
Copy link

Goye commented Oct 2, 2024

I am integrating tealium-react-native-crash-reporter into the project and I'm seeing this issue when I try to run it on iOs (I'm calling the function as recommended in the documentation):

import TealiumCrashReporter from 'tealium-react-native-crash-reporter';
...
TealiumCrashReporter.initialize(Platform.OS === 'android');

I am using the following React native version & Tealium version (I've also tried with a lower version):

"react": "18.3.1",
"react-native": "0.75.2",
"tealium-react-native": "^2.4.0"

Finally, I've deep-dive into the code and noticed that the bridge method arrives null so it looks like something is missing in the Native part, maybe export the method using RCT_EXPORT_MODULE

Thank you very much!!

@craigrouse
Copy link
Contributor

@Goye thanks for the detailed report and sorry you're experiencing this issue. We'll take a look and come back to you as soon as we can.

@wlesterw
Copy link

Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants