221 questions
-1
votes
0
answers
24
views
Capacitor StatusBar.setOverlaysWebView doesn't work in v-7 android
I have a pwa which I am trying to wrap with capacitor to be a native app.
Everything is working fine. except the status bar.
I want the app content to start from below the status bar. I tried ...
0
votes
1
answer
88
views
Not able to use the LiveUpdate Capacitor plugin for self hosted services | Capacitor Live Update Plugins
I have a Vue.js-based application and I am using Capacitor to build the mobile app.
The mobile application is working fine as expected but I am facing an issue with using the live-update plugin using ...
0
votes
0
answers
41
views
How do I get my Stripe createpayment sheet to not hang?
This is my code using the stripe/capacitor community plugin:
import {Stripe} 'from @capacitor-community/stripe'
try {
const response = await fetch(`https://fakeurl.com/...
1
vote
0
answers
53
views
Can't receive push notif in capacitorjs using FCM
I creating app using CapacitorJS and Svelte with php Backend, my problem is I fail to implement push notification while app is backgrounded (or killed)
here my Android manifest
<?xml version="...
0
votes
0
answers
23
views
High-Frequency Background Events and Invalid Battery Level in capacitor-background-geolocation on Specific Samsung Devices
I'm using the capacitor-background-geolocation plugin to track background location updates in my app. The app works fine on most devices, but I’ve noticed unusual behavior on specific Samsung devices. ...
0
votes
0
answers
18
views
Prevent android keyboard from showing [duplicate]
How can i prevent a keyboard in android when interacting with input element?
i have tried several but the keyboard always show when i focus in the input element.
is there a way to just prevent the ...
0
votes
0
answers
15
views
How to write a local Capacitor plugin which ships own assets?
This local Capacitor plugin has a let's say on-load.js file which will be read and eval-ed by the plugin's Java code, in onPageFinished, even if we've navigated into an external page in our app.
...
0
votes
0
answers
38
views
Capacitor - open file without caching it locally
I've got the following bit of code that works for opening a base64 file by first caching it, and then opening it. I'm wondering if there is a way to preview it without caching it locally.
import { ...
0
votes
0
answers
127
views
Ionic: Open File with Capacitor FileOpener without writeprotection
I'm trying to open files from my ionic app (for example editable pdf files in third party apps like PDF editors) using the Capacitor FileOpener. But i alway get the files opened with writeprotection.
...
0
votes
1
answer
58
views
Why am I getting this error "Object literal may only specify known properties, and 'target' does not exist in type 'CameraConfig'"
I just got my code from another computer and this error shows up, I have been searching for some info but I dont know how to fix it, what Im trying to do here is to add a search bar in my google maps ...
-1
votes
1
answer
67
views
Newly Generated capacitor plugin and podfile
I am developing an Ionic Capacitor plugin on the macOS operating system. When I use the command:
npm init @capacitor/plugin plg-download-manager
to create the plugin, only the Sources and Tests ...
0
votes
0
answers
29
views
Using capacitor filesystem downloadFile cause other func to be blocked?
Hello guys I notice this issue and I'm struggling to find solution.
when I use the capacitor `
FileSystem.downloadFile()
`
the other plugin of capacitor being called is being blocked and was execute ...
0
votes
0
answers
18
views
capacitor billing plugin keeps defaulting to incorrect billing ID for in app purchase
I am using react web, ionic and capacitor to build a mobile app. I am getting a strang error with the plugin Capacitor Billing. The code here as an eample has a defualt product ID of 'fullversion' ...
0
votes
0
answers
83
views
styling banner ad using capacitor/admob
I'm trying to make this banner like controllable its style so it can inline in the content of the app, I try using banner and reward add using
@capacitor-community/admob
and work perfectly fine. ...
-2
votes
1
answer
42
views
Building a new plugin for capacitor for version 4.X
I have a capacitorJS project which uses capacitor 4.7.0. I need to develop a unique plugin.
The problem is that today there is version 6.0.0 and I can not find a way to create a template plugin for ...