How to get the device token from new xCode 8, Swift 3 in iOS 10?
Here is the code to register notification:
Code from Mixpanel library
let tokenChars = (deviceToken as NSData).bytes.assumingMemoryBound(to: CChar.self) var tokenString = "" for i in 0..