OneSignal / OneSignal-Xamarin-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
104 stars 50 forks source link

Always getting false responseSuccess method #199

Closed ivandharo closed 4 years ago

ivandharo commented 4 years ago

Description: Hi, when i use the method PostNotification im getting everytime false but the notification works fine.

Environment

  1. What version of the Xamarin SDK are you using? 4.6.0.800
  2. How did you add the SDK to your project (eg. nuget) Nuget

Steps to Reproduce Issue: Here is the code.

        OneSignal.Current.PostNotification(notification, (responseSuccess) =>
        {
            respuestaNotificacion = true;
        }, (responseFailure) =>
        {
            respuestaNotificacion = false;
        });
        return respuestaNotificacion;