パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.0.3

google_meet_sdk

Flutterパッケージで、プロジェクトにGoogle Meetを追加するのを支援し、カレンダーイベントの作成、編集、削除もサポートし、参加者に通知します。

AndroidiOS
30日間ダウンロード
16
いいね数
30
Pub ポイント
140

パッケージをインストール

flutter pub add google_meet_sdk

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

google_meet_sdk は、モバイルアプリケーションに Google Meet を統合してシームレスなビデオ会議を実現するための Flutter パッケージです。カレンダーイベントの作成・編集・削除をサポートし、ユーザーがアプリから直接参加者に通知を送信できるようにします。Android および iOS 向けに設計されており、深いネイティブ開発の知識なしにリアルタイム通信機能を簡単に埋め込むことができます。このパッケージは、Google の API を活用して会議やカレンダーとの相互作用を安全に管理します。

用途

  • テレヘルスアプリへのビデオ通話の統合
  • バーチャル教室の有効化
  • リモートチームの協力を支援する
  • 生産性ツールに会議スケジューリングを追加する

主な機能

  • Google Meet セッションの作成と管理
  • カレンダーイベントを編集および削除する
  • 参加者への通知を送信する
  • クロスプラットフォーム対応(Android および iOS)
  • pub を通じたシンプルな Flutter インテグレーション
  • Google OAuth を使用したセキュアなアクセス

適している対象

  • ライブ授業付きの教育アプリ
  • 相談を提供するヘルスケアプラットフォーム
  • リモートワーク協働ツール
  • イベントベースのスケジューリングアプリケーション

注意事項

  • Google API の設定と資格情報が必要です
  • Googleを介したユーザー認証に依存する
  • Google Meet 機能に制限されています
  • カレンダーへのアクセスには追加の権限が必要になる場合があります
  • オフライン使用には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Pub

google_meet_sdk

A flutter package which will help you to add add google meet in your projects and also help you to create, modify and delete calender events and notify the attendee

Created by Techahead Software

Usage

Use this package as a library

  1. Depend on it Add this to your package's pubspec.yaml file:
dependencies:
  google_meet_sdk: <VERSION>
  1. Install it You can install packages from the command line: with Flutter:
$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

  1. Import it Now in your Dart code, you can use:
import 'package:google_meet_sdk/google_meet_sdk.dart';

add your clientId in android manifest and in iOS info.plist

In Android

<meta-data android:name="clientId" android:value="12234" />

In iOS

<key>clientId</key>
<string> 12234 </string>

Note:

1. enable google authentication from firebase
2. enable Google Calendar API from gcp console and select thesr scopes ( CalendarApi.calendarScope ,CalendarApi.calendarEventsScope  )
3. get your clientId (required) and serverClientId (optional) from gcp console

first login via google

ElevatedButton(
          key: UniqueKey(),
          onPressed: () {
            GoogleAuthentication.signInWithGoogle(context: context)
                .then((value) {
              if (value != null) {
                Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) => const DashboardScreen(),
                    ));
              } else {
                debugPrint('something went wrong while login...');
              }
            });
          },
          child: const Text("click"),
        )

to insert/ add google meet and added event in your calender

           var result = await CalendarClient() .insert(title: currentTitle??"",
             description: currentDesc ?? '',
             location: currentLocation??"",
             attendeeEmailList: attendeeEmails,
             shouldNotifyAttendees: shouldNofityAttendees,
             hasConferenceSupport: hasConferenceSupport,
             startTime: DateTime.fromMillisecondsSinceEpoch(startTimeInEpoch),
             endTime: DateTime.fromMillisecondsSinceEpoch(endTimeInEpoch)
            );

to modify/update google meet and added event in your calender

           var result = await CalendarClient().modify(title: currentTitle??"",
             description: currentDesc ?? '',
             location: currentLocation??"",
             attendeeEmailList: attendeeEmails,
             shouldNotifyAttendees: shouldNofityAttendees,
             hasConferenceSupport: hasConferenceSupport,
             startTime: DateTime.fromMillisecondsSinceEpoch(startTimeInEpoch),
             endTime: DateTime.fromMillisecondsSinceEpoch(endTimeInEpoch)
            );

to delete/remove google meet and added event in your calender

           var result =  await CalendarClient().delete(eventId!, true)

for example refer to example/lib/main.dart

video

https://user-images.githubusercontent.com/37922543/219462854-b5249e9e-2896-425b-82c8-d0e8953c8d82.mp4

More information

Pub package Flutter documentation.

カテゴリー

依存関係

依存関係一覧 6 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。