Skip to content
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

Using ESRI-advanced geolocation plugin causes sqlcipher plugin to malfunction #75

Open
id4coding opened this issue Oct 30, 2018 · 0 comments

Comments

@id4coding
Copy link

Hi,
I've an Ionic 3 app which functioned perfectly with sqlcipher plugin. However, when I added the ESRI-advanced geolocation plugin and started using it, sqlcipher adapter stopped functioning. It doesn't throw an error in the browser console. But, Android Studio logcat shows the following stack trace:
`

E/SQLitePlugin: couldn't add to queue
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1194)
    at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:307)
    at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:307)
    at io.sqlc.SQLitePlugin.executeAndPossiblyThrow(SQLitePlugin.java:159)
    at io.sqlc.SQLitePlugin.execute(SQLitePlugin.java:89)
    at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
    at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
    at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
    at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:323)
    at android.os.Looper.loop(Looper.java:135)
    at android.os.HandlerThread.run(HandlerThread.java:61)

`
An issue was opened in ESRI - advanced geolocation plugin's issues section with a similar bug. There, the developer concluded that the problem was not with advanced geolocation plugin. A link to the above issue is here: https://github.com/Esri/cordova-plugin-advanced-geolocation/issues/49

I really want to use both - sqlcipher adapter & advanced geolocation - plugins. Will you please fix this issue or let me know how what I can do about it?

Thanks for your time!

@id4coding id4coding changed the title Using ESRI-Advanced Geolocation Plugin causes sqlcipher plugin to malfunction Using ESRI-advanced geolocation plugin causes sqlcipher plugin to malfunction Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant