adaojunior / pusher

The Dart library for interacting with the Pusher HTTP API.
https://pub.dartlang.org/packages/pusher
MIT License
12 stars 13 forks source link

How to set cluster? #20

Closed ThaDaVos closed 5 years ago

ThaDaVos commented 5 years ago

I'm trying to use this package in a Flutter test app but I'm getting an 'Unknow auth_key' response - after some googling I found out this is because of the cluster setting which seems unsupported in this library...

Any known way to fix this?

adaojunior commented 5 years ago

I'll add support the cluster setting soon, and I'll let you know when it is posted to pub.

ThaDaVos commented 5 years ago

When is the ETA of this support?

adaojunior commented 5 years ago

I believe I'll have it on pub in the next 2 days.

adaojunior commented 5 years ago

@dvdbot it is now available on https://pub.dartlang.org/packages/pusher/versions/1.0.1-beta

You just need to pass the cluster on PusherOptions.