gr_zoom 1.3.1 copy "gr_zoom: ^1.3.1" to clipboard
gr_zoom: ^1.3.1 copied to clipboard

A Flutter plugin for the Zoom Meeting SDK on mobile platform (Android and IOS). This plugin get files from Zoom Meeting Sdk from Android and IOS and link it with Flutter code.

Flutter Zoom #

A Flutter plugin for the Zoom Client SDK.

Zoom SDK Versions #

Android: zoom-sdk-android-5.15.5

iOS: zoom-sdk-ios-5.15.5

Installation from pub.dev #

https://pub.dev/packages/gr_zoom

After install the library, must run the follow script to get some sdk stuff for the first time:

flutter pub run gr_zoom:unzip_zoom_sdk

Installation from github #

  gr_zoom:
    git:
      url: git@github.com:25LucasAnselmo/gr_zoom.git
      ref: main

After install the library, must run the follow script to get some sdk stuff for the first time:

flutter pub run gr_zoom:unzip_zoom_sdk

iOS #

Add two rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key Privacy - Microphone Usage Description and a usage description.

Or in text format add the key:

<key>NSCameraUsageDescription</key>
<string>Need to use the camera for call</string>
<key>NSMicrophoneUsageDescription</key>
<string>Need to use the microphone for call</string>

Diable BITCODE in the ios/Podfile:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    if target.name == "gr_zoom"
      puts("Found target membership zoom.")
      all_filerefs = installer.pods_project.files
      all_filerefs.each do |fileref|
        if fileref.path.end_with? "MobileRTC.xcframework"
          puts("Found MobileRTC.xcframework fileref.")
          build_phase = target.frameworks_build_phase
          puts("Determining if zoom build phase needs correction.")
          unless build_phase.files_references.include?(fileref)
            puts("Adding MobileRTC.xcframework to zoom target")
            build_phase.add_file_reference(fileref)
          end
        end
      end
      installer.pods_project.build_configurations.each do |config|
        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
      end
    end
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

NOTE for testing on the iOS simulator

If you want to use the iOS Simulator to test your app, you will need to ensure you have the iOS Dev Zoom SDK as a dependency.

To use the Dev Zoom SDK, run the following

flutter pub run gr_zoom:unzip_zoom_sdk dev

To switch back to the normal Zoom SDK, simply run

flutter pub run gr_zoom:unzip_zoom_sdk

Android #

Change the minimum Android sdk version to at the minimum 21 in your android/app/build.gradle file.

minSdkVersion 24

Disable shrinkResources for release buid

   buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
            shrinkResources false 
            minifyEnabled false
        }
    }

example #

  • Auth zoom with "SDK App JWT Token"

    • Create SDK App JWT Token
      • Create SDK Key&Secret https://marketplace.zoom.us/docs/sdk/native-sdks/auth#key-secret-2

      • Generate JWT Token from https://jwt.io/ for testing. (Get it from your server for distribution,You can get current timestamp from https://www.unixtimestamp.com/. )
        Replace "PAYLOAD" as bellow, Enter your "SDK Secret" in "your-256-bit-secret",Get "your jwtToken" from the left.

        {
          "appKey": "string", // Your SDK key
          "iat": long, // access token issue timestamp
          "exp": long, // access token expire timestamp (The exp should be later than or equal to tokenExp)
          "tokenExp": long // should be a timestamp that is at least 30 minutes later than the iat)
        }
        

        PAYLOAD Example:

        {
          "appKey": "xxxxxxxxxxxxxxxxxxxx", 
          "iat": 1615510799, 
          "exp": 1647017999, 
          "tokenExp": 1647017999 
        }
        
    • replace "your jwtToken" in "zoom/example/lib/join_screen.dart"
  • Use the jwtToken:

    ZoomOptions zoomOptions = new ZoomOptions(
        domain: "zoom.us",
        jwtToken: "your jwtToken  (SDK Key + SDK Secret) or (Client ID + Client Secret)",
      );
    

reference #

https://github.com/25LucasAnselmo/gr_zoom

11
likes
140
pub points
76%
popularity

Publisher

unverified uploader

A Flutter plugin for the Zoom Meeting SDK on mobile platform (Android and IOS). This plugin get files from Zoom Meeting Sdk from Android and IOS and link it with Flutter code.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on gr_zoom