-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Handle special characters in notification title #1766
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
Handle special characters in notification title #1766
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1766 +/- ##
======================================
Coverage 3.63% 3.63%
======================================
Files 182 182
Lines 9154 9154
Branches 795 794 -1
======================================
Hits 333 333
Misses 8799 8799
Partials 22 22
Continue to review full report at Codecov.
|
Now it gives this error after notifications are displayed:
|
@neslihanturan Can you share the response object for your notification? This seems to be a different error. |
b053f46
to
ecf70eb
Compare
Can it be related with loading icon drawables? |
Update: It also crashes with same error on API level 23, as in 19. So it seems like independent from API level, probably my notifications trigger this crash. I feel like there is an uncovered case about drawables and notification types. |
Title (required)
Fixes #1600
Description (required)
Fixes #1600 where notification activity was crashing as soon as it was opened. It was happening for a subset of users who had special characters(read characters in other scripts). Have simply added a
try catch
handling for such cases as I wasn't able to find an elegant solution.Tests performed (required)
Not reproducible for me. @neslihanturan Can you help in testing this. :)