/react-native-sample-app

react native sample app having Singular SDK implementation

Primary LanguageJavaScriptMIT LicenseMIT

Singular's React Native Sample App

Overview

This app demonstrates Singular's best practices for implementing the React Native SDK.

This sample contains examples of:

  • Initializing the SDK
  • Setting custom user id
  • Sending custom events
  • Sending simple revenue events
  • Handling deep links / deferred deep links

Getting Started

To run the sample app you'll have to configure your own API Key / Secret as follows:

  1. Retrieve the API Key & Secret from your account's SDK Keys page
  2. Open the App.js file and replace the values of <API_KEY> & <API_SECRET> with your credentials