-
-
Notifications
You must be signed in to change notification settings - Fork 996
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
[Bug]: Using intent package crashes the realm based app in release builds #1968
Comments
An update to this issue. I am not sure if it's a plugin issue or a Gradle problem. But in my case, I solved this by changing the subProjects block present in Android/build.gradle file back to 2 separate blocks. For some reason, having them combined raises the realm exception as mentioned above, breaking the app only after adding the intent package. Feel free to close this issue if this cant be solved from the plugin's end. |
Could you please share a code snippet on what changed and helped you? Would appreciate it as didn't get what was the solution. |
You can refer to this comment on what causes the realm-based app to throw realm exception on adding certain packages. realm/realm-dart#1355 (comment) If you need a minimal reproducible repository, lemme know |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days |
Any update on this? We can close this issue if it's something not fixable on the plugin's end. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days |
Platform
Android 13
Plugin
android intent plus
Version
4.0.1
Flutter SDK
3.10.5
Steps to reproduce
realmexception: error opening realm at path ./default.realm. error code: 1018 . message: failed to open file at path './default.realm.lock': read-only file system flutter
Also, weirdly, while building the release apk with the plugin, it outputs all the files to android/app/build/outputs and build/app/outputs/flutter-apk folders instead of the usual build/app/outputs folders only.
Code Sample
No response
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: