1899 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
Ben Roth
047b39a21e Increase JS bundle download timeout to 5 minutes if developing
fixes https://github.com/expo/universe/issues/1600

fbshipit-source-id: 33b786e
2017-12-05 19:16:42 +00:00
Stanisław Chmiela
a957b74ab7 Fix Android sound load errors
fbshipit-source-id: 37fb914
2017-12-05 18:29:46 +00:00
Ben Roth
5f190f32be Prevent RNSVG crash when passing wrong prop type for percentage
upstream PR is https://github.com/react-native-community/react-native-svg/pull/534

fbshipit-source-id: 8a760d4
2017-12-05 01:33:31 +00:00
Ben Roth
d27395a966 Catch nil linking URI before crashing
probably resolves https://fabric.io/exponent2/ios/apps/host.exp.exponent/issues/5a04de0661b02d480d18a33b

fbshipit-source-id: ad1f8fc
2017-12-05 01:33:31 +00:00
Jesse Ruder
e16ba23995 Don't run SDK 22 test-suite
fbshipit-source-id: 92c4a79
2017-12-05 01:05:33 +00:00
Ben Roth
952fba17bc Fix dumb versioning issue in EXFrame delegate methods
This may fix https://fabric.io/exponent2/ios/apps/host.exp.exponent/issues/59e863a561b02d480dd3794f but I'm not sure

fbshipit-source-id: 2c633b8
2017-12-05 00:56:16 +00:00
Ben Roth
496c621faa Check validity of weak reference in JS loading progress block
attempts to fix https://fabric.io/exponent2/ios/apps/host.exp.exponent/issues/59e7d78b61b02d480dce3d7c

fbshipit-source-id: 31104d1
2017-12-05 00:26:14 +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
e03766dd45 Fix generate-dynamic-macros
fbshipit-source-id: 8f3f808
2017-12-02 02:12:43 +00:00
Jesse Ruder
97810602d6 Remove need for PrepareTestsApp
fbshipit-source-id: d936d55
2017-12-02 02:04:17 +00:00
Brent Vatne
34ced5bc20 Update dev home
fbshipit-source-id: be4de54
2017-12-01 05:31:22 +00:00
Ben Roth
66e12ef57f Render supported SDK versions in ExpoKit template
fbshipit-source-id: f4c55a9
2017-12-01 02:03:42 +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
Nikhilesh Sigatapu
abef764147 Implement and test gl.texSubImage2D(...)
fbshipit-source-id: c81befc
2017-12-01 00:52:39 +00:00
Nikhilesh Sigatapu
b474a81471 Factor stb_image use into a single loadImage(...) method
fbshipit-source-id: 4a499b0
2017-12-01 00:52:39 +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
Nikhilesh Sigatapu
1755985502 Add more required JSC TypedArray stubs for Android
fbshipit-source-id: c31748d
2017-11-30 20:06:04 +00:00
Alicja Warchal
9a5658c6a7 Fix invalid Image uri
fbshipit-source-id: 63ec3f3
2017-11-30 20:02:12 +00:00
Stanisław Chmiela
6b917f8b7e Add failure reason to AV playback error (#1561)
* [ios][av] Add failure reason to AV playback error

* [ios][test-suite] Add test checking whether AV error contains reason for failure when trying to play file of an unsupported format

fbshipit-source-id: c7dc68f
2017-11-30 18:34:22 +00:00
Stanisław Chmiela
9966503d0d Fix for missing bridge in EXBundleImageLoader (#1560)
fbshipit-source-id: c064e73
2017-11-30 18:29:40 +00:00
Adam Miskiewicz
78078170fa Fix for missing constant in EXKernelModuleManager (#1559)
fbshipit-source-id: 454d7e8
2017-11-30 18:07:41 +00:00
Stanisław Chmiela
d3686ccfab Add tolerance{Before,After} to seek methods (#1550)
* [iOS][SDK] Add `tolerance{Before,After}` to seek methods

* [Docs] Add a section about seek tolerance on iOS

fbshipit-source-id: b095c5d
2017-11-30 18:02:50 +00:00
Adam Miskiewicz
d1b2eb1fa4 Make sure we run request with resolveWithFullResponse option (WHO DESIGNED THIS API ARE THEY NUTS)
fbshipit-source-id: 65963ea
2017-11-30 07:25:46 +00:00
Adam Miskiewicz
53d89bcd6f Remove instapromise from tools-public
fbshipit-source-id: 6f54f59
2017-11-30 06:23:01 +00:00
Nikhilesh Sigatapu
f3441e7807 Accept ArrayBuffer arguments where TypedArrays are allowed
fbshipit-source-id: 078de0c
2017-11-30 06:09:17 +00:00
Nikhilesh Sigatapu
a3485d7514 Add 6-argument gl.texImage2D(...) implementation
fbshipit-source-id: d0f9272
2017-11-30 06:09:17 +00:00
Nikhilesh Sigatapu
4203067cc8 Fix a couple non-empty whitespace-only lines
fbshipit-source-id: 9b5cddd
2017-11-30 06:09:17 +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
Brent Vatne
a5b09e3e10 Add release channel name to project list in home (#1539)
* [home] Add release channel name to project list

* [home] Better flex behavior for project rows

* [home] Add comment about extractReleaseChannel

fbshipit-source-id: dce2410
2017-11-29 03:07:17 +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
James Ide
3042408601 Revert "[home][android] Disable gzip in GraphQL calls"
This reverts commit 99ac158fc37d5c38f62bec281c49d4c293099045 since we've turned off Apollo Engine for now and gzipping works okay now.

Tested by pointing Home at staging.

fbshipit-source-id: 669ac4c
2017-11-23 03:10:36 +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
James Ide
13c4c84371 Disable gzip in GraphQL calls
Disabling gzip temporarily while working on the server due to a change from Apollo Optics to Apollo Engine (hypothesis is it changed how gzip encoding works).

Test Plan: Opened Explore and Profile tabs on Android

fbshipit-source-id: 99ac158
2017-11-23 02:31:07 +00:00
Jesse Ruder
8d023589a2 Add old BarCodeScanner to SDK 23
fbshipit-source-id: c6a35d6
2017-11-22 23:13:08 +00:00