nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

Adding try catch to linkedin return string. #233

Closed hackeo1 closed 8 years ago

hackeo1 commented 8 years ago

Adding try catch to handle exceptions generated when url is not defined, specifically when a user clicks on cancel button it throws and exception on iOS.

nraboy commented 8 years ago

Looks good!

Probably a silly thing to ask, but can I receive confirmation that you've tested that this works?

Thanks,

hackeo1 commented 8 years ago

Yes, Tested on iOS 9.2 in iphone 6+, and iOS Emulator.

nraboy commented 8 years ago

Thank you for contributing!