Questions tagged [cordova-ios]

1

votes
0

answer
329

Views

Firebase Cloud Messaging - Silent notifications not working in background (iOS)

I'm using FCM cordova plugin to send Push Notifications to iOS device. When the app is in foreground, the app is able to receive all notifications. But when the app is in background (not killed), below is the behaviour Notification appears in the Notification Center Sometimes notification data does...
Gagandeep Singh
1

votes
0

answer
18

Views

iOS Phonegap/Cordova HTML5/Youtube videos sound not working

I am trying to embed HTML5 video and Youtube Videos to my IOS Cordova App. It is showing the video but sound not working with iOS latest versions. Sound works fine on old iOS versions. Is there anything needs to be updated in config.xml? Thanks!
Mohanraj
1

votes
0

answer
122

Views

Add shell script in cordova xcode project dynamically

I am planning to upload an application on app store but project contains not required architecture with it. Which cause failure in submission of app on store. As a solution I found that I need to add a shell script which eventually remove not required architecture and allow to submit app on store. h...
parth.hirpara
1

votes
1

answer
293

Views

Cannot build cordova iOS platform — error 65 allowProvisioningUpdates

I am getting an error trying to build iOS platform in cordova. I have reinstalled the platform but i get the same error. This works a few day ago Can you please help me resolve this issue xcode Version 10.0 (10A255) my build call.. cordova build ios --release --buildConfig=build.json --device --bu...
user2570135
1

votes
1

answer
40

Views

RemoteBuild giving deploy 404 when building from VS2017 and xcode 7.3.1

I am trying to deploy cordova application using VS2017 and Xcode 7.3.1. The app builds fine but gives Deploy 404 error while deploying. The output stack is below: ------ Downloading completed build files from http://10.102.190.66:3000/cordova/build/78879/download to C:\MyApp\MyAppDemo\bld\iOS\Debug...
Programmermid
1

votes
0

answer
25

Views

cordova-paramedic Info.plist not found

When running cordova-paramedic --platform ios --plugin cordova-plugin-zencam --verbose. This error appears: No target specified for emulator. Deploying to iPhone-X, 12.1 simulator /private/var/folders/_t/pxl23c8j27jbnnrmsmhl6qwc0001b8/T/tmp-25703ql9alOcv3wy6/platforms/ios/build/emulator/HelloCordo...
gmotzespina
1

votes
1

answer
656

Views

Do I need a developer account to run iOS simulator with Visual Studio Cordova?

I have a Windows 10 PC running Visual Studio 2015 and a MacBook Pro Yosemite running Xcode 7.2. I am trying to test my Cordova app on the Macbook using Debug->->iOS->Remote Device in Visual Studio. I have properly configured the connection and it begins the build properly but it fails at 'No provisi...
Andrew K.
1

votes
1

answer
127

Views

how does CVE-2015-5207 and CVE-2015-5208 work and could be triggered?

just like what the title says I couldn't find a single detailed explanation with this vulnerabilities any comments is appreciated see link for more info https://cordova.apache.org/announcements/2016/04/27/security.html
arnold
1

votes
1

answer
426

Views

Difficulties with Cordova-IOS remotebuild in Visual Studio 2017

I’m having trouble running a remote build on Cordova IOS using Visual Studio 2017. Issue Background Initially, when attempting to build remotely I was hitting the following error: Build failed with error Remotebuild requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3 At the t...
Jack Davenport
1

votes
1

answer
61

Views

How do I resolve Cordova error code 72 when building iOS app?

I am trying to build an iOS app within Visual Studio 2017 Community Edition. I'm using MacInCloud.com to build via remotebuild. I get the following error: 1>MSBUILD : cordova-build error : Remote build error from the build server http://xxxxx.macincloud.com:3000/cordova - Build failed with error Err...
edicius6
1

votes
1

answer
0

Views

Ionic v3 Remove Specific Keys from PLIST

I'm working on an Ionic app which uses geolocation and based on my config.xml and an extra edit-config element, I'm getting the following three keys in my info.plist file: NSLocationWhenInUseUsageDescription : Location will be used while app is in use. NSLocationAlwaysUsageDescription : This app req...
shinsnake
1

votes
1

answer
2.6k

Views

Apache Cordova supported iOS version

I'm considering to make an app with Apache Cordova. Since iOS 10 will be released shortly, I'd like to make the app compatible with iOS 10. Doea anyone know how can I check the supported iOS versions in each Cordova releases?
turutosiya
1

votes
1

answer
102

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
1

votes
2

answer
190

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

View additional questions