@evamp_saanga_npm/gamification-sdk
The Gamification React Native SDK provides a simple and effective way to integrate gamification features into your React Native app. The SDK displays a horizontal widget of games, which opens each game in a WebView. When a user finishes a game, a popup is shown with the points they earned.
- React Native 0.68 or higher
- Node.js 14+
- No additional dependencies are required for basic functionality.
Add the SDK to your project using npm or yarn:
npm install @evamp_saanga_npm/gamification-sdk
yarn add @evamp_saanga_npm/gamification-sdk
Once the SDK is installed, you can simply import and use the GameWidget
component.
import GameWidget from "@evamp_saanga_npm/gamification-sdk";
const App = () => {
return <GameWidget />;
};
export default App;
- GameWidget: The main component that displays a horizontally scrollable widget of games.
- Upon tapping a game, it opens the game in a WebView.
- When the game ends, a popup shows the points the user earned.
The SDK is designed to work out of the box with zero configuration. At the moment, customization options are limited, but future versions may allow for:
- Custom styling for the widget and popup.
- Passing a list of available games dynamically.
For now, the component handles everything automatically.
Evamp & Saanga
This SDK is licensed for internal use by authorized users of Evamp & Saanga only. Redistribution, modification, or external use without prior written consent is strictly prohibited. See the LICENSE file for full terms.
✅ Stable and in production use.
Currently, this SDK is not open for contributions. If you're an internal developer at Evamp & Saanga, please follow internal guidelines for modifying or extending the SDK.