[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
I have already updated all the : firebase_core , Firebase_messaging , flutter but still have the error
I get this error only with IOS but not with android
2
Answers
you have to mentioned your channel_id and channel_name if you want to push notification service.
Changes in AndroidManiFest.xml
Just run this command flutter pub outdated
And then upgrade outdate package by running this command flutter pub upgrade outdated_package
Then flutter clean and flutter pub get
Don’t forget to install pod i think this will work