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

[Feature] SetLanguage callback #297

Closed tanaynigam closed 2 years ago

tanaynigam commented 2 years ago

Description

One Line Summary

Add SetLanguage callback implementation to OneSignal Xamarin

Details

Motivation

SetLanguage callback returns true or false to signify success or failure when executing the setLanguage method on an app.

Scope

Testing

Manual testing

Affected code checklist

Checklist

Overview

Testing

Final pass


This change is Reviewable

tanaynigam commented 2 years ago

We're using delegate styles in specific scenarios such as OSUpdateLanguageSuccessBlock, OSEmailSuccessBlock and OSEmailFailureBlock predefined in the bindings that do not take any arguments in their delegate causing lambda functions to throw errors