27/06/2019

Ionic Capacitor

Our mobile app/HCP

Capacitor

Cordova vs Capacitor

Full Hot Code Push Flow (1)

1. App is built by us:

TenantCloud.apk

+ -- source
|     + -- java
|     |     -- App.class
+ -- assets
|     + -- public
|     |     -- index.html
|     |     + -- js
|     |     |    -- scripts.js
|     |     + -- images
|     |     |    -- logo.png

2. User downloads and installs the app

3. User opens the app:

Any updates:

1. Show user a splash screen

2. Detect which files to update

3. Copy old release to a new folder

4. Download & update files

5. Hide splash screen, show downloaded release

No updates:

1. Show user frontend from /assets/public

Full Hot Code Push Flow (2)

App is built by us:

TenantCloud.apk

+ -- source

|     + -- java

|     |     -- App.class

+ -- assets

|     + -- public

|     |     -- index.html

|     |     + -- js

|     |     |    -- scripts.js

|     |     + -- images

|     |     |     -- logo.png

Discussion

Ionic Capacitor

By TenantCloud

Ionic Capacitor

Ionic's Capacitor

  • 163