Commit Graph

25 Commits

Author SHA1 Message Date
Bartol Karuza bd23aa15d8
fix: rollback getExceptionHandler change (#158)
REVERT: fix: Update deprecated functions (#149)
2020-03-26 11:56:13 +02:00
Juang, Yi-Lin 3e38ab1419
fix: Update deprecated functions (#149)
Fix warning `[deprecation] GuardedAsyncTask(ReactContext) in GuardedAsyncTask has been deprecated`
2020-03-26 10:20:41 +02:00
Tuan Luong fc1855e001
feat: get album list (#139) 2020-02-08 11:17:56 +08:00
Kevin Brown b49dc8e631
fix: Making Promise return types consistent across iOS and Android, updating types to match. (#137) 2020-02-05 17:21:59 +08:00
Tuan Luong 75b4208474
feat: Support filter media items between dates (#140)
* Update RNCCameraRollManager.m

* Update CameraRollModule.java

* Update README.md

* Update RNCCameraRollManager.m

* Update CameraRoll.d.ts

* Update RNCCameraRollManager.h

* Update CameraRollModule.java

* Update RNCCameraRollManager.m

* update code
2020-02-05 17:20:54 +08:00
Bartol Karuza 24f141cada Revert "Merge pull request #3 from FrikkieSnyman/use-dcim-for-save (#94)"
This reverts commit 947f1b0dce.
2020-01-20 18:04:36 +08:00
Frikkie Snyman 947f1b0dce Merge pull request #3 from FrikkieSnyman/use-dcim-for-save (#94)
Use DCIM dir for saveToCameraRoll
2020-01-20 17:52:35 +08:00
Kevin Brown 33dfb99d35 fix(lib): Fix for pagination on Android. (#130)
fixes #47 
fixes #118
2020-01-20 16:52:42 +08:00
Seph Soliman 902abd4f70 fix(lib): Android 10 screenshot sorted incorrectly (#98)
Fixes #97
2019-11-07 14:17:11 +01:00
Kevin Brown 7850dd538f feat(lib): Moved deletePhotos to use new PHAsset API and added an implementation for Android (#69)
* deletePhotos works in iOS

* Deletion works on Android.

* Removing unnecessary commented out code.

* Updated typescript typings.

* Made readme more accurate based on being able to retrieve failure from the iOS API.

* Let formatter run, also now rejecting the promise when there's any error on deletion on Android.
2019-11-07 14:13:24 +01:00
SimonErm dc00a4f115 feat(lib): save photos or videos to an album
* add option to specify album in saveToCameraRoll and move the optional type param to options

* check platform before setting default value for group types to prevent exception

* adjust typings

* update invariant message

* format code

* extract new implementation to function to avoid breaking change

* format code

* add missing spaces

* fix(lib): add accidentally removed savedphotos back to the enum to prevent crash

* chore(lib): formatting

* chore(lib): add doc for the new save method
2019-08-14 21:00:20 +02:00
Edward Smith f420cefa77 feat(lib): Filename added to the image properties iOS and Android (#61)
* fix(lib): mirror fix PHAsset video upload

458e70c79d (diff-3a2b7a4c4ebe5ac224b5a32896c032fb)

* Include the filename in both iOS and Android

* Add filename to docs
2019-06-13 08:24:46 +02:00
Bartol Karuza 7c05112883
fix(lib): fix groupType all not working on Android (#57)
fixes #56
2019-05-13 20:44:56 +02:00
Frikkie Snyman 76b828b469 Use the MimeType reported by the media Cursor instead of trying to guess the mime type from uri (#54)
This prevents the crash when the device contains images with a `#`
2019-05-07 21:59:07 +02:00
Frikkie Snyman 2e97105db3
Rename ReactNativeNetInfo -> ReactNativeCameraRoll in Gradle.properties 2019-04-09 09:10:34 +02:00
Bartol Karuza d4a7ab7194 chore(android) fix native build 2019-03-03 15:43:30 +08:00
Bartol Karuza 0c453b6118 general cleanup
Added typescript binding
Fixed flow type issues
renamed NativeModule to RNCCameraRoll
Added basic jest tests
prettier/lint issues fixed
2019-03-03 14:39:57 +08:00
Bartol Karuza 605302a517 fix up Android example project to compilation 2019-02-24 13:30:55 +08:00
Bartol Karuza 2949553167 rename java classes without file prefix 2019-02-24 13:27:52 +08:00
Bartol Karuza 4e65aeea53 capitalize CameraRollPackage 2019-02-24 12:31:38 +08:00
Bartol Karuza 5a76ff4d5f in file renames 2019-02-24 12:29:24 +08:00
Bartol Karuza 43b68a8335 renamed migrated files 2019-02-24 12:25:02 +08:00
Bartol Karuza abf3ecd110 move migrated files to right folder 2019-02-24 12:21:54 +08:00
Bartol Karuza 1515c69c43 remove generated files from create-react-native-library to be overwritten 2019-02-24 12:20:25 +08:00
Bartol Karuza 1f3f111bca create-react-native-library and react-native init of example app
# Conflicts:
#	README.md
2019-02-24 12:13:49 +08:00