Android local notifications

Comments

1 comment

  • Avatar
    Max Konev

    Hi,

    Please see PushNotificationsAndroid.cs script that comes with Pushwoosh Unity plugin. You can use this method for local notifications:

    public void scheduleLocalNotification(string message, int seconds, string userdata)
    

    This method uses native Android local notifications system (so you see the alert even if there is no connection).

    However there are some cons to this approach. To change local notifications logic you have to update an application, with push notifications you can separate this logic. Of course it depends what you are using local notifications for :)

Please sign in to leave a comment.