Cordova Android breaking changes with version 10

With the release of cordova-android-10.0.0 the applications will make requests from domain "https://localhost". Prior to this release requests were made from domain "file:///".


There are two consequences of the change:

  1. The application does store some data with reference to the domain and this will become unavailable, and
  2. The network may reject requests from the application meaning no connectivity to your SAP system.


Our development system did with messages in the debugger like the screenshot below.



Resolution


 The change can be reverted using a preference in the config.xml file.  The details are in the cordova-android release blog post at  https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html


More on this change will come as we continue to investigate....

Login or Signup to post a comment

Site Data and Privacy Policy