-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformException(7, not initialized, null, null) #316
Comments
it seems you are trying to call apis before sdk is properly initialized. have you tried using our quickstart example? |
it seems you are trying to call apis before sdk is properly initialized. have you tried using our quickstart example? |
**FLUTTER PROJECT**That error resolved ,but now need a better
documentation for token generation via cloud functions (firebase)
…On 27-Jan-2022 2:22 pm, "Arthas" ***@***.***> wrote:
https://pub.dev/packages/agora_rtc_engine/example
—
Reply to this email directly, view it on GitHub
<#316 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU5CDKSF4JOXABMYU3645ZLUYDQB3ANCNFSM44RMSYCQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
@Manishmg3994 |
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(7, not initialized, null, null) const Calling({ @OverRide class _CallingState extends State { @OverRide @OverRide Future initialize() async { } /// Create agora sdk instance and initialize /// Add agora event handlers /// Toolbar layout @OverRide /// Helper function to get list of native views /// Video view wrapper /// Video view row wrapper /// Video layout wrapper void _onCallEnd(BuildContext context) { void _onToggleMute() { void _onSwitchCamera() { |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
Test the example on IOS results in the following error:
flutter: PlatformException(7, not initialized, null, null), #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:581:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158:18)
#2 RtcEngine.createWithConfig (package:agora_rtc_engine/src/rtc_engine.dart:145:5)
#3 _State._initEngine (package:flutter_app_rtc/advanced/live_streaming.dart:86:11)
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
permission_handler: ^7.1.0
agora_rtc_engine: ^4.0.0-rc.3
Any help?
The text was updated successfully, but these errors were encountered: