add a feature to generate device_token for iOS