5,556 questions
0
votes
0
answers
24
views
WKWebView: CDVWKWebViewFileXhr not found when using Salesforce SDK 13.1.0(Cordova iOS 7.1.1)
Issue Description
When building a Salesforce Hybrid Cordova app with SDK 13.0.2 and Cordova iOS 7.1.1,
the app fails with the error:
Steps to Reproduce
Create new Salesforce hybrid Cordova project.
...
0
votes
1
answer
183
views
How do I use Android Photo Picker from Cordova?
I was using cordova-plugin-camera to pick photos. Google Play rejected my most recent update, saying that I need to switch to Android Photo Picker.
Is there an Android Photo Picker Cordova plugin?
I ...
0
votes
0
answers
35
views
Using inline Web Workers with importScripts in Cordova
For a number of years I have been using inline web workers in Cordova using the cordova-plugin-ionic-webview on iOS which when a web worker is launched provides a self.location. I wanted for ...
0
votes
1
answer
187
views
PhoneGap Barcode Scanner plugin not working after upgrading to Android 11 (Cordova / Ionic 4)
I'm developing a mobile app using Ionic 4 and was previously using the PhoneGap Barcode Scanner plugin from:
https://github.com/phonegap/phonegap-plugin-barcodescanner
The plugin worked perfectly on ...
1
vote
1
answer
104
views
Gradle not recognizing added repository
when trying to add this repository in two different environments I am getting different results:
repositories{
jcenter()
maven {
url = uri("https://repo.gradle.org/artifactory/remote-...
0
votes
0
answers
44
views
Cordova android download file
I'm trying to download a ZIP file to use within my app.
However, when the file is larger than 50 megabytes, the download fails.
Does anyone know how I can increase this 50 megabyte limit?
My code is:
...
0
votes
0
answers
26
views
Issue when getting products from App Store Connect (Ionic)
I'm trying add an IAP (In App Purchase) to my IOS mobile app. I'm add a state of testing the purchase process locally. However, the App is not able to retrieve products from App Connect Store. Not ...
0
votes
0
answers
136
views
Ionic Cordova Camera plugin issue with Android 13
I am working on a ionic cordova project and I am trying to integrate a functionality to take images from either camera or pick from gallery in base64 and for this functionality I am using cordova ...
0
votes
0
answers
49
views
cordova.plugin.http.sendRequest OpenTelemetry instrumentation
Do you have any experience about instrumenting OpenTelemetry tracing code for cordova.plugin.http.sendRequest ? I imagine it should look like as below:
cordova.plugin.http.sendRequest = function(url, ...
0
votes
0
answers
91
views
Set orientation to landscape for tablets, portrait for phones
I'm using the cordova-plugin-screen-orientation plugin and have followed all of the instructions I can find for locking orientation and nothing is working. I'm running the application in Android ...
0
votes
1
answer
204
views
Better-sqlite3 performance issues with Electron
This is more a question than a proper issue.
I have implemented the better-sqilite3 npm in an electron app.
I have an Android app that uses the Cordova sqlite plugin and I am testing the time running ...
0
votes
0
answers
74
views
Ionic Native: deviceready did not fire within 5000ms after adding cordova-plugin-file
I have an ionic project requiring me to write files from the ionic into mobile devices. This can be achieved using Cordova's cordova-plugin-file and @ionic-native/file.
When I add the plugin to my ...
1
vote
1
answer
54
views
AdMob Ads Not Displaying in Cordova App(Html,css,js)
I'm developing a Cordova app using HTML, CSS, and JavaScript, and I'm trying to integrate AdMob ads using the admob-plus-cordova plugin. However, the ads are not displaying on my device.
<!DOCTYPE ...
0
votes
1
answer
1k
views
Could not find com.android.tools.build:gradle:3.0.1. OR Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3
I have an older Gradle/Ionic project, and I can't build it.
I have this build.gradle configuration:
buildscript {
repositories {
maven {
url "https://maven.google.com"...
0
votes
0
answers
32
views
Skip or Change Default Cordova Icon from loading screen or splash screen
I’m using “Cordova 12.0.0 ([email protected])”. In this version after running app, a loading screen or splash screen with cordova default icon shows every time. Now I want to avoid or skip this page ...
1
vote
1
answer
2k
views
capacitor-cordova-android-plugins:compileDebugJavaWithJavac FAILED
I'm trying to make an app with angular Ionic + capacitor. One of the components must be able to read NFC messages.
if i try ionic serve on visual studio code, it works just fine. but, when i try 'run ...
0
votes
2
answers
518
views
Ionic NFC cordova plugin_not_installed
Apparently my app does not recognize the NFC plugin or it does not know how to install it correctly.
I'm trying to make an app with angular Ionic + capacitor.
One of the components must be able to ...
0
votes
1
answer
101
views
Can't install Cordova plugin from GitHub
I'm new to Cordova and I tried to add some packages to my project. I needed to install one specific package from GitHub, so I tried using following:
cordova plugin add https://github.com/acipher/pos
...
1
vote
1
answer
438
views
What is the actual cause behind the error "Assertion failed: alias and its target must be located in the same section" when building an iOS app?
I have a hybrid app created with Ionic that was originally running on Cordova, but we moved it to Capacitor a year ago and everything has been working as expected. Recently, while trying to make ...
1
vote
1
answer
562
views
SecurityError: Blocked attempt to use history.replaceState() to change session history URL
I am working on a bank project on the Cordova framework. As per Apple's recent policy, I have built the bundle from Xcode 15.4 and iOS runtime 17+.
My app worked fine when I used Xcode 14.2 and ...
1
vote
0
answers
115
views
Cordova 12 app crashes after hours of geolocation tracking
I have a Cordova 12 application available on both iOS and Android, using various plugins including cordova-background-geolocation-plugin. My application can use geolocation for several hours ...
0
votes
1
answer
57
views
Is there a way to let the app go behind the notch in Android phones using Cordova?
My app doesn't go through the notch on Android and i can't find a way to do it.
I've run across this plugin but I still can't figure out how to apply it.
I've been searching for days but I couldn't ...
1
vote
0
answers
57
views
Ionic 5 Android 13+ pick file from google drive using <input type='file' /> throwing error
Ionic 5 Android 13+ pick file from google drive using
<input type='file' />
Throwing error DOMException: The requested file could not be read, typically due to permission problems that have ...
0
votes
0
answers
165
views
Restricting an ionic angular application to be installed on a rooted/jailbrake ios device/simulator
I am using ionic with capacitor and angular in my application. I want to restrict application to be installed on a rooted/jailbrake ios device/simulator.
I am using cordova-plugin-iroot plugin.
https:/...
1
vote
1
answer
783
views
Google Auth with Cordova/Ionic
I'm currently working on an Ionic/Angular project that utilizes Cordova for mobile app development. I've hit a roadblock with user authentication, specifically integrating Google Authentication. The ...
0
votes
1
answer
51
views
httpd plugin in ionic capacitorJS
We are working ionic capacitors hybrid mobile app.
This project ionic cordova later we convert ionic capacitor project with latest version
ionic cordova we used this plugin: https://www.npmjs.com/...
0
votes
1
answer
224
views
processReleaseMainManifest FAILED when build in cordova 12.0.0
please help
i run in cordova 12.0.0
cordova build android --release -- --packageType=bundle
and BUILD FAILED
here
Checking Java JDK and Android SDK versions
ANDROID_HOME=C:\Users\xxx\AppData\Local\...
0
votes
0
answers
75
views
After installing cordova-plugin-screen-orientation npx cap sync does not work anymore
I tried to install cordova-plugin-screen-orientation to control screen orientation for my ios app. But after installing this plugin it seems that npx cap sync just hangs and do not work. There is no ...
0
votes
0
answers
214
views
download PDF file from external website with inappbrowser ionic cordova
I'm working on android app and iOS, I use Ionic
I want to open external link with InAppBrowser and allow the user to download file from a link inside this site...
But when I click on download link ...
1
vote
0
answers
461
views
From @awesome-cordova-plugins/in-app-browser not able to download PDF in Ionic Cordova Applications
We are using @awesome-cordova-plugins/in-app-browser to open the webpage in the Ionic Cordova mobile application.
In the in-app browser we are loading the webpage that contains the download button. ...
1
vote
1
answer
748
views
Using NFC scanning functionality in React apps with Capacitor
I am trying to build a basic barebones app for testing purposes in which you can scan an NFC tag and it will display its content. I am using React for web, and wrapping it with Capacitor. I am mainly ...
0
votes
0
answers
37
views
cordova my height body got shrink after keyboard pop up
I'm struggling the whole week to try to solve the shrink problem with the keyboard. There was a plugin from 2015 but it's very hard deprecated and doesn't work anymore.
My problem is, I have a navbar ...
0
votes
1
answer
851
views
TypeError: Spread syntac requires ...iterable[Symbol.iterator] to be a function
I recently updated my Cordova app and started getting this error on iOS from the editor.js package. The package works on all browsers, just seeing the issue on mobile. I inquired with the editorjs ...
1
vote
0
answers
100
views
Admob_plus_cordova is not working in android
issue is to implement admob add in my cordova project.
Tried all , cordova plugin admob free as well as plus but none of them worked.
I tried multiple variation of below code
My ad specific code is in ...
0
votes
0
answers
52
views
Need a CoAP lib for Ionic Apps
I am looking for CoAP client library that can be used for Ionic apps. Need to support both iOS and Android. I found this Cordova plug-in, but based on the docu it does not support iOS: https://github....
0
votes
0
answers
84
views
Inconsistent behavior with Map.entries
When I run the following code in dev console, I get the expected response:
const map = new Map();
map.set(1, "one");
map.set(2, "two");
map.set(3, "three");
for (const [...
6
votes
4
answers
6k
views
Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSecti
when i tried to run ionic app in ios real device or make archive then this happen.
in (https://i.sstatic.net/y1dnu.png) simulator its working fine
I'm developing an Ionic app and I've encountered a ...
0
votes
1
answer
4k
views
My Cordova Splash Screen not working on Android
I am building an app using Cordova. Every other thing works but the Splash Screen.
Has anyone used it lately?
Here is my code:
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id=&...
0
votes
1
answer
230
views
Ios app works fine on simulator / devices through xcode but stuck on splash during apple review
I have created 1 app in cordova framework for ios platform.
When checked on simulator and also on tab and iphone it works as expected.
But after submiting to for appstore distribution it stuck on ...
1
vote
2
answers
2k
views
Cordova Android App having issue with API 33 regarding Permission for Notifications
Playstore is now forcing us to upgrade to API 33. But since we use the Cordova diagnostic plugin (https://github.com/dpa99c/cordova-diagnostic-plugin), we now have to force user to go to settings ...
1
vote
0
answers
557
views
Could not get unknown property 'cdvMinSdkVersion' for project ':app' of type org.gradle.api.Project
So I have a old Cordova project that I want to upgrade to Android 12. But I am getting unknown property 'cdvMinSdkVersion' when building it even though I am passing the cdvMinSdkVersion as a build ...
1
vote
0
answers
485
views
How to print to bluetooth printer from vue/capacitor app?
Like the title says, I'm trying to physically print to a bluetooth (receipt) printer from my vue / capacitor app. The application is installed on an Android device using an APK.
Currently my solution ...
0
votes
1
answer
171
views
"cordova-plugin-zip" was working on Android 8 but not in Android 12, 13
I had this funcion based on cordova (cordova-plugin-zip 3.1.0) to unzip a .zip file working perfectly fine in Android 8:
export async function decompressService() {
return new Promise((resolve)...
2
votes
0
answers
88
views
Cordova electron is not packaging the dependencies
I'm currently working on a Cordova Angular application that utilizes the Electron platform. As part of the project, I've integrated a library named "event-pubsub.". The installed library is ...
0
votes
1
answer
82
views
cordova-plugin-buildinfo does not get correct data only on android .AAB
Environment
Linux Mint 21.1 Cinnamon
Linux Kernel 5.15.0-84-generic
cordova 11.1.0
cordova-android 11.0.0
cordova-ios 6.2
node 16.19.0
Java JDK: 11.0.20
Gradle: 8.1.1
Android target: android-33,...
0
votes
0
answers
110
views
IONIC debug error - AAPT: error: unexpected element <queries> found in <manifest>
I have been trying to install the 'cordova-plugin-local-notification' plugin for a few days and it keeps giving me problems, I have had to reinstall several plugins such as 'cordova-plugin-device', '...
1
vote
2
answers
2k
views
Ionic 3 and Android SDK 33 - Opening Camera not working
I have an app that uses Ionic version 3 and Cordova to open the camera.
However, the Google Play Store required me to update the android-targetSdkVersion from 31 to 33. As a result, the camera opening ...
0
votes
1
answer
482
views
Throws SyntaxError while trying to run grunt build --env=devel --platform=android --crosswalk=false
This is the command I am trying to run to build the project with platforms and plugins installed
grunt build --env=devel --platform=android --crosswalk=false
It is throwing syntax error
When I run ...
1
vote
0
answers
127
views
Cordova on Android - use of cordova-plugin-datagram
I am new in developing Cordova apps for Android, and I have a problem with how to use the cordova-plugin-datagram plugin. I tried several mechanisms like import / require, nothing worked.
Feedback In ...
1
vote
0
answers
270
views
How/where to specify mutability in Cordova Android App
Scenario:
I have a Cordova based android app which targets android SDK = 31.It uses a location tracking plugin. It runs perfectly on android 11 and lower mobiles. In case of android 13, it only ...