-
-
Notifications
You must be signed in to change notification settings - Fork 150
I have a small problem in Firebase Crashlytics. Please help me #118
-
Hi, I added your plugin to my project. I tested it on two devices (Android 7.0 and Android 9), everything works fine, but after the release in Google Play in Firebase Crashlytics I got one problem (1st screenshot). I have already read the FAQ, but I could not find a solution. Can you help me please?) On the 2nd screenshot, the script shows how I have implemented the plugin.
P.S. English is not my native language, so there may be mistakes in the sentences...
Screenshot_1
Screenshot_2
Beta Was this translation helpful? Give feedback.
All reactions
Thank you for all the details. The issue can only come from either of these locations:
-
getIntent().getExtras()returning null:Line 37 in 0a1f502
request.setArguments( getIntent().getExtras() ); -
getArguments()returning null:Line 80 in 0a1f502
final Intent shareIntent = NativeShare.CreateIntentFromBundle( getActivity(), getArguments() );
It's strange. How can these functions return null on a fraction of Android devices? I've googled the...
Replies: 1 comment 2 replies
-
Thank you for all the details. The issue can only come from either of these locations:
getIntent().getExtras()returning null:Line 37 in 0a1f502
request.setArguments( getIntent().getExtras() );getArguments()returning null:Line 80 in 0a1f502
final Intent shareIntent = NativeShare.CreateIntentFromBundle( getActivity(), getArguments() );
It's strange. How can these functions return null on a fraction of Android devices? I've googled the issue and stumbled across these topics which didn't help:
- https://stackoverflow.com/questions/38498499/android-getintent-getextras-returning-null-sometimes
- https://stackoverflow.com/questions/63035155/getextras-in-intent-is-sometimes-null
- https://stackoverflow.com/questions/30015381/getintent-getextras-is-some-times-null-in-api-level-21
Perhaps (hopefully), the top answer in this Reddit post is the reason for this behaviour: https://www.reddit.com/r/androiddev/comments/m1w338/in_activity_under_what_situation/gqfwnz0/
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for such a detailed answer! I have read the materials you found. Do I understand correctly that the problem I have described has no solution and I should leave it and not take any action?)
Beta Was this translation helpful? Give feedback.
All reactions
-
If the problem wasn't caused by a bot as stated in the Reddit post, then I couldn't find the cause of the issue.
Beta Was this translation helpful? Give feedback.