Fixes
fix(ci): fixed android release build as a CI test step
fix(android): Fix MediaStore issues and support scopped storage #322#244
fix(android): Fix saveImageToCameraRoll #248#254
fix(android): remove JCenter #340#401
fix(ios): Fix performance issues #276
fix(ios): add method to get file Path from internal PH ID #135
fix(react-native): Bump used dependencies #393 ...
Fixes#322Fixes#244Fixes#248Fixes#254Fixes#340Fixes#401Fixes#276Fixes#135Fixes#393
new Features
feat(ios): now it's possible to listen to library selection changes
`useEffect(() => {
let subscription: EmitterSubscription;
if (isAboveIOS14) {
subscription = cameraRollEventEmitter.addListener('onLibrarySelectionChange', (_event) => {
getUnloadedPictures();
});
}
return () => {
if (isAboveIOS14 && subscription) {
subscription.remove();
}
};`
feat(ios): possibility to open native modal to update selection when authorization is limited
iosRefreshGallerySelection()
feat(ios): Convert HEIC images on demand to upload to server
BREAKING CHANGE: root import changed!
```
import { CameraRoll } from @react-native-community/cameraroll
instead of
import CameraRoll from @react-native-community/cameraroll
```
Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com>
* feat `limited` in the response of CameraRoll.getPhotos(...) if the permission is `PHAuthorizationStatusLimited`
* update Flow types
* add example usage of the limited info