Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 4b8ab23

Browse files
ikoevskaErjanGavalji
authored andcommitted
Emphasizing on that no code should be executed after application.start()
1 parent 66a8f06 commit 4b8ab23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

application-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The `application` module lets you manage the life cycle of your NativeScript app
1717

1818
## Start Application
1919

20-
You must call the **start** method of the application module after the module initialization.
20+
This method is required only for iOS applications.
2121

22-
This method is required for iOS applications.
22+
> **IMPORTANT:** You must call the `start` method of the application module **after** the module initialization. Any code after the `start` call will not be executed.
2323
2424
### Example
2525

ui-with-xml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ When you set the `mainModule`, the NativeScript navigation framework looks for a
5454
var application = require("application");
5555
// Set the start module for the application
5656
application.mainModule = "my-page";
57-
// Start the application
57+
// Start the application. Don't place any code after this line.
5858
application.start();
5959
```
6060
```TypeScript
6161
import application = require("application");
6262
// Set the start module for the application
6363
application.mainModule = "my-page";
64-
// Start the application
64+
// Start the application. Don't place any code after this line.
6565
application.start();
6666
```
6767

0 commit comments

Comments
 (0)