-
Notifications
You must be signed in to change notification settings - Fork 159
Crash on Xiaomi device: Fatal Exception: java.lang.NullPointerException service!!.referrerBundle(bundle) must not be null #1261
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
Comments
Thanks for reporting this, we'll investigate and issue a fix for this. |
Quick update, we have encountered the same crash also on an additional Xiaomi device, Xiaomi 14 Ultra running HyperOS Is there any ETA on this investigation? Thanks! |
Work will start later this week, thanks. |
@adonixis Are the devices affected using HyperOS, or can you repro on MIUI? |
Among the devices in the Crashlytics I see Redmi Note 13 Pro, Redmi Note 13, Redmi 14C, Redmi Note 13, Redmi 12, Poco X6 Pro 5G, Redmi Note 13, Redmi 13C, Redmi Note 8m, etc. As far as I know, they all run MIUI, not HyperOS. Unfortunately, I don't have a device with MIUI, so I can't reproduce this on mine. |
Some of those devices did receive an update to HyperOS, but it is unclear if they did update or not since unfortunately Firebase does not help in discerning HyperOS/MIUI. We received the crash reports directly from users running HyperOS and we got confirmation that a device running MIUI was NOT affected, but we cannot vouch for all MIUI (which we also do not have in house to reproduce). |
Ok, I get it. And can you fix this for HyperOS devices? |
I'm able to repro with a HyperOS device, working on a fix now. |
Please give 5.18.1 a try. Please re-open if you have a repro with 5.18.1, thanks! |
Thanks for the fix! @gdeluna-branch Can you please also publish a new version of the React Native SDK pointing to this version? Unable to open an issue there as issues are disabled. |
@gdeluna-branch Great, thanks! We'll check it in the next release |
Yes I'll publish this to react native sdk soon. Thanks! |
Describe the bug
The app crashes at launch on a Xiaomi Redmi 13 Running Android 15 (HyperOS 2.0.3.0).
The Branch SDK version was
5.15.0
This seems to be related to retrieving referral information on Xiamoi devices. Interestingly we have not seen this issue in other manufacturers or in other Xiaomi devices
Steps to reproduce
Expected behavior
The app should not crash at launch
SDK Version
5.15.0
Make and Model
Xiaomi Redmi 15
OS
15
Additional Information/Context
HyperOS 2.0.3.0
The text was updated successfully, but these errors were encountered: