-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: Crash on call to non-currentUser WPB-15804 #3859
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3859 +/- ##
===========================================
- Coverage 45.46% 45.43% -0.03%
===========================================
Files 491 491
Lines 17008 17018 +10
Branches 2846 2848 +2
===========================================
Hits 7732 7732
- Misses 8489 8499 +10
Partials 787 787
Continue to review full report in Codecov by Sentry.
|
Built wire-android-staging-compat-pr-3859.apk is available for download |
Built wire-android-dev-debug-pr-3859.apk is available for download |
Built wire-android-staging-compat-pr-3859.apk is available for download |
Built wire-android-dev-debug-pr-3859.apk is available for download |
|
Built wire-android-staging-compat-pr-3859.apk is available for download |
Built wire-android-dev-debug-pr-3859.apk is available for download |
What's new in this PR?
Issues
STR:
result: crash
CallStyle notifications must either be for a foreground Service or use a fullScreenIntent.
Decline
in notificationSTR:
result: cal declined for non-currentUser
Causes (Optional)
FullScreenIntent
. But the problem that we can't use CallStyle for the notification in that case.requestCode
for thePendingIntent
for actions in notification are the same for the same conversation but different users: while creating request code only conversationId is taken into consideration. As result: 2 notifications for 2 users but for the same conversation (in group call, or message in group) have actions with the same PendingIntents.Solutions
CallStyle
for not-FullScreenIntent notifications and add regular Actions for open a call Or decline it.requestCode
for thePendingIntent
to take userId into consideration.