-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements about recent issues (#1186)
Fixes #841 Fixes #1009 Fixes #1180 Fixes #1181 Fixes #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.
- Loading branch information
Showing
21 changed files
with
611 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,6 @@ | |
|
||
- (BOOL)isNotifying; | ||
|
||
- (void)detach; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.