-
Notifications
You must be signed in to change notification settings - Fork 715
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
PhoneGap Build Issues with 1.4.0+ #477
Comments
Thanks @jfi for reporting your findings. This plugin is now using a Older versions will not be supported and may miss important updates, such as fixing the wrong default iOS database location. I can think of two possible ways forward to supporting this plugin with PGB:
|
@brodybits Thanks, dropped you an email about option 2. 👍 |
Are there any news on this topic as i'm unable to use the current version of the plugin with cordova/ionic-cli. The build process fails, showing the exact same error message. Cheers |
@derksacklowski can you please confirm that you get this error message when using Cordova from a local installation of the Ionic CLI? If so then please raise a new issue since I want to treat this separately from the issue with PhoneGap Build. |
Nevermind, i had a problem with my local node installation. |
Is there a way to get the current version (1.4.1) running with PhoneGap Build? What is the current situation of this issue? |
I am also facing the same issue working fine with ~0.8.5 version will be fine if we get support for 1.4.3 too. |
The version at https://github.com/litehelpers/Cordova-sqlite-evcore-extbuild-free supports PhoneGap Build and is available under GPL and commercial license options. For commercial license please contact: sales@litehelpers.net |
#529 has discussion whether or not to keep cordova-sqlite-ext in a separate version. Another idea under consideration would be to include the sqlite3 dependencies in cordova-sqlite-ext as a long term solution to support PhoneGap Build, Intel XDK, etc. |
Any updates on this @brodybits " If anyone wants to purchase a few hours of support from me I would be happy to re-enroll with PGB and work with PGB to get this working. You may contact me at brodybits@litehelpers.net or sales@litehelpers.net if you are interested. @jfi @brodybits Thanks, dropped you an email about option 2. 👍 will it now support phonegap? |
The following versions work on PhoneGap Build:
This is already documented. Maybe it is not clear enough. At the moment https://github.com/litehelpers/Cordova-sqlite-legacy-build-support does contain all features that are in this version. But this may change in the future (sqlite3 update, for example). |
So our only option is 500 dollar licence or a legacy version?? On 17 Nov 2016 17:34, "Chris Brody" notifications@github.com wrote:
|
Those are the options at the moment if you use PhoneGap Build and do not want to follow the GPL. |
PG build break — see storesafe/cordova-sqlite-storage#477
Hi @brodybits, thanks for your work on this plugin. We've been using it in an app with PhoneGap Build which was working fine until today, when I got the following error and it refused to build:
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "cordova-sqlite-storage" via npm Installing "cordova-sqlite-storage" at "1.4.1" for ios Error during processing of action! Attempting to revert... Failed to install 'cordova-sqlite-storage':Error: Uh oh! "/private/tmp/gimlet/70256508913260/2067507/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" not found! at Object.module.exports.common.copyFile (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/platforms/common.js:38:40) at Object.module.exports.common.copyNewFile (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/platforms/common.js:69:16) at installHelper (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/platforms/ios.js:55:16) at module.exports.source-file.install (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/platforms/ios.js:147:13) at /usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/platforms/PlatformApiPoly.js:662:27 at Object.ActionStack.process (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/node_modules/cordova-common/src/ActionStack.js:56:25) at PlatformApiPoly.addPlugin (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/platforms/PlatformApiPoly.js:262:20) at handleInstall (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:602:6) at /usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:391:24 at _fulfilled (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) Uh oh! "/private/tmp/gimlet/70256508913260/2067507/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" not found!
I was asking for the latest version with a source of npm.
I understand from #466 that you aren't supporting PhoneGap Build as it stands. For anyone who comes across this, I have managed to build successfully by locking the plugin in the config.xml:
<plugin name="cordova-sqlite-storage" source="npm" spec="~0.8.5"/>
The following versions seem to work - at least, they build successfully, I haven't been able to test beyond that:
1.4.0 and 1.4.0 cause the above error.
The text was updated successfully, but these errors were encountered: