You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# cordova-code-push + Ionic example
2
2
3
+
Example of how to set up a basic Ionic APP with the code-push cordova plugin.
4
+
3
5
## Prepare the Ionic APP
4
6
5
7
`ionic start codepush-ionic-test blank`
@@ -22,17 +24,21 @@
22
24
23
25
`code-push login`
24
26
27
+
> This command will open the browser and you will have to create an account with the code-push cloud services (you can use your Github, Google, Hotmail one). After successful sign-up, you must copy the token provided by the browser in the terminal.
Finally, use the plugin! Modify **src/app.component.ts** (alert for **updates**):
85
91
86
92
```typescript
87
93
import { Component } from'@angular/core';
@@ -134,7 +140,9 @@ export class MyApp {
134
140
}
135
141
```
136
142
137
-
## Release the update
143
+
Now, you should build your app and test it in your emulator/physical device. You will be only building it once, and then releasing the updates throw code-push.
144
+
145
+
## Release the updates
138
146
139
147
Modify anything in your app and...
140
148
@@ -146,4 +154,4 @@ Modify anything in your app and...
0 commit comments