question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] Package io.stewan.capacitor.fcm.FCMPlugin does not exist

See original GitHub issue

Hi,

I’m trying to use this plugin but I’m having trouble when I try to build on Android. I follow the README guide step by step but it seems that the Java package is not being included. These are the commands I’m running before building on Android Studio:

npm run build
npx cap copy 
npx cap open android

Any ideas?

Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
adelynxcommented, Feb 15, 2021

For the version @capacitor-community/fcm replace import io.stewan.capacitor.fcm.FCMPlugin; with import com.getcapacitor.community.fcm.FCMPlugin;

0reactions
nikoskipcommented, May 9, 2019

That was the solution, awesome!

I really appreciate your help, thanks for your time 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Android] Package io.stewan.capacitor.fcm.FCMPlugin does ...
Hi, I'm trying to use this plugin but I'm having trouble when I try to build on Android. I follow the README guide...
Read more >
capacitor-fcm - npm
Start using capacitor-fcm in your project by running `npm i capacitor-fcm`. There are no other projects in the npm registry using ...
Read more >
error: package com.getcapacitor.community.firebasecrashlytic ...
This error is coming when Android Studio is trying to build the project. The error is comming the the MainActivity.java class in line...
Read more >
How to set up Firebase Push Notifications with Ionic & Vue.js
Did you have issues configuring Push Notifications with Ionic & Vue.js? ... Android Package io.stewan.capacitor.fcm.FCMPlugin does not exist
Read more >
Capacitor Community Plugin Showcase - Ionic Blog
There are great, open-source Capacitor community plugins being built and ... But, the community FCM plugin, maintained by Stewan Silva and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found