public override void FailedToRegisterForRemoteNotifications (UIApplication application, NSError error)
{
//Registering for remote notifications failed for some reason
//This is usually due to your provisioning profiles not being properly setup in your project options
// or not having the right mobileprovision included on your device
// or you may not have setup your app's product id to match the mobileprovision you made
SystemLogger.Log (SystemLogger.Module.PLATFORM, "Failed to Register for Remote Notifications: " + error.LocalizedDescription);
RegistrationError registrationError = new RegistrationError();
registrationError.Code = ""+ error.Code;
registrationError.LocalizedDescription = error.LocalizedDescription;
PushNotificationsUtils.FireUnityJavascriptEvent("Appverse.PushNotifications.OnRegisterForRemoteNotificationsFailure", registrationError);
}