Back to Cordova

2021 07 17

slack-digest/2021-07-17.md

latest1.5 KB
Original Source

Cordova Slack Digest

Sat, 17 Jul 2021 08:20:50 GMT

User count: 4555

Join the conversation at slack.cordova.io

Channel #cordova-ios (1 messages)


Fri, 16 Jul 2021 08:29:03 GMT

@asskar says

Hi, i am trying to achieve automatic url redirection (interception and remapping to local files) on cordova-ios ( on Android its done with overriding remapUri in the plugin code and resourceApi), on iOS overriding shouldOverrideLoadWithRequest doesn't give the same functionality, the method is called only once if YES is returned, if NO is returned and a remapped url is passed to WebViewEngine via loadRequest it loops infinitely, i haven't found any examples of how to achieve this in WKWebview, some examples are there for the old UIWebView. Environment : Vuejs + Cordova. Somehow only the first url (which is a static index.html, with a file:// protocol) gets the "decidePolicyForNavigationAction" call, where the shouldOverrideLoadWithRequest is checked for each plugin. Anybody has an idea how to do this ? Thanks

Channel #cordova-android (1 messages)


Fri, 16 Jul 2021 21:24:25 GMT

@info460 says

hello, I like to ask for recommendation for routing options for cordova. I was thinking about Ionic but I dont really need the UI part of it( I am using UIkit) but routing looks nice. I am quite beginner in JS so question is: Is there any simple framework to use with cordova to manage routing in SPA way?