@lukasandreano/capacitor-vk-auth
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

Capacitor Plugin VK Auth

Install

Use Yarn

yarn add @lukasandreano/capacitor-vk-auth

Use NPM

npm i @lukasandreano/capacitor-vk-auth

Using

VKAuth.initWithId({ id: '7569443' })
VKAuth.auth({ scope: ['offline'] });
VKAuth.addListener("vkAuthFinished", (info) => {
    console.log("vkAuthFinished was fired", JSON.stringify(info, null, 2));
});

Setup VK APP

Setup App in vk.com/dev

Create Standalone-application

Example both for Android & IOS

P.S. Setup for ios is unnecessary

Android

Click to open useful docs for android

Add VK APP ID to app/res/values/strings.xml

IOS

Insert vkID into your Info.plist file like this

Click to open useful docs for ios

Only for IOS 9

Click to open settings for IOS 9

Support

For any support create an issue and describe your problem, we can help you with our plugin ;)

Package Sidebar

Install

npm i @lukasandreano/capacitor-vk-auth

Weekly Downloads

0

Version

3.0.3

License

MIT

Unpacked Size

24.3 kB

Total Files

44

Last publish

Collaborators

  • lukasandreano