vkid_flutter_sdk 1.0.0-alpha.1 copy "vkid_flutter_sdk: ^1.0.0-alpha.1" to clipboard
vkid_flutter_sdk: ^1.0.0-alpha.1 copied to clipboard

VK ID SDK for Flutter is the most comprehensive library for user authentication via VK ID, officially supported by VK.

vkid_flutter_sdk #

VK ID SDK Logo

VK ID SDK for Flutter is the most comprehensive library for user authentication via VK ID, officially supported by VK.

The SDK includes an API for OAuth 2.1 authorization, allows integration of VK ID elements, including one tap login buttons using VK, Mail and OK accounts as well as popups with similar functionality, and enables access to user data.

Requirements #

  • Flutter version 3.10.6 or later
  • Dart version matching Flutter version 3.0.6 or later

Make sure to also check the platform-specific limitations.

Android #

  • Android SDK 21 or later
  • Java 11 or later
  • Kotlin 2.0.20 or later

iOS #

  • iOS 12.0 or later
  • Swift 5.9 or later
  • Xcode 15.2 or later

SDK installation #

Run the following command:

flutter pub add vkid_flutter_sdk

This will add the following text to your pubspec.yaml:

dependencies:
    vkid_flutter_sdk: 1.0.0-alpha.1

You can also manually add the provided text to your pubspec.yaml without running the flutter pub add command.

Documentation #

Demo #

Install Flutter #

https://docs.flutter.dev/get-started/install

Change the Flutter version

cd /your/path/to/flutter
git checkout 3.10.6
flutter --version

Download the project and run the demo #

  1. Check that all necessary Flutter components are installed.
flutter doctor
  1. View the list of available emulators and simulators.
flutter emulators
  1. Create an emulator or simulator if none are available.
flutter emulators --create --name example_emulator
  1. Launch the emulator or simulator.
flutter emulators --launch example_emulator
  1. Add parameters for sample.

Android: Add the following to the example/android/local.properties file:

VKIDClientSecret=YOUR_CLIENT_SECRET
VKIDClientID=YOUR_CLIENT_ID

iOS: Add the following to the example/ios/AppCredentials.xcconfig file:

VK_APP_CLIENT_ID=YOUR_CLIENT_ID
VK_APP_CLIENT_SECRET=YOUR_CLIENT_SECRET

YOUR_CLIENT_SECRET and YOUR_CLIENT_ID are data generated in the VK ID authorization service when creating an app. They are stored there as well, in the App section.

  1. Install iOS dependencies.
cd example/ios
pod install --repo-update
cd ../../
  1. Run the demo in the example directory.
cd example
flutter run
8
likes
0
points
395
downloads

Publisher

unverified uploader

Weekly Downloads

VK ID SDK for Flutter is the most comprehensive library for user authentication via VK ID, officially supported by VK.

Homepage

License

unknown (license)

Dependencies

collection, dio, flutter, material, plugin_platform_interface, synchronized

More

Packages that depend on vkid_flutter_sdk

Packages that implement vkid_flutter_sdk