pubnub / dart

PubNub Dart SDK
Other
27 stars 15 forks source link

Pubnub.subscribe get error exception #28

Closed slorop41314 closed 3 years ago

slorop41314 commented 3 years ago

I try pubnub.subscribe method and it gets an error exception on subscibribe_loop.dart from the library.

Screenshot 2020-12-19 at 22 35 10

This is my code.

_pubnub = PubNub(defaultKeyset:keyset)

`Subscription subscribeChannels({ Set channels, Set channelGroups, }) {

Subscription result = this._pubnub.subscribe(
      channels: channels,
      channelGroups: channelGroups,
    );

return result;

}`

are commented 3 years ago

Hi! Thanks for reporting the issue. We are actively working on removing the dio dependency so this will be resolved by this. However, there is an issue with the flutter debugger, take a look here: https://github.com/pubnub/dart/issues/20#issuecomment-700818107

slorop41314 commented 3 years ago

I seee, thanks alot for your answer. Will waiting for this issue to be solved. Anyway, great package!

are commented 3 years ago

We have released a new version 3.1.0 that contains a fix. Let us know if the issue still persists.