V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zmz125000
V2EX  ›  Android

Push Notifications fail on specific Android phones

  •  
  •   zmz125000 · 2017-10-30 12:11:48 +08:00 · 3624 次点击
    这是一个创建于 2341 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Push Notifications are not working properly on specific Android phones.

    I use the word ‘ properly ’ because users receive push notifications when the app is open but not when it is closed, which defeats the purpose of push notifications.

    I use the words ‘ specific Android phones ’ because this issue is noticed only on phones by manufacturers like Xiaomi, Oppo, One Plus, Vivo, Lenovo, Huawei, Vivo, Samsung, and a few others.

    https://medium.freecodecamp.org/why-your-push-notifications-never-see-the-light-of-day-3fa297520793

    这下面一堆用国产手机出问题的人
    https://github.com/firebase/quickstart-android/issues/41

    1 条回复    2017-10-30 12:24:21 +08:00
    zmz125000
        1
    zmz125000  
    OP
       2017-10-30 12:24:21 +08:00
    from Firebase Support:

    When an app is killed, it should only be woken up by user action (i.e. if the user taps on the app icon). So if your app is not receiving FCM messages after it is killed, then that is expected. However applications should not be killed when swiped from the recent apps list-- this is incorrect behavior.

    https://github.com/firebase/quickstart-android/issues/41#issuecomment-322154638
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1009 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 19:28 · PVG 03:28 · LAX 12:28 · JFK 15:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.