Example of Flutter app integration with Clan Meeting
Read Time:11 Second

Example of Flutter app integration with Clan Meeting

0 0

Clan Meeting – Flutter Integration

Example of Flutter app integration with Clan Meeting

Please make sure that the permissions required for mobile apps are added to your app. We use Flutter InAppWebView for this integration.

Flutter Specific Permissions

Add the following to your AndroidManifest.xml file.

void _joinMeeting() async {
  const String domain = 'try.clanmeeting.com';
  const String consumerId = 'colacoca';
  String roomName = Utility.randomString(10);
  const String displayName = 'John Doe';

Remember to request for camera and microphone permissions

Already included in example main.dart

// Request for camera and microphone permissions
await Permission.camera.request();
await Permission.microphone.request();

WebView options

Already included in example clanmeeting.dart

InAppWebViewGroupOptions(
  crossPlatform: InAppWebViewOptions(
    clearCache: true,
    javaScriptCanOpenWindowsAutomatically: true,
    mediaPlaybackRequiresUserGesture: false, // important
  ),
  android: AndroidInAppWebViewOptions(
    supportMultipleWindows: true,
    useHybridComposition: true, // important
  ),
  ios: IOSInAppWebViewOptions(
    allowsInlineMediaPlayback: true, // important
  )
);

GitHub

View Github

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior Onboarding Screen UI And Animation Clone
Entrada siguiente Play Tic-Tac-Toe by clicking on the screen to fill the white spaces