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.

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

Cordova iframe works but child to parent communication is blocked

In my app, I am loading an iFrame into a modal; the source of the iFrame is my server. The iframe content loads properly, but I am trying to get the parent window and the child window to talk to each ...
  • 2,649
0 votes
0 answers
7 views

Cordova SQLite plugin - UPDATE statement not always successful - guidance needed

We have a database table that has a column called image1 - this contains a base 64 string of an image. We then upload the string to a third-party service which creates an image and passes back a URL. ...
  • 433
0 votes
0 answers
14 views

App crashing on using camera - Capacitor on Android 12 , 13

Explanation of Problem: App crashes and restarts when taking and confirming a picture on Android 12 and 13. App crashes on clicking this button after taking picture We are using Capacitor camera ...
0 votes
1 answer
21 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 ...
  • 978
0 votes
0 answers
33 views

Ionic 6 capacitor community electron - Using awesome cordova plugins

I have started a new project using Ionic 6 Angular. I have added package @capacitor-community/electron in order to develop a windows .appx app. I'm able to run it, pack it, etc. I need to create a ...
0 votes
0 answers
12 views

cordova 11.0.0 and Ajax request not working (readyState=0)

I need to migrate my Cordova application for ANDROID to version 11.0.0 (to have Android API version 32) Previously I was on Cordova 9.0.0 (everything worked fine) In version Cordova 9.0.0 I added the ...
0 votes
0 answers
6 views

Firebase Crashlytics shows error while building Android APK file using Ionic Cordova

I am trying to build an APK for android on my Ionic Cordova application and running the following command. ionic cordova build android But the following error is coming. * What went wrong: A problem ...
-1 votes
0 answers
8 views

How to disable zooming in Cordova In App Browser in Xcode?

I am looking for a way to disable the zooming in Cordova In App Browser in Xcode. The zooming gestures need to be disabled, like pitch to zoom in and out. I could not find an option inside the ...
-2 votes
0 answers
21 views

How to convert a localhost html, JavaScript and pouchdb to Cordova

I have a localhost web app just html, javascript (offline-first) using pouchdb indexedDB which runs fine on laptop but after converting to apk using cordova nothing seems to work, can't login nothing, ...
0 votes
0 answers
13 views

In-App-Purchase takes too long time to show confirmation alert view and purchase popup in iOS ionic

Created an ionic app with inapp purchase on both android and iOS, everything working fine on android but in iOS the purchase popup after the product buy is taking around 15 seconds to load and the ...
0 votes
0 answers
15 views

error app not installed after publish to google play

recently i made an android game and i found the current problem. when the application is run before publishing to Google Play it's fine, but when the application is published and I try to download it ...
0 votes
0 answers
12 views

Cordova iOS iPhone > 11 only showing full screen after going out and back into the app

Cordova iOS app only going fullscreen after pressing the home button and re-entering the app on iPhone 11 and higher(also happens with the Xcode simulator). The weird thing is that the splash screen ...
0 votes
0 answers
11 views

Share pdf files generated with cordova pdf generator with capacitor share plugin

I am generating pdf file using cordova pdf generator now i need to share immediately after creating.but when I try to share it on any social sharing only name of file is appearing not attaching that ...
-2 votes
0 answers
22 views

Password Managers don't automatically populate user name and password fields in Cordova app on iOS [closed]

We have Cordova app with user name and password input fields on the first page. When we use any password manager on Android, it works fine - these fields are populated automatically. But on iOS you ...
  • 22
0 votes
1 answer
14 views

Can't change android studio jdk version on mac for cordova build

I'm having a problem building a cordova app for android sdk 31, the error i get is: java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util....
  • 143
-1 votes
0 answers
15 views

ionic cordova android rootbeer error when build android

Please help me, when i try to build android apk from ionic cordova, this happen. Task :app:preBuild UP-TO-DATE Task :app:preDebugBuild UP-TO-DATE Task :CordovaLib:preBuild UP-TO-DATE Task :CordovaLib:...
0 votes
0 answers
22 views

fileSystem.getDirectory not working on cordova mobile app migrated to android 13 - Android API leve

I am targeting my Android app for Android 13 (API 33). I am facing problems downloading a file only on the phones that run on android 13; I am getting a error code 2 which normally is SECURITY_ERR on ...
0 votes
1 answer
25 views

Ionic Capacitor Android build fails

I have a react ionic app that I am trying to convert to an Android app. I did this for IOS without any problems, but when I am trying to Run the app on Android Studio it fails with this error: yarin@h-...
-1 votes
0 answers
16 views

Quasar(v2) with Cordova not working on iOS simulator/device

I was trying to build an iOS App with Quasar v2(v2.11.8 with Vite). It went well when I use: quasar dev -m ios Then, I tried to build the iOS app to test on a real device. quasar build -m ios When I ...
  • 918
0 votes
1 answer
11 views

Get Compass Heading when device is rotated in Ionic/Cordova

I have an Ionic/Cordova app where I need to get the direction the device is pointing to. So I'm using the Cordova Plugin Device Orientation to get the compass data. But then I need to take into ...
  • 1,315
0 votes
0 answers
36 views

Error: Invalid provider for the NgModule 'AppModule'

I'm using the InAppBrowser plugin by awesome-cordova-plugins. After installing it with the commands: ionic cordova plugin add cordova-plugin-inappbrowser npm install @awesome-cordova-plugins/in-app-...
-1 votes
0 answers
13 views

How to get device security information like if passcode or fingerprint is set or not in ionic

I have a use case where I want to check if the device passcode of fingerprint or any other security is set or not. Is there any way I can check it when the app is launch. I am using Ionic Capcitor I ...
0 votes
0 answers
21 views

Is there an other approach to Cordova and Cordova-native plugins are expecting to allow access for localhost while using Keycloak?

I am new to Keycloak and Cordova. I am experimenting with the Cordova and Cordova-native plugins in our android app and as I understand from the documentation I am forced to whitelist localhost in ...
  • 1,524
0 votes
0 answers
65 views

Modal gets stuck in in-app browser - iOS 16.4 beta 4 (20E5239b)

Problem we are using Cordova-ios 6.2.0 to create our iOS app. The issue is with the in-app browser feature in our mobile app in the iOS 16.4 beta 3 and beta 4 releases. This issue is not present in ...
-1 votes
0 answers
16 views

error Cordova android target not installed

I'm trying to set Cordova on my laptop using windows 11 and I still get that message enter image description here enter image description here I tried to add JDK,SDK to the path, but it doesn't work.
-1 votes
1 answer
24 views

How to use image picker, display Image in Src tag and upload in Cordova Android, year 2023

I was having an issue fetching an image to display using the Cordova Advanced Image picker, so i am just writing down my research and how i managed to resolve that. Cordova Android Cordova version 11 ...
  • 451
0 votes
0 answers
15 views

Environment.DIRECTORY_RECORDINGS pointing to a non-existing folder

I am trying to write an Android audio recorder application. I will be using the MediaStore to store the recordings. I would presume that I should store them in the folder pointed to by the Environment....
  • 1
-1 votes
1 answer
16 views

Ionic cordova problem with android and ios build

Node: v10.24.1 Ionic: 5.4.16 Cordova: 9.0.0 I have an ionic application and i want to build the ios/android editions. I follow these steps and i get 0 error messages: ionic cordova resources ionic ...
  • 1
0 votes
0 answers
8 views

Cordova Splashscreen slide up, instead of fade

As of today, one can put a setting of the splashscreen in config.xml - and decide for fade of the splashscreen. But how is it possible to "slideUp" the splashScreen instead? (or slide down ...
  • 124
1 vote
2 answers
71 views

Multiple firebase and cloud console projects for oauth verification

We have a cordova app that uses google login and accesses various sensitive scopes from that user's google account. This means that our app will have to undergo the google oauth verification process. ...
  • 31.5k
-1 votes
1 answer
25 views

iOS standard http calls not passing specific headers

We are implementing certain security features on our api server. Part of which is looking for specific HTTP headers like Origin and X-Requested-With. When our app makes a custom call to our server ...
  • 2,649
1 vote
0 answers
22 views

How to customize the scripts in ionic-angular package.json

I have created script in my package.json like below and also created particular webpack.config.js file. but when I serve or build on such file then it is serving on default webpack.config not on the ...
  • 11
1 vote
1 answer
49 views

Kotlin version mismatch in meteor cordova project without any changes

I have a Meteor 2.9.0 (cordova-android 10) project that was working all fine and I could build it on my Windows 10 machine successfully last week. Nothing changed since then from my side yet it now ...
  • 23
0 votes
0 answers
18 views

cordova inAppBrowser rendering issue

I have a react app. i am using cordova to build an iOS app. in my app i am using inAppBrowser to use another site for booking. but i am having some rendering problem. Initially the app was working ...
0 votes
0 answers
50 views

Errors generating ipa or xcarchive ( Did you forget to declare this file as an output of a script phase or custom build rule which produces it? )

We have some errors when we are generating the ipa or xcarchive file with some files from an external framework, in which the error indicates that the file does not exist in that path and we have ...
  • 1
-1 votes
1 answer
35 views

How to add "Access-Control-Allow-Origin" header in each api request - Ionic Capacitor App

I have migrated my old ionic angular Cordova app to the ionic angular capacitor and after all, the code migrated my app is showing the below issue. I know this is a very common issue. In my old app, ...
-1 votes
0 answers
14 views

In Windows 10 , when I run Cordova on the command terminal, Android studio emulator device does not execute,

48 actionable tasks: 48 up-to-date Built the following apk(s): C:\Users\USERNAME\Documents\Spring 2023\ET 570\practice3\platforms\android\app\build\outputs\apk\debug\app-debug.apk Checking Java JDK ...
  • 1
0 votes
1 answer
8 views

cordova install plugin branch throwing Invalid tag name

An owner of a plugin has created a new version (v1.3.0) but has forgotton to make it public so a standard cordova plugin add com-sarriaroman-photoviewer@latest is still installing the previous v1.2.4 ...
  • 2,649
2 votes
1 answer
78 views

cordova build android fails on :app:mergeReleaseResources step with "Daemon startup failed" message

I'm using this fork of the setup-cordova GitHub action to build a cordova project. It used to work a few months ago, but now the cordova build android step fails with the message "Daemon startup ...
  • 26
0 votes
0 answers
5 views

Screenshot command missing from Chrome Devtools for android webapp on Nokia G50

Chrome DevTools on Mac can connect to a USB connected Android phone running a Cordova app. However, the "Capture screenshot" command appears to be blocked or otherwise missing only for this ...
  • 515
0 votes
0 answers
32 views

Ionic Angular- Cordova build - I am getting API post method return (status Text: "Unknown Error") and i am new in ionic development

** I am already added android:usesCleartextTraffic="true" in config.xml and i am using http** package.json "private": true, "dependencies": { "@angular/...
  • 186
0 votes
0 answers
19 views

Google Fit API - com.google.android.gms.common.api.ApiException 5015

We are struggling to integrate Google Fit on native Android devices. We are able to authenticate the user via OAuth popup provided by capacitor-plugin-health but we run into the following error when ...
0 votes
0 answers
12 views

Issue to pass the cross domain security using iframes

Hi I am currently developing a mobile app using apache cordova for both android and ios. The mobile app connects to a website which carries cookies to iframes and which helps user to log in and use ...
-2 votes
0 answers
58 views

How to see console.log on your APK

i have builded apk with cordova, and now i wanna open my apk through android studio with emulator or somehow and see my console, and logs that logged in my code cos i need that logs. Is that possible, ...
-1 votes
1 answer
53 views

How to setup ionic 6 with cordova?

Can any body tell me how to setup ionic 6 with cordova? And run it on android emulator? I tried to follow the documentation and other tutorials available on youtube. But they are old.any help would ...
  • 132
0 votes
1 answer
121 views

Android App crashing on Android 12+ Devices on background in push notifications, Application compiled from Cordova

FATAL EXCEPTION: Firebase-FCMService Process: com.petbacker.android, PID: 4405 java.lang.IllegalArgumentException: com.petbacker.android: Targeting S+ (version 31 and above) requires that one of ...
0 votes
1 answer
29 views

How do I access Intent information in Cordova?

I built an app using Cordova 11, which I'm now trying to launch from a web link and potentially go to a specific screen in the app. So far, with the aid of necessary config (config.xml, assetlinks....
0 votes
0 answers
8 views

How to switch to platform centric workflow from Cordova CLI?

In the cordova documentation it is mentioned that there are two workflows. I want to know when to use each one of them . and specifically how to use platform centric workflow. How to create an app ...
  • 132
0 votes
0 answers
18 views

ionic cordova [ERROR] An error occurred while running subprocess cordova

I am trying to build ionic android project, using the command ionic cordova run android -l I have tried deleting android and adding again, deleting node modules and installing again, running ng repair ...
0 votes
0 answers
29 views

Create text file with Javascript in Cordova for android

I'm trying to create a text file for a backup. In this backup I only want so save a JSON. Cordova file plugin is already installed. I already tried many codes but I can't find the mistake. HTML: &...

1
2 3 4 5
1232