패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.0.3

google_meet_sdk

프로젝트에 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를 통한 간단한 플러터 통합
  • 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.