Questions tagged [phonegap]

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how Blink is the engine that powers Chrome or Opera. Over time, the PhoneGap distribution may contain additional tools that tie into other Adobe services, which would not be appropriate for an Apache project. For example, PhoneGap Build.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Cordova android application refuses get data from remote source after downloading from playstore

I have developed an app using HTML, CSS, JAVASCRIPT <preference name="phonegap-version" value="cli-12.0.0" /> <preference name="android-minSdkVersion" ...
olawole taiwo's user avatar
1 vote
1 answer
51 views

Ionic Cordova NFC is not subscribing to or capturing events

How can I resolve the issue in my Ionic Cordova application where it's not subscribing to the NDEF listener when using the NFC PhoneGap API Function: startNFCReading() { console.log('Starting NFC ...
subhos's user avatar
  • 13
0 votes
0 answers
17 views

How to convert phoneGap project to Corodova iOS project in for xcode

I'm new to cordova and I have an old ios project with phoneGap in vscode and now I don't know how to import it to cordova project in xcode. cordova doesn't recognized the project as a cordova project ...
homayoon hosseini's user avatar
0 votes
2 answers
245 views

Issue compiling IONIC app with React on modern Android devices using Phonegap-nfc plugin

I'm developing a mobile application using IONIC 6 with Reactand Typescript with Capacitor 5.0 on Windows 10 with Java-17. The application uses the Phonegap-nfc plugin for NFC communication. The app ...
Joaquim Ribera Soriano's user avatar
0 votes
0 answers
24 views

Phonegap + Cordova does not work on latest Android versions

I have an application developed in Phonegap+Cordova that has stopped working in recent versions of Android. Does anyone know how I can migrate the phongap part fully to cordova and if that would ...
Nathan Quirino Bass's user avatar
1 vote
1 answer
368 views

Can't fetch API with cordova on iOS physical device

It seems my Cordova app can't access my API... It always gives me an error (with fetch() for instance: "TypeError: Load failed"). I guess this is some specific config thing that I haven't ...
Texleretour's user avatar
0 votes
0 answers
20 views

Cordova text/javascript block grayed out

I was developing a mobile application using Cordova/Phonegap and on html there is a cordova script but it was grayed out. I checked and it was not commented out. Because of this, my application can't ...
Edd's user avatar
  • 1
0 votes
0 answers
95 views

Android Cordova - HTML5 Video fullscreen only works on first instance

I have a Cordova 9.0 hybrid app that uses HTML5 tags. On iOS, the videos work great, but on Android, they exhibit the following behavior: Tapping the fullscreen button on the first instance (of the ...
Sergio Prado's user avatar
  • 1,197
0 votes
1 answer
79 views

Cordova local storage security

I'm primarily building an App for use on Android devices with Cordova. I have not been able to find anything in the Cordova documentation (or the WWW) about how secure it is to store data in the local ...
gpwr's user avatar
  • 988
1 vote
0 answers
177 views

Facing Internet Connectivity Issues in Latest Version of Cordova Android - Cordova Android 11.0.0

I upgraded the existing Android Application which was created using Cordova to the latest version (Cordova Android 11.0.0).After update, application is not able to connect to "Internet" and ...
rajswastik's user avatar
-1 votes
1 answer
466 views

phonegap-nfc running without ionic in capacitor project

Is there a way to run this project without useing ionic underlaying? I am using vanilla js and wrap it into a native app using capacitor.js. However it seems to require IONIC underlaying.. Library ...
marius's user avatar
  • 1,158
0 votes
1 answer
915 views

ITMS-90809: Deprecated API Usage** - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability

https://i.stack.imgur.com/Qxf3D.png I am getting same error while uploading application to AppStore. Following is the detail information which I used in application.This is the detail plugins which ...
sandy's user avatar
  • 1
0 votes
1 answer
35 views

PhoneGap / Cordova clone

I got one version of an app running with Cordova which my friend would like to get a copy of but instead of copying the whole "www" folder and then reinstall plugins etc in a new project is ...
CableGuy's user avatar
0 votes
1 answer
150 views

SMS/MMS data location on Android, Cordova/PhoneGap, Cordova-Plugin-File

I'm creating a Cordova app and I'm using their file plugin to access files within the system. the problem is, it doesn't seem to recognize the file. One thing I know is different android versions have ...
user avatar
0 votes
0 answers
445 views

Emulate Mifare/NFC tag using Ionic Angular

I have a Mifrare Ultralight card that I use for one reader. It can also read NFC smart cards. I need an Ionic - Angular app that behaves like the card / tag I have. It needs to send only specified ID -...
Baumi's user avatar
  • 1,745
0 votes
1 answer
58 views

How to create phone app that will download external resources depeding on configuration or what user chooses

We have an app and we need to maintain several versions of this app, because of our customers. GooglePlay prohibits and rejects such apps because it thinks they are too similar and there should only ...
mr R's user avatar
  • 1,037
1 vote
0 answers
253 views

Providing 1024x1024 App Store icon when building with Ionic

I maintain an old phonegap project, that is now built with Ionic (which uses Cordova). For now, everything seems to work fine, but there is one problem: The iOS App Store icon does not show up, I see ...
Cemu's user avatar
  • 51
0 votes
0 answers
191 views

Colour around iPhone Notch in Cordova/Phonegap app

I have developed a iPhone app using Cordova however I end up with a white area around the iPhone Notch that would like to fill blue to match the top menu. I would have thought this would be easy but ...
Richard Hensman's user avatar
1 vote
2 answers
541 views

Cordova 10/11 iOS app not able to open google maps URI

After upgrading to cordova 11 from cordova 9, I am unable to open a google maps URI (On Button click Cordova app should open Google maps with the co-cordinates) What worked in cordova 9: var coord = ...
stWrong's user avatar
  • 334
0 votes
1 answer
240 views

Remove Duplicate data In Localstorage

I am facing difficulty in deleting duplicate data from localStorage, the platform use JavaScript on Cordova-Phone Gap, how can I delete duplicate data on localStorage ? For example remove duplicate by ...
Roni Akses's user avatar
3 votes
0 answers
298 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 ...
SriDharan's user avatar
0 votes
1 answer
527 views

Restore old Cordova LocalStorage data in Ionic6 and Capacitor

The Question is simple, i have a Old App im working on Implementig. For the new version i use Ionic 6 and Capacitor. The old app used Cordova/Phonegap with window.localStorage. I tried a few different ...
Lucas Feichtinger's user avatar
0 votes
2 answers
2k views

Open a website-link in a cordova app, and open a specific app-page and get the parameter of the link

I have a cordova app and I want to do the following: There is a link in an app like whatsapp or any other messenger, or in a mobile browser like chrome: www.example.com/site?p=xyz I click on that ...
Philipp K's user avatar
1 vote
0 answers
98 views

ember-cordova - Invalid or unexpected token on __dirname

I'm trying to build Android app using my Ember frontend and Cordova. I've configured project as described in ember-cordova docs (changed rootURL and locationType), I installed ember-cordova via ember ...
Tomasz Jóźwik's user avatar
2 votes
3 answers
2k views

Why does Google think my app is sending data about Installed Apps?

I have this simple Android app, made with Phonegap Build. Now I needed to fill in the Data safety form. I did so in good faith, as I thought my app does not collect or send any private info. But ...
Hans Dash's user avatar
  • 761
1 vote
0 answers
84 views

How to implement a search bar to work on same page for Cordova Android app?

First of all, I'm really noob on dev and this app is not for commercial use... I'm trying to create a "wiki app" for me, who will display all the data on same page and add a search bar to ...
Micael's user avatar
  • 11
5 votes
1 answer
1k views

The prefix "tools" for attribute "tools:node" associated with an element type "uses-permission" is not bound

I'm trying to build my Apache Cordova app for Google Play and I'm facing with this error although I included xlmns:tools. I've tried all solutions in the Internet but still get this error! Where is ...
shayan izadi's user avatar
1 vote
1 answer
324 views

Is there any plugin available for Wi-Fi Direct in cordova?

I have to create an app in Cordova that connects via Wi-Fi Direct to an Android app. Is there any way to do it? Is there a plugin that allows me to use this technology in Cordova?
affarx's user avatar
  • 13
0 votes
0 answers
57 views

Is it possible to make an Android app and a Cordova app communicate via Wi-Fi Direct?

I have to develop two applications: the first (the Cordova one) has to connect with the Android application and has to send multiple choice questions. The second (the Android one) must select the ...
affarx's user avatar
  • 13
-1 votes
1 answer
343 views

Functions in Javascript module cannot be recognized for Cordova Android App

We have a cordova project that there are some functions in the javascript module, when I call those functions, it returns error that the function name is not defined. This only happened in Android app,...
Mingze Li's user avatar
  • 370
2 votes
1 answer
709 views

phonegap-plugin-barcodescanner crashes on Android

I want to post this Q&A here as I see many people having this issue and the phonegap-plugin-barcodescanner github repo is now readonly, so can't post to issues there. I've been having an issue ...
Mike Dailor's user avatar
  • 1,246
1 vote
1 answer
845 views

Phonegap-nfc plugin causes build to fail on xcode

I am using ionic 5 capacitor and i am trying to get phonegap-nfc plugin to work. It works fine on android but while building with xcode building fails. Steps to reproduce with fresh project (selected ...
MoXPLoX's user avatar
  • 11
0 votes
2 answers
224 views

Not able to access CSS from the phone storage in Cordova

I am trying to access CSS file from phone storage in Cordova. The simple use case is to use dynamic CSS. Donwload the CSS from the server on a specific interval, store that in phone storage and use ...
Chintan Khetiya's user avatar
1 vote
1 answer
380 views

Cordova plugin cordova-plugin-firebase-messaging Invalid ID

I created a new project and installed cordova-plugin-firebase-messaging. I'm able to receive messages and read the payload on the javascript side, but the actual notification never pops up. I get 2 ...
Jason's user avatar
  • 367
1 vote
0 answers
1k views

Uncaught SyntaxError: Cannot use import statement outside a module - Cordova

I am simply trying to access my common application variable/function from main.js file. using ES6- Import Export. export var APP_NAME= "MyPOC"; - File main.js Importing now in other ...
Chintan Khetiya's user avatar
0 votes
1 answer
60 views

PhoneGap - Resources found for language(s) 'en,eu' but no resources found for default language(s): 'en-US'

Good morning, I'm trying to build a PWA application from my Flask project. I implemented internationalization in it, but when it comes to build the application, this is the error I get on PhoneGap. ...
Busto's user avatar
  • 13
0 votes
2 answers
915 views

How to allow remote image src URLs in Apache Cordova app

I'm migrating create-react-app to Apache Cordova. My relative URLs to static images are working. Ex: ./images/path/to/file.jpeg But in the iOS simulator I can't reference remote image sources in an S3 ...
emersonthis's user avatar
  • 32.8k
1 vote
1 answer
438 views

Cordova app doesn't have access to HTTP response headers

I'm migrating a React 16 app to Apache Cordova (v10.0). I'm using the axios HTTP library. When I run the original version, I my app has access to authentication response headers with a bearer token (...
emersonthis's user avatar
  • 32.8k
1 vote
2 answers
1k views

Phaser 3 in Cordova App: How to use images properly in a iOS version

I am using Phaser 3 inside a Cordova App. I am trying to display an image on the screen. The code works properly in the browser version. Therefore if I run: cordova run browser then everything ...
preston's user avatar
  • 3,871
0 votes
0 answers
231 views

Create a PhoneGap App: Hello World compiling error

We have given a task as per below screen - We had written code as - <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="format-...
Ashish Jindal's user avatar
0 votes
1 answer
71 views

Phonegap is offline - error 403 - Will it get online again? Do you know other alternatives?

I've been using phonegap build to develop my apps since 2015. The PhoneGap team, pronounced that they won't spend their time anymore on the platform since last year, but I've been working with it ...
Ibrahim Orra's user avatar
0 votes
1 answer
1k views

Android 11 image saving issue

The below function was working properly in android 10 but after updating to android 11 it does not work in apache cordova-phonegap function clickPhoto(source) { navigator.camera.getPicture(...
Aksheet-Goku's user avatar
2 votes
0 answers
355 views

Angular 10 routing not working in cordova

I have a problem in the router when I want to wrap to a Cordova app for android. The problem seems to be in router module but I can't figured what is going wrong. The problem is this Everything works ...
Sergio Mendez's user avatar
1 vote
1 answer
204 views

cordova build android -- release not loading files

I'm trying to build android apk in release type but when run on android device it just show white screen. so I served release type on browser to check then I found there are lot of missing files all ...
D.luffy's user avatar
  • 11
0 votes
1 answer
117 views

Returning a value from Cordova File Plugin when called from a function

I have seen someone has posted a similar question but it doesn't really fit what I'am looking for: Here is my code: $(document).ready(function(){ $("#btnTest").bind("click", ...
Flash20's user avatar
  • 73
0 votes
1 answer
103 views

Admob ads not showing in Jquery mobile app

I'm trying to show ads in the app built with jquery mobile using Cordova. I'm using the Cordova-Admob-plus plugin to show ads. The plugin works fine when I use the onsen UI to build apps. But when I ...
Maher Afrasiab's user avatar
0 votes
0 answers
95 views

Cordova webview + angular

im working on a PWA application and using Cordova to compile to Android and iOs. All the pages work fine in browser (on phone and desktop) but when using the cordova builded app some angular functions ...
Michael van heijningen's user avatar
3 votes
1 answer
856 views

Cordova inAppBrowser Hide / Show in Java Android

I am working with Cordova and the inAppBrowser plugin for Android https://github.com/apache/cordova-plugin-inappbrowser I am trying to control the hardware back button for Android in Java file ...
nomaam's user avatar
  • 1,213
3 votes
2 answers
1k views

Cordova camera plugin works on emulator and not on Android device

I'm building an app that allows the user to take photos. I'm using Cordova - JS/CSS/HTML - to write the script. The Cordova camera plugin works perfectly on my Android emulator in Android Studio, but ...
theCrabNebula's user avatar
1 vote
0 answers
76 views

Cordova/Phonegap File plugin, Overwrite index.html on pause event

Using Cordova/Phonegap, is it possible to save the state of the index.html file as the user leaves it using the onPause event so it it remains up-to-date. This would very much work the same as the &...
Flash20's user avatar
  • 73

1
2 3 4 5
37