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
Fixes#841Fixes#1009Fixes#1180Fixes#1181Fixes#1185
1. Adds a detached state for managers. Callers with those managers will
first be aware of the detaching state before any actual calls to avoid
crashes.
2. Errors replied by the channel do not include detailed messages
before. Now the code will unwrap certain exceptions to extract details
from them.
3. `PHAssetResource` with the type `PHAssetResourceTypeFullSizeVideo`
does not count as a video type before, making the resource obtain ignore
them.
4. Fixes potential range exception when converting `NSTimeInterval` on
Darwin.
5. Fixes progress not being updated when getting the non-original video
file on iOS.
6. Fixes incorrect Live Photo resource being obtained which will result
in a wrong aspect ratio.
7. Fixes Live Photos saving exceptions with the paired video.
8. Expose `progressHandler` for `AssetEntity.getMediaUrl`.
9. Expose `withSubtype` for `AssetEntity.isLocallyAvailable` to request
if a Live Photo resource is available.
10. Other lints and type promotion fixes.
Describe the bug
RangeError (millisecondsSinceEpoch): Invalid value: Not in inclusive range -8640000000000000..8640000000000000: 68069651195501000
How to reproduce
这是一个线上问题,我们也没有复现。这是 iPhone 12 Pro Max 设备上的问题。下面是我们调用 AssetPicker 的代码。(线上的版本是 wechat_assets_picker: ^9.1.0)
final List<AssetEntity>? assets = await AssetPicker.pickAssets( context, pickerConfig: AssetPickerConfig(maxAssets: maxImages - _imageUrls.length, requestType: RequestType.image), );
Steps to reproduce the behavior:
Expected behavior
The problem does not occur, or arguments can be provided so that the code that created the problem is not invoked.
Screenshots (If contains)
Version information
Additional context
The text was updated successfully, but these errors were encountered: