Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#pragma mark - Schemes

 
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
    [self handleScheme:url];
    return YES;
}

- (BOOL)application:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options
{
    [self handleScheme:url];
    return YES;
}

- (void)handleScheme:(NSURL *)scheme
{
	// Your implementation of a url scheme.
	// When the app is in the foreground and a notification arrives, the SDK does not display the notification 
	// Make sure you set the behaviour to handle cases when app is in the foreground/background
}