Commit Graph

6 Commits

Author SHA1 Message Date
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
tomtargosz 7d04a4e1f6 Fix TypeScript error TS1046 2019-08-14 19:14:14 +02:00
Oleg Repin f1a9ed4603 fix typo in ts declarations 2019-04-05 12:25:31 +03:00
Oleg Repin 2b52d760c1 fix typescript declarations 2019-04-03 14:20:54 +03:00
Bartol Karuza 0d1059ef75 fix(js) provide default value for optional ‘assetType’ 2019-03-03 20:46:47 +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