Questions tagged [cordova]
Apache Cordova (formerly PhoneGap) is a framework that allows developers to create cross-platform mobile applications using web technologies like HTML, JavaScript, and CSS.
cordova
61,606
questions
0
votes
0
answers
5
views
Ionic : Cordova Build issue at /opt/homebrew/lib/node_modules/cordova/bin/cordova:32:22
I am creating a ionic app for cross-platform.
Getting this Error while creating build and running IOS simulator using Cordova
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of ...
-2
votes
0
answers
9
views
Intégration FIREBASE into an Ionic Angular Cordova Project - Managing Notifications [closed]
How can I add FIREBASE to my Ionic Angular Cordova Project ? I've bee trying to do it for several days now, but I'm still encountering errors. My goal is to manage notification in my project.
NB: My ...
0
votes
0
answers
21
views
can't update ionic cordova from 10 to 13 - no such file gradle/aar-metadata.properties
I'm trying to update my Ionic 4 app with Cordova 10 to use Cordova 13.
So I try this commands:
ionic cordova platform rm android
ionic cordova platform add android@latest
ionic cordova build android
...
0
votes
0
answers
23
views
CapacitorJS: how to share local data between WebView and iOS widget?
I am using a widget in my capacitor app (currently this question only focuses on iOS).
I want to save an integer from my webview code into Preferences and then be able to read it from the iOS widget.
...
-1
votes
0
answers
23
views
Cordova InAppBrowser override content security policy
I'm trying to inject a script to a an external page from an android Cordova app, but since the external page has a content security policy against eval, I can't use the following script.
const ...
0
votes
0
answers
11
views
Reading compass and play sounds while in background
For a capacitor or Cordova app.
While the app is in the background, for example when the phone is locked, I need the app to keep getting updates of the gps and compass so that it plays a spatial sound ...
0
votes
0
answers
18
views
Cordova / Android: sim permission denied
I'm trying to retrieve sim info from my phone with Cordova / Android but I get a permission denied despite having the plug-in correctly installed and config.xml with the right permissions.
I have the ...
0
votes
0
answers
48
views
+50
Splash screen background incorrect in dark mode on miui
I am using Apache cordova to create an app. My splash screen background is set to white however when dark mode is enabled it becomes greyish.
It is white when I change it to light mode.
config.xml
<...
0
votes
0
answers
19
views
Not able to open .app file application in simulator [closed]
I have created .app file in xcode from my machine. I tried same file installation in my simulator it's working fine. I am able to open application everything is working fine.
But when i shared same ...
0
votes
0
answers
21
views
Error: Could not find or load main class com.android.tools.apk.analyzer.ApkAnalyzerCli
I'm encountering an issue while trying to run cordova emulate android in my project. The error message I'm seeing is:
Error: Could not find or load main class com.android.tools.apk.analyzer....
0
votes
1
answer
31
views
Cordova - Stripe - Apple Pay?
I have a cordova app. I'm looking to implement ApplePay option to the stripe form. Is this possible using stripe checkout within a cordova app for Apple pay? or is it Safari only?
I have cordova-...
-1
votes
0
answers
19
views
Ionic live update: "ReferenceError: cordova is not defined"
We have an angular 17 app with cordova and ionic live update. Now we wanted to ship a new version via live update and when the app gets the live update we get a console error saying ReferenceError: ...
0
votes
0
answers
17
views
Cordova export canvas as a jpeg or png
That do one week that I try to write a file who can contain a ImageData from a canvas with a mine type png or jpeg .
so i have something as:
arrPixel.width = 480;
arrPixel.height = 480;
arrPixel.data[ ...
1
vote
0
answers
23
views
cordova error while building the android project using cordova build android command
when i want to build the cordova project i got this error .
i have java version 20 in my pc
and gradle version 8.3
How can i solve it ???enter image description here
C:\Users\Alire\OneDrive\Desktop\...
0
votes
0
answers
38
views
missing dependencies and command failed with exit code 1:.....gradlew.bat cdvBuildDebug
Ladies and gentlemen, I am facing this horrible issue while building my mobile app using cordova.
I am testing the output to get an apk file to test on mobile phone. However I am stack on an error as ...