Skip to content

Commit 497fd11

Browse files
committed
Fix "Add channel to GCM" action
1 parent 5aaccd9 commit 497fd11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • android/examples/PubnubExample/src/com/pubnub/examples/pubnubExample10

‎android/examples/PubnubExample/src/com/pubnub/examples/pubnubExample10/MainActivity.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public void onClick(DialogInterface dialog, int which) {
550550
return ;
551551
}
552552
String channel = edChannelName.getText().toString();
553-
pubnub.disablePushNotificationsOnChannel(channel, REG_ID, new Callback() {
553+
pubnub.enablePushNotificationsOnChannel(channel, REG_ID, new Callback() {
554554
@Override
555555
public void successCallback(String channel,
556556
Object message) {

0 commit comments

Comments
 (0)