This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 362
CrossMedia.Current.TakeVideoAsync Returns Null on Android 13 #956
Comments
Hello @jamesmontemagno. I hope you can check this one. Thank you so much! |
This issue is fixed in 6.0.1-beta. |
@ArpitViradiya already using 6.0.1-beta |
@dartur123 I have not any issue with 6.0.1-beta for Android 13 (Google PIxel 7 Pro) |
@ArpitViradiya Do you think there's something I'm missing out why it returns null? |
@dartur123 Check your permissions and run your code on main thread like this |
@dartur123 I am having the same issue. Were you able to fix it? |
@Samorax I'm still not able to fix the issue on the emulator but I confirmed it's working on the physical device. |
@dartur123 Thanks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Information
Version Number of Plugin: 6.0.1-beta
Device Tested On: Samsung A7 Android 13
Simulator Tested On: Generic Tab but same specs with Samsung A7 Android 13
Version of VS: VS2022 professional 17.5.1
Version of Xamarin: Xamarin Native
Versions of other things you are using:
Steps to reproduce the Behavior
Use CrossMedia.Current.TakeVideoAsync considering the read_media_videos permission is granted by the user
Expected Behavior
It will return a value
Actual Behavior
It returns null
Code snippet
using (var file = await CrossMedia.Current.TakeVideoAsync(new StoreVideoOptions
{
Quality = VideoQuality.Medium
}))
{
if (file != null)
filePath = file.Path;
else
return;
}
Screenshots
The text was updated successfully, but these errors were encountered: