Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Capacitor-FCM - Error to subscribe/unsubscribe topic in iOS #33

Closed
pedroclericuzi opened this issue Apr 6, 2020 · 3 comments
Closed

Comments

@pedroclericuzi
Copy link

I followed all the steps from tutorial and in android is working fine, but in iOS is showing only this error when I try subscribe or unsubscribe a topic:

{"line":172816,"column":25,"sourceURL":"capacitor://localhost/vendor-es2015.js"}

My infos:

Ionic:

Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.900.6
@angular-devkit/schematics : 9.0.6
@angular/cli : 9.0.6
@ionic/angular-toolkit : 2.0.0

Capacitor:

Capacitor CLI : 2.0.0
@capacitor/core : 2.0.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)

Utility:

cordova-res (update available: 0.11.0) : 0.10.0
native-run : not installed

System:

NodeJS : v12.16.1 (/usr/local/bin/node)
npm : 6.13.4
OS : macOS Catalina
Xcode : Xcode 11.4 Build version 11E146

@stewones
Copy link
Member

stewones commented Apr 7, 2020

can you please set up a reproducible example ?

@pedroclericuzi
Copy link
Author

Hi, stewwan I resolved this problem.
I only had added pod 'CapacitorFcm', :path => '../../node_modules/capacitor-fcm' in podfile and works fine!

@stewones
Copy link
Member

Thanks. Closing for now.. feel free to file a new issue if you find something odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants