Commit Graph

412 Commits

Author SHA1 Message Date
Ran Greenberg
1a2d44643d update readme 2017-08-15 18:40:56 +03:00
Ran Greenberg
a37127d5ff add onRemoteDownloadChanged to GalleryScreen 2017-08-15 18:40:56 +03:00
Ran Greenberg
5db5995350 remove comments code 2017-08-15 18:38:15 +03:00
Ran Greenberg
e9ba45d32b add onRemoteDownloadChanged in CKGalleryViewManager (iOS only) 2017-08-15 18:38:15 +03:00
Ran Greenberg
62c3da018f remove debug console.log 2017-08-15 18:38:15 +03:00
Ran Greenberg
2fe33200a1 add remote download props example to gallery screen 2017-08-15 16:24:36 +03:00
Ran Greenberg
490b11d105 add remote download support, if images aren't exist on the device and stored in iCloud, now camera-kit will support and download it seamlessly 2017-08-15 16:23:18 +03:00
Ran Greenberg
773f719981 fix CameraKitGallery::getImageUriForId for iOS 2017-08-15 10:44:21 +03:00
Ran Greenberg
cd31d0759d update README 2017-08-15 10:26:25 +03:00
Ran Greenberg
01eb3c9ec5 update README 2017-08-15 10:23:33 +03:00
Ran Greenberg
dfc06901ab update example project - add gallery screen 2017-08-15 10:15:56 +03:00
Ran Greenberg
1ddb239a50 update deployment target to be equal to react-native >= 8.0 2017-08-15 10:15:56 +03:00
Ran Greenberg
80a3497caa add script Xcode in package.json's 2017-08-15 10:15:56 +03:00
Ran Greenberg
145ffeabfe Update README.md 2017-08-14 11:26:58 +03:00
Ran Greenberg
88790b0891 now the bundler path will determine in run time instead of setting the bundler path manually 2017-08-14 10:23:17 +03:00
Ran Greenberg
8238579006 update example project -
change name from example to camera-kit
    change import in AppDelegate to support react-native umbrella header
2017-08-14 10:22:32 +03:00
Ran Greenberg
0d1c906323 add src folder in JS side 2017-08-14 10:04:04 +03:00
Ran Greenberg
3060b0ccee add xcode script to packege.json and example/packege.json 2017-08-13 18:15:28 +03:00
Yedidya Kennard
a824d4271b 5.3.7 2017-08-13 09:40:28 +03:00
Guy Carmeli
12eed10d94 Merge pull request #63 from wix/suppotLandscapeOrientation
Support landscape orientation
2017-08-13 09:38:41 +03:00
Ran Greenberg
dd4c53fca6 Update README.md 2017-08-10 22:41:39 +03: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
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