Deep Links for the React Native Module

Configure deep link handling for Airship messaging.

Deep linking allows Airship messaging to open your app to specific resources or screens. When a user interacts with a message (notification, in-app message, etc.), the deep link can navigate them directly to the relevant content in your app.

The SDK provides a way to listen for deep links so you can handle them in your app. This handler receives all deep links except for Message Center and Preference Center display requests, which are handled automatically by their respective features.

 Note

For Message Center and Preference Center display requests, see Message Center: Getting Started and Preference Center: Getting Started.

Airship.addListener(EventType.DeepLink, (event) => {
   const deepLink = event.deepLink;
   // Handle deep link
});