1.0.4 • Published 3 years ago
@desertlionio/react v1.0.4
Official Desert Lion React SDK
Links
Usage
- Start using Desert Lion by importing the library.
import desertlion from "@desertlionio/sdk";- Later on, add this to
_app.tsxforNext.jsapplications, and inindex.tsxforReactapplications.
desertlion.init({
appId: "",
userIdentifier: "",
});- Optional - Identify the user later on, only after login.
desertlion.identifyUser({
userIdentifier: "",
});