-
Notifications
You must be signed in to change notification settings - Fork 716
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
cordova-sqlite-ext and cordova-sqlite-storage [UNDEFINED BEHAVIOR] #719
Comments
I had faced similar issue, then performed following steps (not sure which one fixed the issue) and now it's working fine.
|
Same question raised in brodycj/cordova-sqlite-ext#67, same answer: It is not possible to install multiple sqlite plugins. Duplicate symbols will result. This will be documented as a pitfall. |
I just raised apache/cordova-discuss#81 to safeguard against such a combination in the Cordova framework. |
Ok.. if I only install the cordova-sqlite-ext I get the next error.. CDVPlugin class SQLitePlugin (pluginName: SQLitePlugin) does not exist. |
@DetoloX brodybits / cordova-sqlite-ext-bootstrap-starter-app is the recommended starting point for an app using the cordova-sqlite-ext plugin version; please ask in litehelpers / Cordova-sqlite-help / issues in case of further troubles. |
In case of multiple sqlite plugins installed the behavior should be considered UNDEFINED. It may lead to compile error, runtime error, data loss due to multiple sqlite problem discussed in #626, other forms of data loss, etc. etc. Will be documented. |
how you attached a sqlite pre populated database to ionic app ? |
When I install this 2 plugins I am getting this error in iOS. And I need cordova-sqlite-ext because I am using a prepopulated database.. In android works perfectly..
[ERROR] An error occurred while running cordova build ios (exit code 1):
The text was updated successfully, but these errors were encountered: