Github user csantanapr commented on the pull request:
https://github.com/apache/cordova-app-hello-world/pull/10#issuecomment-128835312
@jengee you don't have to get tired of update the template every time, you
can implement a user land cordova hook after_prepare [1] [2]
you can have a simple nodejs script or any other type of script, and parse
the index.html after being copy to the platform/**/www/ and and check if csp is
missing the value that you want "http://localhost:8247" and added there.
having an arbitrary localhost port open in csp, present for a common
template will raise an eye brow of concerns for people using it in other
platforms than blackberry.
[1]
http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide
[2]
http://photokandy.tumblr.com/post/47426024187/cordova-cli-simple-hooks-and-merges
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]