Questions tagged cordova

Explore the latest questions and answers asked by our top developers.

How to run ionic cordova live-reload on ios

Following to the ionicframework’ doc ionic cordova run ios -l –external command will "start a live-reload server on all addresses and deploy the app to an iOS device using Cordova" Well for me it logs out > ng run app:ionic-cordova-serve –host=0.0.0.0 –port=8100 –platform=ios [ng] An unhandled exception occurred: context.getProjectMetadata is not a function [ng] See […]

By crg
Published
Categorised as cordova, ionic-framework, ios, livereload Tagged , , ,

Cordova iOS 6+ Autoplay Video in External Screen

I’m using cordova-plugin-wkwebview-external-screen to playback inline media on a secondary screen (via AirPlay or HDMI adapter). The media loads fine but does not autoplay videos in the external webview. (autoplay works fine in primary webview) In my config.xml I have the following: <preference name="AllowInlineMediaPlayback" value="true" /> <preference name="MediaTypesRequiringUserActionForPlayback" value="none" /> I have attempted adding the […]

By Josiah
Published
Categorised as cordova, html5-video, ios, wkwebview Tagged , , ,

Cordova iOS 6.1.0 How to display images on external screen in WKwebview

I have a Cordova app that uses this plugin (cordova-plugin-wkwebview-external-screen) to display images/media full screen on an external screen via Airplay/HDMI adapter (similar to Apple’s Keynote). All worked smoothly with UIwebview, but I’m having trouble displaying media on my external screen with WKwebview. I’m now using Cordova iOS 6.1.1 (CLI 10.0). I’m using window.WkWebView.convertFilePath() to […]

By Josiah
Published
Categorised as cordova, ios, wkwebview Tagged , ,

Load html file from data directory in cordova-ios from WKWebview

I am working on cordova-ios app. My App will download zip file(contains html files ex:-second_login.html) from server, then we are unzipping it in data directory. After successful unzipping, app should navigate to second_login.html. App is working fine in UIWebview with cordova-ios 5.1.1. But it is not working in cordova-ios-6.1.0 with WKWebview. Using cordova-ios-6.1.0, I downloaded […]

By sham y
Published
Categorised as cordova, cordova-ios, ios, wkwebview Tagged , , ,

ionic serve on iOS 14 device. Error "Invalid Service"

After upgrading an iPhone6s to iOS 14 and Xcode to the latest version, I am unable to serve the app. The error stack is as following Error: InvalidService at LockdownProtocolReader.parseBody (/usr/local/lib/node_modules/native-run/node_modules/node-ioslib/dist/protocol/lockdown.js:35:19) at LockdownProtocolReader.onData (/usr/local/lib/node_modules/native-run/node_modules/node-ioslib/dist/protocol/protocol.js:52:40) at TLSSocket.emit (events.js:315:20) at addChunk (_stream_readable.js:295:12) at readableAddChunk (_stream_readable.js:271:9) at TLSSocket.Readable.push (_stream_readable.js:212:10) at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23) running with –verbose shows the origin […]

By capc0
Published
Categorised as cordova, ionic-framework, ios, xcode, xcode12 Tagged , , , ,

iOS: inserting iFrame with SRC inside the page immediately opens the url in Safari

I have quite a strange problem. This is happening inside a Cordova (hybrid HTML) app, but only on iOS. I have my HTML page with some content already there, and that’s ok. In a second moment, I’m retrieving some HTML from a remote page and I insert this HTML inside my main HTML page. If […]

By Luca Corsini
Published
Categorised as cordova, html, iframe, ios, javascript Tagged , , , ,

Removing scrollbars in iOS for WKWebViewEngine

I have a Cordova app that is since recently using WKWebViewEngine and I noticed horizontal and vertical scrollbars appearing since switching. I researched and the issue is documented at: https://issues.apache.org/jira/browse/CB-10123 A CSS fix does not work but there is apparently a fix with using: self.wkWebView.scrollView.showsVerticalScrollIndicator = NO; self.wkWebView.scrollView.showsHorizontalScrollIndicator = NO; The question is where do […]

By moo moo
Published
Categorised as cordova, ios, wkwebview

Why iOS 13.x below the 13.4 version is still using TLS 1.0/1.1 and how to force it to use TLS 1.2 and above?

We are doing some research on our inbound TLS traffic and we are currently seeing a small percentage of iOS 13.x below the 13.4 version that are still using TLS 1.0 or TLS 1.1 . Do you know why this recent OS is still using these deprecated protocols and how to force it to use […]

By systempuntoout
Published
Categorised as cordova, https, ios, ssl, tls1.2

The right way to make cross-platform RTMP streaming/playing app. Phonegap livu plugin?

If we need to write a cross-platform mobile app, which supports playing and broadcasting RTMP video streams. I know that one can use Android native libs and Objective C also has some. But can we do it truely cross-platform and without using unsupported Flash, Adobe AIR or other external components? Which is the right way […]

By moonsly
Published
Categorised as android, cordova, ios, rtmp, xamarin

iPad split view, enable view as drop destination in Cordova, ionic App

We have on ionic iPad app, using cordova / capacitor platform. We enabled the split view for iPad 13 using following link https://en.gg/enable-ipad-split-screen-feature-in-an-ionic-or-cordova-app/ its working fine. We are checking to give support for drag and drop feature like https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/ios13-ipad-pro-multitasking-drag-drop-animation.gif We just want to receiver end alone, here our question how we achieve this in cordova […]

By Manikandan
Published
Categorised as capacitor, cordova, ionic-framework, ios, multitasking
1 2 3

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq