Skip to content

Commit

Permalink
[#33] Added instructions about releasing bundles in the README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Clovis Durand <[email protected]>
  • Loading branch information
Clovel committed Jun 14, 2021
1 parent 17a0bff commit d2cb43a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ appcenter codepush release -a <ownerName>/MyApp-android -c public/ --target-bina
appcenter codepush release -a <ownerName>/MyApp-ios -c public/ -x

# Release an update signed by private key (public key should be configured for application)
appcenter codepush release -a <ownerName>/MyApp-android --private-key-path ~/rsa/private_key.pem
appcenter codepush release -a <ownerName>/MyApp-android --privateKeyPath ~/rsa/private_key.pem
```

*NOTE : The path you are to provide to the `-c` flag might vary depending on the platform or the framework. For example, with an Ionic Capacitor build for android, the path might be `./android/app/src/main/assets/public/`.*

The CodePush client supports differential updates, so even though you are releasing your app code on every update, your end users will only actually download the files they need. The service handles this automatically so that you can focus on creating awesome apps and we can worry about optimizing end user downloads.

*NOTE: for **Ionic** apps you need to run `ionic build` before running `release` command in order to build web assets.*
Expand Down

0 comments on commit d2cb43a

Please sign in to comment.