LinkFive - Successful Subscriptions

Initialize React Native SDK

Initialize React Native SDK

Read our Getting Started Guide to check how to add the React Native SDK to your project

Initialize the SDK

Use the Api key and initialize the LinkFive SDK pretty early in your code, for example in the didFinishLaunchingWithOptions function of your AppDelegate.

// Get your API key after sign up
await PurchasesSdk.launch('YOUR_API_KEY', 'STAGING');

That's basically it! You are now ready to fetch your subscriptions.

Next: Get All Active Subscriptions

On this page