DisyInformationssysteme / Cordova-spatialite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/Windows Universal(8.1)/Amazon Fire-OS/WP(7/8) with HTML5/Web SQL API
Other
24 stars 17 forks source link

Androïd 7.0 #6

Open maxonboard opened 6 years ago

maxonboard commented 6 years ago

Hi,

I can't make it run under Androïd 7.0. The problem is that it doesn't INSERT anything. I can open and read but I can't INSERT.

I may have written wrong stuff so it doesn't work but I wonder if the issue comes from the same problem as litehelpers had to strive with : litehelpers androïd 7.0

Can you test it under Androïd 7.0 ?

Thank you.

Best Regards,

Max

Cultrarius commented 6 years ago

Hey @Maxempulse , thank you for bringing this issue up. We will try to replicate it on our end.

brodycj commented 6 years ago

I wonder if the issue comes from the same problem as litehelpers had to strive with : litehelpers androïd 7.0

litehelpers/Cordova-sqlite-storage#729

Explanation: Using source-file tags to install the NDK shared objects will not work with cordova-android@7 since they changed the structure of the generated Android project.

Solution: I resolved this issue on cordova-sqlite-storage by shipping the NDK build in a JAR and then using the lib-file tag to install the JAR as part of the plugin (see https://github.com/litehelpers/Cordova-sqlite-storage/commit/7d76164e4476a4e6fbf9731962fcee20539e46fc).

For reference:

maxonboard commented 6 years ago

Hi,

Thanks.

Such a great Cordova plugin.

Thank you very much.

Maxime

Le 29 janv. 2018 3:35 PM, "Chris Brody" notifications@github.com a écrit :

I wonder if the issue comes from the same problem as litehelpers had to strive with : litehelpers androïd 7.0

litehelpers/Cordova-sqlite-storage#729 https://github.com/litehelpers/Cordova-sqlite-storage/issues/729

Explanation: Using source-file tags to install the NDK shared objects will not work with cordova-android@7 since they changed the structure of the generated Android project.

Solution: I resolved this issue on cordova-sqlite-storage by shipping the NDK build in a JAR and then using the lib-file tag to install the JAR as part of the plugin (see litehelpers/Cordova-sqlite-storage@7d76164 https://github.com/litehelpers/Cordova-sqlite-storage/commit/7d76164e4476a4e6fbf9731962fcee20539e46fc ).

For reference:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DisyInformationssysteme/Cordova-spatialite-storage/issues/6#issuecomment-361360377, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah698SGfR7mIzRYgFfqOFo6oPTWivibOks5tPh1ogaJpZM4RjBwi .

maxonboard commented 6 years ago

Hi,

I can't make it work under Android 7.0. It can't read values or write values.

If someone can try ...

markloreto commented 5 years ago

Hi, Can't make it work with Android 7.0 as well... working fine on Android 6

adworks commented 5 years ago

Hi, Any update on Android 7+ support?

Many thanks!