Jung-Hey opened a new issue, #1279:
URL: https://github.com/apache/cordova-ios/issues/1279
I am working on an ios project with cordova wkwebkit. Of course, I know that
cordova recommends spa.
In the case of the main index.html file, the page was opened on localhost as
shown below in config.xml.
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="ios">
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
</platform>
Then you can see that the result of checking in Chrome developer mode is
applied successfully.
<img width="598" alt="스크린샷 2022-12-27 오후 1 02 48"
src="https://user-images.githubusercontent.com/74144209/209610210-4e34dcef-ef46-4cea-84de-1d5ca01593f5.png">
But in the case of the sub index.html file, I don't know how to load it on
localhost. solution is required.
Currently, we are loading the sub index.html file with the file protocol.
<img width="456" alt="스크린샷 2022-12-27 오후 1 03 20"
src="https://user-images.githubusercontent.com/74144209/209610254-34aaa6fc-1d7e-4e7e-99a3-1501c12edfff.png">
file path: (main) index.html path : www/index.html (sub) index.html path :
www/world/wikitude_AR/inedex.html
version: cordova - 11 cordova ios - 6.2
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]