aarongrider
24967e9ac9
Remove porter duff blending mode due to different behavior below api level 27
2021-01-12 11:23:48 -08:00
aarongrider
95781c9be2
Fix color props and update api
2021-01-11 11:16:40 -08:00
aarongrider
b909d01dfc
Add torch mode
2021-01-09 13:12:53 -08:00
aarongrider
acd1a6c347
Fix Android barcode scanning
2021-01-08 18:08:29 -08:00
aarongrider
41f915d42f
Refactor camera screen and fix bugs
2021-01-07 23:05:06 -08:00
aarongrider
2594fd4f03
Implement zoom mode toggle for Android
2021-01-05 15:39:04 -08:00
aarongrider
0aba0e095a
Stub in zoomMode
2021-01-05 11:53:51 -08:00
aarongrider
423cf44033
Change autoFocus prop to focusMode to match iOS implementation
2021-01-05 11:53:31 -08:00
Aaron Grider
cb44865744
Merge pull request #342 from aarongrider/upgrade-androidx-deps
...
Upgrade CameraX to RC0
2021-01-03 23:36:30 -08:00
aarongrider
17b98f00d6
Upgrade CameraX to RC0
2021-01-03 21:18:54 -08:00
Ewout ter Hoeven
48693c7c8c
android/build.gradle: Update compile SDK and ABI
...
- Updates to compile SDK to increase compatibility and throw latest warnings. No runtime changes to apk.
- Updates the ABI filters to targer modern 64-bit ARMv8 CPUs instead of ARMv7.
2020-12-29 22:00:39 +01:00
aarongrider
a63ca0012d
Android rewrite
2020-11-17 15:42:36 -08:00
aarongrider
e2cee16a0c
Remove RecyclerView dependency
2020-11-12 14:12:49 -08:00
aarongrider
213cf788a4
Remove Gallery
2020-11-12 14:08:11 -08:00
aarongrider
e85c0cb310
Bump baseline and downgrade ZXing
2020-11-12 10:19:18 -08:00
Seph Soliman
323ed94609
Fixed duplicate photo storage
...
Breaking change: shouldSaveToCameraRoll is now a prop on <CKCamera /> instead of a function argument
Fixed: Instead of storing a temporary file, allow capturing directly to photo library and use PHAsset identifiers.
PH identifiers allow seamless loading when combined with the rn-community-cameraroll library
2020-10-23 10:51:48 -07:00
Lev Vidrak
d54cf548e5
rename android package name
2020-10-23 10:51:47 -07:00
Seph Soliman
3090374b03
Merge pull request #189 from arild-jacobsen/android_capture_uri
...
Use file uri in info returned by capture
2020-06-26 15:31:37 -07:00
Seph Soliman
a2f7a7cb79
Merge pull request #293 from redwind/master
...
fix android crash on take picture cause conflict react-native-camera
2020-06-12 18:05:00 -07:00
Seph Soliman
338ba037cb
Merge pull request #263 from azundo/null-cursor-guard
...
Guard against null media cursor (#1 )
2020-06-12 18:04:10 -07:00
Rewind
a6bf3ae567
fix android crash on take picture cause conflict react-native-camera
2020-04-20 11:37:22 +07:00
Ward Abbass
0f7a83c6ed
Migrate java code to androidx
2019-11-26 14:09:55 +02:00
Ward Abbass
0f7ffcf297
add jsc , disable hermes
2019-11-26 14:09:37 +02:00
Ward Abbass
513ee69f91
upgrade libs to 28
2019-11-26 12:32:28 +02:00
Ben Best
ac30a54c5d
Guard against null media cursor ( #1 )
2019-06-13 17:09:40 -07:00
Daniel Dimitrov
b7e4961675
Configuration 'compile' in project is deprecated. Use 'implementation' instead ( #241 )
...
fixes #186
More info on implementation
https://developer.android.com/studio/build/dependencies?utm_source=android-studio#dependency_configurations
2019-04-03 17:02:23 +03:00
Shalom Yerushalmy
fac7ec6413
Revert "Merge pull request #238 from wix/add_torch_feature"
...
This reverts commit 59242bf78b , reversing
changes made to a56f1b681b .
2019-01-07 18:27:17 +02:00
Shalom Yerushalmy
e86d440f00
Merge master and add Readme
2019-01-07 10:49:26 +02:00
Muhammad Abed El Razek
4bb67af451
the 12150 bug fix
2019-01-02 14:29:20 +02:00
Shalom Yerushalmy
e28ddabc94
Add proguard
2018-12-27 18:26:20 +02:00
Shalom Yerushalmy
ff50316550
Remove unused import
2018-12-27 14:54:34 +02:00
Shalom Yerushalmy
8a283479e4
Fix android iports
2018-12-27 14:50:17 +02:00
Shalom Yerushalmy
ba5f924b60
Fix torch method
2018-12-27 14:42:23 +02:00
Shalom Yerushalmy
4554460e44
Merge master
2018-12-17 10:40:13 +02:00
Ran Greenberg
c4e79d73af
upgrade to react-native 0.57.4
2018-10-31 15:37:06 +02:00
Shalom Yerushalmy
3c6e4c54fc
Add torch feature
2018-10-22 10:57:22 +03:00
Artal Druk
5829471762
Android: fix crash when handling result of camera permissions request
2018-08-08 20:00:36 +03:00
Arild Jacobsen
4d2abc72e4
Use file uri in info returned by capture
...
Solves #80
In almost all cases you will want to refer to the captured image
by the uri returned by MediaStore rather than the file path.
E.g. passing the return value from capture directly as source prop
to an Image component.
2018-06-15 16:55:57 +02:00
Ran Greenberg
fe16f2f51c
Revert "update Barcode scanner usage"
2018-04-23 18:21:19 +03:00
Roman Kozlov
edb5f2ceb0
overlay color android
2018-04-06 11:30:36 +03:00
Roman Kozlov
31c13f68f5
refactor andorid
2018-04-05 17:19:54 +03:00
Roman Kozlov
d31df0677a
android frame constraints
2018-04-05 17:16:47 +03:00
Roman Kozlov
ce4b0165d5
WIP
2018-04-05 15:35:07 +03:00
Roman Kozlov
4ce04dd047
doc
2018-04-03 11:01:10 +03:00
Roman Kozlov
d6427afe8e
wait for camera to load bg
2018-04-03 10:58:01 +03:00
Roman Kozlov
e3763d0a85
autofocus
2018-03-27 15:15:47 +03:00
Roman Kozlov
b7bbc6831e
no java 8
2018-03-22 10:30:58 +02:00
Roman Kozlov
94e323ec26
license
2018-03-21 17:01:01 +02:00
Roman Kozlov
fe22571b74
attribution
2018-03-21 16:59:20 +02:00
Roman Kozlov
8bbcaf1921
refactoring
2018-03-21 16:42:25 +02:00
Roman Kozlov
0105df4bca
refactoring
2018-03-21 16:34:50 +02:00
Roman Kozlov
02a1ad45b3
refacto
2018-03-21 15:27:52 +02:00
Roman Kozlov
f788ffbf54
WIP
2018-03-20 16:06:39 +02:00
Roman Kozlov
5c48b9ca6a
WIP
2018-03-20 15:52:00 +02:00
Roman Kozlov
aee8b48821
WIP
2018-03-20 15:51:48 +02:00
Roman Kozlov
18f54e919e
WIP
2018-03-20 12:57:21 +02:00
Roman Kozlov
21a38b19ae
non stop barcode flow
2018-03-14 11:54:06 +02:00
Roman Kozlov
f641546fc0
fix
2018-03-13 17:24:38 +02:00
Roman Kozlov
d90e219f60
handle rotate data
2018-03-13 15:24:08 +02:00
Roman Kozlov
450e190f9b
handle rotate data
2018-03-13 15:24:03 +02:00
Roman Kozlov
e6c94c454a
stop preview
2018-03-13 12:07:44 +02:00
Roman Kozlov
f8c5da4d80
orientation fix
2018-03-13 12:00:53 +02:00
Roman Kozlov
b29f855a44
android key fix
2018-03-06 13:52:35 +02:00
Roman Kozlov
ae82450d56
fix scaling
2018-02-02 15:00:38 +02:00
Roman Kozlov
9639cd2e22
refactoring
2018-02-02 11:03:41 +02:00
Roman Kozlov
05c1289cb0
frame color
2018-01-31 13:20:19 +02:00
Roman Kozlov
7eb7e26d43
fix
2018-01-31 13:01:33 +02:00
Roman Kozlov
a27e2b4a4a
frame WIP
2018-01-31 12:52:26 +02:00
Roman Kozlov
e253ffd575
merge master
2018-01-29 17:46:28 +02:00
Roman Kozlov
1a9669e036
fix
2018-01-29 17:43:27 +02:00
Roman Kozlov
20e27e3d7f
fix imports
2018-01-29 17:29:29 +02:00
Roman Kozlov
88b158f213
barcode scanner inside camera view
2018-01-29 17:22:02 +02:00
Roman Kozlov
3ec1fd0f80
barcode manager
2018-01-26 12:29:16 +02:00
Roman Kozlov
fdad47191d
barcode
2018-01-25 18:39:40 +02:00
Roman Kozlov
8f423b7549
Barcode view
2018-01-25 18:39:08 +02:00
amiru
beef765b1c
Revert "bump versions: gradle, compile, support"
...
This reverts commit 866798781f .
2018-01-15 18:29:03 +02:00
amiru
79a26915aa
Revert "min version back to 16"
...
This reverts commit 67c430e954 .
2018-01-15 18:28:47 +02:00
amiru
67c430e954
min version back to 16
2018-01-15 14:45:46 +02:00
amiru
866798781f
bump versions: gradle, compile, support
2018-01-15 14:34:07 +02:00
Artal Druk
1db29e84e9
Android SaveImageTask: add support for saving a file from remote URL
2017-12-06 18:19:43 +02:00
alon bar david
af801c2b28
images in gallery should be at the correct orientation on android
2017-09-06 23:30:23 +03:00
Guy Carmeli
fa50070318
Fix isGoogleDevice method
...
Originally, we thought the upside down selfie photos issue was
exclusive to Nexus 6 and Pixel devices. Apparently it's reproducible on
Nexus 5 as well.
2017-08-22 17:19:40 +03:00
Johan Haneveld
a7cb5637af
Handle Android RN 0.47 breaking change
...
Fix for a breaking change in React Native 47. createJSModules function is now deprecated and the @override breaks it. Probably remove the whole function
2017-08-17 12:26:07 +02:00
Guy Carmeli
08181f64d1
Refactor out orientation calculations to seperate class
2017-08-09 19:42:17 +03:00
Guy Carmeli
e569b85325
Use default device orientation for preview mode
...
Still uses device orientation sensor to detect landscape/portrait photos
2017-08-09 19:14:42 +03:00
Guy Carmeli
8d692b2545
Check if camera is open before interacting with it
2017-08-08 15:42:37 +03:00
Guy Carmeli
8dbadcf41c
Support landscape orientation
...
Track device orientation and update camera rotation accordingly
2017-08-08 14:14:03 +03:00
Guy Carmeli
77ebaf4fe5
Remove log import
2017-08-02 11:22:15 +03:00
Guy Carmeli
7564b07659
Set 16:9 as max screen resolution
...
Since Camera API 1 doesn't support the new 18:9 and 18.5:9 screen
aspect ratio, convert aspect ratio, if needed, to the max supported
ratio - 16:9.
2017-08-02 11:15:37 +03:00
Guy Carmeli
a88cb4638f
Fix warnings
...
removed unused method and weaken access modifiers
2017-08-02 10:54:37 +03:00
Daniel Vicory
52f16b79ef
Fix memory leak caused by using the view to post to the UI thread ( #52 )
...
Use ReactContext to run on the UI thread and pass it down to SelectableImage, which also
cleans up some of the casting.
Using LeakCanary:
* com.wix.RNCameraKit.gallery.GalleryView has leaked:
* GC ROOT android.os.HandlerThread.localValues
* references java.lang.ThreadLocal$Values.table
* references array java.lang.Object[].[3]
* references android.view.ViewRootImpl$RunQueue.mActions
* references java.util.ArrayList.array
* references array java.lang.Object[].[0]
* references android.view.ViewRootImpl$RunQueue$HandlerAction.action
* references com.wix.RNCameraKit.gallery.GalleryAdapter$1.this$0 (anonymous implementation of java.lang.Runnable)
* references com.wix.RNCameraKit.gallery.GalleryAdapter.mObservable
* references android.support.v7.widget.RecyclerView$AdapterDataObservable.mObservers
* references java.util.ArrayList.array
* references array java.lang.Object[].[0]
* references android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.this$0
* leaks com.wix.RNCameraKit.gallery.GalleryView instance
2017-07-30 09:33:36 +03:00
Ran
1faf1afee3
Merge pull request #46 from misogl/patch-1
...
Fix crash when changing flash mode on front camera
2017-07-22 09:05:22 +03:00
Artal Druk
b271403d4b
StoragePermission: in case permissions are already granted - return after the promise is resolved, there’s no need to request the permission. This case might lead to a crash since when onRequestPermissionsResult is called, the promise will be resolved again (the same promise cannot be resolved more than 1 time).
...
Also, clear the stored requestAccessPromise after it’s resolved - for the same reasons.
2017-07-09 16:26:00 +03:00
gevorg94
fd306016eb
pass overlayColor to selected image [android]
2017-06-30 11:40:14 +04:00
Lev Vidrak
3cf4831c40
Fixed resize image method - include source image’s keys that was not changed
2017-06-29 19:27:46 +03:00
Michal Glaus
429ccf22e7
Fix crash when changing flash mode on front camera
...
`getSupportedFlashModes` returns null for front camera on most devices.
2017-06-29 18:22:39 +02:00
Lev Vidrak
6295dd6c0f
WOA-3924 - (Performance) Image uploading in feed post and chat is slo… ( #45 )
...
* WOA-3924 - (Performance) Image uploading in feed post and chat is slow - Added resizeImage functionality in Android
* Change resolution to be exactly like on iOS
2017-06-26 10:09:32 +03:00
Guy Carmeli
771b7cb030
Add missing recyclerview dependency
2017-05-30 13:21:32 +03:00
Artal Druk
604bc5bd2e
provide image width and height on tap events
2017-05-28 14:42:34 +03:00
Sergey Ilyevsky
bcd59eda46
Fixed size, width and height params on iOS for resized images. Added width and height on Android
2017-05-16 12:59:36 +03:00