added ios-token generation