Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ascii-16/zi-products-app
https://github.com/ascii-16/zi-products-app
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ascii-16/zi-products-app
- Owner: ascii-16
- Created: 2020-01-14T06:47:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T23:00:35.000Z (about 4 years ago)
- Last Synced: 2024-10-17T00:54:24.871Z (about 1 month ago)
- Language: JavaScript
- Size: 8.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Hello World PhoneGap Template [![bitHound Score][bithound-img]][bithound-url]
A PhoneGap Hello World template
## Usage
#### PhoneGap CLI
The hello-world template is the default when you create a new application using the [phonegap-cli][phonegap-cli-url].
phonegap create my-app
Create an app using this template specifically:
phonegap create my-app --template hello-world
To see a list of other available PhoneGap templates:
phonegap template list
## [config.xml][config-xml]
#### android-minSdkVersion (Android only)
Minimum SDK version supported on the target device. Maximum version is blank by default.
This template sets the minimum to `14`.
#### <access ...> (All)
This template defaults to wide open access.
It is strongly encouraged that you restrict access to external resources in your application before releasing to production.
For more information on whitelist configuration, see the [Cordova Whitelist Guide][cordova-whitelist-guide] and the [Cordova Whitelist Plugin documentation][cordova-plugin-whitelist]
## [www/index.html][index-html]
#### Content Security Policy (CSP)
The default CSP is similarly open:
Much like the access tag above, you are strongly encouraged to use a more restrictive CSP in production.
A good starting point declaration might be:
For more information on the Content Security Policy, see the [section on CSP in the Cordova Whitelist Plugin documentation][cordova-plugin-whitelist-csp].
Another good resource for generating a good CSP declaration is [CSP is Awesome][csp-is-awesome]
[phonegap-cli-url]: http://github.com/phonegap/phonegap-cli
[cordova-app]: http://github.com/apache/cordova-app-hello-world
[bithound-img]: https://www.bithound.io/github/phonegap/phonegap-app-hello-world/badges/score.svg
[bithound-url]: https://www.bithound.io/github/phonegap/phonegap-app-hello-world
[config-xml]: https://github.com/phonegap/phonegap-template-hello-world/blob/master/config.xml
[index-html]: https://github.com/phonegap/phonegap-template-hello-world/blob/master/www/index.html
[cordova-whitelist-guide]: https://cordova.apache.org/docs/en/dev/guide/appdev/whitelist/index.html
[cordova-plugin-whitelist]: http://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist
[cordova-plugin-whitelist-csp]: http://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist#content-security-policy
[csp-is-awesome]: http://cspisawesome.com