Commit Graph

149 Commits

Author SHA1 Message Date
Bartol Karuza 132af3166d
Merge pull request #17 from skim6281/master
update manual android installation guide
2019-04-02 11:40:45 +02:00
Bartol Karuza 8831d708b6
Merge pull request #21 from jainkuniya/patch-1
readme: Fix links.
2019-04-02 11:40:20 +02:00
Vishwesh Jainkuniya 8bcdbf6261
readme: Fix links. 2019-03-30 23:05:55 +05:30
Sam Kim b878b4a5ef update manual android installation guide 2019-03-25 13:21:57 -04:00
Bartol Karuza 9540b013d3
Merge pull request #2 from exc3lsior/master
[BUG]fix no homepage in Podfile
2019-03-15 12:33:03 +01:00
Christoph Nakazawa 16e01f4546
Merge pull request #3 from matt-oakes/patch-1
test(android): Ensure the "release" app has the Javascript bundled
2019-03-15 17:07:01 +09:00
Matt Oakes 9767e37e00
test(android): Ensure the "release" app has the Javascript bundled 2019-03-14 15:40:26 +00:00
全贺菁 953b3f083e fix no homepage in Podfile 2019-03-13 19:07:24 +08:00
Bartol Karuza ec664ac294 chore(doc) add android permissions section 2019-03-03 21:23:25 +08:00
Bartol Karuza 0d1059ef75 fix(js) provide default value for optional ‘assetType’ 2019-03-03 20:46:47 +08:00
Bartol Karuza 8c8c0fe921 v1.0.3 2019-03-03 20:36:01 +08:00
Bartol Karuza 7df7d44a6b fix(js) native modules path relative to the consumer project 2019-03-03 20:20:17 +08:00
Bartol Karuza db7d74635f v1.0.2 2019-03-03 20:14:05 +08:00
Bartol Karuza 595e65fd18 fix(js) remove legacy proptypes and fix paths 2019-03-03 20:12:30 +08:00
Bartol Karuza 13bc86ada8 v1.0.1 2019-03-03 19:46:55 +08:00
Bartol Karuza ad3a2216ba fix(js) import paths 2019-03-03 18:54:13 +08:00
Bartol Karuza 7077b84036 chore(android) add missing example release keystore 2019-03-03 16:07:34 +08:00
Bartol Karuza 5a60b909e4 chore(android) fix missing folder issue on release build bundle copy 2019-03-03 16:01:47 +08:00
Bartol Karuza e062a47853 chore(ios) fix release step bundle location 2019-03-03 15:55:21 +08:00
Bartol Karuza d4a7ab7194 chore(android) fix native build 2019-03-03 15:43:30 +08:00
Bartol Karuza 5e7fa0edc8 fix missing android dependency download task 2019-03-03 14:47:09 +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 9f176640d8 e2e configuration and example transferred 2019-03-02 17:01:34 +08:00
Bartol Karuza 02cf845006 circleci and detox setup 2019-03-02 16:00:53 +08:00
Bartol Karuza bc557cf169 Sync @joshuagross RCTCameraRollManager: fix "all" photos filter
Summary: Currently, trying to fetch "all" photos will loop and never complete. Now it appears to produce the expected results (acting like the "All Photos" smart library in Photos) and doesn't loop. Confirmed console log results, showing no loops: P60994983

Reviewed By: PeteTheHeat

Differential Revision: D14221545

fbshipit-source-id: 31381b1ba2c673fd210cb95f3b7d0f8ffc23ec3f
2019-03-02 15:54:39 +08:00
Bartol Karuza 4777d05546 Make lib JS+native code reachable from iOS example app 2019-02-24 20:47:44 +08:00
Bartol Karuza b00c05bb81 fix iOS library file reference 2019-02-24 13:48:37 +08:00
Bartol Karuza 8276c55f28 doc to readme for usage 2019-02-24 13:48:06 +08:00
Bartol Karuza eba943154e Android example point to example/index.js 2019-02-24 13:33:42 +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 c8e2a7bd77 cleanup iOS example project 2019-02-24 13:13:43 +08:00
Bartol Karuza c16a74093f renaming react-native-cameraroll > @react-native-community/camerroll 2019-02-24 12:59:58 +08:00
Bartol Karuza c3cdd18810 setup of library config files for flow, eslint, babel, jest, etc.. 2019-02-24 12:57:12 +08:00
Bartol Karuza bd10d565e5 update package.json with basic info and dependencies
mostly copied from https://github.com/react-native-community/react-native-netinfo/blob/master/package.json
2019-02-24 12:38:20 +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
Dulmandakh 8efc33993a remove unnecessary Android version checks (#23277)
Summary:
React Native's minSdkVersion is 16, or we support Android versions 16 (Jelly Bean) and above. But in the code we have many checks if Android is Jelly Bean or newer, which are unnecessary. This PR removes unnecessary Android version checks, also uses Android version names instead of numbers.

[Android] [Changes] - remove unnecessary Android version checks
Pull Request resolved: https://github.com/facebook/react-native/pull/23277

Differential Revision: D13955909

Pulled By: cpojer

fbshipit-source-id: 6b1caa5ef4fe42273d3c69a6617fff140a697b5c
2019-02-05 03:08:16 -08:00
Kesha Antonov da20713a64 CameraRoll support for Videos and Photos showed in same time (#16429)
Summary:
Right now you can choose to show Videos OR Photos.
This PR allows to show both in the same time.

[ANDROID][ENHANCEMENT] - Can show videos and photos from CameraRoll in the same time
Pull Request resolved: https://github.com/facebook/react-native/pull/16429

Differential Revision: D13839638

Pulled By: cpojer

fbshipit-source-id: 5edc039552888c3ba8a40f39e262919fa7c00b39
2019-01-28 07:39:59 -08:00
Joshua Gross 8556340345 Fix permissions regression in RCTCameraRollManager
Summary:
In the past (pre D13593314), ALAssetsLibrary camera operations would pop up a permissions dialogue when appropriate and block until the user responded to the dialogue. The calls that we're now using with PHPhotoLibrary immediately return if we don't have permission to access the photo library or haven't asked before, and then asynchronously pop up a permissions dialogue, causing every first photo interaction to fail. Instead we now explicitly check for permissions or request
permissions before any operations.

Reviewed By: PeteTheHeat

Differential Revision: D13620079

fbshipit-source-id: e1befc0ddaec2c1b3334e361f5ae3a3efc5da71d
2019-01-10 13:10:28 -08:00
Joshua Gross e172dc7b94 Un-revert D13513777: Replace ALAssets* with PHPhoto* in RCTCameraRoll
Summary: Replaced all deprecated ALAssets* references to roughly equivalent PHPhoto* references in RCTCameraRoll library. There are still some minor inconsistencies between iOS/Android and documentation that existed prior to this diff that need to be resolved after this.

Reviewed By: fkgozali

Differential Revision: D13593314

fbshipit-source-id: 6d3dc43383e3ad6e3dbe73d4ceceac1ba9261d9d
2019-01-07 16:15:44 -08:00
Diego Sanchez ac32e98217 Revert D13513777: Replace ALAssets* with PHPhoto* in RCTCameraRoll
Differential Revision:
D13513777

Original commit changeset: 3f0c4ae25982

fbshipit-source-id: a3a868db96eb65415a5512974da1a2f695773065
2018-12-22 00:19:10 -08:00
Joshua Gross 305e1d7f50 Replace ALAssets* with PHPhoto* in RCTCameraRoll
Summary: Replaced all deprecated ALAssets* references to roughly equivalent PHPhoto* references in RCTCameraRoll library. There are still some minor inconsistencies between iOS/Android and documentation that existed prior to this diff that need to be resolved after this.

Reviewed By: fkgozali, PeteTheHeat

Differential Revision: D13513777

fbshipit-source-id: 3f0c4ae259823fae78eba875a6c259733715ab56
2018-12-21 23:13:50 -08:00
Christoph Nakazawa bf00561813 Use `invariant` instead of `fbjs/lib/invariant`
Summary: This is one more step to remove `fbjs` from `react-native-github`. This changes both the internal and external code to use `invariant` from zertosh instead of the copy in fbjs.

Reviewed By: yungsters

Differential Revision: D13195941

fbshipit-source-id: 73564ca1715110e7da9c7ef56dc57374d61377e0
2018-12-03 00:07:02 -08:00
Ram N 3443f75f9c Use static constants instead of strings when referring to View Managers and Native Modules
Summary: Using strings to refer to Native Modules and View Managers in ReactPackages are prone to error. The compiler replaces the constants with the actual strings anyway, so using constants gives us  better type safety

Reviewed By: achen1

Differential Revision: D12843649

fbshipit-source-id: 7a7c6c854c8689193f40df92dc8426a3b37f82c8
2018-11-09 10:50:54 -08:00
Ramanpreet Nara d5fc0475af Additional Flow changes to files that use this component
Summary:
This diff includes:
1. Touchups to the `CameraRollView` typings.
2. Typings for `CameraRollViewExmaple`.
3. Flow fixes for internal callsites.

Reviewed By: yungsters

Differential Revision: D10362686

fbshipit-source-id: 48bf3fba0566e9c5c062aee3342d669f6c143d9f
2018-10-18 12:28:28 -07:00