zmz125000
V2EX  ›  Android

Push Notifications fail on specific Android phones

  •  
  •   zmz125000 · Oct 30, 2017 · 12366 views
    This topic created in 3149 days ago, the information mentioned may be changed or developed.

    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 replies    2017-10-30 12:24:21 +08:00
    zmz125000
        1
    zmz125000  
    OP
       Oct 30, 2017
    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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1092 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:00 · PVG 02:00 · LAX 11:00 · JFK 14:00
    ♥ Do have faith in what you're doing.