Commit Graph

375 Commits

Author SHA1 Message Date
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
Artal Druk 170842a66d eliminate some warnings on gallery view manager 2017-05-28 14:42:59 +03:00
Artal Druk 604bc5bd2e provide image width and height on tap events 2017-05-28 14:42:34 +03:00
Ran Greenberg 6b1add2696 5.2.15 2017-05-25 18:38:46 +03:00
Sergey Ilyevsky bda944ff01 Merge pull request #38 from wix/image_params_fixes
Fixed size, width and height params on iOS for resized images. Added …
2017-05-25 18:34:08 +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
Ran Greenberg 51adc742b8 version bump 5.2.14 2017-05-15 12:29:04 +03:00
Ran Greenberg b2f77e4117 update yarn.lock 2017-05-15 12:27:32 +03:00
Ran 7e7384388c Merge pull request #37 from wix/enhancements
Enhancements
2017-05-14 19:23:50 +03:00
Artal Druk c6e0f2e38d gallery view: added a prop to allow enabling “always bounce” on the collection view 2017-05-14 14:54:40 +03:00
Artal Druk 03fac3591a gallery view: added method for modifying the content offset of the collection view 2017-05-14 14:54:08 +03:00
ofird 1c74b2cf53 upgrade to rn 43 2017-04-24 14:42:52 +03:00
kubik369 c5701c5417 Fix android crashing on CameraKitGalleryView 2017-04-21 17:37:44 +02:00
Ran 6876c9828f Merge pull request #33 from niftylettuce/master
Fix docs
2017-04-11 10:13:04 +03:00