react-native-sqlite-storage icon indicating copy to clipboard operation
react-native-sqlite-storage copied to clipboard

New sqlite libraries for Android native

Open leorajdsouza opened this issue 3 years ago • 7 comments

Updating the code lib fixed the #462 issue.

Tested Environments: RN: 0.62.1 Device: S21 Android 11

leorajdsouza avatar Oct 12 '21 12:10 leorajdsouza

Ohhh interesting. sounds like this is my problem too

rblalock avatar Oct 12 '21 18:10 rblalock

Is there anything I can do to help get this through? Testing? etc?

rblalock avatar Oct 12 '21 20:10 rblalock

Quite interested in this as well, especially on builds with targetSdkVersion: 30, which became standard with RN 65+. By my read targeting version 30 causes Android to enforce the new file system permissions fully.

zzorba avatar Oct 12 '21 21:10 zzorba

@zzorba Ref. my comment here, maybe it'll help? https://github.com/andpor/react-native-sqlite-storage/issues/462#issuecomment-941580281

rblalock avatar Oct 12 '21 21:10 rblalock

@rblalock thank you for this suggestion, I was strongly considering moving back to the built in SQLite, I just was trying to remember why I might have put the embedded version in to begin with.

Edit: and as I suspected, supporting old android versions forced me to use the full SQLite implementation, since older OSes don't support the on conflict operations that typeorm is using in my current setup.

zzorba avatar Oct 12 '21 21:10 zzorba

There are conflicts. Also, can you confirm if all required functionality/features for native libs are working fine (use JSON test file in examples directory). Please reach out to the contributor of those libraries to make sure everything is covered and working.

andpor avatar Oct 20 '21 17:10 andpor

Is there anything I can do to help get this through? Testing? etc?

Yes @rblalock - testing/validation would be great. I have seen people having issues with JSON support and other things glancing through the original issue.

andpor avatar Oct 20 '21 17:10 andpor