EinfachHans / capacitor-email-composer

E-Mail Composer Plugin for Capacitor
MIT License
21 stars 7 forks source link

Unable to inject Capacitor, Plugins won't work #21

Closed joshua22s closed 1 year ago

joshua22s commented 1 year ago

I have used this plugin for a while in a Capacitor/Angular app I have developed for Android. I am updating this app to Capacitor 4 now but I am experiencing issues with the email-composer plugin.

I have updated the capacitor-email-composer to version 1.2.1, and building the app works fine. But when I am trying to call the EmailComposer.open() function I get in Logcat: Unable to inject Capacitor, Plugins won't work.

This project also uses the capacitor-native-biometric plugin and that one seems to work fine.

I have tried rebuilding the Android project, reïnstalling the dependency but this doesn't seem to work.

Any clue on what the problem could be?

EinfachHans commented 1 year ago

Mhh, i use this plugin successfully in my v4 apps, can you please provide a small reproducable repo?

EinfachHans commented 1 year ago

Closed because no repo provided. If you still have problems please open a new issue