No description or website provided.
Objective-C C# Java
Latest commit a15aa0c Jan 10, 2017 @hcrowell hcrowell committed on GitHub Merge pull request #50 from urbanairship/MB-2091
Release 3.2.2
Permalink
Failed to load latest commit information.
Assets Debug log extras. Jan 11, 2017
android-plugin-lib Update copyright 2017 Jan 11, 2017
docs
gradle/wrapper
.gitignore
CHANGELOG
CONTRIBUTORS
COPYING Update copyright 2017 Jan 11, 2017
README.md [MB-1972] Update README with link to unity docs for iOS service exten… Oct 17, 2016
airship.properties Release 3.2.2 Jan 10, 2017
build.gradle
gradlew
gradlew.bat Initial Release Jan 26, 2015
settings.gradle [MB-1673] Generate API docs Mar 15, 2016
unity-enable-push.png

README.md

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+ 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.

Manually Building the Plugin

To build the plugin from source, do the following:

  1. Install doxygen, Android SDK, Xcode, and Unity
  2. Build the plugin with ./gradlew clean build

Docs will be available in docs/build/html and a unitypackage will be created in build/. If an error occurs, the unity.log file is available in the build directory.

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.