You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using requestType with RequestType.video I get different results in the iOS simulator than on a real device. In the iOS simulator, only video assets are returned. This is the correct behaviour. When the flutter app is built in release mode and used on a real iOS device (iPhone XR, OS: 16.6) all media is available to select. Filtering for video-only assets is not functioning.
Steps to reproduce the behavior:
On a real iOS device
Trigger the asset picker
See that all assets are available, not filtered by asset type.
Expected behavior
Trigger the asset picker
See only video assets
Version information
Device: iPhone XR
OS: iOS 16.6
Simulator iPhone XR
OS: iOS 16.4
Package Version: 8.7.1
Flutter Version: 3.13.6
Additional context
Behaviour in the simulator is not the same as behaviour on real device. Validating this incorrect behaviour is not possible on the simulator, as it will provide the expected result.
The text was updated successfully, but these errors were encountered:
For anyone finding this later on. The link provided suggests the problem is that livephotos are included as "video" by default. This meant on my real device I had significantly more media displaying than expected. You need to pass an ios specific option to filter out livephotos as well.
I changed my code from the above example to the following, and got my expected result:
Describe the bug
When using
requestType
withRequestType.video
I get different results in the iOS simulator than on a real device. In the iOS simulator, only video assets are returned. This is the correct behaviour. When the flutter app is built in release mode and used on a real iOS device (iPhone XR, OS: 16.6) all media is available to select. Filtering for video-only assets is not functioning.How to reproduce
Steps to reproduce the behavior:
On a real iOS device
Expected behavior
Version information
Additional context
Behaviour in the simulator is not the same as behaviour on real device. Validating this incorrect behaviour is not possible on the simulator, as it will provide the expected result.
The text was updated successfully, but these errors were encountered: