3.0.3 • Published 1 year ago
@lukasandreano/capacitor-vk-auth v3.0.3
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 ;)