-
Notifications
You must be signed in to change notification settings - Fork 169
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
Android crash #24
Comments
Please disregard, this is happening because I'm using flutter's |
@nuzelac Hi, I have the same problem. I need to read the Android default shared preferences and not the flutter ones, but after reading them the app will crash on subsequent launches. How did you solve? |
Hi @diegocom I'm running a fork of You can check my commit here: |
@nuzelac Great, it works! You saved my day |
@vegaro Hah, it's a very specific issue, I had to look through my old commits to see how I fixed this. 😀 The thing is, Flutter's If you hack around it (to make this prefix optional) you can read anything but the getter has some internal logic that converts Set to List serialized into String. This will touch RC prefs data and crash your SDK on launch next time. Honestly, I wouldn't expect you to handle this case gracefully since it's not usual behavior 🤔 |
Hi,
I have migrated IAP to RevenueCat in my app. iOS works fine, but Android works only on 1st launch after deleting the app from test device. Looks like there's some bogus data in SharedPreferences. Any suggestions what I could try?
The text was updated successfully, but these errors were encountered: