Comments (18)
I'm also encountering the same issue. Could you please explain how you resolved it in detail?
from cordova-ios.
The issue was that in my latest app version I requested device info during script loading, before deviceready
event. For some timing reason it worked with my android device, but not with my iphone one. I fixed the issue just by moving my request after deviceready
.
from cordova-ios.
NodeJS 20, or any current LTS is sufficient.
A white screen generally means there was a JS error on launch. This often isn't reported in Xcode, but it will be reported in Safari Web Inspector.
I have a guide that details how to use the web inspector. Safari Web Inspector doesn't capture log events that occurred before it was attached, so once attached, use cmd
+ R
with the inspector window focused, it will refresh/reload the webview. Any JS errors on launch occurring should be logged and it should give you more insight on the underlying issue.
from cordova-ios.
@gdorbes I have the same Issue, could you please provide more detail how have you resolved this issue? I would really appreciate it.
from cordova-ios.
Hi @Jakub-Horacek , I encountered the exact same issue before, but I managed to resolve it. Could you provide more details about the error you're facing? That way, I can offer you some assistance
from cordova-ios.
@Jakub-Horacek in your package.json check required node version mentioned in
"engines": {
"node": ">=18.18.2 <19"
},
and check which version of node you are using on terminal
node -v
and also check cordova version
cordova --version
and
cordova platform ls
from cordova-ios.
@TejasSatpute077 Okay, thank you a lot for your time.
from cordova-ios.
I'm getting this in a WKWebView-based app (not Cordova, but in-house framework) on Catalyst. The app seems to work fine, but it does look worrying.
from cordova-ios.
My bad: the issue was elsewhere
from cordova-ios.
@gdorbes what was the issue and how did you resolve?
from cordova-ios.
@TejasSatpute077 Yes, I can try to provide as many details as you need, however I am really newbie iOS developer, so I am not sure what details I need to provide you.
When I launch my app in the simulator, it is stuck on the Launch Screen and the rest of the application is not displayed. There are no errors in the XCode Log. Only the warning mentioned in my previous message.
My app is using Ionic, Cordova, Capacitor and React.
from cordova-ios.
@Jakub-Horacek if possible, provide me a screenshot of the page
from cordova-ios.
@TejasSatpute077 It is just a blank screen with app logo.
from cordova-ios.
@Jakub-Horacek in your config.xml file set AutoHideSplashScreen as true and clean and build project again
from cordova-ios.
@TejasSatpute077 When I set the AutoHideSplashScreen to true, the result is same, but without the logo. 😕
from cordova-ios.
There is no
"engines": {
"node": ">=18.18.2 <19"
}
in my package.json, however it is MANY times (thousands) in the package.lock.json and each time with different node
value.
I am currently sing the v20.11.0
node version in my terminal.
I found in my package.json only this information about the cordova: "cordova-plugin-ionic": "5.5.3",
and I am using the 12.0.0 ([email protected])
in my terminal.
from cordova-ios.
I encountered the same problem you're facing and resolved it by starting fresh with a new setup. Before that, I tried various solutions for the white screen issue and warnings you're experiencing, but none worked. You might want to try a fresh setup, ensuring compatibility with your current Node.js version.
from cordova-ios.
@TejasSatpute077 So I managed to successfully connect to the Safari inspector for the JSContent as @breautek mentioned in the message above.
And I have these errors and warnings in the inspector:
The App is still not working but now I have some more informations, thank you.
from cordova-ios.
Related Issues (20)
- Please remove org_apache_cordova_UIView_Extension because it isn't necessary since iOS 8.
- SplashScreen not loading on [email protected] HOT 8
- Trouble to open Instagram App HOT 2
- Any alternative to CDVCommandDelegateImpl which is removed from public classes? HOT 6
- [Next Major] Delete bin/cordova_plist_to_config_xml script
- Several template project bin scripts are broken
- Add preferences to config.xml to control which are the "Supported Destinations"
- Issue with `<privacy-manifest>` and `cordora prepare ios` HOT 3
- The CDVURLProtocol no longer exists, so how should we modify the interception? HOT 3
- The startURLSchemeTask method in CDVURLSchemeHandler was not executed HOT 2
- Copy deployment-target from root config.xml to platform-specific config.xml before usage in Podfile HOT 5
- WKWebViewConfiguration is always ignored
- Missing API declaration on iOS app submission to App Store HOT 5
- CDVPlugin's viewController should just be a CDVViewController
- CDVWebViewUIDelegate should take a CDVViewController
- Cordova ios 7.1.0 - Build failed with "Command failed with exit code 65" HOT 4
- Several version checks fail after cordova-ios platform add [email protected] HOT 2
- Target Identity info missing Display Name, Version, Build HOT 1
- plugin_not_installed errors after upgrading from 6.3.0 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-ios.