Deep Linking
Overview of how the SDK handles deep links and how to perform custom navigation within your application
Last updated
import PushSDK, { NotificationInteraction } from '@pushly/push-sdk-react-native';
...
PushSDK.registerNotificationLifecycleCallbacks({
onPushSDKDidReceiveNotificationDestination(
destination: string,
interaction: NotificationInteraction
): boolean {
// Navigate to a activity within your application using the destination (the Landing URL)
// Return true to inform the SDK that it should not navigate
return true;
}
});onPushSDKDidReceiveNotificationDestination(
destination: string,
interaction: NotificationInteraction
): boolean {
// Navigate to a activity within your application using the destination (the Landing URL)
// Return true to inform the SDK that it should not navigate
return true;
}