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
17 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
12 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
15 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,486
0 votes
0 answers
24 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
12 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
11 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
12 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
13 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
7 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 votes
1 answer
30 views

iframe session and cookies are not saved in cordova ios [closed]

I've made an iOS application using cordova, and it is an iframe for the wordpress website, the problem is that cookies and session are not saved, what is the solution? The problem is that when I put ...
0 votes
2 answers
23 views
+100

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.4k
-1 votes
1 answer
23 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,629
1 vote
0 answers
16 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
0 votes
1 answer
30 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 ...
  • 3
0 votes
0 answers
16 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
36 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
28 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
10 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,629
-2 votes
0 answers
31 views

I'm having problems with android target and Gradle [closed]

I installed the JDK - Andoid Studio, configured the environment variables, but when running the command cordova requirements It gives me an error saying Requirements check results for android: Java ...
  • 1
2 votes
1 answer
66 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 ...
  • 505
0 votes
0 answers
24 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
15 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
11 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
39 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
43 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
73 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
24 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
13 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
23 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: &...
0 votes
1 answer
57 views

Cordova: error while trying to build android app, says "Unsupported class file major version 63"

I have a problem building this cordova app. When executed the command cordova build, on Android platform, the error says FAILURE: Build failed with an exception. * Where: Settings file '...\platforms\...
0 votes
0 answers
13 views

How to add code in MainApplication file in cordova?

I want to create a cordova app which will utilize adobe sdks, for that I need to make changes to the MainApplication file and MainActivity file and manifest file too, for android platform. How can ...
  • 132
0 votes
0 answers
34 views

Android cordova app crash at second time with ajax calls

I hope you can help me. I've a strange problem with a cordova app for android. It worked for 3 years, 3 days ago without any changes the app crashed in the moment that performed an ajax call, but only ...
0 votes
0 answers
20 views

Cordova, Android, deprecated Gradle features

I'm building an application with Cordova. I added the android and ios platforms, I installed all the packages that are required by the requirements. When I build the app with cordova build, there is a ...
0 votes
1 answer
25 views

How to use ionic ui inside existing cordova project?

In the cordova documentation it is mentioned that we can use ui frameworks such as ionic and react inside our cordova project. But they have not mentioned steps or instructions for the same. I want to ...
  • 132
-1 votes
1 answer
34 views

Cordova iOS download file to iPhones general "Downloads" folder

on iOS, is there ANY method that can allow an app to download a file to the iPhones general "Downloads" folder that the user can find on their iPhone (IE: using the iPhones Files app The ...
  • 2,629
0 votes
0 answers
33 views

Ionic Background Mode plugin crash

I'm facing a frustrating issue in the Background Mode plugin in ionic. I'm developing a white noise application in Ionic 6 where the user can play multiple sounds at the same time. When a sound is ...
  • 1
-2 votes
0 answers
10 views

targetWidth and targetHeigth cordova camera plugin bug

I have an app that utilizes the Cordova camera plugin. When I use the tablet's camera to take a picture, the resolution is 3096x4128. However, when I use the app and set the targetWidth and ...
  • 23
0 votes
1 answer
17 views

Integrate Okta with a Cordova App for IOS and Android

Is there a way to integrate Okta with a Cordova App for IOS and Android. Please share if there are any existing Plugins for this integration or any documentation. Can you please help us? Thanks and ...
  • 1
0 votes
0 answers
40 views

Ionic Cordova splash screen not showing provided image

I have an Ionic Cordova application at the following versions "@ionic/angular-toolkit": "^6.1.0", "@ionic/cordova-builders": "^6.1.0", "cordova-android&...
  • 6,449
-1 votes
1 answer
33 views

Cordova app how to change the Android ORIGIN header value

In iOS, my app HTTP request headers have Origin: ionic//myapp In Android, my app HTTP request headers are: Origin: http://localhost How can I change the Android Origin value to be like iOS and/or just ...
  • 2,629
0 votes
0 answers
26 views

Ionic how to integrate screensharing in mobile using Twilio

I was integrated the video calling with room creations using Twilio npm package after that I got another requirement to implement screen sharing functionality the below code working fine for the web ...
0 votes
1 answer
19 views

Cordova - make the app stay in immersive mode even after using the keyboard

my cordova app when you open the keyboard it doesn't scroll up and when you close the android keyboard it has the slashes appearing as if you weren't listening in immersive mode even though it was ...
  • 3
0 votes
0 answers
12 views

Cordova android build fails on Task :app:mergeReleaseResources FAILED

Having a big issue building an ionic/cordova app for android, all works fine for ios but with android i get > Task :app:mergeReleaseResources FAILED FAILURE: Build failed with an exception. * ...
  • 133
0 votes
1 answer
30 views

cordova implementation with ionic keycloak

i wanted to make a sso authentication with the help of keycloak so that i can validate but i am getting this error in this below code also i wanted to implement the deep link so that i can get the ...
0 votes
1 answer
30 views

Cordova 'cordova-plugin-splashscreen' fails to install on android 11

While updating android platform within an ionic project to android 11.0.0 via the command ionic cordova platform add android@latest The plugin cordova-plugin-splashscreen 6.0.2 "Splashscreen&...
  • 9,494
0 votes
0 answers
19 views

Ionic 3 Cordova: CSS does not load in iOS simulator only

I was trying to create a simulator build on iOS simulator provided by XCode, but the layout is completely not usable when I open it in a simulator. I tried to inspect the page on Safari and I found ...
1 vote
1 answer
67 views

Running Web Audio API in the background on iOS with Ionic Capacitor React for seamless MP3 looping?

I am currently developing a mobile app using Ionic Capacitor React and I need to play an MP3 file in a seamless and gapless loop in the background even when the app is closed. I have tried using the ...
  • 83

1
2 3 4 5
1232