-
Notifications
You must be signed in to change notification settings - Fork 93
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
App crash in background on iOS when using with CodePush #206
Comments
Was able to fix by implementing |
Facing the same issue, can you please explain more how you fixed it with |
I'm facing same problem.
|
@Sangkwun, yes, I've mentioned previously how I fixed the issue
|
@KirillRodichevUtorg |
@Sangkwun, I didn't modify mmkv, I patched quick-crypto so that MGLTypedArray implementa cache invalidation as it's done in latest mmkv version |
I see. Your patch seem like they could be very helpful. on my reseach mmkv invalidate needs key but MGLTypedArray doesn't. |
Hi @KirillRodichevUtorg |
Hey @KirillRodichevUtorg, please share patch if you have time. |
"react-native-mmkv": "2.11.0",
"react-native-quick-crypto": "0.6.1",
"react-native-code-push": "8.1.0",
Preconditions: CodePush is configured to install updates on app suspend
STR:
push an update to CodePush
move it to the background
move app to foreground
AR: In background, after bundle installation the app crashes leading to a rollback in CodePush
ENV:
iOS 16.0
iPhone iPhone X
Seems to be related to mrousavy/react-native-mmkv#494, but this time on the newer version
For the previous issue I was able to create a patch. Maybe this time we'll be able to make an update to the library :)
Stack trace:
The text was updated successfully, but these errors were encountered: