是否可以从服务器呈现完整应用程序? 意味着只有初始框架将被构建为APK n休息所有更改...?
我的理解是apk非常类似于SPA,即打包并发送给FE(用户代理)想法是打破这个流程并渲染组件,如jsp片段。
答案 0 :(得分:0)
Why don't you just use ionic upload to update app view?
To answer your question, i do think it is possible, but then all the UI would be wrapped in a webview and then compile the apk.
For example https://www.appsgeyser.com/ allow you to do this. It just simply wrap your website in a webview.
As for the website of course you can build it with ionic then push it to the server and then just wrap the entire app in a webview.
One example is this website. https://m.stubapp.com/ (open it in mobile). Can easily put the url in https://www.appsgeyser.com/ and just compile it.
But then we have the PWA. Where user do not need to install anything. But just simply add it to the home screen.
Ionic does support this. Refer to this blogpost.
After all in the end, it all comes down to the performance of the app. Hope this answer your question.