File tree 2 files changed +22
-4
lines changed
2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -85,3 +85,18 @@ Passes commands straight to cordova, without interference.
85
85
86
86
#### Examples
87
87
+ ` ember cordova platform add ios `
88
+
89
+ ##Setting default Platform
90
+
91
+ If you are only ever building for one platform, you can set a default
92
+ in config.environment.js.
93
+
94
+ This is handy if the defaults don't work out for you, e.g. you are
95
+ only shipping for Android.
96
+
97
+ in config/environment.js:
98
+ ```
99
+ cordova: {
100
+ platform: 'android'
101
+ }
102
+ ```
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ or ios) and any options accepted by Ember serve.
29
29
## Advanced Configuration
30
30
31
31
There are times you may find yourself wanting to enable live-reload
32
- from a remote host and port, or to customize a local url.
32
+ from a remote host and port, or to customize a local url because we are
33
+ not detecting it correctly.
33
34
34
35
## Customize the device live-reload url
35
36
36
37
In all cases below, ` <url> ` refers to the full url including protocol,
37
- host, and port.
38
+ host, and port, e.g. http://localhost:4200
38
39
39
40
* via commandline arg*
40
41
48
49
ember cdv:s -r "<url>"
49
50
```
50
51
51
- * via .ember-cli *
52
+ * via config/environment.js *
52
53
53
54
``` json
54
55
{
55
- deviceLiveReloadUrl: "<url>"
56
+ cordova: {
57
+ reloadUrl: "<url>"
58
+ }
56
59
}
57
60
```
58
61
You can’t perform that action at this time.
0 commit comments