feat: Added app anatomy

This commit is contained in:
Service Account 2023-10-26 09:47:57 +07:00
parent 4c13c592bc
commit f899b630bf
7 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
sidebar_position: 1
title: App Anatomy
---
Platform has 3 events that are broadcast to installed Apps
![Platform events](img/app-anatomy-4.drawio.png)
- onLaunch()
![Platform onLaunch()](img/app-anatomy-1.drawio.png)
- onStart()
![Platform onStart()](img/app-anatomy-2.drawio.png)
- onDispose()
![Platform onDispose()](img/app-anatomy-3.drawio.png)
- At any given time, when there is new App installtion/ unintallation, the Platform restarts and trigger
When App is being used, here is how the information passes between Platform <> Apps
![Communication](img/app-anatomy-5.drawio.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB