Questions tagged [phonegap-plugins]

A Cordova (PhoneGap) plugin bridges a bit of functionality between the WebView powering a Cordova application and the native platform the Cordova application is running on.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

cordova-plugin-esptouch doesn't work on Ios16

My App built in cordova phnegap uses cordova-plugin-esptouch plugin and it works fine on Ios versions lower than 16.0. Here is what debbugger returns on ios 13 (or 14 or 15): 2023-02-06 21:27:05....
  • 1
0 votes
0 answers
28 views

Simplest/easiest way to add audio playback capability (of web hosted audio files) to my Cordova app (iPhone + Android)?

I've got an existing Cordova app to which I want to add the ability to play back a variety of short (e.g. 30 seconds - 1 minute) audio clips stored in Amazon S3. For project-related reasons I need the ...
  • 946
0 votes
0 answers
192 views

Phonegap 8.1.1 IOS BarcodeScanner Issue Can't open a camera

I am building an app which uses Barcodescanner-plugin for IOS. On Android this plugin works perfectly fine but on IOS it doesnt and I cannot open a camera and getting error of 'Undefined is not an ...
  • 1
0 votes
1 answer
529 views

Using Phonegap NFC Plugin in Ionic to scan RFID tags

I am using Phonegap Plugin in ionic for scanning RFID tags and tried creating a build for IOS. I am using nfc.scanNdef() function as described here https://github.com/chariotsolutions/phonegap-nfc for ...
  • 25
0 votes
0 answers
212 views

Cordova FileTransfer Plugin Got Error "open failed: EACCES (Permission denied)"

I'm using Cordova 11 and trying to transfer document files like pdf or Docx. It's ok with API < 29. But now I always get 'open failed: EACCES (Permission denied)' when trying it on API >= 29 ...
0 votes
0 answers
26 views

App Crashing After Scanning PhoneGap BarCodeReaded

I'm trying to implement a QRCode Scanner through the PhoneGap BarCodeReaded in my cordova app. But after the QRCode is scanned the app just crashs and it restarts. It doens't give me any errors on the ...
3 votes
0 answers
247 views

Locally Stored Image is not displaying in IOS Cordova

I have a cordova hybrid app that has to display image from local file. But its not displaying the images. Using filetransfer plugin images are getting downloaded in local document folder with help of ...
1 vote
0 answers
65 views

detecting natural device orientation in Cordova

Is there a way to read the natural device orientation in Cordova? For a normal smartphone that would be "portrait", while most tablets are meant to be held in "landscape" ...
  • 12.4k
0 votes
0 answers
82 views

How to customize ionic push notification like Incomming call?

I am creating an app for video calling ,I am using ionic 5 and FCM to get notification but i hvae to customize notification like an incomming call Thanks In Advance and sorry for my bad English `this....
2 votes
0 answers
173 views

How to access phone-gap-media-stream from Cordova Webview ios

I would like to know how to use cordova plugins from webview. I have an existing website that displays the media stream using: navigator.mediaDevices.getUserMedia({ 'audio': false, 'video':...
2 votes
1 answer
528 views

Simple Push Notification Android App Using PhoneGap With Firebase Cloud Messaging (FCM)

How does Push Notification with FCM works? Take a look at the image below that I got over the internet to explain myself that is self-explanatory. First, you need to register your client android phone/...
7 votes
1 answer
1k views

cordova-plugin-ionic-webview - Unable to save password in HTML form despite autocomplete attribute

I am working on a Cordova (~PhoneGap, ~Ionic) App and I followed the Apple guidelines and added to autocomplete attributes to my HTML login form to ask users whether they want to save their ...
  • 5,837
0 votes
1 answer
68 views

Can't install Admob Plugin on PhoneGap Build Android App

I used PhoneGap Build to build a simple android quiz game. Then, I tried to monetize it using Cordova-Admop pluggin. I first added it using<gap:plugin name="phonegap-admob" source="...
1 vote
1 answer
203 views

How should I get the data from google sheet using html code

I am trying to make mobile app using Phonegap. I am writing a code using HTML to search an ID in google sheet and give the complete row in return. Following is my HTML code. <!DOCTYPE html>...
1 vote
1 answer
857 views

How to configure Content Security Policy and whitelist plugin for cordova to fetch local files

Getting the error Cross origin requests are only supported for HTTP on iPhone cordova/phonegap app. This works fine on Android. var url = 'info.json'; // a localhost file in the www folder var jqxhr ...
  • 1,065
0 votes
0 answers
39 views

I need to download a CSV file from my Phonegap app

The framework is Codeigniter. I have an array by a response from ajax call which is converted to a CSV file and stored as CsvString = "data:application/csv," + encodeURIComponent(array_name); method. ...
  • 171
0 votes
2 answers
485 views

interstitial ad (plugin: admob-free)

My interest is relatively very basic. All I wanted an interstitial banner shows up in some pages of my hybrid application. I indeed appreciate your any comments and guidance since I am a novice ...
  • 3
1 vote
1 answer
71 views

How do I show ads in Phonegap Build using the Phonegap-admob plugin?

I've been trying to make an app using HTML, CSS, and JS using Phonegap Build, but admob ads will not show up. My JS code for showing ads is: <script src="code.js"></script> <...
0 votes
1 answer
1k views

Alarm application in ionic4

I want to develop alarm application same as default alarm application in android phone.I tried Cordova plugins but those stop working when app is closed(not minimised) Is it possible to implement ...
1 vote
0 answers
106 views

admob is not defined - Cordova CLI

I'm tring to include admob ads to my app. I'm using Cordova CLI to build my android app. using cordova plugin add cordova-admob --save from the documentations I have installed admob plugin using ...
  • 1,214
0 votes
1 answer
41 views

all standart icon for Cordova cli-9.0.0 android and IOS app

when I develop cordova android and IOS app in some devices I don't see my icon(i see default cordova icon) How can I see all requirement icons and splash screens? https://cordova.apache.org/docs/en/3....
  • 1,851
0 votes
1 answer
62 views

how to remove origin: file:// while doing rest call to server, via android app (created using phonegap/cordova)?

I am making an ajax call to server like below: $.ajax({ type : "POST", dataType : "json", url : url+ "/oms/rest/XYZ/anon/uvw/grantAbc", data : { "...
  • 159
1 vote
1 answer
122 views

Fingerprint in Javascript on Android?

I´m creating my first app ever for a school project with Phonegap. I have everything working besides fingerprint scanner. I have looked on Google, but I don´t quite understand what to do. It tells me ...
1 vote
1 answer
909 views

Ionic and phonegap barcode scanner app crash on android

My ionic app uses: "@ionic-native/barcode-scanner": "^5.19.1", "phonegap-plugin-barcodescanner": "^8.1.0", Android app crashes right away when i call barcode.scan funcion. I am doing everything like ...
0 votes
1 answer
644 views

Apple pay with stripe in Cordova is getting payment not complete

This is my code, and I am getting error payment not complete. I am using apple pay with stripe in Condova. I have used both the plugins but gave me error. Please also clarify how do I get stripe ...
0 votes
1 answer
672 views

Phonegap GPS location plugin cordova-plugin-gpslocation

I am trying to get gps coordinates to move a google map in my phone. My xml file has the plugin added like this: <plugin name="cordova-plugin-gpslocation" spec="1" /> When I click my button to ...
0 votes
2 answers
93 views

accessing media items in phonegap in www

I have a mp3 file that i want to be played based on user actions.(a dom event) i have it in www/audio/a.mp3 I am using cordova-plugin-media to handle running the media, but the problem is i cant ...
0 votes
1 answer
20 views

adobe phonegap Google Maps not displaying

I have a an app I wrote in javascript and html and I am trying to import it into adobe phone gap to make an android app. My config.xml looks liek this: <?xml version='1.0' encoding='utf-8'?> &...
0 votes
1 answer
192 views

How to executeJavascript and return value on phonegap?

On electronjs i can use executeJavascript on another site and return value like bellow, could i do that on phonegap? mainWindow.webcontent.executeJavasciprt(someScript) i found it, using window....
  • 549
0 votes
1 answer
507 views

Import CSV file into sqlite database using cordova sqlite plugin

I am working on cordova App where i need to insert records into sqlite database from csv file. I know how it is done on cmd. sqlite> .mode csv table_name sqlite> .import file_name.csv ...
1 vote
0 answers
45 views

error will occur on remove cordova-plugin-pdf-viewer

I am add a plugin of cordova-plugin-pdf-viewer and then i can't remove that plugin. this is a image of error in my project
2 votes
0 answers
94 views

Cordova specifying phonegap version above cli-6.5.0 breaks cordova-plugin-statusbar on iOS

I'm currently working on a cordova app with phonegap build for iOS and I am running into an issue with submitting my app. I had everything working properly with the statusbar and had the following ...
  • 961
0 votes
1 answer
40 views

which technology i need to use to build a customizable (also cross platform) mobile app? [closed]

Customiation is the main priority of this application. We have an existing mobile app based on DoJo, Is it a good idea to use this as a base for our new app.
1 vote
0 answers
319 views

Clipboard management plugin for Cordova/PhoneGap giving an error

I am working on the PhoneGap application. I need to use the copy to clipboard functionality for the app. For this, I have tried many Plugins but got the same errors. Right now I am using the plugin ...
  • 334
0 votes
0 answers
165 views

Downloaded video not shown on Gallery in ionic 4

After downloading a image or video file it doesn't shown on gallery, I'm working on ionic 4 tried some media scanner plugin but not working if anyone knows solution help me download(Url, fileName) { ...
1 vote
2 answers
2k views

Phonegap plugin push returns strange format of iOS device token on iOS 13 and higher

I'm using phonegap-plugin-push in an ionic 3 app. However lately as more phones get updated to iOS 13 and above the registration of devices wont work anymore. Device makes a call to an api on our side ...
  • 130
0 votes
1 answer
79 views

phonegap-plugin-push error 65 upon building: GoogleCloudMessaging.h is deprecated. Can we remove this from the project? Quickfix?

I have an iOS cordova project that we recently updated to platform iOS@5.0.0 Upon compiling the project, we encountered error 65 on phonegap-plugin-push/PlushPlugin.m Tried doing a pod install on the ...
1 vote
2 answers
921 views

FileReader (cordova-plugin-file) failing

I am trying to read and write files using the cordova-plugin-file plugin. Writing the files seems to work fine, but when I go to read the file, it doesn't work and the fail callback that I set up runs....
0 votes
0 answers
24 views

Viewing .PDF file in Android App - any Phonegap plugin(s) available?

I'm developing phonegap application for android devices. I want view the pdf inside my app without having sharing or email options. Just want user to view the pdf. I know the inappbrowser will not ...
0 votes
0 answers
359 views

How to Hide Screen on Pause in Ionic App for iOS

I am developing a mobile app for iOS using Ionic Framework 4 with Cordova/PhoneGap. The app contains sensitive information. One of the requirements is that the screen become hidden/blank whenever ...
0 votes
0 answers
691 views

When I kill the app background services is not working in Ionic Cordova app

When I kill the App, Background Services are not working in the Ionic Cordova app. I am using this plugin: @mauron85/cordova-plugin-background-geolocation. Environment: Ionic-4, Cordova-8, Android ...
0 votes
1 answer
854 views

Phonegap App Store Submit: ITMS-90683: Missing Purpose String in Info.plist - NFCReaderUsageDescription - Not Using Plugin

I'm using Application Loader on my mac to upload an ipa built by Adobe Phonegap Build. I get an email shortly after from the app store: ITMS-90683: Missing Purpose String in Info.plist - Your app's ...
  • 353
1 vote
0 answers
54 views

Cordova camera changes filename after saving to gallery on iOS

i am using the cordova camera plugin and saving images to the gallery/photos so they don't delete as prior to this my photos would be saved to the cache and delete quickly enough. I attach the images ...
  • 99
1 vote
0 answers
163 views

Phonegap build failing on OneSignal plugin

I'm just rebuilding my app due to needing a new distribution certificate. I get this error though: "plugman-151 install --platform ios --project /project --plugin https://github.com/OneSignal/...
  • 4,851
0 votes
3 answers
2k views

How to send HTTP requests in phonegap?

I'm using phonegap to develop an inventory management mobile application and I can't figure out how to send http request without running into the CORS policy problem. I installed the cordova advanced ...
1 vote
0 answers
31 views

Phonegap.build camera not working. What am I missing here?

For a school project, I have to make an app in PhoneGap.Build but I'm really struggling to say the least. One of the things I need to implement is the camera. It doesn't have to save the picture or ...
0 votes
0 answers
76 views

Copying camera image in phonegap/cordova not working

I am trying to save images i take with the camera on my phonegap app to a more permanent destination. I run the app on iOS and Android so i need this to work on ios and android. So far i can get the ...
  • 99
1 vote
1 answer
1k views

Ionic 4 + WhatsApp share - Get receiver / contact details after I share my message

I am using Ionic 4 + SocialSharing-PhoneGap-Plugin. After I share a message with my contact, how can I get back the contact's name/number and other info back in the promise, so that I can save it in ...
  • 6,695
0 votes
1 answer
47 views

Integeration twilio client phonegap application ( Platform Phonegap )

I am working on the PhoneGap application for the Twilio client to make calls from a mobile. I have followed the plugin guide from the below link. https://github.com/jefflinwood/...
  • 334
0 votes
1 answer
131 views

Create custom cordova/phonegap plugin to use a swift library

I have no idea if Cordova can handle what I need. I have a very specific requirement. I am an iOS developer and I have developed a swift library to be used for iOS development. But, now what I need ...
  • 1,093

1
2 3 4 5
85