New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Android Scoped Storage #244
Comments
#242 Happy to take PR's for this |
@bartolkaruza or somebody DOCSStarting in August 2021, new apps will need to:
... PRE-HISTORY
can you answer on the next questions, because i have read tons of docs/forums and sadly still don't have clear understanding:
|
Looks like the deadline is May not August
|
Nvm, looks like there's traction in #304 |
# [5.0.0](v4.1.2...v5.0.0) (2022-08-23) ### Bug Fixes * Remove fbjs in favor of `invariant` lib ([#367](#367)) ([a62a717](a62a717)) * update package.json React 18 ([06970d6](06970d6)) ### chore * **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#414](#414)) ([86f540f](86f540f)) ### Features * **all:** fix various issues and big maintenance update of the library ([#404](#404)) ([#411](#411)) BREAKING ([bc7f0fc](bc7f0fc)), closes [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) ### BREAKING CHANGES * **npm:** new package namespace! * **all:** 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>
# [5.0.0](v4.1.2...v5.0.0) (2022-08-23) ### Bug Fixes * Remove fbjs in favor of `invariant` lib ([#367](#367)) ([a62a717](a62a717)) * update package.json React 18 ([06970d6](06970d6)) ### chore * **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#414](#414)) ([8998fe6](8998fe6)) ### Features * **all:** fix various issues and big maintenance update of the library ([#404](#404)) ([#411](#411)) BREAKING ([bc7f0fc](bc7f0fc)), closes [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) ### BREAKING CHANGES * **npm:** new package namespace! * **all:** 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>
…ry (#404) (#411) BREAKING 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 #322 Fixes #244 Fixes #248 Fixes #254 Fixes #340 Fixes #401 Fixes #276 Fixes #135 Fixes #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>
# [5.0.0](v4.1.2...v5.0.0) (2022-08-23) ### Bug Fixes * Remove fbjs in favor of `invariant` lib ([#367](#367)) ([a62a717](a62a717)) * update package.json React 18 ([06970d6](06970d6)) ### chore * **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#415](#415)) ([aa40431](aa40431)) ### Features * **all:** fix various issues and big maintenance update of the library ([#404](#404)) ([#411](#411)) BREAKING ([c230dd0](c230dd0)), closes [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) ### BREAKING CHANGES * **npm:** new package namespace! * **all:** 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>
# [5.0.0](v4.1.2...v5.0.0) (2022-08-23) ### Bug Fixes * Remove fbjs in favor of `invariant` lib ([#367](#367)) ([a62a717](a62a717)) * update package.json React 18 ([06970d6](06970d6)) ### chore * **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#416](#416)) ([6afa303](6afa303)) ### Features * **all:** fix various issues and big maintenance update of the library ([#404](#404)) ([#411](#411)) BREAKING ([c230dd0](c230dd0)), closes [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) [#322](#322) [#244](#244) [#248](#248) [#254](#254) [#340](#340) [#401](#401) [#276](#276) [#135](#135) [#393](#393) ### BREAKING CHANGES * **npm:** new package namespace! * **all:** 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>
The release is available on: Your semantic-release bot |
It is currently necessary to add
android:requestLegacyExternalStorage="true"
to make images picked by the library work correctly on Android 10 (see #219). As documented here, that option will be going away in Android API level 30 (Android 11), by which point this plugin will need to have implemented the new scoped storage APIs in order to continue functioning.The text was updated successfully, but these errors were encountered: