- Launch the ACME app
- Navigate the user directly to the game’s detail or playback screen
Featured Content deep links
Your Vega OS and Fire OS will use the same Featured Content deep links. To generate Featured Content deep links for Fire OS and Vega OS apps, follow the steps documented in the Generate an Encoded Deep Link Intent for your Content section of “Deep Linking to Featured Content from the Fire TV UI”. The following example shows a Fire OS app’s encoded deep link. This URI is used to configure the featured content in Fire TV.amzns://apps/android?asin=B080PZMHSN#Intent;S.intentToFwd=https%3A%2F%2Fwww.acme.com%2Fsome%2Fshow%2Frrn%3Acontent%3Ashows%3A123456789;end
For the purpose of responding to deep links, the URI consists of two parts: a “header” the Home Launcher uses to route the deep link to your app, and the deep link that your app needs to parse.
Your Vega app receives the decoded version of the URI that comes after S.intentToFwd. You can use any online tools to get this decoded version.
https://www.acme.com/some/show/rrn:content:shows:123456789
Featured Content deep links are OS agnostic. They are identical on Vega and Fire OS and use Android intent-style URIs.
When you receive the deep link you must map the components of the intent fragment to the appropriate React Navigation components.
For information on encoded deep links, see the Encode your Deep Link Intent Using Android Studio step of “Deep Linking to Featured Content from the Fire TV UI”.
Handle featured content Deep Links in your Vega app
Vega uses react-native linking to send and receive messages. The following procedure shows how to receive a message and process it in your app.Step 1: Import the linking library
Step 2: Receive message when app is already open
If the app is running in the foreground or in the background when the deep link is received, the app receives aurl event. To listen for the event, subscribe to the url event by calling Linking.addEventListener().
Step 3: Receive message when app is not open
CallLinking.getInitialURL() on app launch (for example, inside useEffect()) to check whether a deep link initiated the app’s start.
handleDeepLink() function to parse the URL, retrieve the data, and perform the required action.
Test your Deep Link to featured content on Vega
When you sideload the app, it must be linked with the app’s ASIN to test the deep link. In the Fire TV Appstore, ASIN stands for Amazon Standard Identification Number. ASIN is a 10-character alphanumeric string that will look like B080PZMHSN. Your Amazon contact can help you to get your app’s ASIN. Use the following command to install the app linking ASIN. Replace the sample ASIN B080PZMHSN that comes after “store-id=” with your app’s actual ASIN.handleDeepLink() function in the sample code displays the following message.
deeplink-sample - received: https://www.acme.com/some/show/rrn:content:shows:123456789

