jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.68k stars 2.4k forks source link

iOS 11.1 SecurityError ( DOM Exception 18) on history.replaceState #8601

Open yousoff92 opened 7 years ago

yousoff92 commented 7 years ago

Currently we are facing the above exception in our iOS 11.1. The app works fine in previous iOS 11 but throws exception on iOS 11.1. We are unable to view our app at all. But if we remove the line history.replaceState in jquery.mobile-1.4.5.js we can view the app, but those navigation between screens wont work.

We built the app using Jquery Mobile v1.4.5 and Apache Cordova.

Reference : https://stackoverflow.com/questions/47145052/ios-11-1-securityerror-dom-exception-18-blocked-attempt-to-use-history-replac