flutter_vk_sdk

pub package

Flutter vk sdk project.

This plugin is based on:

Installation

First, add flutter_vk_sdk as a dependency in your pubspec.yaml file.

flutter_vk_sdk: ^0.0.6+4

Android

In your android res/values create strings.xml and fill with this examples

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <integer name="com_vk_sdk_AppId">YOUR_VK_APP_ID</integer>
</resources>

iOS

import UIKit
import Flutter
import VK_ios_sdk

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
    override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
        ) -> Bool {
        GeneratedPluginRegistrant.register(with: self)
        return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
    
    override func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
        VKSdk.processOpen(url, fromApplication: "")
        return true
    }
}

Dart usage

Libraries

attachment
flutter_vk_sdk
photos
share_utils
video
vk_access_token
vk_api
vk_method_call
vk_response_parser
vk_scope
vk_share_page
vk_theme
wall