public void OnSuccess(JSONObject jsonObject) { Dictionary <string, object> dict = null; if (jsonObject != null) { dict = Json.Deserialize(jsonObject.ToString()) as Dictionary <string, object>; } OneSignal.onPostNotificationSuccess(dict); }
public void PostNotificationSuccessHandler(Foundation.NSDictionary result) { Dictionary <string, object> dict = NSDictToPureDict(result); OneSignal.onPostNotificationSuccess(dict); }