Skip to content

Instantly share code, notes, and snippets.

@rishabhgrg
Last active December 7, 2016 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rishabhgrg/2be35f99b6c5a515a9a252f3dfbdb8b5 to your computer and use it in GitHub Desktop.
Save rishabhgrg/2be35f99b6c5a515a9a252f3dfbdb8b5 to your computer and use it in GitHub Desktop.
Import and initialize SDK
import RNHyperTrack from 'react-native-hypertrack';
...
export default class MyApp extends Component {
constructor() {
super();
// Initialize HyperTrack wrapper
RNHyperTrack.initialize(config.HT_PUBLISHABLE_KEY);
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment