Quantcast
Channel: Ionic Forum - Latest posts

Uncaught (in promise) CapacitorException: "BackgroundGeolocation" plugin is...

I just removed the then callback function cuz it was removing the watcher on load. this is already working on mobile

View Article


Ionic 8 Angular 18: "The above dynamic import cannot be analyzed by Vite."

Make every component import from '@ionic/angular' to '@ionic/angular/standalone' Remove IonicModule and from my entire project even in app.config.ts There should be not import { IonicModule } from...

View Article


Auth Connect Replacement?

Maybe GitHub - aparajita/capacitor-biometric-auth: Easy access to native biometric auth APIs on iOS and Android

View Article

Auth Connect Replacement?

thanks, I’ve seen that one. seems unmaintained.

View Article

Auth Connect Replacement?

Not sure why you would say that. The last commit was just two weeks ago and has been updated to support Capacitor 7.

View Article


Auth Connect Replacement?

sure, I missed the commit history and was looking at the last release from 07/2024. thanks again, will take a look and consider. in general, we are looking for an official enterprise ready solution.

View Article

Setting refresh rate

Hi , I am making a phaser game with capacitor and when I test it on samsung devices with 120hz screen, I get bad performance, unstable fps and device heating because it tries to stay as 120fps. When I...

View Article

Setting refresh rate

For Android, You need to create a custom Capacitor plugin utilizing native WindowManager APIs to explicitly set the display’s refresh rate to 60Hz. For iOS, focus on optimizing your app to...

View Article


Image may be NSFW.
Clik here to view.

Auth Connect Replacement?

capgo.app Native Biometric This plugin gives access to the native biometric apis for android and iOS

View Article


@ionic-native/base64 and @ionic-native/file-picker are not working in Ionic 7...

Is this resolved or not?

View Article

Setting refresh rate

doesnt seem to work for samsung. ive set up plugin it works but its overriden by device. its methods have “recommended priority” ai wrote this: The reason other games can force 60Hz on your Galaxy S20...

View Article

Image may be NSFW.
Clik here to view.

Ionic Capacitor 7 Android emulator debugging issues

I am building my app with Capacitor/Angular for Android 15 and debugging with the emulator seems to be a bit broken for me. It seems like after the application is installed the adb returns an error...

View Article

Setting refresh rate

While the Samsung SDK might offer specific control for their devices, it’s not a universal Android solution. Ai gave you the wrong guidance. rephrase your question to Ai and it will give you different...

View Article


Ionic Capacitor 7 Android emulator debugging issues

Check emulator settings. Wipe emulator data. Try different emulator images. Explicitly kill/start ADB. Verify ADB devices. Clean and rebuild your app. Check Capacitor config. Disable...

View Article

Setting refresh rate

Yes, I understand that, its suggestion was to create special solution for samsung and default code for others. Ok, thank you, I will try there

View Article


Ionic 5 different menu on each page not working

2025 and my solution was very simple! Remove completely the ion-menu from main page DOM when open another page with other ion-menu for this specific page. When back to main page, add again the...

View Article

Ionic Capacitor 7 Android emulator debugging issues

I’ve also run into similar issues recently with the emulator hanging or crashing right after install, especially on newer Android versions. Wiping the emulator data helped once, but the problem came...

View Article


How to call capacitor method from host application(Native to native...

You need to get a reference to the plugin class and call the method just like any other native method. For Android, you can do this inside MainActivity or onCreate by accessing the plugin through the...

View Article

White Screen After Splash on IOS

I’ve just updated my app to capacitor 7 using ionic 7, which uses xocde 16.1. After the update on IOS 15 and IOS 16, a blank white screen appears after the splash and my app just stucks there. However...

View Article

White Screen After Splash on IOS

Did you only update Capacitor? Capacitor 7 supports iOS 14 and newer. Follow this for debugging your app Debugging Guide for Apps in iOS Safari and Android Chrome Do you see any errors in the console?

View Article

White Screen After Splash on IOS

yes i updated the capacitor and all the plugins. i tried running the app on simulator On Ios 15.5 i got this error maximumViewportInset cannot be larger than frame While on ios 16.2, i got this error...

View Article


White Screen After Splash on IOS

Those don’t look like javascript errors, did you follow the debugging guide I shared? You have to check desktop Safari, not Xcode console.

View Article


Ion-footer safe area bottom does not work in pwa app

This is how I’m using it for a bottom nav: <ion-tabs> <ion-tab-bar slot="bottom"> <ion-tab-button tab="list"> <ion-icon name="list"></ion-icon>...

View Article

Image may be NSFW.
Clik here to view.

Best (Or Simplest) Way To Implement Sentry on Ionic Capacitor

You can have a look at this package from Sentry side npm @sentry/capacitor Official Sentry SDK for Capacitor. Latest version: 1.4.0, last published: 15 days ago. Start using @sentry/capacitor in your...

View Article

Building an e-commerce app with Ionic for free?

I don’t know a lot about WooCommerce but if you’re still in the evaluation stage Drupal Commerce is another open source ecommerce platform that works well with Ionic. Cool things about Drupal Commerce...

View Article


Edge to edge Android

Hi, @robingenz , ho to fix this on IOS simulator & Device, as somehow app is getting behind the Bottom HomeBar button Or Safer area (Top Dynamic Island) in the IOS.

View Article

How to connect my ionic Vue app to a backend server (express)

To connect your Ionic Vue app to an Express backend server, you simply use HTTP requests like GET or POST from your app to your server using Axios or the native fetch API. First, make sure your...

View Article

How can implement animated splash screen in ionic capacitor

To do this you can use the native SplashScreen plugin that comes with Capacitor, but for animation, you need to go a bit further. First, disable the default splash screen auto-hide by setting...

View Article

iOS ion-input/ ion-textarea cursor/ selection issue

I’ve faced the same issue. Did you solve this issue?

View Article



MS Code Ionic Plugin: run Android failure

I generated an ionic Angular menu for web and Android changed next to nothing (the name in ionic.config.json, and the title in index.html) I use the ionic plugin in MS Code Run | Android works great,...

View Article

MS Code Ionic Plugin: run Android failure

Android Studio comes with its own built-in Java runtime and uses it by default. See my screenshot over here to see which JDK you are using for your project - Unable to get Capacitor to output web and...

View Article

Capacitor + firebase breaks xcode cloud build due to nanopb/build

Facing same issue. Have you got the solution?

View Article

CapacitorHttp on Android is sending empty origin

Hi, I just created a VueJS app and I’m using Capacitor to generate both iOS and Android applications. At the begining, I was using the “fetch” javascript method to make any http requests. It worked...

View Article


Image may be NSFW.
Clik here to view.

CapacitorHttp on Android is sending empty origin

LaurentGab: I wanted to use CapacitorHttp because it seems to be better to use in Capacitor applications I don’t have an answer to your specific issue but I wouldn’t say CapacitorHttp is better. I...

View Article

CapacitorHttp on Android is sending empty origin

Right ok, thanks for your answer Though, that’s precisely a CORS issue I have as the origin is empty… interesting. Anyway, I choose to use CapacitorHttp because I read few things that say that it...

View Article

Image may be NSFW.
Clik here to view.

CapacitorHttp on Android is sending empty origin

If you are using CapacitorHttp, then it wouldn’t be a CORS issue as CORS doesn’t exist in native land Yes, it can handle setting Cookies but using Cookies are not recommended in a native app. See...

View Article


Image may be NSFW.
Clik here to view.

CapacitorHttp on Android is sending empty origin

That’s the thing… my server app is expecting to have an origin… But yeah it’s really “web centric” and not “native app centric”, I agree… I should probably allow empty “origin” for mobile app… Thanks...

View Article


Duplicate class org.bouncycastle.LICENSE on Android build

Yep, I’ve run into that BouncyCastle duplicate class issue myself — it usually pops up when multiple dependencies include the same crypto provider. Best bet is to check your build.gradle files and...

View Article

Google map not showing in mobile

Which code do you need

View Article

Google map not showing in mobile

const createMap = async () => { if (!mapRef.current || mapInstance.current) return; // Create the map instance try { setIsMapLoading(true); mapInstance.current = (await Promise.race([...

View Article

Accepting apple pay donations for multiple nonprofits

It’s an area I’m exploring as well, particularly with a focus on implementing in a kiosk-style setup for in-person fundraising events.​ I have a few questions based on your experience: Have you...

View Article


Accepting apple pay donations for multiple nonprofits

Note I am not currently using apple pay as I have not implemented this. I am using Stripe Elements and Stripe Checkout. Have you directly interacted with Apple regarding the approval process for...

View Article

Image may be NSFW.
Clik here to view.

Help with angular-output-target

Hey there! Im new to the forum and to Stencil.js. Im writing a toggle switch component in which i need to compile it for angular and React. I’ve installed the angular-output-target. The component...

View Article


Possible to have smooth keyboard slide-ins?

Fully agree with that, that’s an UI problem hybrid have since a long time, would be very amazing to get this animation more “native” and not managed with heavy javascript calculation / animation

View Article

MS Code Ionic Plugin: run Android failure

They are running from the Ionic VS Code Ionic plugin, that’s the same as running from the terminal, in that case it doesn’t use Android Studio’s JDK but the global configured one (i.e. the one...

View Article


Best Way to play audio in android phone right now

const downloadAudio = async (url: string, filename: string): Promise<string> => { let fileUri = await Filesystem.downloadFile({ path: filename, url: url, directory: Directory.Data, recursive:...

View Article

Image may be NSFW.
Clik here to view.

Best Way to play audio in android phone right now

There are three plugins that I am aware of: GitHub - mediagrid/capacitor-native-audio: Play audio in a Capacitor app natively from a URL/web source simultaneously with background audio and background...

View Article

Image may be NSFW.
Clik here to view.

Capacitor stripe plugin hangs at createPaymentSheet

did you fix this i have the same issue

View Article

Image may be NSFW.
Clik here to view.

System Toolbar overlap

Hello, the problem is as followed: The ion-header is overlapping the systems toolbar. I found a thread but there is no definitive answer to it: click me Here are 2 pictures of my app showing the...

View Article


Handling Privacy Manifest Requirements with Outdated Firebase and Angular...

Hi, I tried this but I’m still being rejected by AppStore because of “Frameworks/Capacitor.framework/Capacitor” and “Frameworks/Cordova.framework/Cordova”. If I convert the .ipa to zip and open it I...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>