A plugin for snapchat Login. Please make some changes to work this plugin

Step 1

    please go to and make your app register
    there and get the redirect url and your snap chat client for android and

Step 2

For Android

    Make some changes in android manifest and other like

In android manifest

        android:value=“your client id” />
        android:value=“your redirect url“ />
        android:resource="@array/snap_connect_scopes" /> <!-- This should be a string array of scopes !-->

    <activity android:name="com.snapchat.kit.sdk.SnapKitActivity"


    <actionandroid:name="android.intent.action.VIEW" />

    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />

        android:host=“your host from redirect url” //sanp-chat
        android:path=“your path“ // /oauth2
        android:scheme=“your scheme” /> //snapChat


App gradle inside dependencies


Build gradle inside all projects

    maven {
          url ""

Values folder make an array.xml and paste below

<?xml version="1.0" encoding="utf-8"?>
    <string-array name="snap_connect_scopes">

Step 3

For iOS

    •	Client ID from the developer portal
    •	iOS version 10.1+

Make changes in your info plist

In AppDelegate please add

override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
    return SCSDKLoginClient.application(app, open: url, options: options)

please add in pod file

 pod 'SnapSDK'


<string>your redirect url</string>

<string>your client id</string>
    suppose your redirect url is myapp://snap-kit/oauth2




Step 4

To use it

For Login just call

SnapchatFlutterPlugin.snapchatLogin.then((onValue) {
    // cast onvalue to the map of string , dynamic 

In return you get the map for the data of name, id an pic cast it as a dynamic if you get success then return map else it will return String if any issue found.

For Logout

await SnapchatFlutterPlugin.snapchatLogout;

return type is dynamic

Thanks for removing the deprecated method.

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.