Refresh Mini App¶
1. Description¶
That helps the developer refresh the mini-app in two cases:
- When you change code in the project mini app and would like to apply any change and load it on the V99 Sandbox App to test. (With mode load mini app by the local host)
- When you have a new version of the mini-app in URL and would like to apply the new version and load it on the V99 Sandbox App to test. (With mode load remote mini app)
2. Usage¶
Local host mini app
- Load the mini app local host on the V99 Sandbox App.
- Change code in the project mini app and save code.
- At your mini app in the V99 Sandbox App, shake your device to see the development menu, and choose Refresh mini app.
- At terminal in
v99-cli app start
and press r to reload mini app. - Wait a moment and you can see the new mini-app loaded.
Remote mini app from the URL
- Load the mini app remote from the URL on the V99 Sandbox App.
- Build and upload replace the new version bundled with your old URL.
- At your mini app in the V99 Sandbox App, shake your device to see the development menu, and choose Refresh mini app.
- At terminal in
v99-cli gen-qr
and press r to reload mini app. - Wait a moment and you can see the new mini-app loaded.