You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/23 21:47:14 UTC

[GitHub] [cordova-ios] anushi1210 opened a new issue #1081: Webview reload loop on start

anushi1210 opened a new issue #1081:
URL: https://github.com/apache/cordova-ios/issues/1081


   # Bug Report
   
   ## Problem
   Hi to you all, hope you're all doing fine.
   I have this strange reload issue with every hybrid-cordova app developed using ui5 framework (https://sapui5.hana.ondemand.com/) with ios versions below 13.x.
   The apps worked fine until cordova-ios@5.x, but from upgrade to cordova-ios@6.x i noticed this continuous reload loop when app starts.
   
   ### What is expected to happen?
   The app should load (bootstrap) normally and show a login view.
   
   
   ### What does actually happen?
   The app enters a reload loop on start
   
   
   ## Information
   I've created a github repo as a showcase of my problem, code is downloadable at this link:
   https://github.com/anushi1210/wk-test-ui5-cordova
   The app is really minimal and represents how i normally have configured until now my cordova apps built with UI5 framework.
   The problem is related to ios version 12.x and below, so for ios versions from 13.x onward the app works fine with the latest cordova-ios@6.x.
   To make the app work again with all supported iOS versions i had to downgrade to cordova-ios@5.1.1.
   I checked the log on xcode from the simulator, but didn't find anything relevant (xcode is a bit unknown as a habitat to me and i don't really know how to debug swift or objective c classes from there).
   There is an error about a component-preload.js which fails to load, but i have that log even when the app works fine and generally it shows because i didn't setup a preload version of UI5, which i normally do in production environment, so most certainly it's not that the problem.
   
   If anyone could tell me more about this or have any advice i would really appreciate since i've struggled with this problem for a while now. 
   Thanks.
   
   ### Command or Code
   https://github.com/anushi1210/wk-test-ui5-cordova
   
   
   ### Environment, Platform, Device
   cordova-ios@6.x
   iphone 6 plus with iOS 12.4
   ipad air simulator with iOS 12.4
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] MarcelSchuermann edited a comment on issue #1081: Webview reload loop on start

Posted by GitBox <gi...@apache.org>.
MarcelSchuermann edited a comment on issue #1081:
URL: https://github.com/apache/cordova-ios/issues/1081#issuecomment-834135014


   I think this is related to [issue 1103](https://github.com/apache/cordova-ios/issues/1103).
   I am experiencing the same but not on the main page - see issue above.
   
   @bartvanvelden : what solution did you find to the JS being loaded synchronously?
   
   Any updates to this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] bartvanvelden commented on issue #1081: Webview reload loop on start

Posted by GitBox <gi...@apache.org>.
bartvanvelden commented on issue #1081:
URL: https://github.com/apache/cordova-ios/issues/1081#issuecomment-812482244


   We are experiencing a similar case and pinpointed it to some JS being loaded synchronous upon start.
   This seems to prevent the web view from starting properly on iOS 12.x.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] MarcelSchuermann commented on issue #1081: Webview reload loop on start

Posted by GitBox <gi...@apache.org>.
MarcelSchuermann commented on issue #1081:
URL: https://github.com/apache/cordova-ios/issues/1081#issuecomment-834135014


   I think this is related to [issue 1103](https://github.com/apache/cordova-ios/issues/1103).
   I am experiencing the same but not on the main page - see issue above.
   
   Any updates to this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org