Merge pull request #11 from kudos/master

Support new device type of IOS
Make error handler call error callback