storesafe / cordova-sqlite-evcore-extbuild-free

Cordova sqlite plugin with Android performance enhancements for PhoneGap Build, GPL v3 or commercial license options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash in case of 4-byte UTF-8 character in database file name

brodybits opened this issue · comments

Quick test of 4-byte emoji UTF-8 character in database name will crash on Android in case of the default Android-evcore-native-driver database access implementation (NOT an issue in case of the builtin android.database access implementation which is enabled by the androidDatabaseImplementation: 2 setting in sqlitePlugin.openDatabase). Related issues:

  • #25 - issue with multi-byte UTF-8 character such as accented characters or Euro symbol in database name
  • #7 - crash in case of emojis and other 4-byte UTF-8 characters

P.S. For some reason I have only encountered this crash on my Motorola Moto E4 Plus Android 7.1.1 test device so far.

This does not seem to be an issue any longer but I think further testing on multiple emulators and devices is needed before closing this.