V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zmz125000
V2EX  ›  Android

Push Notifications fail on specific Android phones

  •  
  •   zmz125000 · Oct 30, 2017 · 12227 views
    This topic created in 3101 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   ·   1008 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 127ms · UTC 22:15 · PVG 06:15 · LAX 15:15 · JFK 18:15
    ♥ Do have faith in what you're doing.