enx_flutter_plugin 3.0.6 copy "enx_flutter_plugin: ^3.0.6" to clipboard
enx_flutter_plugin: ^3.0.6 copied to clipboard

EnableX Flutter Plugin allows developers to implement real-time communication channels such as audio, video, and text chat in their applications on iOS and Android Platforms.

enx_flutter_plugin #

This Enx Flutter plugin is a wrapper for EnableX Video SDKwhich allows you to implement real-time communication (RTC) channels such as audio, video and text chat services in their applications. It provides a simple set of APIs that can be invoked in the user application to integrate RTC services.

Usage #

To use this plugin, add enx_flutter_plugin as a dependency in your pubspec.yaml file.

Getting Started #

Device Permissions #

You require a physical Device to run the application as a simulator/emulator does not support playing video or publishing a local Stream.

EnableX Video SDK requires camera and microphone permission to start video call. Learn how to add Device Permissions in Android and iOS platforms as shown below:

Android #

Open the AndroidManifest.xml file and add the required device permissions.

..
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
..

iOS #

Open the info.plist file and add:

  • Privacy - Microphone Usage Description and add a note in the Value column.
  • Privacy - Camera Usage Description and add a note in the Value column.

Your application can still run the voice call when it is switched to the background if the background mode is enabled. Select the app target in Xcode, click the Capabilities tab, enable Background Modes, and check Audio, AirPlay, and Picture in Picture.

Black Screen Issue in iOS #

EnableX Video SDK uses PlatformView so you need to set io.flutter.embedded_views_preview to YES in your info.plist to avoid the black screen issue.

Android #

Please add below line

Goto android =>build.gradle

within buildscript jcenter()

within allproject section

jcenter() flatDir { dirs 'src/main/libs' dirs project(':enx_flutter_plugin').file('libs') }

iOS #

Note need to go to your pod library -> Target -> enx_flutter_plugin -> scroll all the way done and go to VALID_ARCHS -> and remove armv7. Clean your project (prefer to clean drive data) and rebuild.

17
likes
140
pub points
56%
popularity

Publisher

unverified uploader

EnableX Flutter Plugin allows developers to implement real-time communication channels such as audio, video, and text chat in their applications on iOS and Android Platforms.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on enx_flutter_plugin