You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying a custom entry point for the app using <content src="someothername.html" /> is not working.
Problem
My app's entry point is named main.html rather than index.html. On Android it works as expected, the file is loaded when the app boots up. But on iOS the document never loads. Instead I get this message in the network tab of dev tools: The resource was requested insecurely. Changing the name to index.html makes it work properly.
What is expected to happen?
The document should load the entrypoint file that's specified by the <content> tag in config.xml.
What does actually happen?
The app builds but the document doesn't load. The html of the app just shows
<html>
<head></head>
<body></body>
</html>
Information
Command or Code
Create a new cordova project, rename the index.html file to main.html, then build the app.
Environment, Platform, Device
Using iPhone simulator (xcode 13) to run an iPhone 13 simulator running iOS 15.2
Version information
cordova ios v6.2.0, cordova cli 11
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
cordova-ios 6.x also supports using schemes, I thought it was the default already, but looks like it was changed to default to file, so can you configure a scheme to use? i.e <preference name="scheme" value="ionic" /> (so it uses the same as ionic webview plugin and you don't lose any data)
Bug Report
Specifying a custom entry point for the app using
<content src="someothername.html" />
is not working.Problem
My app's entry point is named
main.html
rather thanindex.html
. On Android it works as expected, the file is loaded when the app boots up. But on iOS the document never loads. Instead I get this message in the network tab of dev tools:The resource was requested insecurely
. Changing the name toindex.html
makes it work properly.What is expected to happen?
The document should load the entrypoint file that's specified by the
<content>
tag inconfig.xml
.What does actually happen?
The app builds but the document doesn't load. The html of the app just shows
Information
Command or Code
Create a new cordova project, rename the
index.html
file tomain.html
, then build the app.Environment, Platform, Device
Using iPhone simulator (xcode 13) to run an iPhone 13 simulator running iOS 15.2
Version information
cordova ios v6.2.0, cordova cli 11
Checklist
The text was updated successfully, but these errors were encountered: