react-native-vksdk

0.0.3 • Public • Published

react-native-vk-sdk

A wrapper around the iOS VK (VKontakte) SDK for React Native apps.

Setup

  1. Install package: npm install react-native-vksdk
  2. Setup your app for VK iOS SDK
  3. Add VkAppID key to Info.plist preview
  4. Add RCTVkSdkLoginManager.h and RCTVkSdkLoginManager.m to you Libraries. preview

Usage

var Vk = require('react-native-vksdk');
 
// authorize and get token
Vk.authorize()
    .then((result) => {
        // your code here
    }, (error) => {
        // your code here
    });
    
// logout
Vk.logout();
    

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    8
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i react-native-vksdk

Weekly Downloads

8

Version

0.0.3

License

MIT

Last publish

Collaborators

  • doochik