Commit Graph

199 Commits

Author SHA1 Message Date
Yousra Sdn
6196173463
chore: expose a method to set the torch mode (#523) 2023-03-10 19:32:47 -08:00
jorgepalacio
9a8c6fd2ae
Bump metadata-extrator to 2.18.0 version to avoid 2.12.0 vulnerabilities (#493) 2022-10-05 15:47:41 -07:00
Seph Soliman
edfa42380f
v13 (#491)
* Removed saveToCameraRoll & saveToCameraRollWithPhUrl.
Use react-native-cameraroll instead.

Upgraded CameraX to 1.1.0,
Upgraded com.google.mlkit:barcode-scanning to 17.0.2

* v13.0.0
2022-08-29 11:29:07 -07:00
Cássio Seffrin
1de4ed4c2c
issues/464 barcode scanner does not work in some devices (#465) 2022-08-07 16:31:48 -07:00
Chris Savvopoulos
c61c0f0200
Upgrade dependencies to latest stable; show square on tap-to-focus (#442) 2022-01-21 11:45:25 -08:00
Seph Soliman
458ac7837e Remove dependency on core-ktx
Version 1.7.0-alpha02 was released which breaks compatibility with some apps (compile min version must be 31) and we may not need it
2021-09-02 14:23:00 -07:00
Seph Soliman
e6c8879824
Merge pull request #407 from Syar-tech/fix-Syar-tech-mimetype
Fix MimeType for API 30
2021-06-24 20:20:54 -07:00
Seph Soliman
e064c615d6
Update CKCamera.kt 2021-06-24 19:32:08 -07:00
Seph Soliman
0b333b2c87 Fixes #409 Remove dependency on zxing, lower library size 2021-06-24 15:00:53 -07:00
Syar-tech
502f0ef9da fix import 2021-06-11 16:19:51 +02:00
Syar-tech
8eace315d3 Fix MimeType for API 30 2021-06-11 15:59:48 +02:00
Seph Soliman
6be7a1f6cb Added support for saveToCameraRoll on Android. Doc updates. 2021-06-08 16:01:44 -07:00
Bruce Oh
69fffec93a Adding null safety check on RNCameraKitModule 2021-03-17 15:49:11 +09:00
aarongrider
eea37b83f0 Make scaleDetector a constant to prevent threading issues 2021-01-14 12:53:22 -08:00
aarongrider
37f28488a5 Fix Android camera lifecycle 2021-01-13 15:04:40 -08:00
aarongrider
52ab2ef27b Save each captured image with unique name 2021-01-12 13:34:37 -08:00
aarongrider
06487dcc5f Fix camera view scale 2021-01-12 13:34:08 -08:00
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