SimplicityMobile / Simplicity

A simple way to implement Facebook and Google login in your iOS apps.
Apache License 2.0
681 stars 66 forks source link

added support for VKontakte (aka VK.com) #12

Closed 4ndrey closed 7 years ago

4ndrey commented 7 years ago

Resolving issue https://github.com/SimplicityMobile/Simplicity/issues/3 Please review and merge if needed.

edjiang commented 7 years ago

Hey @4ndrey, this is awesome! Let me try to test this and merge tomorrow along with Instagram, and get a new version out.

4ndrey commented 7 years ago

Great! Let me know if you have questions ;)

edjiang commented 7 years ago

Looks great! I'm going to merge, but there is a part of your documentation that's a off (it mentions Instagram) so I'm going to fix that before releasing.

edjiang commented 7 years ago

VK is live on Cocoapods under 1.0.2!

Keep in mind with the new cocoapods, you might have to manually pod update to see the new version.

Simplicity.login(VKontakte()) { (accessToken, error) in
  // Handle access token here
}

Thanks so much for your help, @4ndrey! Would love to have you hang out on the Stormpath slack as well: https://talkstormpath.shipit.xyz

4ndrey commented 7 years ago

great news, thanks! yes, sorry for typos - initially it was copy-pasted from Instagram login privider, that's why there were some mentions of it.