Instabug / Instabug-React-Native

In-app feedback and bug reporting tool for React Native
https://instabug.com/platforms/react-native
MIT License
308 stars 100 forks source link

Missing invocationEvents on Init in Android crashes the app #1178

Closed krisidmisso closed 3 months ago

krisidmisso commented 4 months ago

Steps to Reproduce the Problem

If you initialize Instabug without invocationEvents in Android, the app will crash

Instabug.init({
  token: 'APP_TOKEN',
});

This doesnt happen on iOS.

To avoid this initialize it with an empty array:

Instabug.init({
  token: 'APP_TOKEN',
  invocationEvents: []
});

Expected Behavior

Expected to have a default empty array on Android and not crash, like it doesn't in iOS

Actual Behavior

The app crashes in Android

Instabug integration code

SDK Version

12.8.0

stale[bot] commented 3 months ago

This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions.

stale[bot] commented 3 months ago

This issue has been automatically closed since we haven't heard back from you. Please feel free to re-open the issue if you have more information to add.