-
Notifications
You must be signed in to change notification settings - Fork 91
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
Fix android crash on app launch after app upgrades #622
Comments
This bug was a known issue for certain ReactNative versions and has been fixed as recommended by community users. It has been tested against release builds of various versions on Android 10 with the Inji app being used and upgraded multiple times till the bug was reproduced(i.e. the app crashed on launch) and then when the fix-changeset build was used to successfully run the app. PR for mosip/inji: #630 The PRs have been merged in 09-03-2023 Release and the latest commit id on mosip/inji/develop is fa142c6 |
verified this issue on the new build, I tried to install 3 different old builds back again and again, just like @vharsh mentioned in above, the issue is not observed anymore, the task is able to close Tested on : device : pixel 6 device : redmi k20 pro device : vivo y73 MOSIP Version : 1.2.0.1 |
@Anushree09-N @santhoshsunder Can this issue be closed now? |
@vharsh the issue can be closed, issue is not replicating, hence closing this issue |
Describe the bug
In most cases the app works as normal, but after a series of use-and-appUpgrades, the app fails to start and always crashes as soon as the app is launched by tapping on it's icon, no splash screen is visible, just the Android system dialog box pops up specifying that the app has crashed.
To Reproduce
I installed release apps from these release dates to reproduce this bug;
20th Feb --> 28th Feb --> 20th Feb --> 28th Feb --> 6th March
.Expected behavior
On app upgrades the app should not crash.
Actual behavior
After usage & upgrades of the app, the app fails to start and this is a known issue for a certain range of React native versions as documented here.
Add the screenshot of the profile page with commit id
The bug applies to all versions of Android app on Android 9, 10, 11 as documented by the issue on SoLoader repository
Smartphone:
This has been successfully reproduced on Nokia 6.1 Plus(Android 10, BLE 5.0). Since this bug is a react native issue, wallet & verifier details are not relevant here as the app fails to start. This is a React Native issue, so it applies to more devices.
Further relevant details:
React Native version: 0.64.4
Original issue: facebook/SoLoader#77
Logs:
android-onlaunch-crash.txt
The text was updated successfully, but these errors were encountered: