/// <summary> /// SendNotification /// </summary> public void SendNotification(string action, string gcmToken, string message) { AndroidGCMPushNotification notification = new AndroidGCMPushNotification(); if (action == "UR") { notification.SendNotification(action, "Welcome to ClearTrash! Your REF_CODE is " + message, gcmToken); } else if (action == "UN") { notification.SendNotification(action, message, gcmToken); } }
/// <summary> /// SendNotification /// </summary> public void SendNotification(string gcmToken, string referralCode) { AndroidGCMPushNotification notification = new AndroidGCMPushNotification(); notification.SendNotification("Welcome to ClearTrash! Your REF_CODE is " + referralCode, gcmToken); }