Developer Guide

Unity Example Project

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

  1. Import example from UPM:
  2. Open the Project in Unity:
    • Launch Unity Hub.
    • Add the existing project by selecting the com.reteno.example folder.
  3. Configure the SDK:
    • Open Assets > Reteno > Settings.
    • Enter your Access Key.
  4. 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.

Useful Links