mParticle-UrbanAirship 8.2.1

mParticle-UrbanAirship 8.2.1

TestsTested
LangLanguage Obj-CObjective C
License NOASSERTION
ReleasedLast Release Apr 2024

Maintained by Peter Jenkins, Sam Dozor, mParticle Developers.



 
Depends on:
mParticle-Apple-SDK/mParticle~> 8.0
Airship~> 17.7
 

UrbanAirship Kit Integration

This repository contains the Airship integration for the mParticle Apple SDK.

Adding the integration

  1. Add the kit dependency to your app's Podfile:

    pod 'mParticle-UrbanAirship', '~> 7.0'
    
  2. Follow the mParticle iOS SDK quick-start, then rebuild and launch your app, and verify that you see "Included kits: { UrbanAirship }" in your Xcode console

(This requires your mParticle log level to be at least Debug)

  1. Reference mParticle's integration docs below to enable the integration.

Push Registration

Push registration is not handled by the Airship SDK when the passive registration setting is enabled. This prevents out-of-the-box categories from being registered automatically.

Registering out-of-the-box categories manually can be accomplished by accessing the defaultCategories class method on MPKitUrbanAirship and setting them on the UNNotificationCenter:

    UNUserNotificationCenter.current().requestAuthorization(options: [UNAuthorizationOptions.alert]) { (success, err) in
        UNUserNotificationCenter.current().setNotificationCategories(MPKitUrbanAirship.defaultCategories())
    }

Documentation

Airship integration

License

Apache License 2.0