After the NativeModules created, it's possible to use the SDK in the ReactNative app.
This is an example for a RN app:
https://github.com/Mysize/react_native_mysize_sdk_demo
onStartButtonDidTap = () => {
MySizeSDKBodyUI.configureWith("SOME_CODE", "SOME_SECRET");
MySizeSDKBodyUI.startUIFor(this.state.userId);
}
render() { <Button
title="Start"
onPress={this.onStartButtonDidTap} /> }
Comments
0 comments
Article is closed for comments.