Closed dankhan-helmet closed 1 month ago
Any update on this?
Thanks for following up, not quite sure what changed, but finally started building and connecting to the gateway again. Not sure if the gateway was down, but the error message wasn't particularly helpful, and a bit unclear where the actual error was being thrown. After switching emulators and rebuilding a bunch of times and giving it lots of time, I finally saw the registering FCM token message and all was good after that. Sorry I can't be clearer, problems like this always hard to track down.
Hi,
Having some trouble getting pusher beams to work on Android Emulator in flutter for a new app. I assume it should work fine on the emulator?
Error messages in log:
Not sure if this is related, but when it repeats the message it also includes these lines above the NOK Response line - which all have denied access:
Happens before my
PusherBeams.instance.start()
call, so maybe a problem setting up the pushnotification libraries correctly?Anyone else run into this? Thought I was following the instructions so far, but maybe there's some other incompatibility/initialisation issue. I'm using the latest plugins. Also tried with the versions listed on the readme page here, same results.
My flutter setup detailed below thanks for any help.
pubspec.yaml:
pusher_beams: ^1.1.1
Have my
google-services.json
file in\android\app\google-services.json
Here's my app
build.gradle
:build.gradle
:Trying to run this both through flutter and android studio produces same results. Manifest allows outgoing connections and verified I can connect to web from the emulator so I don't think it's a connection problem.
flutter doctor -v
output: