2,325 questions
0
votes
1
answer
26
views
How to set a background image for the WebView on an android app built with React DOM + Capacitor v7?
package com.app_name.app;
import com.getcapacitor.BridgeActivity;
import android.os.Bundle;
import android.graphics.Color;
// import android.webkit.WebView;
public class ...
-1
votes
0
answers
48
views
Android app shows occasional white screen on start or wake — how to replace it with a custom image or color? [closed]
I'm building an Android app using React and Capacitor v7. Occasionally, when the app is opened from a cold start or resumed from the background, a white screen appears briefly before my app's UI loads....
-1
votes
1
answer
45
views
Capacitor app crashes while writing large JSON file using Filesystem.writeFile()
I'm building an Ionic + Capacitor app that uses the @capacitor-community/sqlite
plugin for local database storage.
I'm trying to export the entire SQLite database as a JSON backup file and save it ...
0
votes
0
answers
30
views
CapacitorSQLite “isConnection() is not implemented on Android” in Ionic v8 + Capacitor 7
I’m developing an app using Ionic v8 and Capacitor 7, and I’m trying to integrate the @capacitor-community/sqlite plugin.
However, when I run the app on an Android device, I get the following error:
...
-1
votes
1
answer
72
views
Capacitor with plain JS with no build system or UI server
I have an existing web app consisting of plan HTML, Javascript and CSS, and a back-end web server.
Is it possible to use capacitor in this setting? Are there any official examples?
When I follow the ...
0
votes
0
answers
45
views
Status bar issues in iPhone - Ionic Angular Capacitor
I am getting a strange error in my Ionic iOS app. When I click on any input or I go out of the app and return back to it from the background, my whole app gets squeezed.
Ionic version: 7.2.1
Capacitor ...
-1
votes
2
answers
107
views
React + Capacitor Android app cannot reach local Node backend over HTTP, but browser can
I have a React web app wrapped with Capacitor and running on Android. My backend is a Node.js server running on my local machine with IP 10.0.0.193:3000.
When I open the backend in my phone’s browser,...
0
votes
0
answers
80
views
using msal library on android with ionic and capacitor
when using the MSAL for Angular on Android with ionic and capacitor, the user is forced to login each time, when he is opening the application. Is there any way to store somehow user authentication ...
0
votes
0
answers
65
views
Google Play Billing: subscriptions/base plans not loading in Cordova/Capacitor app (no BillingClient logs, only Finsky)
Hybrid app (Vue 3 + Capacitor 5) with cordova-plugin-purchase v13 for Google Play subscriptions.
App is installed from Google Play Internal testing (opt-in link). The tester account is added to ...
0
votes
0
answers
33
views
iOS Safari / Capacitor: Header stretches down when keyboard opens (with StatusBar.setOverlaysWebView({ overlay: true }))
I’m building a React + Capacitor app with a sticky header (position: sticky; top: 0;).
On iOS (Safari PWA and Capacitor WebView), when the keyboard opens, the header suddenly stretches down as if safe-...
0
votes
0
answers
68
views
Capacitor (React + Android emulator) not sending HttpOnly cookie back to server, works fine in browser
I have a React web app that I’m running inside a Capacitor container. The backend issues an HttpOnly cookie (refresh_token) for authentication.
When I test in a normal browser, everything works:
...
0
votes
0
answers
55
views
Android WebView: First tap on <label for="..."> focuses input but does not open soft keyboard (IME)
I’m developing a hybrid Android app using Capacitor (WebView). I’ve run into a strange bug that I cannot reproduce in Chrome browser, but only in Android’s WebView:
When the user taps a “label for”, ...
0
votes
1
answer
78
views
Continuous Android BLE scan with 3rd party Ionic app in background
I have an Ionic Android application that collects data from three BLE beacon sensors.
The app has a continuous active BLE scan to read BLE data and save it to a SQLite DB. Every two minutes the scan ...
0
votes
1
answer
515
views
How to resolve dependencies for configuration ':app:debugRuntimeClasspathCopy'
I'm trying to sync my project in Android Studio. I get these two errors:
1.
Could not resolve all dependencies for configuration ':app:debugRuntimeClasspathCopy'.
Cannot select root node '...
2
votes
0
answers
100
views
Samsung Keyboard doesn't show predictive text (T9) in Ionic 7 Android app (ion-textarea & textarea both fail)
I'm developing an Android app using Ionic 7 + Capacitor, and I'm facing a frustrating issue: Samsung Keyboard does not show predictive text suggestions (T9) in my app — neither with <ion-textarea&...
1
vote
0
answers
62
views
Android 3-button bar not auto performing dynamic color adaptation
I have an ionic app with an android build, so it runs a fullscreen WebView. When the device is using 3-button navigation mode, the navigation buttons don't dynamically adapt their color. When using ...
1
vote
1
answer
479
views
Capacitor Android app get stuck at splash screen
I am learning about capacitorjs, and trying to build a simple android app using it. I created a new capacitorjs project with npm init @capacitor/app@latest. I am using vanilla html/css/js and wrote a ...
0
votes
1
answer
45
views
Why is my Cordova Android Plugin not visible in JavaScript?
I want to write a lightweight Capacitor Plugin for Android, that is it is not an Android project itself just the java classes.
I have done everything that is explained out there:
1- Create the plugin ...
0
votes
0
answers
74
views
Is it possible to implement a lock screen and notification center audio player with Capacitor + React?
I’m building a mobile app using Capacitor with React (not React Native). I want to implement an audio player that supports lock screen and notification center controls (play/pause, skip, etc.).
I’m ...
0
votes
0
answers
137
views
Black screen when using Barcode Scanner mlkit in the Value/Capacitor modal window, despite the permissions in vue 3
I'm tried to convert angular app to vue 3, but i get some problems. There are:
black window while i call startScan() but android says that camera in using and all permissions allowed
function scan() ...
0
votes
1
answer
102
views
Angular + Capacitor Android app updates via custom zip source work only until app is killed
I'm developing an Android app using Angular + Capacitor. I implemented a custom update mechanism that downloads a .zip file from my server, extracts it to a custom folder inside FilesystemDirectory....
0
votes
0
answers
43
views
Angular + Ionic APK can't connect to Node.js backend from Android device (status 0 error)
I'm developing a mobile app using Angular + Ionic + Capacitor, which consumes a Node.js (Express) REST API.
Everything works perfectly when running the app in the browser on PC or mobile, but when I ...
0
votes
1
answer
62
views
service.function is not a function in Angular 19 with Ionic (Capacitor)
I am creating an Ionic app with Angular 19 and using Capacitor. I am facing an issue only on iOS in web and android it works like a clock.
The code:
Login Component:
notificationService = inject(...
0
votes
0
answers
57
views
FirebaseError: Firebase: Error (auth/popup-blocked)
Am using Google Authentication in capacitorJS Project. I keep on getting
FirebaseError: Firebase: Error (auth/popup-blocked).
Ive ensured that my browser isnt blockingf any pop-ups or redirects
Ive ...
0
votes
0
answers
27
views
Hybrid Vue/Capacitor Android app prints Brother label at wrong size (50 × 29 mm instead of 62 × 29 mm)
I have a hybrid Android application built with Vue.js and Capacitor that needs to print small labels on a Brother label printer. Everything else works, but the printed label comes out at 50 mm × 29 mm ...