Newest cordova Questions

Q&A for professional and enthusiast programmers

Can't build Phonegap app with plugin from npm

Phonegap Build throws an error during build. I've just added this string to "config.xml". <plugin name="cordova-plugin-mauron85-background-geolocation" source="npm" spec="^2.2.0"/> This is my "...

Talkback with phonegap strange behaviour

I have a phonegap app that needs to be accessible for blind users using talkback. The screen reader works fine most of the cases, but sometimes, while advancing using the left-right gesture or right-...

Can't fullscreen phaser + webpack + cordova in android

I using Phaser-ce 2.7.3, Webpack 2.2.0 and Cordova 6.4.0 My code import 'pixi' import 'p2' import Phaser from 'phaser' import BootState from './states/Boot' import MenuState from './states/Menu' ...

Tizen Cordova Navigation Plugin

I needed to show navigation directions to a specified location from the user's current location on a Cordova app on Tizen platform. The existing navigation plugin (https://github.com/dpa99c/phonegap-...

Identify source cause for Cordova no launching in iOs 9 but works fine in iOs 10

As title said, I'm facing issue with Cordova working properly in iOs 10 both on simulator and device, but not launching on iOs9 (no deviceready fired, no script started at all. It just display the ...

Cordova inappbrowser looses event handlers when system browser opens

I have been pulling my hair out for days trying to solve this problem so really hoping someone has a solution! The problem exists only in Android, iOS seems to work fine. The app is displaying a ...

Unable to redirect after capturing image

I am unable to window.locate to nextpage.html ever since I updated my Android version to 6.0.0. It displays a white blank screen instead of redirecting. I was able to window.locate in Android 5.2.2, ...

How to call POST webservice in Native iOS code using Plugin - Phonegap

I am trying to create a Hybrid iOS project using Phonegap. I have got the www folder contents (html, js, css and all required data). I just wanted to build iOS container and put the www contents into ...

How to check Internet connection without plugin with Rxjs or Angular 2 in ionic 2?

I want to check internet connection inside my app but cordova plugin is working with special versions so I started to think how can I do this? I find this code from this page How to check whether user ...

monaca app ios 10 content security policy issue

I know this is not the first question about cordova and csp. But I'm stuck with the following problem: I am using monaca as framework for my cordova app. And every time I fire an ajax call to ...

Content going off screen on Windows Phone 8 app

I'm developing a Cordova app using Visual Studio 2015's Tools for Apache Cordova, and the content is going off the screen on Windows Phone 8. I'm guessing it's because something's not taking the ...

Add Today Extension to Cordova project

I have a directory of "Today Extension" project. I want to add the project to my Cordova project, one may know the platform directory in the Cordova project when I run the command CLI: "cordova ...

Ionic 2 : “Each glob entry must be a string”

I use ionic 2 and i had a problem to compile in my android device. To resolve it, I use this command : npm install @ionic/app-scripts@latest It's work in my device. But since I did that, the ...

Unable get message on IOS from firebase console with phonegap plugin

i have successfully implemented Firebase cloud messaging in my phonegap app with phonegap-plugin-push on IOS, i am receiving token from Firebase on register event, i print it in alert message and it ...

camera capture issue in ios 8.4 and above using Cordova 2.9

In regards with devices running on IOS 8.4 and above, I have been facing an issue while trying to capture an image(preferably JPEG/JPG) through navigator.camera.getPicture method. No Callbacks are ...

Framework7 - PhotoBrowser onClose function

I am using framework7in my mobile app and I want to PhotoBrowser to display my images. However, I want to detect when user close the PhotoBrowser so that I can process whatever is needed. In the ...

Phonegap Build malformed config.xml

This is my config.xml file created using confiGAP desktop app.I am getting malformed config.xml error while trying to build using Adobe phonegap build.Please,help me how to solve this error. this is ...

Metadata not coming for youtube uploade via CORDOVA file transfer

I am using below code to upload video to you tube via filetransfer. I am able to upload video using below code, but meta data like title, description, tags are not getting updated for youtube video. ...

Permission denied accessing api from emulator using ionic, ng_token_auth and devise_token_auth

I have an issue thats killing me. I've got an ionic app that authenticates the user with my rails web app through a rails 5 api using devise_token_auth, ng_token_auth and facebook omniauth. The whole ...

Track user position when app is closed in Phonegap app

In my Phonegap app, I want to implement a local notification similar to: as done by Google Maps. In other words, the app should detect when the device is near a specific location and ask the user ...

Phonegap - iOS - Google Maps “Sorry no imagery here”

When running the following code in a browser there are no issues. When running through Phonegap everything comes through fine except the map. I see everthing working except the map is grey and has ...

Record is not updating in a phonegap sqlite storage given in a particular query

This is the query which is update single record in a table. Where FriendTable.tablename and other column name is define a constant file. Values which is to update is store in Friend variable. ...

cordova plugin to allow one screen landscape only?

I've tried several Cordova plugins to achieve this but none seem to work anymore. Are there any working plugins Android 6.0 that will allow me to set both landscape/portrait (auto) on my index page ...

Cache the image URL cordova file and camera

I created the application using ionic angularJS , to deviceI did to open the camera and capture the image and to device’s files with $cordova file and display it on HTML. Now, whenever I close the ...

Cordova app crashes once on windows phone store then works fine

It has been a month since I have been unabled to update my Cordova app on Windows phone store. I always get a report saying that "the app opened then crashed directly". On simulator and on real phone ...

How to open Native SMS default inbox from Cordova Application

I have created application in Cordova, I need to open default SMS inbox by clicking on inbox icon as I am just showing. I need to open phone default inbox by clicking on that button. I have tried ...

Phonegap hates my blinking message

i'm new here ^^ Can you help me? I've developed a very easy phonegap code-app.- First step: I've written this two lines in the cmd: phonegap create Test bower install bootstrap (this adds bootstrap ...

Broadcast to IceCast using Cordova/Ionic

I want to broadcast sound data to an IceCast server using my hybrid application (Cordova / Ionic). Where can I find the information needed to build a proper SHOUTcast/Icecast source client or a built ...

Add plugin in phonegap

I am new in phonegap. For creating application, I installed : phonegap desktop phonegap developer app created app in framework7 template using "phonegap desktop" I was able to install social sharing ...

Most stable FCM plugin for Cordova

What is the most stable and functionality-rich FCM plugin for Cordova. All that is needed is receiving push messages and a FCM registration token. Both foreground and background. I have tried https://...

Cordova Platform Add Error Android

I'm using cordova 6.4.0 with node 6.9.4. I have android studio installed in my PC (windows) with SDK 23,24,25 and ANDROID_HOME, ANDROID_NDK_HOME, ANT_HOME, JAVA_HOME in my system variable. After ...

Can't update Meteor application to 1.2 without breaking

Trying to update my application (the highest I can get to is 1.1) anything higher and I get: => Started proxy. => Started MongoDB. ...

Cordova iOS app

I'm trying to create a Cordova app for learning purposes to deploy to my iPhone 5 for personal testing. For the life of me however I can't seem to understand what I have to do. I have Xcode installed ...

Ionic iOS Build Failed, Unable to Find QuartzCore

I am trying to build the my iOS app from ionic and I keep getting the following error: While building module 'UIKit' imported from /Users/robbyhandy/app/platforms/ios/app/app-Prefix.pch:25: In ...

Cannot set iframe size on ios

How can I set the iframe height on ios? Currently it sets the iframe height to the height of the iframe contentDocument, and I cannot change it neither with "height", nor with "position: absolute; top:...

Ubuntu + Cordova + Android, cant run any android apps

I installed phonegap and android SDK on my ubuntu 16.04 but cant get any android apps to run. This is totally new project, I've only done: cordova create app cordova platform add android (runs fine, ...

webpack with cordova android app output path

iam trying to create android app with react+material-ui .i create webpack bundle and include it in index.html and everything working fine execpt loading resources i.e images, fonts and errors appear ...

Phonegap app is not building. Error “oh geez your Build Failed”

I was able to buid app fine but today I got error, mentioned above in a question. Phonegap is not building the app. I have made no changes in it that may cause the error. It was working fine 2 days ...

Cordova device ready doesn't work on xcode but work on device

don't know why but the device ready event doesn't work anymore on xcode simulator, but it's works on my iphone device. Here my function: document.addEventListener('deviceready', onDeviceReady, false)...

Ionic/cordova creating chat with file sharing

I am about to start a ionic project,that includes a chat support with file sharing. I have look through few of the available chat APIs like Firebase and Comet Chat.Image sharing is provided by ...

Google Maps Won't load Media on Phonegap

im pretty new to phonegap and I have a problem: im using a super simple code to load a google map: <html> <head> <script src="cordova.js"></script> <script ...

What mobile tools should I use in my project?

I'm relatively new in mobile development, but I'm really familiar with HTML5. I have a project, wich will be used in pubs, where the customer orders the bar through his cell phone. Some informations: ...

Sencha Touch inject Basic Authentication into all requests

I have a Sencha Touch 2.3.1 app that, when inside a PhoneGap/Cordova container, uses Basic Authentication against an IIS server. For some unknown reason, the app worked in old phonegap and cordova ...

Cordova- jQuery and CSS code not displaying correctly

I have asked this on the original VS with Cordova article here. But then noticed there was a Stack Overflow tag too. I have installed jQuery Mobile 1.4.5 and Jquery 2.1.0 through NuGet and have ...

How to access cordova.js from remote website

I use the Ionic 2 app to access to my mobilewebsite. In config.xml I use the following constrution: <content src="http://192.168.1.15/mobilesiteapp/" /> So I had to open my local website. But ...

phonegap binary is invalid

I created a Phonegap app and it works perfectly on my iphone. I made all the certificates and provisional profiles. I built the app and got the .ipa file. I have the apple developer licence and used ...

<Cordova/CDVLocalStorage.h> not found

while i am adding "cordova-plugin-wkwebview" in my cordova 5.4.0 project i am getting "Cordova/CDVLocalStorage.h not found".header search path is set "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/...

uploading a base64 image to firebase storage error

I have this function that uses cordova camera plugin to pick image inside my phones photo library, converts it to base64 then upload it to firebase.. i followed the firebse documentation with regards ...

Cant seem to hit Public URL web service from phonegap through an ajax call

I have added the following internet functionality in the config.xml file. <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission....

How to ensure Cordova App can only be installed on a mobile phone and not on tablets?

I have a Cordova app I only want users on phones to be able to download. Is there a way to restrict the build so it won't show up in the store when the user is on an iPad or similar?
Translating... 0%