Describe the bug
In index.js where we init the builder results in a crash.
Error message: TypeError: null is not an object (evaluating 'ReactNativeFlurry.initBuilder')
which then crashes the app with
When we uncomment the flurry builder, it works.
We have used flurry for a long time with no issues.
This Bug is About
Please choose the closest item by replacing [ ] with [x].
Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].
Environment
Please tell us the versions of SDKs you are using. If you are not sure about React Native version, you can run react-native --version under your project.
- React Native version: "0.69.5",
- react-native-flurry-sdk version: "7.3.0",
To Reproduce
Steps to reproduce the behavior:
- create react native project
- in the index js, init the builder
new Flurry.Builder()
.withCrashReporting(true)
.withLogEnabled(true)
.withLogLevel(Flurry.LogLevel.DEBUG)
.build(FLURRY_ANDROID_API_KEY, FLURRY_IOS_API_KEY);
Error message: TypeError: null is not an object (evaluating 'ReactNativeFlurry.initBuilder')
app crashes with invariant view error.
"""
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
"""
When we uncomment the flurry builder, everything works well.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Are you using Flurry Push/Messaging? No
(iOS) Are you using CocoaPods for React Native integration? Yes
Add any other context about the problem here.
Describe the bug
In index.js where we init the builder results in a crash.
Error message: TypeError: null is not an object (evaluating 'ReactNativeFlurry.initBuilder')
which then crashes the app with
When we uncomment the flurry builder, it works.
We have used flurry for a long time with no issues.
This Bug is About
Please choose the closest item by replacing
[ ]with[x].Platform
Please choose the platform(s) that you are having the issue by replacing
[ ]with[x].Environment
Please tell us the versions of SDKs you are using. If you are not sure about React Native version, you can run
react-native --versionunder your project.To Reproduce
Steps to reproduce the behavior:
new Flurry.Builder()
.withCrashReporting(true)
.withLogEnabled(true)
.withLogLevel(Flurry.LogLevel.DEBUG)
.build(FLURRY_ANDROID_API_KEY, FLURRY_IOS_API_KEY);
Error message: TypeError: null is not an object (evaluating 'ReactNativeFlurry.initBuilder')
app crashes with invariant view error.
"""
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
"""
When we uncomment the flurry builder, everything works well.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Are you using Flurry Push/Messaging? No
(iOS) Are you using CocoaPods for React Native integration? Yes
Add any other context about the problem here.