Search packages, repositories and app categories

Package detailsv0.0.3

google_meet_sdk

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

AndroidiOS
30-day downloads
16
Likes
30
Pub points
140

Install package

flutter pub add google_meet_sdk

Package Overview

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

The google_meet_sdk is a Flutter package that enables integration of Google Meet into mobile applications for seamless video conferencing. It supports creating, modifying, and deleting calendar events, and allows users to send notifications to attendees directly from the app. Designed for Android and iOS, it simplifies embedding real-time communication features without requiring deep native development knowledge. The package leverages Google's APIs to manage meetings and calendar interactions securely.

Use cases

  • Integrating video calls in telehealth apps
  • Enabling virtual classrooms
  • Supporting remote team collaboration
  • Adding meeting scheduling to productivity tools

Key features

  • Create and manage Google Meet sessions
  • Modify and delete calendar events
  • Send attendee notifications
  • Cross-platform support (Android & iOS)
  • Simple Flutter integration via pub
  • Secure access using Google OAuth

Suitable for

  • Educational apps with live classes
  • Healthcare platforms with consultations
  • Remote work collaboration tools
  • Event-based scheduling applications

Considerations

  • Requires Google API setup and credentials
  • Depends on user authentication via Google
  • Limited to Google Meet functionality
  • May need additional permissions for calendar access
  • Not suitable for offline use

Original README

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

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.

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package

No data available yet.