Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Playhub Plugin

React native plugin in order to implement playhub.

Requirements

Before starting, please install libraries below.

  • axios
  • react-native-device-info
  • @react-native-firebase/dynamic-links
  • @react-native-community/async-storage
  • crypto-js

Installation

yarn add @omerdogan3/react-native-playhub

Usage

Call initialize function on first open.

import {initialize} from  '@omerdogan3/react-native-playhub';

useEffect(()=> {
	initialize();
}, [])

Send event functions in app.

import {highScore, readChapter, levelUp, scanBarcode} from  '@omerdogan3/react-native-playhub';

highScore(100)
readChapter(10)
levelUp(5)
scanBarcode(10)

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages