to make this project work on android 10 we will need to add android:requestLegacyExternalStorage="true" on application tag.
added that to readme so that people don't waste hours searching for it.
This reverts commit c958493441edf622dbc320b9e1319298b8123481.
fixes#193
BREAKING CHANGE: this reverts forcing all mime types to jpeg on upload, which is the cause of lost GIF data
# [2.0.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.8.1...v2.0.0) (2020-06-16)
### Features
* Added `include` parameter to getPhotos to let users tradeoff performance by omitting metadata ([#178](https://github.com/react-native-community/react-native-cameraroll/issues/178)) ([#200](https://github.com/react-native-community/react-native-cameraroll/issues/200)) ([4da8310](https://github.com/react-native-community/react-native-cameraroll/commit/4da8310))
### BREAKING CHANGES
* meta data is no longer added as default. This applies to `fileName`, `fileSize` and `location`. If you need this metadata use the new `include` parameter. Adding this metadata will slow down the `getPhotos` function, so consider only retrieving this meta data for smaller sets of images as needed, instead of for all images.
* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic
* Fixed wrong param name, added better typechecking
* Added example, renamed allowEmptyFilenames to skipGettingFilenames
* Removed `after` from getPhotosFast docs
* Redid implementation based on a new `include` param
* Updated API to use include parameter
* Fixed flow checking by converting index.ts to Typescript
* Unformatted README.md
* Unformatted README.md
* Unformatted README.md
* Added .prettierignore and ignored README.md for now
* Made example/index.js not checked by Flow
* Updated README.md to include notes in the outputs too
* Made inclusion of fields consistent, addressed other feedback
* Renamed GetPhotosFastParams back to GetPhotosParams
* Updated documentation to reflect nullable types
* Updated typings and documentation for fromTime, toTime
* Updated to fix `hasNextPage` being incorrectly false in some cases
Co-authored-by: Harry Yu <hy.harry.yu@gmail.com>
BREAKING CHANGE: meta data is no longer added as default. This applies to `fileName`, `fileSize` and `location`. If you need this metadata use the new `include` parameter. Adding this metadata will slow down the `getPhotos` function, so consider only retrieving this meta data for smaller sets of images as needed, instead of for all images.
* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic
* Fixed wrong param name, added better typechecking
* Added example, renamed allowEmptyFilenames to skipGettingFilenames
* Removed `after` from getPhotosFast docs
* Redid implementation based on a new `include` param
* Updated API to use include parameter
* Fixed flow checking by converting index.ts to Typescript
* Unformatted README.md
* Unformatted README.md
* Unformatted README.md
* Added .prettierignore and ignored README.md for now
* Made example/index.js not checked by Flow
* Updated README.md to include notes in the outputs too
* Made inclusion of fields consistent, addressed other feedback
* Renamed GetPhotosFastParams back to GetPhotosParams
* Updated documentation to reflect nullable types
* Updated typings and documentation for fromTime, toTime
* Updated to fix `hasNextPage` being incorrectly false in some cases
Co-authored-by: Harry Yu <hy.harry.yu@gmail.com>
* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic
* Fixed wrong param name, added better typechecking
* Added example, renamed allowEmptyFilenames to skipGettingFilenames
* Removed `after` from getPhotosFast docs
* Redid implementation based on a new `include` param
* Updated API to use include parameter
* Fixed flow checking by converting index.ts to Typescript
* Unformatted README.md
* Unformatted README.md
* Unformatted README.md
* Added .prettierignore and ignored README.md for now
* Made example/index.js not checked by Flow
* Updated README.md to include notes in the outputs too
* Made inclusion of fields consistent, addressed other feedback
* Renamed GetPhotosFastParams back to GetPhotosParams
* Updated documentation to reflect nullable types
* Updated typings and documentation for fromTime, toTime
* Updated to fix `hasNextPage` being incorrectly false in some cases
# Summary
We've been recommending devs use `npx pod-install` since it will attempt to install CocoaPods CLI if it's not available on the computer (cite [React Navigation setup guide](https://reactnavigation.org/docs/getting-started/#installing-dependencies-into-a-bare-react-native-project)). This has proved very useful for Expo users who are now migrating to the bare workflow and want to use community packages in their projects.
## Checklist
- [x] I have tested this on a device and a simulator
- [x] I added the documentation in `README.md`
* Added checking for android API. Set LONGITUDE and LATITUDE for images if API < 29
* Removed Images.Media.LONGITUDE and Images.Media.LATITUDE from PROJECTION
* Fixed reference to git repository in Podspec file
* Fixed build issue because of unused variable
* Fixed issue with build. Unused variable inputImage