App mixed development update problem

while developing a hybrid APP , I encountered a problem while updating

description: the front part of the project is based on vue. If you don"t update the shell, if you update the web page separately and update more times, you will have the problem that you can"t update it. But the update is not completely ineffective. Sometimes it is updated when you enter, but in most cases it is not updated.

Note: because app uses Wechat kernel parsing, the reload method and the timestamp method (on Wechat) cannot be updated, so window.open ()

is currently used.

question: how to solve this problem or what other better update methods are there?

Oct.09,2021

previously developed a project with a mixture of h5 + and react. Take a look at how update.js, is handled:

if ( w.plus ) {
    initUpdate();
} else {
    document.addEventListener("plusready", initUpdate, false );
}

I wonder if it will help you, or can you change the way you pack app shells?


you can try to add < html manifest= "IGNORE.manifest" >
to the html tag.

Menu