Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brodycj/cordova-sqlite-legacy-pgb-w10-x86-test-app
https://github.com/brodycj/cordova-sqlite-legacy-pgb-w10-x86-test-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/brodycj/cordova-sqlite-legacy-pgb-w10-x86-test-app
- Owner: brodycj
- Created: 2016-11-01T16:05:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-01T16:44:10.000Z (about 8 years ago)
- Last Synced: 2024-07-31T00:17:22.232Z (5 months ago)
- Language: JavaScript
- Size: 190 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cordova sqlite legacy PhoneGap Build test app for Windows 10 x86
PhoneGap Build test app with `Cordova-sqlite-legacy-build-support` for Windows 10 x86
**AUTHOR:** [@brodybits (Christopher J. Brody aka Chris Brody)](https://github.com/brodybits)
**LICENSE:** [CC0 1.0 (public domain)](https://creativecommons.org/publicdomain/zero/1.0/)
**NOTE:** This project includes JQuery (2.2.4) and Bootstrap (3.3.6) under the MIT license. Otherwise there is no code copied from other sources.
**IMPORTANT:** Whitelist and intent items are omitted from this test app.
## Dependencies
- Bootstrap (3.3.6) - included (MIT license)
- JQuery (2.2.4) - included (MIT license)
- `cordova-plugin-dialogs` - specified in `config.xml` (Apache 2.0 license)
- `Cordova-sqlite-legacy-build-support` (MIT license, Apache 2.0 license option for Android/Windows)NOTE: `cordova-plugin-dialogs` and `cordova-sqlite-evcore-extbuild-free` were added using the `--save` flag to ensure that these plugin would be automatically installed. It is recommended to use the `--save` flags to add any other plugins rather than adding such plugins to git.
## To add another plugin
```shell
cordova plugin add my-plugin-id --save
```## Functionality
- Upon startup: open a database and CREATE the test table
- Native alert dialog test
- Echo test
- Self test
- Location reload
- String test 1
- String test 2 (string as a SQL parameter)
- Show record
- Add record
- Add 100 records from JavaScript object after delay
- Delete all records
- Follow link to page 2
- Change window.location to page 2## Multi-page test
It is possible to switch between two pages using "follow link" buttons. The main page also has a button to go to page 2 by changing `window.location`. There is also a button on both pages to try `location.reload()`.
The sqlite plugin should continue to work after the user changes to another page or triggers `location.reload()`.