-
Notifications
You must be signed in to change notification settings - Fork 73
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
[BUG] I got black screen in flutter v2.8.1 #66
Comments
I am also having this issue. Before using this package I am using Agora RTC engine. It worked properly. When I used this package the same issue came. |
I am having the same issue. It was working when I used only the agora_rtc_engine package but now after adding the agora_UIKit package it is showing me a black screen. |
Same as issue #62? |
as this issue states that the compile and target sdks both are set to 31 and that is the only solution stated in that issue, I think this is not the cause. |
@waqadArshad @SherazJamil @lkrjangid1 I will try reproducing this error. It would be great if you could share some more light on this error. Which version of the Agora UIKit are you using? Is this limited to Android only? Are you getting this bug on your physical device or an emulator or both? Also, if you could share your log file that would be great. |
versions: Tested on Android only. flutter doctor output: ! Doctor found issues in 1 category. [!] Android toolchain - develop for Android devices (Android SDK version 30.0.1) [√] Chrome - develop for the web [√] Android Studio (version 4.1) [√] Connected device (3 available) The console output when I clicked on the Video Call button: `[GETX] GOING TO ROUTE /VideoCall ======== Exception caught by widgets library ======================================================= Once you have called dispose() on a SessionController, it can no longer be used.
|
@Meherdeep also tried running the example provided in this package's directory. still getting the same black screen. |
@SherazJamil when running flutter doctor it seems like you do have an issue with your flutter SDK. This might be unrelated, but can you accept those licenses and everything and then rerun it after a It looks like it is still running Android SDK version 30 instead 31.
|
|
on the
on my other machine, I had all the licenses accepted and still got the same issue. |
still, I would give it another try and let you know. |
@lkrjangid1 I went through the code that you shared and it looks like you're calling |
when iam calling by using Getx is give black Screen and by using same code setState its work properly` |
Thank you, it's working now.
|
@shahzadkhan1998 What are you using |
Closing this issue for now. If you're still facing the issue feel free to reopen it. |
There is a very good chance that the token is not being generated or the tempToken provided in the AgoraConnectionData is Expired or invalid and you would see something like:
in the console. Also there is a chance that the appId is not valid or correct or if a tokenUrl is provided, it is incorrect or the Server is not deployed correctly. So please do check that also. |
Warnings:
Error:
Black Screen
Build.gradle
Code:
The text was updated successfully, but these errors were encountered: