The com.reteno.example
project demonstrates the basic usage of the Reteno Unity Plugin. It includes practical code samples and scenarios for integrating the plugin’s features into a real-world application.
Project Features
- SDK Initialization: Shows how to initialize the SDK with proper configuration.
- Push Notifications: Demonstrates how to request and handle push notification permissions.
- User Management: Provides examples of setting attributes for both registered and anonymous users.
- In-App Messages: Explains how to pause and control in-app messages.
- Event Tracking: Logs custom events and screen views for analytics.
- Product Recommendations: Retrieves and logs product recommendations.
How to Run the Project
- Import example from UPM:
- Open the Project in Unity:
- Launch Unity Hub.
- Add the existing project by selecting the
com.reteno.example
folder.
- Configure the SDK:
- Open
Assets > Reteno > Settings
. - Enter your
Access Key
.
- Open
- Run the Application:
- Deploy the app on your device or emulator to see the SDK in action.
Project Structure
com.reteno.example/Runtime/
— Contains scripts for integrating the Reteno SDK.com.reteno.example/Runtime/Configs
— Contains Reteno settings and resources.com.reteno.example/
— Unity scenes that demonstrate the features.