pagecall_flutter 1.0.1 copy "pagecall_flutter: ^1.0.1" to clipboard
pagecall_flutter: ^1.0.1 copied to clipboard

PlatformAndroidiOS
outdated

Pagecall Flutter plugin

Official Pagecall Flutter SDK #

This is the official Pagecall Flutter SDK developed and maintained by Pagecall Inc.

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  pagecall_flutter: <latest_version>

For Android build, generate Github access token with read:packages scope on Github profile setting, then set GITHUB_USERNAME and GITHUB_TOKEN for your environment variables or put these as properties of the Android root project when running your app.

GITHUB_USERNAME=<username> GITHUB_TOKEN=<token> flutter run  # when running as command

For iOS build, in Info.plist of your iOS workspace, make sure you set NSMicrophoneUsageDescription. Also, those UIBackgroundModes should be enabled: audio, fetch, voip.

Usage #

Check the following Dart code or example directory of this repository.

PagecallViewController? _pagecallViewController;
...
Expanded(
  child: PagecallView(
    mode: "meet",
    roomId: "<room id>",
    accessToken: "<access token>",
    onViewCreated: (controller) {
      _pagecallViewController = controller;
    },
    onLoaded: () {
      debugPrint('onLoaded');
    },
    onMessage: (message) {
      debugPrint('Received message=$message');
    },
    onTerminated: (reason) {
      debugPrint('onTerminated')
    },
    debuggable: true,
  ),
),
...
_pagecallViewController?.sendMessage(message);  // when invoking sendMessage

Compatibility #

The following matrix lists the minimum support for Pagecall Flutter SDK version.

Pagecall Flutter iOS Android minSdk
1.0.+ 14+ 24+

Need Help? #

Visit Pagecall

1
likes
110
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Pagecall Flutter plugin

Documentation

API reference

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on pagecall_flutter

Packages that implement pagecall_flutter