Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Allow all external communication in Cordova by default
Browse files Browse the repository at this point in the history
This is a sensible default and can be modified by projects as they see
fit.
  • Loading branch information
pascalw committed Feb 2, 2018
1 parent 0364f35 commit 0194551
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added
- Environment variables starting with `MAJI_APP_` are injected by default. They can be referenced by `process.env.MAJI_APP_*` in your code. [#190](https://github.com/kabisa/maji/pull/190)
- Allow all external communication in Cordova by default. [#216](https://github.com/kabisa/maji/pull/216)

### Changed
- Nightwatch tests now run headless by default. [#200](https://github.com/kabisa/maji/pull/200)
Expand Down
3 changes: 3 additions & 0 deletions project_template/cordova/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<!-- disable icloud storage sync -->
<preference name="BackupWebStorage" value="local"/>

<!-- allow all external communication by default -->
<allow-navigation href="*" />

<plugin name="cordova-plugin-networkactivityindicator" spec="~0.1.1" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.0"/>
<plugin name="cordova-plugin-whitelist" spec="~1.3.0"/>
Expand Down

0 comments on commit 0194551

Please sign in to comment.