carsten-klaffke / send-intent

Repository for send-intent Capacitor plugin
MIT License
106 stars 12 forks source link

Error: SendIntent plugin is not implemented on android #58

Closed seth100 closed 1 year ago

seth100 commented 2 years ago

Hi,

I'm using this plugin on my Capacitor v4 + Nuxt v2.15.8 app and I'm getting the following error:

Error: "SendIntent" plugin is not implemented on android

using the following code in my index.vue page:

import { SendIntent } from 'send-intent';

mounted() {
    if (this.$device.isNative) {
      SendIntent.checkSendIntentReceived()
        .then((result) => {
          // ...

          SendIntent.finish();
        })
        .catch(err => alert(err));
    }
},

what am I doing wrong? Is that an issue with new Capacitor versions or I need to register the plugin somehow?

Thanks

carsten-klaffke commented 2 years ago

Hi! Which version of send-intent are you using? With Capacitor 4 it should be > 3.

seth100 commented 2 years ago

Hi! Which version of send-intent are you using? With Capacitor 4 it should be > 3.

yes, latest 3.0.11

carsten-klaffke commented 2 years ago

Please have a look at this thread: https://stackoverflow.com/questions/67226076/capacitor-3-0-upgrade-plugins-not-implemented-exception-nx-monorepo There are a few things to try out for various root causes.

seth100 commented 2 years ago

thank you, I'll try that!