Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // temp
- func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) {
- let mixpanel = Mixpanel.sharedInstance()
- if let user = LUVApi.sharedInstance().currentUser {
- mixpanel.identify(user.id)
- mixpanel.people.addPushDeviceToken(deviceToken)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement