Skip to content
pubscout

zalo_flutter

0.0.8, released 2 years ago by an unverified publisher

Add Zalo login, get user info, and handle authentication in Flutter

Unverified publisher
$ flutter pub add zalo_flutter
Source repository

What it does

Allows Flutter apps to authenticate users via Zalo (using native app or webview), validate refresh tokens, log out, and fetch user profile information.

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

Use it when

  • You need to support Zalo social login in your Flutter application.
  • You want to retrieve Zalo user profiles and profile pictures.

Skip it when

  • You do not need Zalo integration and can rely on standard authentication providers like Google or Apple.

Strengths

  • Simplifies Zalo login and API integration for Flutter developers.
  • Supports both Android and iOS platforms.

Weaknesses

  • Requires manual native configuration for Android (Gradle, Manifest, Kotlin/Java application wrapper) and iOS (Info.plist, AppDelegate).
  • Under development, some APIs might not be available yet.

Setup

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

Requires creating a Zalo app, configuring Android Manifest, strings.xml, overriding Android Activity/Application in Kotlin or Java, and modifying iOS Info.plist and AppDelegate.swift.

import 'package:zalo_flutter/zalo_flutter.dart';

final data = await ZaloFlutter.login(
    refreshToken: refreshToken,
);

Alternatives

Packages that do the same job and could replace zalo_flutter.

Works with

Packages commonly used together with zalo_flutter: ones it builds on, ones built on it, and its own family.