Questions tagged [cordova-ios]

0

votes
0

answer
4

Views

Cordova iOS - WkWebView offline

Application cache is deprecated which means we'll need to switch to service worker but I've done research it was mentioned.. 1) "It is not possible to use a ServiceWorker in a Cordova app because the ServiceWorker API is not available to WKWebView and is not implemented in UIWebView. It is available...
y-dolem
2

votes
0

answer
64

Views

Cordova log file is not created

Following the instructions here: https://cordova.apache.org/docs/en/latest/guide/cli/ After running: cordova emulate ios The last line output in the console is: logPath: /hello/platforms/ios/cordova/console.log But, that file does not exist. In: hello/platforms/ios/HelloWorld/config.xml These lines...
okhobb
12

votes
2

answer
4.4k

Views

Can not add iOS Platform on Cordova

I am trying to: cordova platform add ios However I always receive the following error: Failed to install 'cordova-plugin-whitelist':CordovaError: Plugin doesn't support this project's cordova-ios version. cordova-ios: 3.8.0, failed version requirement: >=4.0.0-dev at checkEngines (/usr/local/lib/nod...
Hendrik
6

votes
0

answer
685

Views

Ionic Cordova Project Returns Error on Build and Update ios

I am running an ionic v1 project and i have just recently updated my cordova-ios to 4.5.0. My cordova, node and ionic versions are as follows cordova version 6.4.0 node version 6.9.0 ionic version 1.7.15 cordova-ios 4.5.0 Each time i run this ionic build ios, i get an error Error: cordovaProject.p...
Kingsley Simon
2

votes
1

answer
734

Views

How to change default settings of Ionic build ios command?

I have setup a gulp process to deploy my ionic application. Using gulp process I run ionic build ios to make build or cordova build ios --device to generate ipa, but it makes my build/IPA with default setting always which results in increased IPA size(almost 10-12 MB) and takes more time to upload/d...
Mr. Noddy
2

votes
2

answer
1.4k

Views

Touch events not working on ios build of cordova app

I have a very simple cordova app that is an extension of the default cordova 'device ready' template. It has one button with a simple click event attached. as can be seen here running on an iOS simulator. The following is the code of my project index.html Hello World Simple App Connecting to Device...
Danoram
2

votes
1

answer
260

Views

Changes disappearing when building Cordova app for ios

I'm an absolute beginner with Cordova and was following this tutorial when I started experiencing my problem. The tutorial is more aimed at building the project for android but I applied the same steps to create an ios build on my mac. danieloram CordovaProject $ cordova run ios the default project...
Danoram
34

votes
4

answer
36.5k

Views

Cordova Error: Your ios platform does not have Api.js

I'm trying to build a cordova ios app but not having much luck and getting strange errors. Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to [email protected] or newer. Error: Your ios platform does not have Api.js The first warning says my cordov-ios version...
andy
3

votes
1

answer
818

Views

ionic Error: Cannot find module 'underscore' while adding platform [email protected]

I am trying to update IOS platform to 4.1.0 for my Ionic app. But I'm getting below error while running the platform add command ionic platform add [email protected] module.js:338 throw err; ^ Error: Cannot find module 'underscore' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._...
Soumen Naskar
3

votes
1

answer
2.7k

Views

The platform “ios” does not appear to be a valid cordova platform

I'm running under [email protected], [email protected] Installed platforms: ios 4.5.2. I run npm install, bower install then cordova prepare ios and i get the following error: Unable to load PlatformApi from platform. Error: Cannot find module 'unorm' Error: Unhandled "error" event. (The platform "ios...
Hermanus
2

votes
0

answer
56

Views

Touch event going through the target element to the element in the back in cordova IOS app

I have created a cordova app and I have a bootstrap(angular-ui-bootstrap) modal where i show all the input fields, I have one custom select box which opens an absolute div in front of the form's textarea and inputs, if a user taps on any of the options in that abolute positioned div then it goes thr...
Saurabh Udaniya
6

votes
1

answer
1.5k

Views

PhoneGap build iOS xcworkspace instead of xcodeproj

I'm working on creating an application that uses both PhoneGap to build the app and CocoaPods to manage external dependencies. Up front, this works fine -- PhoneGap generates the project on the first phonegap install ios, and CocoaPods correctly takes that generated project and generates an xcworksp...
shortstuffsushi
2

votes
0

answer
537

Views

Parser error While building ionic app in IOS

I am working on a hybrid app. Here is my environment details, Cordova CLI: 5.0.0 Ionic App Lib Version: 2.0.0 Ionic CLI Version: 2.0.0 Ionic App Lib Version: 2.0.0 ios-deploy version: 1.8.2 ios-sim version: 4.1.1 OS: Mac OS X El Capitan Node Version: v0.12.7 Xcode version: Xcode 7.3 Build version 7D...
Soumen Naskar
7

votes
1

answer
1.8k

Views

Why are links inside an iFrame opening in system safari?

Between builds (I am unsure what changed to trigger this), an application went from the following behavior in iOS. A main webview loads index.html, and has an iframe that has many anchors in it Anchors would stay inside the iFrame unless otherwise manipulated and redirected with JavaScript that runs...
Phil Barresi
2

votes
0

answer
91

Views

svg clip-path doesn't work in iOS Cordova

I'm facing this strange behavior where clip-path works in every other platform, but doesn't in iOS Cordova: If it's not supported in cordova ios, how do i achieve this there?
Birowsky
2

votes
1

answer
934

Views

Cordova iOS platform version table

i'm trying to map every cordova-version with its supported iOS version but in the official documentation there's no a table like in for the Android tab. So i need to know foreach cordova-ios version, which is the range of iOS version supported. For now i mapped only the Android releases version. At...
Simone Campagna
3

votes
1

answer
247

Views

Cordova/iOS: HTML5 video without sound stops music

I've programmed a Cordova app with some HTML5 video tags in it and want to deliver a "video preview" to my users (like facebook does). On iOS, you are not allowed, to set the volume of the video tag by Javascript, so we have to play videos without sound (we've converted the original video to a previ...
user2891491
3

votes
1

answer
652

Views

How to embed YouTube player in Meteor App?

I put a YouTube video with iframe in my HTML code and it shows up in my localhost version, but not on iOS simulator. Is there anything wrong? How can I embed a YouTube video in my myApp.html so that it will show up both in iOS simulator and localhost? It seems that this should be okay if I use Meteo...
Zip
3

votes
1

answer
330

Views

iCloud Backup/Restore HTML5 Cordova App in iOS

I am using Cordova-sqlite-storage plugin to store data locally in iOS device. I need to backup the data saved by the sqlite plugin to iCloud. I have searched net and tried various options without any success. Also, I found the following SO post saying that it is not possible in case of localStorage....
Arafath M
5

votes
1

answer
1.4k

Views

Cordova iOs error

I’m using platform Cordova to create iOs, Android and Windows App. I tried to learn all about Cordova, and I consider myself very good using the tool. After I upgrade xCode 6.4 to 7 I got a issue. The problem happens when I try to build my iOs App in the terminal. I got an error in this error crea...
Carlos Galeano
2

votes
1

answer
538

Views

Ionic1 - Cordova-ios - Provisioning Profile Push Notification Error

I have an issue building my ionic app on iOS. If I run the release build command, the archive succeeds but the export fails with this error: error: exportArchive: “TeaZe.app” requires a provisioning profile with the Push Notifications feature. Error Domain=IDEProvisioningErrorDomain Code=9 “...
Noel McKeown
2

votes
2

answer
1.4k

Views

InAppBrowser.open opens in browser instead of the WebView

The goal is to open a foreign url within the webview when the app starts. I create fresh Cordova project: cordova create test cd test cordova platform add ios cordova plugin add cordova-plugin-inappbrowser I inline this script in www/index.html: document.addEventListener("deviceready", onDeviceReady...
Birowsky
4

votes
1

answer
1.8k

Views

Payumoney integration for cordova [closed]

I want to Integrate the payumoney with cordova-android and ios. Any plugin is available for payumoney or how could i integrate the payumoney with native android.
san
6

votes
6

answer
5.6k

Views

How to remove cordova-plugin-compat?

In the release notes of cordova-android 6.3.0 (https://cordova.apache.org/announcements/2017/09/27/android-release.html) it's written down that cordova-plugin-compat has to be removed If I try cordova plugin rm cordova-plugin-compat I get following error [ERROR] An error occurred while running cordo...
David Dal Busco
3

votes
1

answer
366

Views

Getting error when building iOS platform with cordova-cli

Since I've upgraded from Cordova 6.0.0 to the latest version which is 6.4.0 I've been unable to do a successful build. My process is as follows: cordova platform rm ios cordova platform add https://github.com/apache/cordova-ios.git cordova build --buildConfig=build.json ios --device I cannot build t...
skepticscript
0

votes
1

answer
753

Views

Cordova media plugin issue multiple audios

I'm developing an app with angularJS and Cordova Now I'm using the Media Plugin for play different audios I detected and issue on iOs when I'm playing a background audio (long audio and looped) and another audio(short and plays only one time), when the second audio is finished, then my background au...
user2171002
1

votes
0

answer
120

Views

cordova-plugin-camera file_uri is different values for same file on selecting again in iOS

My app uses cordova camera plugin(cordova-plugin-camera) to select files from SAVEDPHOTOALBUM for uploading. This app allows user to select maximum of 3 files one by one and store the FILE_URI in an array. When user selects a file I check if the file path is already in the array and informs the user...
John.Honai
0

votes
0

answer
6

Views

Persist Cordova settings in Xcode

I'd like to be able to build my project and open it in Xcode, without having to manually set variables through the Xcode UI. I started using Cordova's buildConfig parameter to specify some settings (especially using the legacy build system and setting the Swift version), and that works for command l...
Crag
3

votes
0

answer
54

Views

cordova-plugin-apple-watch plugin issue

Hi I am calling the init method of cordova-plugin-apple-watch plugin in our cordova application , but it is not returning to neither successhandler or errorhandler. isWatchPairingExists: function() { var deferred = new Deferred(); console.log("gdfgd"); applewatch.init(successHandler, errorHandler, "...
giri