Let me get this straight.
- The phone OS has a shell, usually written in native code.
- The messenger app runs on top of the shell, usually written on top of some type of VM.
- The messenger app contains a web browser that renders other apps, written in js.