cordova-plugin-websql | Cordova WebSQL Plugin | Mobile Application library
kandi X-RAY | cordova-plugin-websql Summary
kandi X-RAY | cordova-plugin-websql Summary
WebSQL plugin for Apache Cordova.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cordova-plugin-websql
cordova-plugin-websql Key Features
cordova-plugin-websql Examples and Code Snippets
Community Discussions
Trending Discussions on cordova-plugin-websql
QUESTION
I recently developed a cordova App that is uploaded to google play store. I tested this app on my mobile and simulators for weeks and everything works fine. However, when i download the same app from the playstore it fails to call any of the web services and such doesn't display any content.
cordova : 9.0.1
npm : 6.10.1
cordova-android : 7.0.0
I have gone through every line of code and i can't seem to find the problem, i replaced every single call to window.localStorage
to a global variables just to be able to fix what i thought would be the problem.
ANSWER
Answered 2019-Aug-20 at 11:40First of all, you need to figure out what is the output of this error. To allow debug on a release build use android:debuggable
on application
tag at AndroiManifest.xml
(https://developer.android.com/guide/topics/manifest/application-element).
Then, plug the device to your computer and in dev settings (on your device) enable usb debugging
. Then, navigate to chrome://inspect/#devices
- your device should be appearing and will be a link to your webview.
With the inspector openned, do the request and look to the error on console tab.
I think there's a high chance that the error is a CORS error, may your production server has CORS eabled and then you need to use cordova-plugin-whitelist
correctly to send a origin
to the server, read more about cordova-plugin-whitelist
here: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cordova-plugin-websql
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page