public override void OnDidDismissInAppMessage(OneSignaliOS.OSInAppMessage message)
 {
     _instance.InAppMessageDidDismiss?.Invoke(NativeConversion.InAppMessageToXam(message));
 }
 public static InAppMessage InAppMessageToXam(OneSignaliOS.OSInAppMessage inAppMessage)
 {
     return(new InAppMessage {
         messageId = inAppMessage.MessageId
     });
 }
 public override void OnWillDisplayInAppMessage(OneSignaliOS.OSInAppMessage message)
 {
     _instance.InAppMessageWillDisplay?.Invoke(NativeConversion.InAppMessageToXam(message));
 }