venmo / venmo-ios-sdk

Make and accept payments in your iOS app via Venmo
MIT License
178 stars 57 forks source link

modify requestPermissions method to open SFSafariViewController #124

Open ayunav opened 8 years ago

ayunav commented 8 years ago

Pull request title: modify requestPermissions method to open SFSafariViewController to comply with AppStore requirements

Comment: Apple testers rejected an app that uses Venmo API, because authorization request session currently opens in Safari browser. Apple testers think that it is a bad user experience and required to implement it using SFSafariViewController instead, so a user doesn't have to leave an app to authorize access to their Venmo account.