Issue I have an issue where I have native code written in Kotlin that I need to call as a Capacitor Pugin. I can implement plugins to call normal functions just fine. However if I call a suspend function the
Continue readingTag: capacitor
Run Ionic 5 app on real android device using capacitor
Issue I’ve recently started working with capacitor using using ionic 5. I’ve read all the capacitor documentation but I didn’t find any guidance that how can I run Ionic 5 app on real android device. Can anyone guide me how
Continue readingIonic 5 Capacitor 3 App not showing up on Android 8 but run app from android studio works well
Issue I’ve got an ionic 5.36.0 app with capacitor 3.1.2, angular 12.0.1 my sdk’s are: varables.gradle: ext { minSdkVersion = 21 compileSdkVersion = 30 targetSdkVersion = 30 androidxActivityVersion = ‘1.2.0’ androidxAppCompatVersion = ‘1.2.0’ androidxCoordinatorLayoutVersion = ‘1.1.0’ androidxCoreVersion = ‘1.3.2’ androidxFragmentVersion
Continue readingWhy can't I 'fetch' some URLs from my Capacitor app on Android?
Issue I’m trying to write a mobile app via Capacitor that makes use of PouchDB. When I run the app in the emulator via Android Studio the connection to the remote CouchDB instance fails. I’ve tracked this down to a
Continue readingIonic 7 (Angular), Capacitor, Error saving image to Firebase Storage
Issue From my Ionic 7 app, I am trying to save an image to Firebase storage using the Capacitor Camera plugin. It works fine when the picture is taken from the web browser. However, when taking a picture on an
Continue readingCapacitor Google Maps Custom Icon WILL NOT work unless its https://
Issue I am using Capacitor with the Google Maps package and cant get a custom icon for my marker (on android) for the life of me. It works fine on the web, first off. Thats a breeze. The problem is
Continue readingHow can I read a trained Tensorflow model file (.json) into Android app built with Capacitor (Vanilla JavaScript)?
Issue EDITED I’ve built a cross-platform app with Capacitor, written in Vanilla JS. It uses the following code to load a trained Tensorflow model, a simple classifier NN built in Python. import * as tf from ‘@tensorflow/tfjs’; …. const model
Continue readingIonic Capacitor: How to upgrade my Google Play billing library version to 5.0 for android
Issue I have a Ionic application running with capacitor. I have my android app deployed but after logging into my google play dev account I am seeing the current notice: We’ve detected that this app is using an old version
Continue readingWhere is the APK file created when building with Ionic 4 and Capacitor?
Issue I would like to get the APK file so I can install it manually rather than running through android studio. If I search in the android directory I can see a few and the most likely is: [project]\android\app\build\intermediates\instant-run-apk\debug\app-debug.apk However
Continue readingHow to make Socket.io work with a CapacitorJS native app?
Issue How do you make Socket.io work with a CapacitorJS native app for iOS or Android (even on emulators)? Solution Pass your backend server URL to the socket.io client on initialisation, as follows: import io from ‘socket.io-client’; export const connect
Continue reading