aircloud_whatsapp 0.0.1 copy "aircloud_whatsapp: ^0.0.1" to clipboard
aircloud_whatsapp: ^0.0.1 copied to clipboard

Aircloud WhatsApp is a Flutter package that enables seamless integration of WhatsApp chat features with AircloudComm's API. It provides tools for authenticating users, sending and receiving messages, [...]

Aircloud WhatsApp #

A Flutter package for integrating WhatsApp chat functionality with AircloudComm's API.

Features #

  • Authenticate users via AircloudComm
  • Send and receive WhatsApp messages
  • Real-time messaging using WebSocket
  • Persistent storage using GetStorage
  • REST API integration for chat/message management

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  aircloud_whatsapp:

Run flutter pub get to install dependencies.

Usage #

Initialize the client:

import 'package:aircloud_whatsapp/aircloud_whatsapp.dart';

void main() async {
  final client = await AircloudClient.initialize(
    aircloudKey: 'YOUR_API_KEY',
    restUrl: 'https://api.aircloudcomm.com/',
  );
  // Use client.message, client.realtime, etc.
}

Send a message:

await client.message.sendMessage({
  'roomID': 'room123',
  'message': 'Hello, World!',
});

Listen for real-time messages:

client.realtime.listen((msg) {
  print('Received: $msg');
});

Contributing #

Feel free to open issues or submit pull requests. For major changes, please open an issue first to discuss what you would like to change.

License #

0
likes
120
points
66
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Aircloud WhatsApp is a Flutter package that enables seamless integration of WhatsApp chat features with AircloudComm's API. It provides tools for authenticating users, sending and receiving messages, real-time communication via WebSocket, and persistent local storage. Designed for developers building chat-enabled apps, this package simplifies WhatsApp messaging and management using modern Flutter and Dart practices.

Homepage

License

MIT (license)

Dependencies

collection, dio, equatable, flutter, get_storage, http, logging, meta, web_socket_channel

More

Packages that depend on aircloud_whatsapp