Newest cordova Questions

Q&A for professional and enthusiast programmers

azure-mobile-apps getting 401 error when calling invokeApi

I am using Azure app services for my Api (ASP.NET Core) and I have an Api Controller like this [Route("api")] public class PingController : Controller { [HttpGet] [Route("ping")] public ...

Phonegap: in app purchase auto-renewing subscription?

I'm experimenting with phonegap and in app purchase. I'm all new to in app purchase. I'm using this plugin: https://www.npmjs.com/package/cc.fovea.cordova.purchase Basically what I need to do is to ...

How to deploy the app to AWS

This is a very beginner level question. I want some directions. I've created a MEAN based app. It works locally (localhost). the structure is : app.js is the node server. models has the mongo ...

My application is not working after installing update of Android System WebView

There was a legacy cordova app which stored "data" in the browser local storage. The new version of this app is a native app which tried to access this "data" by accessing the local storage database. ...

cannot resolve symbol id

I have Cordova project in which I have used sqlite plugin in which I getting one issue in the line for id this.sendJavascriptCB("window.SQLitePluginCallback.p1('" + id + "', " + result + ");"); IDE ...

TypeError: Cannot read property 'capture' of undefined

I am using the cordova Media Capture plugin but no possibility to make it work and I can't sort it out. The error : TypeError: Cannot read property 'capture' of undefined So here is the controller ...

AJAX convert image into ByteArray

I need to create a method to convert a image with AJAX to a ByteArray and send via AJAX to My API PHP. Someone can help me?! Thanks

Deploying Django Web Application on Cordova

I have my Python Django Web Application ready with me and I am thinking of using Cordova as a container for the application so that I can create one for Android and IOS. I am a little confused as to ...

Phonegap ios scroll not working

I am currently using cordova and phonegap for ios app development. I am unable to get the scrolling to work on both ios simulator and ios device. This is the ios 7 simulator display: ios 7 simulator ...

How to update a JSON in myjson API

So I created an API in myjson.com : https://api.myjson.com/bins/dm0or {"s":0,"te":0} I need to update it from a web mobile application(Framework7 & Phonegap) I'm developing. The instruction ...

Ionic 2 ScreenOrientation not working in IOS

I'm in portrait when the page is rendered, it's rendered in portrait mode. Yes, the screen orientation is locked in landscape and if I move my device into landscape it properly shows in landscape and ...

Run ionic Cordova app in ios simulator of MAC from visual studio of windows OS

Iam Unable to run or build my ionic cordova application in ios simulator of mac from my windows OS using visualstudio2015 where i have installed xcode,nodejs and npm and all in my mac still after ...

Store.approved phonegap

https://github.com/j3k0/cordova-plugin-purchase I try to put Plugin Cordova Purchase on my app, it works but i have a problem When the product is buy, the function "Approved" of the store is not ...

Access IndoorAtlas data from app

For a schoolproject I am using IndoorAtlas SDK to build an app that navigates the user. I do not want the user to display the map. In my app I want to access the data I created when mapping up my ...

“Ionic serve” starts but not work

I have a problem with my projects. I reinstalled windows in my notebook some days ago, I installed all for using ionic (I followed a tutorial, the same one that the previous time helped me install ...

phonegap filetransfer to upload picture to server

<!DOCTYPE HTML> <html> <head> <title> HellowWorld PhoneGap App </title> <script type="text/javascript" charset="utf-8" src="cordova.js"></script> <...

File Writer onload function is not fired with Android ver 6.0

I am working on a project with Onsen2 (monaca ver 2.1.7) with Angularjs 2. for a business requirement ,i am saving the image base64 as image in device using file plugin. The file got saved as image ...

Google APIs to use?

i am currently working on a project which will use the device's camera function to take a photo of a ingredient list and then it will display text in the image.I have used google cloud vision API to ...

An error occured during parsing of project.pbxproj. Start weeping. Output: RangeError: Maximum call stack size exceeded

Any ideas how to solve this cordova error on Mac building iOS? I have typed the following command cordova clean ios cordova build ios I get the following error An error occured during parsing of ...

React.js + PhoneGap App not rendering the images on Device

I have a Hybrid Mobile Application developed using React.js and PhoneGap. The local images in the browser simulator are loading fine but when I install the Application on the device the images are not ...

Hybrid apps with PhoneGap + Firebase Authentication Issues

I am creating an App currently with work and we have opted for a hybrid app using Cordova/Phonegap so we can have one source code for windows/android/IOS. Where we have come up against issues is with ...

How to check for location automatically?

I am using Geofire and Cordova Geolocation in my Ionic app like this : //Catch the position of the user document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { ...

3D Touch - Ionic 2 native error

Has anyone ever used ionic native 3D Touch before? https://ionicframework.com/docs/v2/native/3d-touch/ I have installed it through command line as said and pretty much copied the example however all ...

get fcm can't token in syria without proxy

Is there anyway i can get token from firebase cloud messaging without using proxy in a county banned from use google service like syria? I'm using cordova-plugin-firebase like this. window....

cordova: image upload not working phonegap

Earlier it was working fine. But today i build it again and suddenly it is giving me error. I am getting error code 1 in file transfer. hre is the complete code. <script type="text/javascript" ...

Connection Refused with cocoon-cordova-labs-local-webserver

I'm using cocoon-cordova-labs-local-webserver. Here's the whole config.xml: <?xml version='1.0' encoding='utf-8'?> <widget id="com.app.app" version="6" xmlns="http://www.w3.org/ns/widgets" ...

Xcode build errors when running Cordova run command

I am using the latest version of Cordova 6.4.0 to build an application on the iPhone (using Xcode obviously). When I run the cordova run command to build the app I get the following errors in the ...

Status bar not changing during the splash screen loading Ionic2

It works fine but when the app loads it doesn't implement the color chosen during the splash screen. this.platform.ready().then(() => { this.Status.backgroundColorByHexString("#0e5591"); ...

PhoneGap Build: confusing and conflicting information?

I'm using Phonegap build to create a simple app. in my conf.xml file I have chosen the cli version like this: <preference name="phonegap-version" value='cli-6.5.0' /> But when I upload my app ...

Bind on C++/CLI delegate in Javascript (WinJS)

I am building a Cordova application for all major operating systems (iOS, macOS, Android and Windows). I wrote a native Plugin (WinRT) in C++/CLI to call some native functions, this Plugin uses ...

How to Launch another app on in PhoneGap?

Below hyperlink code are able to run in Android Chrome Browser, but when this page are in Phonegap InAppBrowser page will hit error. "UNKNOWN_URL_SCHEME" even config is allow all intent with "*" ...

Firebase Ionic2/Cordova Security Permissions

What's the minimum set of Firebase permissions required for an Ionic2/Cordova app? Current settings are below. If default-src or script-src is set to 'self' then errors occur when calling Firebase ...

Navigation from weblink to ionic app

I want to open mobile app in ios version above 9 from weblink using ionic. I have used below plugin for the process "cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=eventley"....

Error developing Cordova plugin for Ionic app, app not building using Ionic 2 build Ios command, it doesn't find framework classes

I'm developing an Ionic 2 app that uses some native functionality for recording video with special settings and allowing the user to change them in a popover window, this was developed as a framework ...

I have an ionic model issue when using the keyboard, it's only with iPad, it works fine in Android and iPhone

Beneath is a screenshot. When focus is on the textarea it pushes the ionic model up. I am using phonegap and ionic material.

Starting server - done! in IONIC 2 without run the project

I an having some little problem's when trying to command my project to run with the 'ionic serve', command, inside of the application folder. Every time that i use this command the cmd return the ...

Shall I use Embedded webview or External browser or ChromeTab for authorization?

I am developing cordova based hybrid mobile apps targeted for android and iOS smartphones. Usecase: The application authenticate user and then would be accessing Google Calendar API's, and finally ...

PhoneGap, Cordova : Adding microphone permissions not working, add android permissions

I am working on integrating permissions for Camera and Microphone for our phonegap application. FOr that I came upon these Media-capture and permission-request links. I have already added the plugins ...

how to on/off toggle button based on coming values from db [ ionic ]

i have one screen.in that i have one toggle button. And from database value 1 0r 2 will come. if 1 i have to swift on the toggle button or else i have to switch off. how can i do this : my code : &...

iOS registration id is only 64 characters long

Currently developing a Phonegap App and trying to get push notifications to work on iOS. They work fine on Android, but when I try to get the registration ID from an iOS device, the registration ID ...

How to send SQLite database to another device with .apk or fill database on first use?

So, i'm trying to create Cordova Android App with Angular that uses SQLite as data storage. I'm supposed to make a ready downloadable app for my client. The problem is that if i fill SQLite database ...

Ionic Status Bar Issue IOS

I am using the status bar plugin : https://github.com/apache/cordova-plugin-statusbar and in my config.xml I have the following set: <preference name="StatusBarOverlaysWebView" value="true"/&...

Cordova plugin for view document like PDF and to draw annotations [iOS]

In our hybrid application (based on Cordova) we need to display documents (like pdf files) and provide the ability to draw annotations with fingers over the document (free hand drawing). And we ...

Open folder with native gallery/Google Photos - cordova

I have some images and videos inside folders and subfolders. I would like to create a link, that when clicked, open this folder with native gallery app. It's possible pass some "parameter" (or other ...

Cannot build apk (cordova, mergeDebugResources)

i don't know how to solve the problem. this is the error report from the Console the first thing i thought was that maybe the image was corrupted or something like that but all images are viewable ...

Jquery- Bootstrap modal slow loading in mobile device

I have an issue with the loading of bootstrap modal in my mobile. I have a bootstrap modal with about 150 rows, each row containing and image, a dropdown and a toggle button. I want to open the modal ...

JavaScript detect end of ArrayBuffer

I am scanning barcode using Cordova Bluetooth plugin. The plugin is returning the barcode data in ArrayBuffer type. Sometimes I am getting full barcode and some times it is breaking into multiple ...

How to properly update a ionic 2 plugin?

I am working on a ionic 2 app and would like to add a function which is not implemented yet in the BLE plugin. I have installed it in my project, and I can edit the code by modifying some local files ...

ActionController::BadRequest (Invalid request parameters: invalid %-encoding

I am working on an Ionic 2 app with Rails 5 API . I am trying to upload a file from my phone to the server. I user cordova FileTransfer plugin for this. From the FileTransfer docs The FileTransfer ...

Ionic: convert from select to toggle,toggle not working

I want to change the select to toggle style in ionic 1. The problem is I do not know how to let the toggle to select Yes or No. Two things I need The toggle yes and no selection must work the same ...
Translating... 0%