mainView.router.load not work on iOS 13

$$(‘body’).on(‘click’, ‘.menubutton’, function(e) {
//alert(“ji”);
//alert(site_url);

  mainView.router.load({

            url:  site_url + our_menu.html',

            ignoreCache: true, reload: true,force: true

        })

});  

new iOS build this code not working

Router doesn’t have .load() method https://framework7.io/docs/view.html#router-api-methods-properties

  mainView.router.loadPage({

            url: 'https://saaristobaari.fi/pizzaadmin/user_app_common/our_menu.html',

            ignoreCache: true, reload: true,force: true

        })

also not work same code work on android app

There is no loadPage method, you can use router.navigate, with the correct arguments to load what you want.

1 Like

https://v1.framework7.io/docs/pages-ajax.html
this code from v1

all work in android and old iOS app.

i am using https://volt.build/upload/

Hi!
I think it is hard to solve, when third parts are involucred on building the app, there are many things se can’t ser under the hood…
Why you don’t you try to compile application yourself with F7+Cordova?
It should be better to you and you’ll be better developer also… It’s only my opinion…

i can`t afford mac book. do you have any other solution for compile iOS app from window

Hi,

Very aware that v1 was a very long time ago. But before investing the time to update an app that is otherwise working just fine, no need for additional features at this point. Is .router.load (which worked earlier and part of v1) actually broken in iOS 13?

Peter