Unity plugin V6 integration guide for developers

At a glance: The AppsFlyer Unity plugin provides app attribution and event reporting functionality to Android and iOS mobile apps developed on the Unity development platform. The plugin is functionally equivalent to the AppsFlyer iOS and Android SDKs.

Unity.png

 Unity V6 support for iOS 14

The Unity plugin V6 includes support for iOS 14 and has significant API method changes from previous versions. Migrating to Unity V6 from a previous version causes breaking changes. These changes include new APIs, different classes and package names, and the removal of: com.appsflyer.GetDeepLinkingActivity

To update your plugin from an earlier (V5) version, see our guide on migrating to the V6 beta (requires updating the Unity package).

 Note

Unity plugin V4 is deprecated. The V4 integration guide is available for download in PDF format (link below).

Unity plugin V6

The Unity plugin V6 enables the development of iOS and Android apps using the Unity real-time platform. Based on the AppsFlyer mobile SDKs, it implements the same methods and supports the equivalent functionality of the platform-specific (iOS and Android) SDKs. The plugin is open-source and available on GitHub. In this article, the terms plugin and SDK are used interchangeably. 

1. Overview—Unity V6

Mobile apps developed on the Unity platform use a common AppsFlyer plugin for both the Android and iOS platforms.

Tab Content Result

[Mandatory] Integration

Add and configure the plugin

App dashboard shows:

  • New organic install
  • New non-organic install

[Recommended]
Core APIs

Use the plugin core APIs to:

  • Measure in-app events
  • Measure revenue
  • Perform deep linking
  • Gather conversion data

App dashboard shows:

  • In-app events
  • Revenue

Ready to:

  • Perform deep linking

Additional APIs

Implement and use optional APIs for:

  • Uninstall measurements
  • Referrals (user invite attribution)
  • Push notifications

Ready to:

  • Measure uninstalls
  • Referrals
  • User engagements with push notifications
  • Handle user privacy scenarios and more.

API reference

Quick SDK API reference for developers
Action list to integrate the Unity plugin into your apps

 

Was this article helpful?