Search packages, repositories and app categories

Package detailsv1.0.2

share_whatsapp

A Flutter plugin to share content from your Flutter app to the WhatsApp share dialog.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
135
Likes
26
Pub points
140

Install package

flutter pub add share_whatsapp

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables sharing content from your app to WhatsApp via the native share dialog. It supports Android, iOS, and web platforms, allowing users to send text, links, or images through WhatsApp directly from the app. The plugin integrates seamlessly with Flutter’s sharing capabilities and uses platform-specific APIs for reliable functionality. It is ideal for apps aiming to enhance user engagement by simplifying content sharing on WhatsApp.

Use cases

  • Sharing links to WhatsApp
  • Sending text messages via WhatsApp
  • Integrating WhatsApp sharing in social features
  • Enabling quick content distribution
  • Supporting cross-platform sharing

Key features

  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Simple integration with Flutter's sharing system
  • Native WhatsApp share dialog access
  • Supports text and media sharing
  • Open-source and actively maintained

Suitable for

  • Apps with social sharing needs
  • E-commerce apps for product sharing
  • Content-driven applications
  • Mobile apps targeting WhatsApp users
  • Developers seeking easy WhatsApp integration

Considerations

  • Requires WhatsApp installed on target device
  • Web support may have limited functionality
  • iOS requires proper configuration for deep linking
  • User must confirm share action
  • Platform-specific behavior may vary

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Share Whatsapp Plugin

pub package

A Flutter plugin to share content from your Flutter app to the WhatsApp share dialog.

Installation

Add to your flutter project :

flutter pub add share_whatsapp
iOS Specific Installation

Add this to your Info.plist file within Runner folder :

<key>LSApplicationQueriesSchemes</key>
<array>
	<string>whatsapp</string>
</array>

This will ensure that iOS app can use url scheme whatsapp://.

Compatibility

Web Android iOS MacOS Windows Linux
Share Text ✅ ✅ ✅ ✅ ✅ ✅
Share Image ❌ ✅ ✅ ❌ ❌ ❌
Share Text+Image ❌ ✅ ❌ ❌ ❌ ❌
Share to Number ⚠️ ✅ ✅ ❌ ✅ ✅ ✅
Native ✅ ✅
Using wa.me on url_launcher ✅ ✅ ✅ ✅

⚠️ Notes :

  • Mandatory for Web, MacOS, Windows and Linux
  • Optional for Android only.

Author

Alann Maulana (alann-maulana)

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.