From e54619b12b0edcd9f3df644299283b7a4a7b4831 Mon Sep 17 00:00:00 2001 From: Kumkum Bagchi Date: Thu, 14 Mar 2019 15:29:17 -0700 Subject: [PATCH] Consume Android Voice SDK 3.0.0-beta6 Consume Android Voice SDK 3.0.0-beta6 --- app/build.gradle | 2 +- .../voice/quickstart/fcm/VoiceFirebaseMessagingService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d5e9388..2a4b5ae 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,7 +46,7 @@ android { dependencies { testImplementation 'junit:junit:4.12' - implementation 'com.twilio:voice-android:3.0.0-beta5' + implementation 'com.twilio:voice-android:3.0.0-beta6' implementation 'com.android.support:design:27.0.2' implementation 'com.android.support:appcompat-v7:27.0.2' implementation 'com.squareup.retrofit:retrofit:1.9.0' diff --git a/app/src/main/java/com/twilio/voice/quickstart/fcm/VoiceFirebaseMessagingService.java b/app/src/main/java/com/twilio/voice/quickstart/fcm/VoiceFirebaseMessagingService.java index 7b765a2..3200aa8 100644 --- a/app/src/main/java/com/twilio/voice/quickstart/fcm/VoiceFirebaseMessagingService.java +++ b/app/src/main/java/com/twilio/voice/quickstart/fcm/VoiceFirebaseMessagingService.java @@ -59,7 +59,7 @@ public void onMessageReceived(RemoteMessage remoteMessage) { Map data = remoteMessage.getData(); final int notificationId = (int) System.currentTimeMillis(); - boolean valid = Voice.handleMessage(this, remoteMessage.getData(), new MessageListener() { + boolean valid = Voice.handleMessage(remoteMessage.getData(), new MessageListener() { @Override public void onCallInvite(@NonNull CallInvite callInvite) { final int notificationId = (int) System.currentTimeMillis();