Skip to content
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

chore: fix Android SoLoader occasional crash on app re-install #11

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

vharsh
Copy link

@vharsh vharsh commented Mar 7, 2023

What does this fix ?

tl; dr: Fixes a possible crash on android install which happens on Android 9, 10 & 11.

detailed: At times when the Android app with some app-data is upgraded the app fails to load with these Exceptions and crashes each time the app is opened on device. These logs have are captured android-onlaunch-crash.txt for this bug.

ref: facebook/SoLoader#77

fixes: mosip#622

@vharsh vharsh requested a review from ravikp March 7, 2023 06:57
@vharsh
Copy link
Author

vharsh commented Mar 7, 2023

@ravikp I was able to reproduce it crashing on Nokia 6.1 Plus(Android 10, BLE5.0) by installing various old and new APKs and the app didn't crash once the newer APK generated from this branch was installed after previously installed APK was crashing. This scenario proves that this changeset fixes this issue for this platform combination.

Copy link

@ravikp ravikp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ravikp ravikp merged commit 4c6afd6 into develop Mar 7, 2023
@swatigoel swatigoel deleted the so_loader_fix branch June 4, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants