Urban Airship Android 8.0.1 SDK requires the minimum sdk version to be 16.
Xcode 8+ is required for Urban Airship iOS 8.0.1 SDK.
Manually enable Push Notifications in the project editor's Capabilities pane:
The Android Application override has been removed. Existing installations may need
to remove the UrbanAirshipApplication entry from Assets/Plugins/Android/AndroidManifest.xml
.
The UA Unity Plugin 2.0.0 updates the interface to use C# properties and events. Please refer to Unity Plugin reference for the latest API docs.
The plugin is now an instance UAirship.Shared
instead of a collection of static methods.
The following methods have been removed and replaced with events:
// methods removed
public static void AddListener(GameObject gameObject)
public static void RemoveListener(GameObject gameObject)
// new events
public PushReceivedEventHandler OnPushReceived
The following methods have been removed and replaced with properties:
// methods removed
public static bool IsPushEnabled()
public static void EnablePush()
public static void DisablePush()
// new property
public bool UserNotificationsEnabled
// method removed
public static string GetTags()
// new property
public IEnumerable< string > Tags
// methods removed
public static void SetAlias(string alias)
public static string GetAlias()
// new property
public string Alias
// method removed
public static string GetChannelId()
// new property
public string ChannelId
// methods removed
public static bool IsLocationEnabled()
public static void EnableLocation()
public static void DisableLocation()
// new property
public bool LocationEnabled
// methods removed
public static bool IsBackgroundLocationEnabled()
public static void EnableBackgroundLocation()
public static void DisableBackgroundLocation()
// new property
public bool BackgroundLocationAllowed