capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
237 stars 83 forks source link

Cocoapods error caused by this plugin - JSON::ParserError - 743: unexpected token at '' #21

Closed REPTILEHAUS closed 4 years ago

REPTILEHAUS commented 4 years ago

I cant build iOS at present because there seems to be some issue with the podfile in this plugins folder. Logged a bug over at cocoapods but removing this from my capacitor podfile allows the installation pod 'CapacitorFcm', :path => '../../node_modules/capacitor-fcm'

Here is the issue on Cocoapods repo https://github.com/CocoaPods/CocoaPods/issues/9311

REPTILEHAUS commented 4 years ago

Just curious I see this tutorial is for iOS and Android https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/ It appears to register android for an FCM token also so is there any need to use this plugin still or is capacitor now able to handle the whole process ?

REPTILEHAUS commented 4 years ago

Just FYI It seems that pod 'Firebase/Messaging' causes issues whereas using pod 'FirebaseMessaging' works

stewones commented 4 years ago

so weird, please provide reproducible sample so I can try to help

stewones commented 4 years ago

closing. feel free to open a new issue if needed