Questions tagged [cordova]

21883 questions
1

votes
1

answer
68

Views

how to check system date is wrong in cordova android application

I have a cordova android application. It works online and offline mode. How can I check the system date-time is correct or not? In online method I can check with server date-time but any other way for that? in offline how I can check? I tried with Geo-location time, still it gives me back the syste...
Jibin Mathew
1

votes
0

answer
70

Views

Cordova android app sqlite plugin

Unable to change the default location of sqlite plugin db = window.sqlitePlugin.openDatabase({ name: 'test.db', location: 'default' }); Database is created but destroyed after uninstaling the app.I have used codova file plugin db = window.sqlitePlugin.openDatabase({ name: 'test.db', location: cordov...
Rammie
1

votes
1

answer
179

Views

How to preload iframe urls on Ionic

I'm using iframe links on Ionic 3 app. I found when I open up a page with an iframe link, it doesn't load a site quickly. Iframe will display a white blank loading screen for 3 seconds before actually loading a page. Is there any way to preload all links on app's initialization so I can bypass ifr...
zetajames
1

votes
1

answer
27

Views

Is there a Cordova plugin for OM SDK?

The IAB has a new SDK for measuring viewability in app, and they have launched the OM SDK. Do you know if there is a Cordova plugin for this or if maybe are there plans to develop it? Here is the IAB article refering to OM SDK: https://iabtechlab.com/standards/open-measurement-sdk/
1

votes
0

answer
60

Views

plugin cordova-file-transfer methode download returns code error 3

I want to download an mp3 file from my website by using the plugin file transfer but the method download always sends me an error code 3. is my site must be configured to allow a third party application to download files or it is an error in my code ? my code is the following thank you function dow...
1

votes
1

answer
311

Views

Cordova Emulator Not Installing App on Emulator Device

Running: sudo cordova emulate ios --target='iPhone-6s, 11.1' Builds the app just fine and the emulator loads, but the app isn't being installed on the emulator, or I just can't see the icon. There is an error before it loads the emulator: Error: ENOENT: no such file or directory, stat '/Users/[usern...
Glen Elkins
1

votes
0

answer
314

Views

Ionic cordova native plugin not working in IOS

I am working on an Ionic app which used in Android and IOS both. In my app I use printing, sharing and Barcode Scanner functionality using the following plugin cordova-plugin-x-socialsharing 5.4.0 for 'SocialSharing' cordova-plugin-printer 0.7.3 for 'Printer' cordova-plugin-barcodescanner 0.7.4 for...
Rahul dev
1

votes
0

answer
140

Views

InAppBrowser Overlaps Admob Banner in ionic 3 application how to fix this

i am making application for android using ionic 3. I want to show website in my app and for this i am using cordova InAppBrowser plugin and that is working fine. problem is that when website displayed in inappbrowser (not external browser) admob banner ad hide behind inappbrowser and when i close br...
Rahul Kumar
1

votes
0

answer
285

Views

Cordova iOS app fixed header disappears on scroll but not on mobile Safari

I have built an application for iOS, Android and the Web using Vuetify Cordova. The app builds out fine, I can view it perfectly on the web on any browser and on Android. But on an iOS device as an app I get a glitch where the fixed position navigation header disappears on what seems to be a fast s...
John Halsey
1

votes
1

answer
39

Views

Vuforia Cordova Plugin randomly dissappearing from PhoneGap Application

In current project I have to implement Vuforia support in PhoneGap mobile application, dedicated for Android Platform. I'm using the following Cordova plugin - https://github.com/mattrayner/cordova-plugin-vuforia As far as I studied, PhoneGap utilizes Cordova platform, so there is compability in us...
k_p
1

votes
0

answer
285

Views

Detect android TV with cordova / ionic

I have a Ionic 3 project properly working on Android TV and on Android smartphone. I would like to be specific actions when the user is using the TV app. I tried to use this : import { Platform } from 'ionic-angular'; ... if(this.platform.is('android') && !this.platform.is('mobile')) { this.isAndroi...
1

votes
1

answer
41

Views

How to get the currently set sounds in android phone with cordova

I am currently working with an ionic 3 alarm app. What I want to achieve is to play the currently set alarm tone of the default android alarm app. There will be no option to set the alarm tone. Rather play the default sound of the android device which is set on the default alarm clock. How can I ach...
Soumya Rauth
1

votes
3

answer
43

Views

Cordova App in Visual Studio

I'm testing an application but getting the following errors from Visaul Studion. I have no idea what it is. it's no problem to debug te solution but when I release for an android device I get the errors.
1

votes
1

answer
26

Views

Phonegap camera.getPicture imageURI only temp in Cache folder, how can I get permanent imageSRC

Hi im working on a Phonegap App. Im using the camera plugin to get a picture and display it and save the imageURI in localstorage. All this works but after a time the images are removed from the cache folder so I need a permanent imageURI/imageSRC. Does anyone know how I can do that ? Can I get the...
J.Doe
1

votes
1

answer
180

Views

Cordova trigger offline network event for wifi only

I installed the plugin cordova-plugin-network-information http://cordova.apache.org/docs/en/8.x/reference/cordova-plugin-network-information/ it contains an event called 'offline'. This event triggers fine, but my problem is that it only seems to trigger based on the initial connection that was avai...
jremi
1

votes
0

answer
128

Views

How to set fixed window size for Windows Application in cordova phonegap

Is there anywhere in the config where I can fix the app size to a certain height/width? And prevent resizing?
Mustafa bw
1

votes
1

answer
54

Views

Having trouble building ios solutions. The remote macOs agent & VS 2017

Good afternoon. I'm having trouble building ios solutions. I'm using VS 2017. The remote macOs agent is configured on a virtual machine. MacOs latest version, Xcode too Having started the assembly, I've been getting only information about the state of the assembly for four hours already. And nothing...
pandaB
1

votes
0

answer
109

Views

How to disable new password Autofill feature in iOS 11 applications in Hybrid Phonegap Apps?

I am making a Phonegap Hybrid App using cordova. App is working fine in iPhone and Android, But in iOS 11 in iPhone new password autofill feature is coming on every text field. How can I disable this password autofill feature in every textfield?
1

votes
0

answer
11

Views

Is it possible to add values via Plugin.xml to Config.xml?

I am required to add this for Universal Link capabilities inside config.xml: Since I am not able to modify config.xml (auto-generated project and app), I only have chance to change on plugin source code level. Can anyone advise me how to do so?
Rendy
1

votes
0

answer
41

Views

Cannot run app after updating SocialSharing-PhoneGap-Plugin

I made an update to the SocialSharing-PhoneGap-Plugin and it now has a new dependency on this plugin es6-promise-plugin. The issue I am experiencing is that when I try to load the app I receive an error: Error: Module es6-promise-plugin.Promise does not exist. in this function of the native file fun...
user2472368
1

votes
0

answer
122

Views

cordova-plugin-wkwebview-engine reloads app when going back from subpage

Im using the plugin cordova-plugin-wkwebview-engine with my phonegap.build app. And when I load a subpage and then swipe back to the start page, then the start page freezes for about 4 sec before I can scroll it again. And I realised that it is reloading the start page every time I go back from a s...
1

votes
0

answer
101

Views

cordova: app form to PDF

I've got a Cordova (Phonegap Build) app that provides a form for users to fill out. They then print (or print to PDF) and send me the PDF. The problem is that the data entered in the form does not render in the PDF - instead each field is empty in the PDF. I've tried many methods that have been outl...
cgeiser
1

votes
0

answer
71

Views

XMLHttpRequest with php returns the script when using Phonegap cordova

I am trying to build a mobile application using cordova. I needed a qr-scanner so I added the phonegap barcode scanner for this purpose: https://github.com/phonegap/phonegap-plugin-barcodescanner The script i am trying to run is the following: function scan() { cordova.plugins.barcodeScanner.sca...
Antoinneke
1

votes
0

answer
158

Views

Ionic runtime error while running on device

I am trying to run app using ionic and cordova build . I am getting error while running following command on command line. I also tried updating ionic and angular to latest build still showing me same error ionic cordova run android. Can you please help solving this issue. Following is my package.js...
user2515173
1

votes
0

answer
78

Views

Cordova | App unresponsive when Android phone comes back from sleep

I am having this issue and I am not able to narrow down the cause. My Cordova app UI becomes unresponsive and stops responding to touch events when the phone comes back from sleep ( i.e I let the phone's display turn off while the App was open and come back to it after some time). Phone Details: S...
Sapnesh Naik
1

votes
0

answer
32

Views

Black screen in Cordova Windows 10 UWP app with ExtJS 6.5.2

I have exactly the same problem as Daniel Twigg in his subject (Black screen in Cordova Windows 10 UWP app). I invite you to read it because it describes EXTREMELY well his problem, which by extension is also mine. In his subject, he explains having a discussion with a sencha member who helped him s...
Enzo BLANCHON
1

votes
1

answer
148

Views

Cordova stuck on adding it to project

Whenever I run 'cordova build ios', I get this. Discovered plugin 'de.appplant.cordova.plugin.local-notification' in config.xml. Adding it to the project It goes through successfully sometimes though, but most of the times it is stuck and I have to retry it multiple times,taking so much time. any id...
Sejista Carl
1

votes
0

answer
68

Views

Installing cordova platform from local sources

I would like to install android platform from local sources for my cordova project using local installed cordova tools, but i can't - it always ends with some errors. More details: I used: nodejs v8.9.3 npm v5.6.0 cordova v8.0.0 (only local installation) cordova-android v7.1.0 First i created p...
Denis Khay
1

votes
1

answer
206

Views

Set custom icon for cordova-plugin-background-mode

I am trying to set up a custom icon so it no longer shows the white square, but I can't seem to get it to target a new icon. How do i include more icons in my project and aim this plugin to use a new icon? I tried adding
Trevor D
1

votes
1

answer
77

Views

Ionic uses the CrossWalk plug-in to generate the specified version of APK

I'm using cordova-plugin-crosswalk-webview 2.4.0, which generates 5 versions of APK at a time, including arm64, armeabi, armv7, x86 and x86_64. I just want to generate a armv7, the others do not want to generate, what should be done?
upupup
1

votes
0

answer
29

Views

Building application using cordova and xcode9

I have a problem, while building my cordova application. I am receiving an error: error: exportArchive: 'myAppName.app' requires a provisioning profile with the Push Notifications feature. As I read over the internet, there was a bug, until ios-platform 4.5.2 (exclusive). Since v4.5.2 the bug was fi...
Sergej
1

votes
1

answer
103

Views

Phonegap/Cordova: Plugin for displaying PDFs and providing function for Linkhandler (iOS / Android)

I’m looking for a plug-in for my Phonegap app that allows me to display remote PDF files within my app. I found a couple of dated questions and I was wondering if there are any new solutions in 2018. My needs: Displaying a PDF to the user iOS and Android Primarily phone but also tablets Pinch (Z...
Mani
1

votes
0

answer
18

Views

VS Tools for Cordova overrides Android Icons

Every time I change a setting in the config.xml wizard, my Android Icons in the config.xml file get erased. This is the entry in the config.xml file that sets the icons for android: After I change something in the wizard (like the version code), the icons are gone. My iOS Icons are still there, thou...
El Mac
1

votes
0

answer
279

Views

Cordova - Error installing plugin with android platform 7

I have an Ionic v1 project (Cordova) and I use several plugins that work on Android platform 6.4. When trying to add the android platform 7 or 7.1 one of the plugins generates Manifest directory error when it is installed and displays the message: Failed to install '...': Error: ENOENT: no such file...
Lucas S.
1

votes
0

answer
61

Views

InAppBrowser hidespinner iOS spinner still showing

I'm using my custom spinner during page loading and I'd like to totally disable native iOS spinner cause it's still showing when the page is not fully loaded. So with InnAppBrowser, I'm using open() with 'hidespinner=yes' option. Nevertheless, the native spinner still appears (on iOS only). Do you h...
akadorian
1

votes
0

answer
114

Views

Force WebARonARCore (Chromium) on Android

I'm creating a new Augmented Reality Android application using Cordova. I have in some way to force my mobile to use this web browser: https://developers.google.com/ar/develop/web/quickstart. Is it possible to do this? I'm using Cordova to build the Android application, but I don't know how I can f...
sirjmota
1

votes
0

answer
39

Views

Why does didenterregion triggers multiple times even I am already in that beacon region?

I have added one beacon region for monitoring.I am using the method didenterregion to identify when ever he enters into beacon region but the thing is even I am already in beacon region then also I am getting multiple times didenterregion signal.Can anyone help me why is this happening? ` @Injectabl...
1

votes
1

answer
165

Views

Ionic 3 onNotificationClicked() doesn't subscribe on Cordova geofencing plugin

I'm facing some issues developing a simple app with the geofencing plugin on Ionic 3. This app should give a notification when the user enters into a fence, but when the user clicks on the notification, the notification should open a page different from the root page. I've tried to subscribe the geo...
Knospfer
1

votes
0

answer
30

Views

Cordova changing resolution?

I create an android application using angular 4 and framework cordova.Ijust have one problem with screen resolutions img1 img2 I try to change the view port but still the same
Genger
1

votes
1

answer
150

Views

Problems using iosrtc plugin in hybrid Cordova iOS app

I'm creating a native iOS app, where I'm adding in Cordova to use the CDVViewController for one controller. This works as it should. I'm then adding cordova-plugin-iosrtc to add WebRTC capabilities to that web view. If I'm creating a complete Cordova app from scratch, I'm able to get it to work, but...
eivindml

View additional questions