Large number of RemoteServiceExceptions in Google's cast MediaNotificationService

前端 未结 3 917
甜味超标
甜味超标 2021-02-08 02:00

In the last ~24 hours, we\'ve seen a few thousand crashes within Google\'s MediaNotificationService:

Fatal Exception: android.app.RemoteServiceExcep         


        
3条回答
  •  别那么骄傲
    2021-02-08 02:40

    We are also experiencing this issue with very similar symptoms. We are on cast SDK version 16.1.2

    • Only happening on Android 8 and above. Seems to be linked to the background execution changes here
    • Also low numbers for months. Spiked recently across all app versions. Now looking at numbers in the thousands.
    • There was a play services update on 11th Feb. Could be linked?

    What we've tried (Updating to SDK 18.0.0)

    Updating to v18.0.0 appears to fix the issue as reported by @Anjaneesh. However, 18.0.0 introduced behaviour changes around the retrieval of custom data. We have observed that the custom data we supply to the remoteMediaClient's mediaInfo (and then try to retrieve) gets nulled when the sender app disconnects and then re-connects. This will need guarding against if you aren't already!

提交回复
热议问题