Skip to content

pfd/ua-unity-plugin

 
 

Repository files navigation

Urban Airship Unity Plugin

A Unity plugin that integrates the iOS and Android Urban Airship SDK.

Download

Contributing Code

We accept pull requests! If you would like to submit a pull request, please fill out and submit a Code Contribution Agreement (http://docs.urbanairship.com/contribution-agreement.html).

Requirements

  • Unity 5
  • iOS - Xcode 8.3+ for iOS
  • Android - Android SDK installed and updated (requires Android MinSdkVersion = 16)

Resources:

Third Party Packages

  • Google Play Services Jar Resolver Library for Unity - Apache License

Quickstart

  1. Download the latest plugin
  2. Import Urban Airship unitypackage: In Unity, Assets -> Import Package -> Custom Package
  3. Configure Urban Airship: In Unity, Window -> Urban Airship -> Settings

An example script is provided in 'Scripts/UrbanAirshipBehaviour.cs'. Import into your app's scripts and attach it to a game object in each scene. The script shows a very basic integration with Urban Airship.

iOS

Enable Push Notifications in the project editor's Capabilities pane:

Alt text

To add support for iOS 10 notification attachments, you will need to create a notification service extension. Detailed steps can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 57.9%
  • Objective-C 21.4%
  • Java 20.7%