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
Android notification crashing #183
Comments
An update on this issue: I've been playing with the NotificationManager. If I comment out all of the code in UpdateNotifications(), the crash does not happen at all. With the current code, the crash happens an average of once every 5-10 songs. If I go back and uncomment everything except the following line:
I still get the crash occasionally, but MUCH less frequently (maybe once every 100 songs). If I then go back and comment out all the code in the method, I can't get it to happen at all. As a workaround, I have created my own custom implementation of IMediaNotificationManager, with UpdateNotificaitons() commented out, which seems to work fine, except that the Pause button doesn't change to a Play button when paused. I worked around that by adding separate Pause and Play buttons. This should get fixed at some point so that UpdateNotifications can work without crashing. |
I have a similar issue. If I play then pause an audio file in my app, then switch to another app (like podcasts) and play an audio file from that app, my app crashes with this exception:
|
I'm also experiencing this problem:
|
We are seeing this issue too (*packagename kept hidden on purpose) Process: *packagename, PID: 31558 |
Got a fix for my application , calling the notification update of large icon too fast leads to the problem |
…ption: Bad notification..), Better control of Notification art work, Fix Volume control
I'm working on a fix in my fork https://github.com/hig-dev/XamarinMediaManager |
Two of my beta testers got new phones, running Nougat (It' the LG V20 if that matters). They are my first users to run Nougat, I believe. Since then they are producing the following unhandled exception:
Unfortunately, the stack trace does not show any of my code or MediaManager code. However, I do know that my app does not create any Android notifications on its own. The only notification is the one created by XamarinMediaManager.
Only these two beta testers are generating the crash. So, I'm thinking that it is specific to either Nougat or their phone model in particular.
Has anyone else run into this bug?
Can anyone make sense of the crash report?
FYI, I posted this on StackOverflow in February, and got no responses. It has some more details:
http://stackoverflow.com/questions/42335277/
The text was updated successfully, but these errors were encountered: