FCM(Firebase云消息传递)是否支持directboot?

时间:2017-11-07 18:35:18

标签: android

我们有一个使用Firebase云消息传递(FCM)的Android应用程序,我们希望确保在重启设备和解锁屏幕之前接收所有推送通知(直接启动情况)。

对于Pixel XL设备,只有在屏幕解锁后才会收到推送通知(其行为与Galaxy S8不同)。

对于Pixel XL设备,在Logcat控制台中观察到以下错误和警告:

11-07 14:45:33.331 1574-1758/? E/GmsClient: unable to connect to service: com.google.android.contextmanager.service.ContextManagerService.START on com.google.android.gms
11-07 14:45:33.334 922-1525/? W/ActivityManager: Unable to start service Intent { act=com.google.android.contextmanager.service.ContextManagerService.START pkg=com.google.android.gms } U=0: not found
11-07 14:45:33.336 922-1497/? W/ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@19bf522

如果您已成功实施直接启动的FCM推送通知或遇到相同问题,请提供帮助。

1 个答案:

答案 0 :(得分:0)

在最近关闭的Google+上,有一条评论:https://plus.google.com/+AndroidDevelopers/posts/Q5iTa8Gyffd Google+ screenshot 在上方以文字注释:

  设备目前没有

Google Play服务不可用   已锁定-您需要等待设备解锁后才能   所有这些服务(包括FCM)都可用。

Ian Lake似乎来自Google,https://medium.com/@ianhlake

  

Google and Runner的Android Framework开发人员   www.google.com/+IanLake

相关问题