Skip to content

Private channel not receiving pusher events.  #285

@PunchhGaurav

Description

@PunchhGaurav

// Channel Subscribed******
self.channel = [self.pusherClient subscribeToPrivateChannelNamed:channelName];

// Channel Event Listening******
[self.channel bindToEventNamed:@"new-message" handleWithBlock:^(PTPusherEvent *channelEvent) {
// channelEvent.data is a NSDictianary of the JSON object received
NSLog(@"message received: %@", channelEvent.data);
}];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions