This app demonstrates how to integrate the Urban Airship and the Zendesk mobile SDK.
Pull requests are welcome.
The following guide is based off:
Urban Airship iOS integration guide
Zendesk iOS Embeddable getting started
- Install Cocoapods if you have not already done so:
gem install cocoapods
. - Download the Zendesk SDK into the project. Run
pod install
in the top level directory of the project. - Open the newly created workspace.
- Setup Urban Airship with the app. This step has been partially completed.
- You will have to create an app in the Apple Developer member center. You will then need change the Bundle Identifier in the project to match the app you created in the member center.
- Add your development app key and app secret key to the Airship.plist file as outlined here..
- Add your app key and app master secret key to your Zendesk under Admin -> Mobile SDK -> <Your app name> -> Customization. The push notifications drop down must be set to "Urban Airship".
- In AppDelegate.m insert your application ID, zendesk URL and client ID into the indicated strings. The app uses an Anonymous identity by default. You can change this to JWT if needed.
- You should now be able to run the app. Register for push then create a ticket, Help Center -> Contacts Us -> New. Replying to this ticket in your Zendesk will send a push notification to the device if everything is setup correctly.
By downloading or using the Zendesk Mobile SDK, You agree to the Zendesk Master Subscription Agreement https://www.zendesk.com/company/customers-partners/#master-subscription-agreement and Application Developer and API License Agreement https://www.zendesk.com/company/customers-partners/#application-developer-api-license-agreement and acknowledge that such terms govern Your use of and access to the Mobile SDK.