HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Show Notification

You can use this API to show a notification when you know that it is Instabug related.

if let notification = launchOptions?[.remoteNotification] as? [String: AnyObject] {
   let isInstabugNotification = Replies.didReceiveRemoteNotification(notification)
 }
NSDictionary *notificationDictionary = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];

BOOL isInstabugNotification = [IBGReplies didReceiveRemoteNotification:notificationDictionary];
if(Replies.isInstabugNotification(data)){
  //Show notification related to Instabug
  Replies.showNotification(data);
}
if(Replies.isInstabugNotification(data)){
  //Show notification related to Instabug
  Replies.showNotification(data)
}