React Native
How to integrate the React Native plugin.
Connecting plugin to your project.
import { service } from "react-native-ecsc-plugin";
import ESCSbutton from "react-native-ecsc-plugin/components/button";
import ESCSWebview from "react-native-ecsc-plugin/components/webView"; <ESCSWebView></ESCSWebView>
<ESCSButton visible={true}></ESCSButton>Integrating plugin into your game.
Initialization
service.invokeManaged({
public_key: '3dd48bec-2e82-4826-8757-fc14d872882d',
base_url: 'https://api.demo.escs.io',
player_base_url: 'https://37b35a72-f8d9-48ca-8cd1-e6690c23637c.player.demo.escs.io',
analyticsEnv: 'prod'
})Start/End Game
Optional steps
Hiding ESCS button
Notifications/Announcements
Additional Considerations
Logging out
Last updated