-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: stencil components not showing on cordova iOS 15.4 #3371
Comments
Hey @bluethunder626 👋 Thanks for the detailed bug report and simple repro case! Can you help me out a little bit here? Can you provide any errors you see? If there aren't any, can you provide me with any debugging statements you've used? That should help us narrow this problem down. Thanks! |
Hi @rwaskiewicz , Thank you for the reply. This is the error that I have encountered.
I have not used any debugging statements as of the moment. |
@bluethunder626 I believe you can fix this by adding the following to your <?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>HelloCordova</name>
<description>Sample Apache Cordova App</description>
<author email="dev@cordova.apache.org" href="https://cordova.apache.org">
Apache Cordova Team
</author>
<content src="index.html" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
+ <preference name="scheme" value="app" />
</widget>
|
Hi @rwaskiewicz , This works now. Thank you for the help! |
Prerequisites
Stencil Version
2.15.2
Current Behavior
Stencil component won't show using
cordova run ios
on simulator iOS 15.4.Works using
cordova run browser
. Tested on both Google Chrome v101.0.4951.64 and Safari v15.4 (17613.1.17.1.13).Works using
cordova run android
.Expected Behavior
Stencil components should work on cordova iOS app.
Steps to Reproduce
I have created a base cordova and stencil app. https://github.com/bluethunder626/cordova-app
blue-components
folder is the stencil components folder and the root folder is the cordova app.I have put all the
build
from stencil on rootwww/build
folder.www/index.html
is also updated with the stencil build import.npm install -g cordova
cordova platform add ios
cordova run ios
Code Reproduction URL
https://github.com/bluethunder626/cordova-app
Additional Information
I have tried the following issues but didn't work for me:
#2392
#1900
The text was updated successfully, but these errors were encountered: