Skip to content

Commit 4ed52e8

Browse files
Doc++
1 parent d7aa225 commit 4ed52e8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
A live-update service for your NativeScript apps!
1717

1818
<details>
19-
<summary>*Optional reading: what this is, and how it works*</summary>
19+
<summary>Optional reading: what this is, and how it works</summary>
2020

2121
A NativeScript app is composed of XML/HTML, CSS and JavaScript files and any accompanying images, which are bundled together by the NativeScript CLI and distributed as part of a platform-specific binary (i.e. an .ipa or .apk file). Once the app is released, updating either the code (e.g. making bug fixes, adding new features) or image assets, requires you to recompile and redistribute the entire binary, which of course, includes any review time associated with the store(s) you are publishing to.
2222

@@ -366,14 +366,16 @@ This won't roll back any releases, but it cleans up the history metadata (of the
366366
nativescript-code-push deployment clear <codepush-appname> Staging
367367
```
368368

369-
## Testing CodePush packages during development
369+
## Advanced topics
370+
371+
### Testing CodePush packages during development
370372
You may want to play with CodePush before using it in production (smart move!).
371373
Perform these steps once you've pushed an update and added the `sync` command to your app:
372374

373375
- `$ tns run <platform>`. On an iOS *device* add the `--release` flag so LiveSync doesn't interfere.
374376
- kill and restart the app after the update is installed
375377

376-
## Patching Update Metadata
378+
### Patching Update Metadata
377379
After releasing an update, there may be scenarios where you need to modify one or more of the metadata attributes associated with it
378380
(e.g. you forgot to mark a critical bug fix as mandatory.
379381

@@ -405,7 +407,7 @@ nativescript-code-push patch MyAppiOS Staging -t "1.0.0 - 1.0.5"
405407

406408
</details>
407409

408-
## Promoting Updates
410+
### Promoting Updates
409411
<details>
410412
<summary>Read this if you want to easily promote releases from Staging to Production</summary>
411413

@@ -435,7 +437,7 @@ While you could use the `release` command to "manually" migrate an update from o
435437
436438
</details>
437439

438-
## Rolling Back Updates
440+
### Rolling Back Updates
439441

440442
<details>
441443
<summary>Read this if you want to learn all about rollbacks</summary>
@@ -481,7 +483,7 @@ nativescript-code-push rollback MyAppiOS Production --targetRelease v34
481483

482484
</details>
483485

484-
## App Collaboration
486+
### App Collaboration
485487
<details>
486488
<summary>Working on one app with multiple developers? Click here!</summary>
487489

@@ -520,7 +522,7 @@ nativescript-code-push collaborator ls <appName>
520522

521523
</details>
522524

523-
## Using CodePush behind a proxy
525+
### Using CodePush behind a proxy
524526
<details>
525527
<summary>Click here to read all about Proxy Support</summary>
526528
By default, the `login` command will automatically look for a system-wide proxy, specified via an `HTTPS_PROXY` or `HTTP_PROXY` environment variable, and use that to connect to the server.

0 commit comments

Comments
 (0)