A wrapper around the iOS VK (VKontakte) SDK for React Native apps.
MIT License
A wrapper around the iOS VK (VKontakte) SDK for React Native apps.
npm install react-native-vksdk
VkAppID
key to Info.plist
RCTVkSdkLoginManager.h
and RCTVkSdkLoginManager.m
to you Libraries.
var Vk = require('react-native-vksdk');
// authorize and get token
Vk.authorize()
.then((result) => {
// your code here
}, (error) => {
// your code here
});
// logout
Vk.logout();