Commit Graph

388 Commits

Author SHA1 Message Date
Ran Greenberg
dd4c53fca6 Update README.md 2017-08-10 22:41:39 +03:00
Ran Greenberg
41379289b6 update readme 2017-08-05 09:25:59 +03:00
Ran Greenberg
81c89385c2 update readme 2017-08-05 09:24:13 +03:00
Ran Greenberg
0d64e8f046 update readme 2017-08-05 09:23:29 +03:00
Ran Greenberg
9fcdd09d56 5.3.6 2017-08-05 09:19:19 +03:00
Ran Greenberg
df8f9afdcc Merge pull request #59 from aksonov/master
fix passing cameraOptions and default overlay colour
2017-08-04 22:24:18 +03:00
aksonov
21a3853e36 fix passing cameraOptions and default overlay color 2017-08-04 14:02:53 +02:00
Ran Greenberg
4f72a00c0e pass extra props to camera screen into react-native View wrapper (current usge for pass testID) 2017-08-02 17:30:02 +03:00
Yedidya Kennard
4967b1331d 5.3.5 2017-08-02 11:24:37 +03:00
Guy Carmeli
692ac6a209 Merge pull request #57 from wix/set16_9asMaxResolution
Set16 9as max resolution
2017-08-02 11:22:43 +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
Guy Carmeli
cf5754ee37 Upgrade gradle, build tools and native dependencies 2017-08-02 10:43:54 +03:00
Ran Greenberg
06547591ce Merge pull request #22 from JAStanton/jonathan/add-pod-spec
Add podspec
2017-07-30 15:36:16 +03:00
Yedidya Kennard
c4f82aa434 5.3.4 2017-07-30 09:34:45 +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 Greenberg
35185a1e81 Merge pull request #54 from appfolio/fix-deprecation-warnings
Pull in prop-types dependency to avoid deprecation warnings
2017-07-28 21:14:30 +03:00
Jon Kessler
80f862e315 Pull in prop-types dependency to avoid deprecation warnings 2017-07-26 12:06:31 -07:00
Ran Greenberg
05ee890ff4 5.3.3 2017-07-22 09:26:06 +03:00
Ran Greenberg
946c0fefee remove yarn.lock from the example project 2017-07-22 09:25:33 +03:00
Ran Greenberg
ab856d5319 remove yarn.lock 2017-07-22 09:25:33 +03:00
Ran
d2936072ce Merge pull request #36 from kubik369/fix-android-gallery-view
Fix android crashing on CameraKitGalleryView
2017-07-22 09:23:25 +03:00
Ran
d1b31c56a3 Merge pull request #44 from avdept/patch-2
Update README.md
2017-07-22 09:05:44 +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
81d4ec353c 5.3.2 2017-07-09 16:44:19 +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
Ran
4f2b05d763 Merge pull request #47 from gevorg94/selected-overlay
pass overlayColor to selected image [android]
2017-06-30 13:16:57 +03:00
gevorg94
fd306016eb pass overlayColor to selected image [android] 2017-06-30 11:40:14 +04:00
Lev Vidrak
7efcb8168f 5.3.1 2017-06-29 19:29:54 +03: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
kubik369
af32e9a063 Fix shallow copy issue in iOS 2017-06-28 12:43:24 +02:00
Yedidya Kennard
78334e4e42 5.3.0 2017-06-26 10:11:04 +03: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
Ran Greenberg
7a71a9c0d7 5.2.20 2017-06-25 15:35:14 +03:00
Ran Greenberg
ca22d63411 fix resizeImage 2017-06-25 15:34:56 +03:00
Alex Sinelnikov
f29b5dfa13 Update README.md
Updated readme for correct android file name
2017-06-20 17:10:39 +03:00
Ran
dab4720641 Merge pull request #42 from avdept/patch-1
Fixed typo
2017-06-20 15:27:17 +03:00
Alex Sinelnikov
10f368aa0f Fixed typo
ios xcodeproj typo
2017-06-20 15:24:45 +03:00
Ran Greenberg
6c08400419 5.2.19 2017-06-20 11:31:12 +03:00
Ran Greenberg
118bb01160 fix crash on simulator when try to changeCamera to rear camera 2017-06-20 11:28:50 +03:00
Ran Greenberg
36fd36bd38 return gracefully when try to invoke resizeImage on Android 2017-06-20 11:27:51 +03:00
Ran
8dbe951359 Merge pull request #26 from viktorsec/master
Add instruction preventing SIGABRT crash on iOS
2017-06-03 09:53:51 +03:00
Ran
dce71dda77 Merge branch 'master' into master 2017-06-03 09:53:10 +03:00
Artal Druk
364b24554c 5.2.18 2017-05-30 14:50:54 +03:00
Guy Carmeli
771b7cb030 Add missing recyclerview dependency 2017-05-30 13:21:32 +03:00
Amit Davidi
3bffe9ae00 5.2.17 2017-05-28 17:29:54 +03:00
Amit Davidi
1ab27b151b Add API for resolving complete image data from camera event 2017-05-28 17:29:40 +03:00
Artal Druk
8fa039cdc6 5.2.16 2017-05-28 14:43:59 +03:00