Questions tagged [pusherswift]

14 questions
3
votes
1 answer

'PusherSwift' authenticate not called in swift

Im trying to using "AuthRequestBuilderProtocol" for authenticating the Pusher connection. But it's not called, I create a class AuthRequestBuilder that inherit from AuthRequestBuilderProtocol like the code below class AuthRequestBuilder:…
Ghassan
  • 60
  • 1
  • 11
1
vote
0 answers

Flutter app can't build for iOS after including pusher_websocket_flutter dependency

After I've read a post on how to work with Pusher, I've decided to include it in my project by adding it to my pubspec.yamal file. Plugin I want to ilcude is pusher_websocket_flutter version 0.0.2 like in the tutorial. This is not about following…
Aleksandar
  • 1,457
  • 13
  • 30
1
vote
1 answer

Pusher chat kit tutorial not working as expected

I want to create a simple chat app demo using pusher chat kit. I am following the pusher provided tutorial .I am following documentation as it is but its not working in my case . According to pusher documentation Chatmanger class object should be…
Mehsam Saeed
  • 235
  • 2
  • 14
1
vote
2 answers

Pusher Api for Swift 3 crashes while connecting

I have integrated the Pusher framework for my application in Swift 3 using cocoa pods [ pod 'PusherSwift' ]. These are the lines of code : let pusher = Pusher(key: "XXXXXXXXXXXXXXXXXXXX") // subscribe to channel and bind to event let channel =…
1
vote
1 answer

Pusher Swift member added/removed event

I'm using Pusher Swift right now, but I can't find a properly way to handle the member_added and member_removed methods. In LibPusher (objective-c implementation) exists PTPusherPresenceChannelDelegate with memberAdded and memberRemoved methods, but…
Steve
  • 959
  • 1
  • 11
  • 23
1
vote
1 answer

How to subscribe to multiple Pusher public channels?

The default method for subscribing to a channel involves invoking the subscribe method of your client object: pusher.subscribe('my-channel') I have an array of channels e.g ['my-channel', 'test-channel']. The events will be generated in any of the…
Ashutosh Jha
  • 150
  • 4
  • 18
0
votes
1 answer

Pusher Channels Flutter is not working on iOS devices

It's working perfectly fine on Android devices, but I'm running into issues when testing on iOS devices. Specifically, the real-time communication feature doesn't seem to be working on iOS devices. And I already did it iOS specific installation…
0
votes
1 answer

Pusher stops handling events in IOS release mode

I have a flutter application that uses Pusher beams to receive messages it's all working as expected in Android, in IOS when I run the app in debug mode it works fine as usual receives events even when the app is in Foreground but when I run it in…
0
votes
1 answer

How to add custom auth header in pusher socket connection

I want to add my app custom token in Pusher header. Below is my code. OCAuthMethod *authMethod = [[OCAuthMethod alloc] initWithAuthEndpoint:kPushedWebHockUrl]; OCPusherHost *host = [[OCPusherHost alloc]…
Ajith Kumar
  • 1,202
  • 1
  • 10
  • 22
0
votes
0 answers

Cannot load underlying module for 'PusherSwift' in Swift project

I have tried almost everything possible in my knowledge and also tried using different versions of PusherSwift as well. Using older versions of PusherSwift, cause same error for CryptoSwift. I have converted my code to Swift 5 as well. But still…
iBug
  • 2,334
  • 3
  • 32
  • 65
0
votes
1 answer

pusher beam is not integrating in ios

i am integrating pusher beam with ios app. i am getting error while setting beamCleint user id. i am getting error "Optional(PushNotifications.TokenProviderError.error("[PushNotifications] - Changing the userId is not allowed."))" any help would be…
Mazhar
  • 11
  • 3
0
votes
0 answers

'PusherSwift/PusherSwift-Swift.h' file not found in objective c

I am trying to implement PusherSwift in Objective-C. I got pusher sample code from https://github.com/pusher/pusher-websocket-swift/releases When I am running the code, I found an error "'PusherSwift/PusherSwift-Swift.h' file not found". Then I…
0
votes
1 answer

Is there a way to find if the iOS app is in background from Pusher Gem?

Server: Pusher gem(rails) Client: Pusher Swift How do I detect if the client is gone offline(app in background) or come back online(app in foreground) using Pusher gem? What I want to achieve is sending APN to the client, when the client enters…
Bist S
  • 41
  • 1
  • 1
  • 4
0
votes
1 answer

Pusher Client Error: Invalid Signature

I recently looked in my pusher error logs and noticed: Invalid signature: Expected HMAC SHA256 hex digest of 217478.6054950:private-production1_xxxxx_1232:{"user_id":xxxx}, but got…
Alex Harris
  • 6,172
  • 2
  • 32
  • 57