Closed Elkassas-dev closed 4 months ago
Probably your JWT token is not generated properly. Please check and generate one valid token from
You should also refer to the
on how to generate JWT tokens for a Meeting.
Probably your JWT token is not generated properly. Please check and generate one valid token from
You should also refer to the
on how to generate JWT tokens for a Meeting.
the problem was in the way im creating the jwt was wrong it's now working thanks
i upgraded the package recently, but i am always getting this error when i try to join a meeting and the meeting not launched I/System.out( 6734): Failed to initialize Zoom SDK
`import 'dart:async'; import 'dart:io';
import 'package:flutter/material.dart'; import 'package:gr_zoom/gr_zoom_platform_interface.dart';
class MeetingWidget extends StatefulWidget { ZoomOptions? zoomOptions; ZoomMeetingOptions? meetingOptions; Timer? timer; final String? meetingId; final String? meetingPassword; final String? userId; final String? meetingTitle; final String jwtToken; MeetingWidget( {Key? key, this.meetingId, this.meetingPassword, this.userId, this.meetingTitle, this.zoomOptions, this.meetingOptions, required this.jwtToken, this.timer}) : super(key: key) { this.zoomOptions = new ZoomOptions( domain: "zoom.us", jwtToken: jwtToken, / appKey: "YFjwuVW9JYxCulhS9sd5PZZS3Tong5YrcsUp", appSecret: "00dDf0nTC7pFdAwpDfUkdy7ycaDQa8VpnxJw", / );
}
@override State createState() => _MeetingWidgetState();
}
class _MeetingWidgetState extends State {
joinMeeting(BuildContext context) {
bool _isMeetingEnded(String status) {
var result = false;
}
@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('${widget.meetingTitle}'), ), body: Padding( padding: const EdgeInsets.all(16.0), child: Builder( builder: (context) { // The basic Material Design action button. return ElevatedButton( style: ElevatedButton.styleFrom( foregroundColor: Colors.white, backgroundColor: Color(0xFF001068), // foreground ), onPressed: () => {joinMeeting(context)}, child: Text('Join'), ); }, ), ), ); } } `