Skip to content
pubscout

flutter_line_sdk

3.0.0, released 6 weeks ago by developers.line.biz

Flutter plugin to access native LINE SDKs for LINE Login integration.

WASM-ready
$ flutter pub add flutter_line_sdk
Source repository

What it does

Allows Flutter apps to integrate LINE Login features, letting users authenticate using their LINE credentials or a web page. Provides methods for login, logout, fetching user profiles, access token management, and verification.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to allow users to sign in with their LINE account in your Flutter app.
  • Your app requires LINE login capabilities on iOS 15+ and Android API 24+.

Skip it when

  • Your project targets an older Flutter version below 3.44.0.
  • You do not use LINE Login services.

Strengths

  • Official LINE SDK wrapper for Flutter.
  • Supports automatic token refreshing and profile retrieval.

Weaknesses

  • Requires manual native configuration for iOS and Android (Info.plist, build.gradle).
  • Stict platform requirements (iOS 15.0+, Android minSdk 24, Flutter 3.44+).

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
0

Requires configuring LINE Login channel settings in the LINE Developers console, adding URL schemes/queries in ios/Runner/Info.plist, raising minimum iOS deployment target to 15.0, and updating Android minSdk to 24.

import 'package:flutter_line_sdk/flutter_line_sdk.dart';

void login() async {
    try {
        final result = await LineSDK.instance.login();
        print(result.userProfile?.displayName);
    } on PlatformException catch (e) {
        print(e);
    }
}

Alternatives

Packages that do the same job and could replace flutter_line_sdk.

  • flutter_appauth

    Flutter plugin for OAuth 2.0 and OpenID Connect authentication using native AppAuth SDKs.

  • auth0_flutter

    Auth0 SDK for Flutter to integrate Auth0 authentication into mobile, desktop, and web apps.

  • at_client

    Client SDK for building apps on the atProtocol with end-to-end encryption.

  • didit_sdk

    Didit Identity Verification SDK for Flutter document scanning and NFC.