-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firebase pn support #208
base: feat/twilio-android-sdk-5
Are you sure you want to change the base?
firebase pn support #208
Conversation
Fixed app crash when receiving voip push notification in background ios
@@ -284,7 +305,7 @@ private void setCallInProgressNotification(CallInvite callInvite, int notificati | |||
int importance = NotificationManager.IMPORTANCE_LOW; | |||
if (!isAppVisible()) { | |||
if (BuildConfig.DEBUG) { | |||
Log.i(TAG, "app is NOT visible."); | |||
Log.i(TAG, "app is NOT visible eeeee."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log.i(TAG, "app is NOT visible eeeee."); | |
Log.i(TAG, "app is NOT visible."); |
@@ -240,7 +259,9 @@ private String createChannel(int channelImportance) { | |||
} | |||
|
|||
private void accept(CallInvite callInvite, int notificationId) { | |||
Log.d(TAG, "accept()1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log.d(TAG, "accept()1"); |
@@ -73,9 +86,9 @@ public void onCallInvite(final CallInvite callInvite) { | |||
Handler handler = new Handler(Looper.getMainLooper()); | |||
handler.post(new Runnable() { | |||
public void run() { | |||
CallNotificationManager callNotificationManager = new CallNotificationManager(); | |||
// CallNotificationManager callNotificationManager = new CallNotificationManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not needed anymore, remove line
remove lines `not needed`
change getService to getActivity for issues Notification trampoline…
This is a resolution to the issue where a call could not be completed with the existence of Firebase in the project.