Push notficatons limt both by number and time

Comments

5 comments

  • Avatar
    Nikita Ovchinnikov

    Hello,

    Please allow me to answer your questions.

    On android there is a limit on how many messages can be stored without collapsing. That limit is currently 100. If the limit is reached, all stored messages are discarded.

    Would you be so kind to elaborate on what do you exactly mean here with 100 limit? It is currently not clear.

    it is only one message which it keeps if the device is online for a particular client

    You could use setMultiNotificationMode or setSingleNotificationMode function to interact with Pushwoosh Push Notifications plugin as you like.

    How may days do you keep the notification if the device is offline

    It depends on "ios_ttl" and "android_gcm_ttl" parameters, which determines maximum lifespan of a message in seconds. Maximum limit is up to 7 days.

    Regards, Nikita

  • Avatar
    Vidya S Tal

    Regarding the number 100, please refer to the following URL which should give you the complete picture ( https://developers.google.com/cloud-messaging/concept-options) Please refer to the section Collapsible and non-collapsible messages. There is an explanation given what that 100 number is.

  • Avatar
    Nikita Ovchinnikov

    As far as i understood, there is actually such a limitation, according to Google documentation.

    I would like to emphasise that this is Android platform and GCM/FCM limitation on push notification handling which is in no way affiliated with any of the Pushwoosh restrictions.

    For instance, If you want to do so, you even could send thousands of push notification to the one particular user. However, user device will be handling them according to the Android platform and GCM policy, that states that only 100 notifications could be simultaneously stored without collapsing.

    Regards, Nikita

  • Avatar
    Vidya S Tal

    Are you saying that pushwoosh is dependent on GCM server ? Also take a scenario that the user has switched off the network. At this point of time, if 1000 notifications are sent to him, then when the user comes back into the network at some later point of time (say after a day or two), then will all the 1000 notifications be delivered or the most recent 100 will be sent ? This limitation is present in Android GCM servers. So is this limitation also carried over to pushwoosh ?

  • Avatar
    Nikita Ovchinnikov

    Are you saying that pushwoosh is dependent on GCM server

    Please note that Pushwoosh send notifications to GCM\FCM for Android platform users and to APNS for iOS platform users.

    Talking about the scenario that you have presented.

    1000 requests will be sent to GCM\FCM from the Pushwoosh servers. When the user device comes back online, all pushes will be sent to that device from GCM\FCM. But because of the Android platform notification limit restriction, only 100 of them will be displayed on the user device without collapsing.

Please sign in to leave a comment.