How do certain apps show new notifications when internet access is restricted to them?Why do some apps still get push notifications when there's no data?What is the exact functionality of Google Play Services & Google Services Framework (gapps)?Can not receive WhatsApp messages unless I open the appWhy do certain apps run even when I don't use them?Securing a young child's tabletMy apps don't have access to my mobile internetSome apps cannot access the internetHow to stop Android apps starting automatically when internet connect?

What exactly is a marshrutka (маршрутка)?

Mutable named tuple with default value and conditional rounding support

Is low emotional intelligence associated with right-wing and prejudiced attitudes?

What officially disallows US presidents from driving?

What was the motivation for the invention of electric pianos?

why car dealer is insisting on loan v/s cash

Were Roman public roads build by private companies?

Relocation error involving libgnutls.so.30, error code (127) after last updates

What is the mathematical notation for rounding a given number to the nearest integer?

What organs or modifications would be needed for a life biological creature not to require sleep?

Is a suit against a University Dorm for changing policies on a whim likely to succeed (USA)?

Output a Super Mario Image

Why is template constructor preferred to copy constructor?

POSIX compatible way to get user name associated with a user ID

Sort files in a given folders and provide as a list

What's 待ってるから mean?

Diffraction of a wave passing through double slits

Can I fix my boots by gluing the soles back on?

What hard drive connector is this?

The Planck constant for mathematicians

If the gambler's fallacy is false, how do notions of "expected number" of events work?

Do ibuprofen or paracetamol cause hearing loss?

How can I discourage sharing internal API keys within a company?

How would you control supersoldiers in a late iron-age society?



How do certain apps show new notifications when internet access is restricted to them?


Why do some apps still get push notifications when there's no data?What is the exact functionality of Google Play Services & Google Services Framework (gapps)?Can not receive WhatsApp messages unless I open the appWhy do certain apps run even when I don't use them?Securing a young child's tabletMy apps don't have access to my mobile internetSome apps cannot access the internetHow to stop Android apps starting automatically when internet connect?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have disabled WhatsApp's access to Internet by disabling both WLAN-usage and mobile network usage.



I thought this should block WhatsApp from accessing the internet. But miraculously WhatsApp gives me a message with ominous content: "You might have new messages"



When I open WA it does not show any messages. When I then give it back it's access rights wonder what, there are messages I received the same day!



So to me it looks as if this app has found its way to sneak around my network restrictions.



So the following questions arise:



  • Is my assumption about the effectiveness of restricting the "data usage" for apps wrong?

  • Does WhatsApp hack around the standard restrictions?









share|improve this question


























  • @Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

    – Ariser
    4 hours ago












  • @IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

    – Firelord
    4 hours ago











  • @Firelord alright.

    – Irfan Latif
    4 hours ago

















1















I have disabled WhatsApp's access to Internet by disabling both WLAN-usage and mobile network usage.



I thought this should block WhatsApp from accessing the internet. But miraculously WhatsApp gives me a message with ominous content: "You might have new messages"



When I open WA it does not show any messages. When I then give it back it's access rights wonder what, there are messages I received the same day!



So to me it looks as if this app has found its way to sneak around my network restrictions.



So the following questions arise:



  • Is my assumption about the effectiveness of restricting the "data usage" for apps wrong?

  • Does WhatsApp hack around the standard restrictions?









share|improve this question


























  • @Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

    – Ariser
    4 hours ago












  • @IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

    – Firelord
    4 hours ago











  • @Firelord alright.

    – Irfan Latif
    4 hours ago













1












1








1


0






I have disabled WhatsApp's access to Internet by disabling both WLAN-usage and mobile network usage.



I thought this should block WhatsApp from accessing the internet. But miraculously WhatsApp gives me a message with ominous content: "You might have new messages"



When I open WA it does not show any messages. When I then give it back it's access rights wonder what, there are messages I received the same day!



So to me it looks as if this app has found its way to sneak around my network restrictions.



So the following questions arise:



  • Is my assumption about the effectiveness of restricting the "data usage" for apps wrong?

  • Does WhatsApp hack around the standard restrictions?









share|improve this question
















I have disabled WhatsApp's access to Internet by disabling both WLAN-usage and mobile network usage.



I thought this should block WhatsApp from accessing the internet. But miraculously WhatsApp gives me a message with ominous content: "You might have new messages"



When I open WA it does not show any messages. When I then give it back it's access rights wonder what, there are messages I received the same day!



So to me it looks as if this app has found its way to sneak around my network restrictions.



So the following questions arise:



  • Is my assumption about the effectiveness of restricting the "data usage" for apps wrong?

  • Does WhatsApp hack around the standard restrictions?






applications push-notifications






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago









Firelord

18.4k13 gold badges82 silver badges201 bronze badges




18.4k13 gold badges82 silver badges201 bronze badges










asked 9 hours ago









AriserAriser

1461 silver badge8 bronze badges




1461 silver badge8 bronze badges















  • @Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

    – Ariser
    4 hours ago












  • @IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

    – Firelord
    4 hours ago











  • @Firelord alright.

    – Irfan Latif
    4 hours ago

















  • @Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

    – Ariser
    4 hours ago












  • @IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

    – Firelord
    4 hours ago











  • @Firelord alright.

    – Irfan Latif
    4 hours ago
















@Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

– Ariser
4 hours ago






@Firelord Good generalisation of my question. I wasn't aware of this possibility. And I did not grasp the concept of push notification on my phone. You covered the problem very well!

– Ariser
4 hours ago














@IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

– Firelord
4 hours ago





@IrfanLatif this one had a slightly bit more of a context, so I chose this one as a target. The convention is to respect the older one, but the discretion gives space to pick one that appears better as a question.

– Firelord
4 hours ago













@Firelord alright.

– Irfan Latif
4 hours ago





@Firelord alright.

– Irfan Latif
4 hours ago










3 Answers
3






active

oldest

votes


















5
















App developers can tell better but what I perceive is that many modern apps use Firebase Cloud Messaging - a proprietary service from Google, not part of AOSP - for push notifications. In fact developers are forced to use Google's proprietary products unnoticeably. Quoted from here:




The Doze restriction on network access is also likely to affect your app, especially if the app relies on real-time messages such as tickles or notifications. If your app requires a persistent connection to the network to receive messages, you should use Firebase Cloud Messaging (FCM) if possible.

...

FCM is optimized to work with Doze and App Standby idle modes by means of high-priority FCM messages.




FCM is a part of Google Play Services (1):




FCM SDK's only hard dependency is Google Play Services




Play Services is a set of apps which are injected to Android devices with highly privileged permissions, so they aren't subject to data/battery restrictions.



Since you have blocked only the app and not Play Services, app may receive push notifications (though the actual data may not be delivered to the app).



So block GMS in order to block push notifications. Or choose the apps which aren't fond of Google.



RELATED: What is the exact functionality of Google Play Services & Services Framework?






share|improve this answer



























  • See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

    – Lucas Ramage
    6 hours ago











  • @LucasRamage yeah, gradually taking control.

    – Irfan Latif
    6 hours ago


















3
















WhatsApp can't access the internet at then moment. However it still receives the configured push notifications via Google Play Services. The Google Play Service is a different app on your device that still has Internet access.



Those push messages don't contain the actual message and WhatsApp just uses them as a notifier. Whenever such a push notification message arrives WhatsApp knows that there are new messages and tries to contact the WhatsApp server to retrieve it.



In your case the connection to the WhatsApp server fails and WhatsApp only displays you the message "You might have new messages".






share|improve this answer
































    0
















    No, WhatsApp does not hack around the network restrictions. The app after a certain amount not being able to connect to its server because you have disabled internet connection is just guessing. That's why you get the message: "You may have new messages" from its Failure notifications channel.



    From How to stop WhatsApp 'Yoi may have new messages' notification:




    As such, though WhatsApp is running and mobile data is turned on, it may not be able to access the internet.
    It's only recourse is therefore to throw this notification as a guess since I suspect it can’t tell the difference when a poor network is to blame and when its network rights are being micromanaged by the OS.







    share|improve this answer



























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "139"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );














      draft saved

      draft discarded
















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f216714%2fhow-do-certain-apps-show-new-notifications-when-internet-access-is-restricted-to%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5
















      App developers can tell better but what I perceive is that many modern apps use Firebase Cloud Messaging - a proprietary service from Google, not part of AOSP - for push notifications. In fact developers are forced to use Google's proprietary products unnoticeably. Quoted from here:




      The Doze restriction on network access is also likely to affect your app, especially if the app relies on real-time messages such as tickles or notifications. If your app requires a persistent connection to the network to receive messages, you should use Firebase Cloud Messaging (FCM) if possible.

      ...

      FCM is optimized to work with Doze and App Standby idle modes by means of high-priority FCM messages.




      FCM is a part of Google Play Services (1):




      FCM SDK's only hard dependency is Google Play Services




      Play Services is a set of apps which are injected to Android devices with highly privileged permissions, so they aren't subject to data/battery restrictions.



      Since you have blocked only the app and not Play Services, app may receive push notifications (though the actual data may not be delivered to the app).



      So block GMS in order to block push notifications. Or choose the apps which aren't fond of Google.



      RELATED: What is the exact functionality of Google Play Services & Services Framework?






      share|improve this answer



























      • See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

        – Lucas Ramage
        6 hours ago











      • @LucasRamage yeah, gradually taking control.

        – Irfan Latif
        6 hours ago















      5
















      App developers can tell better but what I perceive is that many modern apps use Firebase Cloud Messaging - a proprietary service from Google, not part of AOSP - for push notifications. In fact developers are forced to use Google's proprietary products unnoticeably. Quoted from here:




      The Doze restriction on network access is also likely to affect your app, especially if the app relies on real-time messages such as tickles or notifications. If your app requires a persistent connection to the network to receive messages, you should use Firebase Cloud Messaging (FCM) if possible.

      ...

      FCM is optimized to work with Doze and App Standby idle modes by means of high-priority FCM messages.




      FCM is a part of Google Play Services (1):




      FCM SDK's only hard dependency is Google Play Services




      Play Services is a set of apps which are injected to Android devices with highly privileged permissions, so they aren't subject to data/battery restrictions.



      Since you have blocked only the app and not Play Services, app may receive push notifications (though the actual data may not be delivered to the app).



      So block GMS in order to block push notifications. Or choose the apps which aren't fond of Google.



      RELATED: What is the exact functionality of Google Play Services & Services Framework?






      share|improve this answer



























      • See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

        – Lucas Ramage
        6 hours ago











      • @LucasRamage yeah, gradually taking control.

        – Irfan Latif
        6 hours ago













      5














      5










      5









      App developers can tell better but what I perceive is that many modern apps use Firebase Cloud Messaging - a proprietary service from Google, not part of AOSP - for push notifications. In fact developers are forced to use Google's proprietary products unnoticeably. Quoted from here:




      The Doze restriction on network access is also likely to affect your app, especially if the app relies on real-time messages such as tickles or notifications. If your app requires a persistent connection to the network to receive messages, you should use Firebase Cloud Messaging (FCM) if possible.

      ...

      FCM is optimized to work with Doze and App Standby idle modes by means of high-priority FCM messages.




      FCM is a part of Google Play Services (1):




      FCM SDK's only hard dependency is Google Play Services




      Play Services is a set of apps which are injected to Android devices with highly privileged permissions, so they aren't subject to data/battery restrictions.



      Since you have blocked only the app and not Play Services, app may receive push notifications (though the actual data may not be delivered to the app).



      So block GMS in order to block push notifications. Or choose the apps which aren't fond of Google.



      RELATED: What is the exact functionality of Google Play Services & Services Framework?






      share|improve this answer















      App developers can tell better but what I perceive is that many modern apps use Firebase Cloud Messaging - a proprietary service from Google, not part of AOSP - for push notifications. In fact developers are forced to use Google's proprietary products unnoticeably. Quoted from here:




      The Doze restriction on network access is also likely to affect your app, especially if the app relies on real-time messages such as tickles or notifications. If your app requires a persistent connection to the network to receive messages, you should use Firebase Cloud Messaging (FCM) if possible.

      ...

      FCM is optimized to work with Doze and App Standby idle modes by means of high-priority FCM messages.




      FCM is a part of Google Play Services (1):




      FCM SDK's only hard dependency is Google Play Services




      Play Services is a set of apps which are injected to Android devices with highly privileged permissions, so they aren't subject to data/battery restrictions.



      Since you have blocked only the app and not Play Services, app may receive push notifications (though the actual data may not be delivered to the app).



      So block GMS in order to block push notifications. Or choose the apps which aren't fond of Google.



      RELATED: What is the exact functionality of Google Play Services & Services Framework?







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Sep 9 at 21:49

























      answered Aug 7 at 6:36









      Irfan LatifIrfan Latif

      4,1007 silver badges28 bronze badges




      4,1007 silver badges28 bronze badges















      • See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

        – Lucas Ramage
        6 hours ago











      • @LucasRamage yeah, gradually taking control.

        – Irfan Latif
        6 hours ago

















      • See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

        – Lucas Ramage
        6 hours ago











      • @LucasRamage yeah, gradually taking control.

        – Irfan Latif
        6 hours ago
















      See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

      – Lucas Ramage
      6 hours ago





      See also: github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/…

      – Lucas Ramage
      6 hours ago













      @LucasRamage yeah, gradually taking control.

      – Irfan Latif
      6 hours ago





      @LucasRamage yeah, gradually taking control.

      – Irfan Latif
      6 hours ago













      3
















      WhatsApp can't access the internet at then moment. However it still receives the configured push notifications via Google Play Services. The Google Play Service is a different app on your device that still has Internet access.



      Those push messages don't contain the actual message and WhatsApp just uses them as a notifier. Whenever such a push notification message arrives WhatsApp knows that there are new messages and tries to contact the WhatsApp server to retrieve it.



      In your case the connection to the WhatsApp server fails and WhatsApp only displays you the message "You might have new messages".






      share|improve this answer





























        3
















        WhatsApp can't access the internet at then moment. However it still receives the configured push notifications via Google Play Services. The Google Play Service is a different app on your device that still has Internet access.



        Those push messages don't contain the actual message and WhatsApp just uses them as a notifier. Whenever such a push notification message arrives WhatsApp knows that there are new messages and tries to contact the WhatsApp server to retrieve it.



        In your case the connection to the WhatsApp server fails and WhatsApp only displays you the message "You might have new messages".






        share|improve this answer



























          3














          3










          3









          WhatsApp can't access the internet at then moment. However it still receives the configured push notifications via Google Play Services. The Google Play Service is a different app on your device that still has Internet access.



          Those push messages don't contain the actual message and WhatsApp just uses them as a notifier. Whenever such a push notification message arrives WhatsApp knows that there are new messages and tries to contact the WhatsApp server to retrieve it.



          In your case the connection to the WhatsApp server fails and WhatsApp only displays you the message "You might have new messages".






          share|improve this answer













          WhatsApp can't access the internet at then moment. However it still receives the configured push notifications via Google Play Services. The Google Play Service is a different app on your device that still has Internet access.



          Those push messages don't contain the actual message and WhatsApp just uses them as a notifier. Whenever such a push notification message arrives WhatsApp knows that there are new messages and tries to contact the WhatsApp server to retrieve it.



          In your case the connection to the WhatsApp server fails and WhatsApp only displays you the message "You might have new messages".







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 9 hours ago









          RobertRobert

          4,1384 gold badges21 silver badges30 bronze badges




          4,1384 gold badges21 silver badges30 bronze badges
























              0
















              No, WhatsApp does not hack around the network restrictions. The app after a certain amount not being able to connect to its server because you have disabled internet connection is just guessing. That's why you get the message: "You may have new messages" from its Failure notifications channel.



              From How to stop WhatsApp 'Yoi may have new messages' notification:




              As such, though WhatsApp is running and mobile data is turned on, it may not be able to access the internet.
              It's only recourse is therefore to throw this notification as a guess since I suspect it can’t tell the difference when a poor network is to blame and when its network rights are being micromanaged by the OS.







              share|improve this answer





























                0
















                No, WhatsApp does not hack around the network restrictions. The app after a certain amount not being able to connect to its server because you have disabled internet connection is just guessing. That's why you get the message: "You may have new messages" from its Failure notifications channel.



                From How to stop WhatsApp 'Yoi may have new messages' notification:




                As such, though WhatsApp is running and mobile data is turned on, it may not be able to access the internet.
                It's only recourse is therefore to throw this notification as a guess since I suspect it can’t tell the difference when a poor network is to blame and when its network rights are being micromanaged by the OS.







                share|improve this answer



























                  0














                  0










                  0









                  No, WhatsApp does not hack around the network restrictions. The app after a certain amount not being able to connect to its server because you have disabled internet connection is just guessing. That's why you get the message: "You may have new messages" from its Failure notifications channel.



                  From How to stop WhatsApp 'Yoi may have new messages' notification:




                  As such, though WhatsApp is running and mobile data is turned on, it may not be able to access the internet.
                  It's only recourse is therefore to throw this notification as a guess since I suspect it can’t tell the difference when a poor network is to blame and when its network rights are being micromanaged by the OS.







                  share|improve this answer













                  No, WhatsApp does not hack around the network restrictions. The app after a certain amount not being able to connect to its server because you have disabled internet connection is just guessing. That's why you get the message: "You may have new messages" from its Failure notifications channel.



                  From How to stop WhatsApp 'Yoi may have new messages' notification:




                  As such, though WhatsApp is running and mobile data is turned on, it may not be able to access the internet.
                  It's only recourse is therefore to throw this notification as a guess since I suspect it can’t tell the difference when a poor network is to blame and when its network rights are being micromanaged by the OS.








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 8 hours ago









                  Reddy LutonadioReddy Lutonadio

                  3,5942 gold badges6 silver badges32 bronze badges




                  3,5942 gold badges6 silver badges32 bronze badges































                      draft saved

                      draft discarded















































                      Thanks for contributing an answer to Android Enthusiasts Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f216714%2fhow-do-certain-apps-show-new-notifications-when-internet-access-is-restricted-to%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

                      The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

                      19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу