apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 988 forks source link

fix: Append startURL to the initial url loaded #973

Closed jcesarmobile closed 4 years ago

jcesarmobile commented 4 years ago

When using a custom scheme (app in example), the initial url loaded is app://localhost

This PR makes the initial url loaded to append the startURL to the url, in example app://localhost/index.html

This makes possible to run the tests as they use <content src="cdvtests/index.html" />, so now the url loaded will be app://localhost/cdvtests/index.html instead of app://localhost.