<aside>
💡 This page describes the steps to integrate the Toneling SDK into your mobile app.
</aside>
1. Create a new Tonelingo admin account
If you haven’t done so already, the first step is to create a new admin account in the Tonelingo App at https://app.tonelingo.com/sign-up.
Your account then needs to be verified by Speeqo before you can log into the app or start using any features.
<aside>
💡 The email of the account created in this step is where the Speeqo platform will send Reports corresponding to user Voice Records.
</aside>
2**: Add the SDK to Your Project**
- Download
tonelingo.unitypackage and TonelingoSDK.framework.
- Open
tonelingo.unitypackage to import TonelingoPlugin.cs into the same folder.
- Add the example
CSFeedbackManager.cs to your main game scripts folder.
- Drag and drop
TonelingoSDK.framework into Assets/Plugins/iOS.
- Click on the framework file and select 'Load on startup' under 'Plugin load settings' from within the inspector window on the right.
<aside>
💡 To successfully integrate TonelingoSDK into your iOS project, ensure that your project meets the following minimum requirements:
- Unity version 2022.3.13f1 or later.
</aside>
3**: Connect the SDK**
- Add a new 'Persistent Scene' at the root
- Right click on the 'PersistentScene' and select 'GameObject' > 'Create Empty'
- Click add component from the 'Inspector' window, click 'Add Component' and select 'TonelingoPlugin'
- Add the PersistentScene to the build settings.
- Ensure that the 'PersistentScene' is open in the project hierarchy
- Open Build Settings: Go to File > Build Settings... in the Unity Editor.
- Click 'Add Open Scenes'
- Attach
CSFeedbackManager.cs file to a primary referencing component (eg. main menu)
- From the hierarchy window, connect the 'Feedback Object' property to the desired button within the same scene
- The will only enable the button when feedback is available to show and may be customised as needed