-
Notifications
You must be signed in to change notification settings - Fork 100
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
Unable to Store data in ANDROID 11 (API 30) #244
Comments
Pensé que solo me pasaba en los celulares XIOAMI pero al estar investigando solo pasa en EL API 30 |
I'm seeing this too. It works on previous versions of API (29 specifically) |
Yesterday got same issue. Storage doesn't work for Android 11, Galaxy A32 5. |
I'm also getting the same issue! My app is not working properly in some Android 11 devices. I've tested on Samsung s20 fe and Samsung Tab A7. However, I was able to run the app without problems on Android Emulator and also in some other devices with Android 11. It looks like this problem doesn't happen to all Android 11 devices. |
To solve this, we have changed our Ionic storage to use IndexDB rather than SQLite. In Angular, we change the root instantiation to this:
|
Same problem here, Android Version 11 - API (30)
@oneserve solution worked for as a workaround. Is there any idea when this bug will be addressed? |
@andrepaulo, It looks like this problem is actually on cordova-sqlite-storage plugin, as can be seen here storesafe/cordova-sqlite-storage#954. I was able to fix this problem by updating the cordova-sqlite-storage to version 6.0.0. The following steps worked for me: (1) Delete node_modules directory
(3) Run npm install In the case you need to test your application in a variety of devices, the site www.browserstack.com can help you. They provide many virtual devices that are ready to run your application. It helped me a lot to reproduce this bug and confirm the solution. |
I don't no what is happen but i tried with this solutions and it works . |
This solved the issue for me (Ionic 5, Angular 11, Capacitor 3, ionic-native/sqlite 5.36, cordova-sqlite-storage: 6.0.0): $ npm install cordova-sqlite-storage Hope it helps. |
Hola, lograste alguna solución ? |
Hola, yo lo solucioné desinstalando lo que tenía de SQLite e instalando: $ npm install cordova-sqlite-storage Es lo que pone la documentación actualizada de capacitor. Seguramente tengas que cambiar cosas del código. Ánimo. |
Values not store in android 11 i.e API 30 ,
from below android 30 all work good. It not store any value in ionic/storage ,
Is there any new update or any new configuration for android 11 in ionic 4
Thank you...!!
The text was updated successfully, but these errors were encountered: