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.
61,668
questions
0
votes
0
answers
13
views
How to get the external url element using Cordova?
I have finished the app using Cordova web view, but the problem is how to get the external url elements using cordova app?
So, please give me a solution
0
votes
0
answers
7
views
Apache Cordova (cordova-android) got error net::ERR_CONNECTION_REFUSED
i'm trying to build a Android app with Apache Cordova, i got an error:
Application Error
net::ERR_CONNECTION_REFUSED (http://localhost:8080/index.html)
View image here
Now I don't know what to do...
...
0
votes
0
answers
10
views
Cordova blank page / empty index.html file when running ios app
I'm building my svelte app.
In the config.xml file, I'm targeting <content src="./public/index.html" /> which works perfectly on Android.
When I try to launch it on ios:
Splash screen ...
0
votes
0
answers
10
views
cordova build android - my first app build failed
I try make a first app like in manual https://cordova.apache.org/docs/en/latest/guide/cli/index.html
but after command cordova build android
FAILURE: Build failed with an exception.
Where:
Settings ...
0
votes
0
answers
6
views
Facing File conflict while Integrating Cordova Android Library SDK in Android Native
I am Cordova Developer.
I am facing issues while integrating 2 or more Cordova Android Library SDK
in Android Application.
Issues I am facing are as follows:-
1. Type org.apache.cordova.device.Device ...
-1
votes
0
answers
7
views
Cordova Not Available after updating libraries
I have an Ionic Cordova app that's been running for a couple of years now. I recently decided to update cordova/ionic versions and release a new version of the app. The problem I'm running into is ...
0
votes
0
answers
11
views
exported file is opening by default in Ionic iOS
I am using Devextreme Datagrid to export the grid data as an excel file in my Ionic 3 application.
I get the BLOB data to write the file using Cordova File Plugin. But, I am running into a very ...
1
vote
1
answer
34
views
How to check am I using WKWebview instead of UIWebview in cordova app
My app had a display problem when I used Adobe PhoneGap Build. Somehow I solved it via migrating UIWebveiw to WKwebview. Since PhoneGap Build ends its service, I am trying to use cordova command to ...
0
votes
1
answer
14
views
Can't build apk because of Cordova plugin that seems to overwrite Theme.AppCompat
I'm having an issue with a plugin called cordova-plugin-kiosk. I did not have this issue before but I'm unable to build the apk successfully or the app crashes in the emulator. It seems it has ...
-1
votes
0
answers
19
views
how to get the external url element using cordova [closed]
**i was aldready finish the app using cordova webview, but the problem is how to get the externalurl elements using cordova app?
So, please give me a solution.**
0
votes
0
answers
11
views
Cordova plugin PictureInPicture for ios
I am finding any cordova plugin to PictureInPicture for IOS. There is one plugin only for PictureInPicture which is only developed for android and working fine but I need one for ios as well.
For ...
0
votes
0
answers
6
views
IONIC 6 'UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value
When I try to build an android with command ionic cordova build android --prod --release build is failing with the error shown below :
FAILURE: Build failed with an exception.
What went wrong:
A ...
0
votes
0
answers
13
views
Command failed with exit code 1: npm view cordova-plugin-network-information --json
Hi when i run this command,i get this error
i don't khnow what's the problem with cordova
i'm using ionic 5 :
enter image description here
I have checked this link https://forum.ionicframework.com/t/...
0
votes
0
answers
11
views
Trying to run Ionic 6 project on external phone using cordova
I'm trying to run a blank project of Ionic 6 on my external phone since it's easier for me to dev on an external since PC lags if I'll use an emulator. Ionic CLI shows this. ADB devices also shows my ...
2
votes
0
answers
20
views
Cordova advanced http error when load page without cordova.js
I am having problems working with Cordova Advanced HTTP
https://github.com/silkimen/cordova-plugin-advanced-http
When I first load the page I want to use Cordova Advanced HTTP to call the api on IOS ...
0
votes
1
answer
11
views
Issues with ionic Cordova and OneSignal
Please help me! I'm trying to enter push notifications with OneSignal without success. When I text my application in the xCode log it displays this:
WARN: Install the OneSignal plugin: 'ionic cordova ...
0
votes
0
answers
26
views
how to resolve :An error occurred while running subprocess cordova
I'm trying to run cmd: ionic cordova plugin add cordova-plugin-network-information but i always get this error. If any one have idea about what's the problem or where, and thanks.
0
votes
0
answers
7
views
Is there a way to hot reload react code inside cordova?
I'm on a project that uses cordova for ios and android and we use React web app to make it show on the mobile side.
Right now, process of viewing change in the code is to compile the react code and ...
1
vote
1
answer
23
views
Ionic app for Android fails after sign-in redirect with url scheme error
I'm developing an Ionic/Cordova/Angular app in Visual Studio Code targeted for Android API 30. Its MSAL sign-in process has a redirect URI that is set up in Azure, let's say it's myapp://callback. ...
-1
votes
0
answers
33
views
Migrating to Capacitor fails with error "Updating iOS native dependencies with pod install - failed!"
I just migrate a Web App Using Cordova to Capacitor.
I followed the tutorial in this website https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor
But when I ran the following ...
0
votes
0
answers
14
views
How to make UIPickerView float in the center in iOS?
I have a UIPickerView in Cordova based application. I am seeing different appearance for the same UIPickerView in iOS 14 and iOS 15.
For iOS 14: It looks like this: (Fixed at the bottom)
For iOS 15 ...
0
votes
0
answers
16
views
I am having an error launching a successfully built ionic apk file
I just built my ionic app successfully. However, in trying to launch the app, it just shows a long string of random characters. I'm new to this kind of error. The attached screenshot is what I keep ...
0
votes
0
answers
14
views
ERROR Facebook Login disabled in Ionic 3 Cordova
For your account security logging into from an embedded browser is disabled
I have tried to updating the facebook-sdk-android package from v4.14.+ to v8.2.0
/app/build.gradle dependencies { ... ...
0
votes
1
answer
32
views
How can I upgrade Node JS to v14.x with Ionic 3?
According to errors I faced with this TS/Node project (for a simple TypeScript only REST API) the suggested fix (mentioned here (https://github.com/heineiuo/rippledb/issues/148)) is that I needed ...
0
votes
0
answers
13
views
Android - Is there a way to set padding to a webview content?
I've a BottomNavigationView with radius borders, and I need to see the content of the pages passing between the borders.
But, one of the BottomNavigationView's children is a WebView, with a thousand ...
0
votes
0
answers
16
views
Device Compatibility with Google Pixel 6 and latest Samsung Galaxy models in Cordova
Our Cordova apps are not showing in the Play Store for the latest Google Pixel and Samsung Galaxy phones. The store says the application is not compatible with these devices. Any recommendations ...
0
votes
1
answer
26
views
Simulate platform for Cordova plugin in production
I'm trying to use a Cordova plugin without using the native parts, only the browser implementation. In my case cordova-plugin-googlemaps. Is it possible to tell a plugin to use browser mode only?
If ...
0
votes
0
answers
18
views
Xcode build failure "Undefined symbols for architecture x86_64" Ionic3 - IOS
Build Apllication ionic 3 IOS
I have to this mistake:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_BranchUniversalObject", referenced from:
objc-class-ref in BranchSDK.o
...
0
votes
0
answers
35
views
Push notifications not work in IOS IONIC 4 cordova
I’m using Ionic 4 and ANGULAR version 9 trying to send notification in IOS using Cordova.
I did all the requirements to push IOS notification and it was working fine before that but I’m not sure what ...
0
votes
1
answer
18
views
How to read choosen file content in Cordova app?
I want to perform the below task in my Cordova android app
Give the user the ability to choose any txt file from his device.
Then the file content I need to read in my app
Modify file content and ...
0
votes
0
answers
26
views
iOS 15.4 Ionic app not loading global Ionic Styles in emulator
Info :
Ionic : ionic-angular@3.9.2
Cordova : 10.0.0
Macbook M1 Pro
Xcode : 13.3.1
What works : iOS build success and the the app runs with out any problem in iPhone (12, 15.4.1).
What's the issue : As ...
0
votes
0
answers
51
views
xcodebuild: Command failed with exit code 65 (Cordova)
I created an app based on Framework7 using cordova
But when compiling, an error occurs after the command
sudo cordova build ios
Error:
** BUILD FAILED **
The following build commands failed:
...
0
votes
0
answers
16
views
cordova can't move to next page in the app?
In my app I have a main page with a list of items. When you click on the item it needs to go to the detail page.
My click looks like this, which seems to be working
$('.animalClick').on('click tap', ...
0
votes
0
answers
43
views
Ionic App was not approved by Apple. Apple has given a crash report
Error Details
We were unable to review your app as it crashed on launch.
Review device details:
Device type: iPad
OS version: iOS 15.4.1
Crash Report
{"app_name":"Projectname",&...
0
votes
1
answer
37
views
WebAuthn JSON API call not working on Android Webview after deploying Ionic through Cordova plugin
I have implemented WebAuthn API using Angular-Ionic App in frontend and Spring Boot as backend. Webauthn is working fine when I am accessing the site from the browser.
But when I have created an ...
1
vote
4
answers
598
views
Ionic build fails at "Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99]"
So building was always fine until it wasn't. Nothing new was added, nothing was removed, no packages installed, nothing. Everything was working fine until the build issues happened. This is the full ...
0
votes
0
answers
9
views
Error al mostrar imagen con cordova-plugin-camera
I need some help. I am developing a small application with cordova and Android Studio in which I must take a photo with the camera and show it on the screen in an img tag, I have also added the option ...
-1
votes
0
answers
17
views
Ionic Native / Cordova change Gyroscope sensitivity for android
I am using Ionic in a project.
I can use Ionic Native, Cordova or capacitor plugins.
I know that you can do this in java but I cannot find how to change the Gyroscope sensitivity.
I cannot post any ...
1
vote
1
answer
73
views
ionic cordova IO exception while downloading manifest
When I try building my ionic project using ionic cordova build android I get the following error:
IO exception while downloading manifest:
java.io.FileNotFoundException: https://dl.google.com/android/...
0
votes
0
answers
12
views
Why does VS Cordoba Mobile App Ant Build produce an Error?
Can someone tell me why I get this error below when I try to build Cordova mobile App in Visual Studio:
Error 1 The command "call ant.bat clean -f E:\VS2012\AndroidApp1\AndroidApp1\build.xml
...
0
votes
0
answers
41
views
WebRTC Video element always uses native player instead of inline (Ionic 5 + iOS 14)
I have a very annoying issue.
I'm using Ionic 5 + iOS 14 to show a WebRTC stream in a tag.
I want to play the video inline, so I can put other HTML elements on top (logo, buttons etc.) but I cant ...
0
votes
0
answers
23
views
Is there anyway to use outside resourses in cordva, like api calls
I am very new at cordova (like first time using it), so please don't laugh at my attempts to figure this out. I have tried searching, but nothing really answers my questions.
It seems that everytime I ...
0
votes
0
answers
26
views
Cordova FileTransfer Plugin Got Error "open failed: EACCES (Permission denied)"
I'm using Cordova 11 and trying to transfer document files like pdf or Docx. It's ok with API < 29. But now I always get 'open failed: EACCES (Permission denied)' when trying it on API >= 29 ...
1
vote
2
answers
89
views
Angular Ionic Capacitor Barcode Scanner Plugin not working on Web
I am currently building my first Ionic app, which should include a QR-Code scanner.
This is my package.ts
{
"name": "drink-inc",
"version": "0.0.1",
"...
0
votes
0
answers
21
views
Bootstrap framework in WebView support
I Checked Bootstrap framework's device/browser support page and found that it is not supporting WebView in iOS. I tried to find the reasons in internet but i am unable to find anything related to ...
-1
votes
0
answers
18
views
How to store a document files in root media or root directory using cordova android 10.0.0 (API30) APK
facing an issue while downloading a file in media directory (file:///storage/emulated/0/Android/Media/)
Used plugin:
1.cordova-plugin-camera@6.0.0
2.cordova-plugin-file@6.0.2,
Source URL:file:///data/...
0
votes
0
answers
12
views
How to read Cordova plugin preference from `browser` platform
Both in iOS & Android is quite easy to read plugin preferences. But it looks like the preferences are not exposed on the browser platform. I couldn't find any documentation regarding this. I've ...
0
votes
0
answers
26
views
Ionic Blank Screen After Updated It to Ionic 6
I updated my ionic app to Ionic 6, and when I tried to run my app and It gives me a full Blank Screen, and only this error on the debug console:
main.js:1 ERROR Error: SecurityError: An insecure ...
0
votes
1
answer
30
views
Clearing Inappbrowser cache in Cordova
We have an iOS and Android application that uses Inappbrowser which calls a website, here is the code:
<script>
document.addEventListener('deviceready', function(){
cordova....
0
votes
0
answers
7
views
cordova android release failed in app:packageReleaseBundle
I can build my Ionic 5 app for Android (cordova build android) but I get the following error when I try to build it for a release (cordova build android --release)
I have removed and re-installed ...