603 Commits

Author SHA1 Message Date
Alicja Warchał
07bbd57b77 Allow image picker to choose only images / videos. (#1525)
* [android][ios][expo-sdk] Allow to choose what media type to select

* [docs] Info about mediaTypes option

* [expo-sdk][android][ios][docs] MediaTypes as a constant; default to images on native side

fbshipit-source-id: db1f536
2017-12-05 21:58:01 +00:00
Stanisław Chmiela
a957b74ab7 Fix Android sound load errors
fbshipit-source-id: 37fb914
2017-12-05 18:29:46 +00:00
Jesse Ruder
e16ba23995 Don't run SDK 22 test-suite
fbshipit-source-id: 92c4a79
2017-12-05 01:05:33 +00:00
Jesse Ruder
3a92209a41 Comment out more tests that are failing on DeviceFarm
fbshipit-source-id: 7cc7c98
2017-12-04 23:22:41 +00:00
Jesse Ruder
22e48816e7 Manually call parent beforeClass method
fbshipit-source-id: fa526fd
2017-12-04 22:18:03 +00:00
Stanisław Chmiela
e229282219 Hide video controls when the user scrolls any ScrollView containing the view
fbshipit-source-id: 59e95a9
2017-12-04 22:10:58 +00:00
Nikhilesh Sigatapu
eb4f434355 SQLite: properly convert null bind parameters
fbshipit-source-id: b7059ba
2017-12-04 21:00:51 +00:00
Nikhilesh Sigatapu
12aeb4aa6b SQLite: flush database cache entry if file deleted
fbshipit-source-id: ab9107a
2017-12-04 19:52:00 +00:00
Jesse Ruder
97810602d6 Remove need for PrepareTestsApp
fbshipit-source-id: d936d55
2017-12-02 02:04:17 +00:00
Satyajit Sahoo
8102ae865f Fix setting barStyle for statusbar
fbshipit-source-id: 4691d29
2017-12-01 01:34:31 +00:00
Janic Duplessis
390f6f879a Store all bundled assets in the /assets folder
fbshipit-source-id: f459d70
2017-12-01 01:34:31 +00:00
Jesse Ruder
650b579cc5 Bump version 2.1.2
fbshipit-source-id: afc0b72
2017-11-30 23:08:29 +00:00
Jesse Ruder
b762ff7734 Backport Fix invalid Image uri to SDK 23
fbshipit-source-id: 42517a2
2017-11-30 20:23:46 +00:00
Alicja Warchal
9a5658c6a7 Fix invalid Image uri
fbshipit-source-id: 63ec3f3
2017-11-30 20:02:12 +00:00
James Ide
b8f9e0cd7c Update ReactAndroid with sdk-23.0.1 RN code
fbshipit-source-id: 47c9041
2017-11-30 00:19:23 +00:00
Janic Duplessis
4671822f10 Bundle image assets for standalone apps (#1357)
* [iOS][android] Support bundled assets for images

* Remove <projectRoot> tag

fbshipit-source-id: 7ba9069
2017-11-29 23:40:41 +00:00
Stanisław Chmiela
a8dd28ef7c Update ExpoCameraView with fixes
fbshipit-source-id: 8115f06
2017-11-29 22:25:20 +00:00
Jesse Ruder
7e08878bc1 Support --local, --module, and --publish flags in pt android-test
fbshipit-source-id: 8c94076
2017-11-29 20:52:26 +00:00
Stanisław Chmiela
2dec7ac337 Face detection (#1337)
fbshipit-source-id: d9ac6e8
2017-11-29 19:18:42 +00:00
Nikhilesh Sigatapu
34b3a648a9 Reimplement GLView using system's TextureView
fbshipit-source-id: 1412193
2017-11-29 00:27:55 +00:00
Alicja Warchał
02d33a8864 Check Camera permissions before starting the preview (#1524)
* [android] Check Camera permissions before starting the preview

* [ios] Check Camera permissions before session starts

* [expo-sdk] Add event param to onMountError

* [docs] onMountError invoked with a param contatining error info

* [expo-sdk] Fix typo - not sure why this worked

fbshipit-source-id: 5400d07
2017-11-28 02:13:24 +00:00
Stanisław Chmiela
0caf4d47ba Use AVQueuePlayer to seamlessly loop audio files, add replayAsync (#1428)
* [SDK][iOS][AV] Use AVQueuePlayer to seamlessly loop audio files

* [WIP][iOS][SDK] Another implementation of AVQueuePlayer used in EXAVPlayerData with some issues

* [WIP][iOS][SDK][Audio] Use message queue to deliver messages to JS more reliably

* [iOS][Audio] Use native events to notify of Audio status updates

* [Android][SDK][AV] Use event emitting to update Audio statuses

* [iOS][SDK] Fix XCode warning for specifying callback type

* [iOS][SDK] Add `replay` iOS native method that will rewind and play the item immediately

* [SDK] Split `Audio.js` into separate `{Sound, Recording}.js`, just for the sake of readability; add `replayAsync` to `Audio` API

* [iOS][SDK] Implement the replay functionality in Video too

* [SDK][Tests] Test the new `replay` functionality

* [SDK] Rename _setInternalStatusUpdateCallback to more appropriate _subscribeToNativeStatusUpdateEvents

* [Android][SDK] Implement dummy replaySound/Video methods

* [Docs][SDK] Add `replayAsync` to A/V documentation

fbshipit-source-id: fc92a28
2017-11-28 01:21:59 +00:00
Alicja Warchal
2908bc2fad Splash - remove background color fade
fbshipit-source-id: cbda2d9
2017-11-27 23:19:29 +00:00
Alicja Warchal
3a9a4262ec Splash background color fallback
fbshipit-source-id: 97ce08a
2017-11-27 23:19:28 +00:00
Jesse Ruder
d422f67613 Bump version 2.1.1
fbshipit-source-id: b60e63a
2017-11-23 03:02:07 +00:00
Brent Vatne
205275d530 Publish new bundle
fbshipit-source-id: 77a362d
2017-11-23 02:51:33 +00:00
Jesse Ruder
8d023589a2 Add old BarCodeScanner to SDK 23
fbshipit-source-id: c6a35d6
2017-11-22 23:13:08 +00:00
Jesse Ruder
f59d3468f5 Don't use FORCE_UNVERSIONED_PUBLISHED_EXPERIENCES on kernel
fbshipit-source-id: 5ea2fb2
2017-11-22 22:01:23 +00:00
Jesse Ruder
20b8f3551c Add back unversioned BarCodeScanner
fbshipit-source-id: de772a1
2017-11-22 19:59:05 +00:00
Jesse Ruder
952d2073aa Comment out failing tests for now
fbshipit-source-id: 44d38fd
2017-11-22 01:30:27 +00:00
Jesse Ruder
5d21474ea7 Run test suite on old sdk versions
fbshipit-source-id: c2dd989
2017-11-22 01:30:27 +00:00
Jesse Ruder
550fd1811e Fix segment module
fbshipit-source-id: 22e1597
2017-11-21 22:49:22 +00:00
Callum Gardner
d0aaa1ef94 Added Segment group methods
- added #group and #groupWithTraits to Segment API support

I have added support for the Segment  method based upon the documentation. I don'\''t know how to build and/or test this. Also, I am not an Objective-C programmer -could someone closely check the Obj-C code, please?

Closes expo/expo#955

fbshipit-source-id: f50077f
2017-11-21 22:21:42 +00:00
Adam Miskiewicz
8edb5c92c0 Update Android client to send Expo-JSON-Error header and display nicer errors during experience load
- Update ExponentManifest to parse a JSON response and send the Expo-JSON-Error header
- Update ManifestException's `toString()` method to output a nicer error for different cases.

fbshipit-source-id: 9270275
2017-11-21 19:49:37 +00:00
Jesse Ruder
e2f3d93c1f Only add shell app release channel header to INITIAL_URL manifest
fbshipit-source-id: 9838216
2017-11-17 19:38:24 +00:00
Ben Roth
6a89c0ebde Publish home with snack nux appetize fix
fbshipit-source-id: 5f5df3a
2017-11-17 19:12:07 +00:00
Jesse Ruder
1afa106367 Bump version
fbshipit-source-id: 69c1466
2017-11-16 19:28:39 +00:00
Jesse Ruder
3273b68269 Version SDK 23
fbshipit-source-id: d18455f
2017-11-15 01:29:06 +00:00
Nikhilesh Sigatapu
f7103dc5b4 Implement Permissions.CAMERA_ROLL for Android
fbshipit-source-id: 52737d4
2017-11-14 03:20:54 +00:00
Ben Roth
90f90478a1 Publish prod and dev home SDK 23
fbshipit-source-id: dc6adb8
2017-11-14 01:25:41 +00:00
Alicja Warchal
502e0867df Prevent Camera1 from crashing on stop
fbshipit-source-id: 3837146
2017-11-11 00:15:29 +00:00
Alicja Warchal
23b208d196 Check audio recording permissions before recording is started
fbshipit-source-id: d3d1e2c
2017-11-11 00:01:57 +00:00
Alicja Warchal
1e6bd8210a Add onMountError - prevent from crashing camera
fbshipit-source-id: a863415
2017-11-11 00:01:57 +00:00
James Ide
c19ca3a6dc Update react-native-gesture-handler to alpha 30 for RN 0.50
Tested in NCL on both iOS and Android

fbshipit-source-id: 9c12f94
2017-11-10 23:56:32 +00:00
Jesse Ruder
6235b5a20d Destroy SDK 14, 15, 16
fbshipit-source-id: 71fe007
2017-11-10 23:36:14 +00:00
Jesse Ruder
56a7730bd1 Re-add pin button without nux
fbshipit-source-id: 8ba405b
2017-11-10 22:25:28 +00:00
Jesse Ruder
e4b0ff087f compileSdkVersion 26
fbshipit-source-id: 3883f3e
2017-11-10 22:25:27 +00:00
Leena
d58449c3e6 Show BigText for Local Notification
Fix for the Issue: [https://github.com/expo/expo/issues/881](https://github.com/expo/expo/issues/881)

Closes expo/expo#883

fbshipit-source-id: 831f016
2017-11-09 18:48:48 +00:00
Jesse Ruder
03be4ff861 Fix notification foregrounding crash
fbshipit-source-id: f36dee9
2017-11-09 18:48:48 +00:00
Jesse Ruder
5c28576665 Add jniLoadScriptFromString
fbshipit-source-id: 387d9b9
2017-11-09 18:48:47 +00:00