| #
19cbf4dc |
| 18-Aug-2021 |
Bartłomiej Bukowski <[email protected]> |
[apps] Replace `@unimodules/*` imports with `expo-modules-core` (#14079)
|
| #
90ff9d99 |
| 09-Mar-2020 |
Łukasz Kosmaty <[email protected]> |
[test-suite] Fix cycle imports (#7253)
|
| #
dc814a6b |
| 24-Feb-2020 |
Stanisław Chmiela <[email protected]> |
[test-suite] Fix test-suite error on start (#7163)
# Why
Dismissing error screen on every refresh can be daunting after some time (when running in `bare-expo`).
# How
- added `try`-`catch`
[test-suite] Fix test-suite error on start (#7163)
# Why
Dismissing error screen on every refresh can be daunting after some time (when running in `bare-expo`).
# How
- added `try`-`catch` around calls to missing Facebook Ads module
- added `if (ExpoTaskManager)` around `eventEmitter.addListener`, since event name is fetched as a constant of the module which may be `undefined`
- moved `require(testScreen)` which define tasks to _initialization phase_
- moved `require(cameraScreen)` to global scope since I feel `optionalRequire` only works in global scope (and well, it let me get rid of red screen)
# Test Plan
Running `bare-expo` does not show error screen.
show more ...
|
| #
01859f7f |
| 21-Feb-2020 |
Hein Rutjes <[email protected]> |
[firebase-analytics] Add native Firebase Analytics (#7017)
* [firebase-core] Add tests to test-suite
* [fireabse-analytics] Add expo-firebase-analytics package
* [firebase-core] Add firebase-c
[firebase-analytics] Add native Firebase Analytics (#7017)
* [firebase-core] Add tests to test-suite
* [fireabse-analytics] Add expo-firebase-analytics package
* [firebase-core] Add firebase-core to Expo client iOS project file
* [firebase-analytics] Add tests to test-suite
* [bare-expo] Update iOS app-icon assets
* [firebase-analytics] Add expo-firebase-analytics to Expo client
* [bare-expo] Add firebase-analytics to BasePackageList.java
* [firebase-analytics] Add firebase-analytics to bundleNativeModules.json
* [docs] Add firebase-analytics docs
* [firebase-analytics] Update yarn.lock after adding `firebase` (js sdk) dependency
* [firebase-analytics] Add js build output
* [firebase-analytics] Update sdk docs
* [firebase-analytics] Update SDK docs
* [firebase-analytics] Remove firebase JS dep to check CI
* [docs] Update SDK docs & readme for expo-firebase-analytics
* [expo-analytics] Remove firebase peer-dependency
* [firebase-analytics] Add web-support & code cleanup
* [docs] Update firebase-analytics docs
* [firebase-analytics] Update build files
* [firebase-analytics] Fix outdated build files
* [firebase-analytics] Fix lint warnings
* [firebase-analytics] Fixed code-style errors & typos after review
* [firebase-analytics] Moved `unimodulePeerDependencies` to regular peerDependencies in package.json
* [firebase-analytics] Update js build output
* [fireabse-analytics] Update changelog
* [firebse-analytics] Update Android build.gradle
* [ios] Update pods
* [firebase-analytics] Add recording of `screen_view` event when calling `setCurrentScreen`
On web, calling `setCurrentScreen` does not automatically record a screen_view event as
it does on native. We therefore record the 'screen_view' event manually.
https://stackoverflow.com/questions/59330467/how-to-track-page-view-with-firebase-analytics-in-a-web-single-page-app
* [firebase-analytics] Update JS build files
* [firebase-analytics] Remove @unimodules/core peerDependency from package.json
show more ...
|
| #
776d46fa |
| 21-Feb-2020 |
Hein Rutjes <[email protected]> |
[firebase-core] Add core functionality for supporting native Firebase packages (#7013)
* [bare-expo] Fix database-url in GoogleService-Info.plist
* [firebase-core] Add `expo-firebase-core` packag
[firebase-core] Add core functionality for supporting native Firebase packages (#7013)
* [bare-expo] Fix database-url in GoogleService-Info.plist
* [firebase-core] Add `expo-firebase-core` package
* [firebase-core] Add tests to test-suite
* [firebase-core] Add scoped firebase-core to Expo client to create native sandboxed firebase apps
* [firebase-core] Update bare-expo BasePackageList
* [firebase-core] Add firebase-core to bundledNativeModules.json
* [firebase-core] Add SDK documentation
* [firebase-core] Add firebase-core to Expo client iOS project file
* [firebase-core] Add js build files
* [firebase-core] Update SDK doc to refer to native firebase guide
* [firebase-core] Add web-support & code cleanup
* [docs] Fixes to firebase-core docs
* [firebase-core] Update build files
* [firebase-core] Fix test in test-suite
* [fireabase-core] Cleanup COMPARISON.md
* [firebase-core] Improve google-services.json parsing and client selection
* [firebase-core] Updated SDK docs
* [fireabse-core] Update readme description
* [firebase-core] Removed outcommented line on Android
* [firebase-core] Minor iOS code improvements after review
* [firebase-core] Fixes after review to unit tests
* [firebase-core] Updated iOS code after review feedback
* [firebase-core] Fix tests
* [firebase-core] Simplify JS code
* [firebase-core] Update js build output
* [fireabse-core] Add DEFAULT_WEB_APP_OPTIONS constant + doc improvements
* [firebase-core] Update JS build files
* [firebase-core] Fix unimodulePeerDependencies in package.json
* [firebase-core] Android build.gradle fixes
* [firebase-core] Android base64 encoding code improvement
* [firebase-core] Prevent hard javascript import error when native lib not linked
* [firebase-core] Update various Android methods to be protected i.s.o. public
* [firebase-core] Android protected DEFAULT_APP_NAME and re-use in scoped
* [firebase-core] Update changelog
* [fireabse-core] Update JS build files
* [firebase-android] Fix Firebase App cleanup when multiple projects are loaded on Android
* [ios] Update pods
show more ...
|
| #
962da304 |
| 14-Feb-2020 |
Łukasz Kosmaty <[email protected]> |
[test-suite] Fix permissions' screen added twice (#7031)
# Why
The permissions' screen was added twice to test-suite. Hence, RN shows a warning:
```
Warning: Encountered two children with the
[test-suite] Fix permissions' screen added twice (#7031)
# Why
The permissions' screen was added twice to test-suite. Hence, RN shows a warning:
```
Warning: Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behaviour is unsupported and could change in a future version.%s, Permissions,
```
# How
In `TestUtils` permissions' screen was required twice - remove one reference.
# Test Plan
✅ test-suite
show more ...
|
| #
55058f92 |
| 12-Feb-2020 |
Evan Bacon <[email protected]> |
Created @expo/html-elements (#6986)
* Created @expo/html-elements package
* Created Anchor element
* Created Article
* Created Header
* Created Main
* Created Section
* Created Foo
Created @expo/html-elements (#6986)
* Created @expo/html-elements package
* Created Anchor element
* Created Article
* Created Header
* Created Main
* Created Section
* Created Footer
* Created P
* Created B
* Created Strong
* Created Strike
* Created I
* Created Br
* Created Hr
* Created Code
* Created Table elements
* Updated text elements
* Updated Hr
* Created Nav
* Created Small
* Created Lists
* Created Mark
* Create Tfooter
* Update package.json
* Updated docs
* Update README.md
* Update README.md
* Update README.md
* Update packages/html-elements/README.md
Co-Authored-By: Brent Vatne <[email protected]>
* extract target from anchor
* Strike -> Del
* Updated headings docs
* Update README.md
* simplify ts method
* removed ts-ignores
* Ul => UL
* Ol => OL
* Li => LI
* Hr => HR
* Thead => THead
* Tbody => TBody
* Tfoot => TFoot
* Td => TD
* Br => BR
* Tr => TR
* Th => TH
* Em => EM
* Fix NCL screen
* Added E2E tests
* Updated .npmignore to remove tests, snapshots, and jest tsconfig
* Created Q and BlockQuote
* pixels -> value
* Added audio tag
* Update README.md
* update build files
* fix view and text styles
* Created Time
* Update README.md
* Update README.md
* updated tests
* Remove unused tests
* Created Pre
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* internal links
* unify blocks
* Update README.md
Co-authored-by: Brent Vatne <[email protected]>
show more ...
|
| #
8d574c16 |
| 03-Feb-2020 |
Evan Bacon <[email protected]> |
add expo-facebook to bare-expo (#6958)
* Add expo-facebook to bare-expo
* Add facebook test shim to test-suite
* Update bare-expo pods
|
| #
cee2253d |
| 14-Jan-2020 |
Stanisław Chmiela <[email protected]> |
[expo-notifications] Device push token fetching module (#6577)
# Why
To eventually deprecate ExpoKit.
# How
- created a new unimodule, disabling autolinking in the root projects
- implemen
[expo-notifications] Device push token fetching module (#6577)
# Why
To eventually deprecate ExpoKit.
# How
- created a new unimodule, disabling autolinking in the root projects
- implemented `getDevicePushTokenAsync` method in TS, then in native (on iOS we rely on system framework, on Android we're using Firebase Cloud Messaging)
- implemented listening to token changes
### Notable changes to TS implementation
- I had to juggle around types a bit to achieve what I wanted — for TS to discriminate by `type: keyof Platform.OS` value what is the type of `data` field and at the same time to use `data: any` for unsupported platforms. Types are ready, but I needed to use [`@ts-ignore`](https://github.com/expo/expo/pull/6577/commits/0bd46874ad547f6a1f196adcfc15b6d98614d94f#diff-66b6995155cd1e190f53b012f5c2a857R43-R44) to get away with it.
### Notable changes to native implementation
- we use singleton module for listening to token changes [android](https://github.com/expo/expo/pull/6577/commits/69ee9efd42ba725703fd3f30073564ad3574f1d6#diff-5f9ef5ef7358f7a9c8cc386d42ee934f), [ios](https://github.com/expo/expo/pull/6577/commits/0aa2b66e1342c4de084fc329866752b53b4a6a76#diff-f8332f28b28ad9a24e0af0cb435876c7)
- on Android there's a service subclassing `FirebaseMessagingService` to which the singleton above subscribes [link](https://github.com/expo/expo/pull/6577/commits/69ee9efd42ba725703fd3f30073564ad3574f1d6#diff-b6817886a179022070e2417712503fa9)
### Notable changes to web implementation
- eventually, I guess, developers would want to customize how their app responds to notifications — for this I added a `serviceWorkerPath` manifest field [commit](https://github.com/expo/expo/pull/6577/commits/82e54aeb892b30661e0f5059e64acba70e686f85)
# Test Plan
- tests in `test-suite` are passing on **all three platforms** (on web puppeteer has to be run in head…ful (?) mode, otherwise overriding permissions doesn't work, which is a [known issue](https://github.com/puppeteer/puppeteer/issues/3279))
- push notifications sent to device push tokens are received on **all three platforms**
show more ...
|
| #
c4c79930 |
| 30-Dec-2019 |
Evan Bacon <[email protected]> |
Added blur-view and linear-gradient to test-suite (#6550)
* Added blur-view and linear-gradient to test-suite
* Enable tests
* fix setPortalChild bug
* fix import error
|
| #
43a426ed |
| 30-Dec-2019 |
Evan Bacon <[email protected]> |
Added E2E tests for expo-keep-awake (#6551)
* Added E2E tests for expo-keep-awake
* Update KeepAwake.js
|
| #
3c0dcccf |
| 25-Nov-2019 |
Stanisław Chmiela <[email protected]> |
[expo-battery] Fix isSupported on iOS simulators, move to isAvailableAsync (#6369)
# Why
Supersedes, closes https://github.com/expo/expo/pull/6067.
# How
Built upon https://github.com/expo/
[expo-battery] Fix isSupported on iOS simulators, move to isAvailableAsync (#6369)
# Why
Supersedes, closes https://github.com/expo/expo/pull/6067.
# How
Built upon https://github.com/expo/expo/pull/6067
- reverted changes to SDK35 docs
- added `isAvailableAsync` method
- deprecated `isSupported` exported value
- updated tests
# Test Plan
<img width="491" alt="Zrzut ekranu 2019-11-25 o 13 08 56" src="https://user-images.githubusercontent.com/1151041/69539432-be3d2780-0f84-11ea-9447-5f47d3cbb4aa.png">
show more ...
|
| #
a4304b84 |
| 14-Nov-2019 |
Daniele Bonilha <[email protected]> |
[ios][store-review] Refactor isSupported to isAvailableSync (#6195)
|
| #
f8f94184 |
| 09-Oct-2019 |
Evan Bacon <[email protected]> |
Added ImagePicker tests (#5915)
|
| #
1d192e13 |
| 09-Oct-2019 |
Evan Bacon <[email protected]> |
[iOS][expo-sms][E2E] Added test suite tests for SMS (#5389)
* Improvements for iOS SMS API
#5386
* Update apps/test-suite/TestUtils.js
Co-Authored-By: James Ide <[email protected]
[iOS][expo-sms][E2E] Added test suite tests for SMS (#5389)
* Improvements for iOS SMS API
#5386
* Update apps/test-suite/TestUtils.js
Co-Authored-By: James Ide <[email protected]>
* Auto format ios
* Update ExpoSMS.web.ts
* Update SMS.ts
* Update EXSMSModule.m
* Update EXSMSModule.m
* Update EXSMSModule.m
* Update TestUtils.js
* Update EXSMSModule.m
* Split SMS tests
* updated build files
show more ...
|
| #
8cb96155 |
| 18-Sep-2019 |
Evan Bacon <[email protected]> |
universal core tests (#5587)
* Run core tests on web/native e2e
* Use universal testing for expo-file-system
* Add universal tests to expo-font
* Update TestSuite-test.native.js
* Remove
universal core tests (#5587)
* Run core tests on web/native e2e
* Use universal testing for expo-file-system
* Add universal tests to expo-font
* Update TestSuite-test.native.js
* Removed extra pods
* Update TestUtils.js
* Update SelectScreen.js
* Added tests back
* Removed SVG
show more ...
|
| #
c2fa7b86 |
| 13-Sep-2019 |
Evan Bacon <[email protected]> |
Fix device farm failing tests
|
| #
e3f1f77e |
| 11-Sep-2019 |
Evan Bacon <[email protected]> |
Fixed contacts E2E test (#5589)
|
| #
3d9d8a0f |
| 30-Aug-2019 |
Robert Luo <[email protected]> |
[test-suite] Add expo-battery tests (#4960)
* [test-suite] create test for expo-battery
* update tests
updated tests with accordance to PR feedback
* Removed unused errors
* Remove unsub
[test-suite] Add expo-battery tests (#4960)
* [test-suite] create test for expo-battery
* update tests
updated tests with accordance to PR feedback
* Removed unused errors
* Remove unsub tests
* Update packages/expo-battery/android/src/main/java/expo/modules/battery/BatteryModule.java
Co-Authored-By: James Ide <[email protected]>
* Update BatteryModule.java
* Update Battery.js
show more ...
|
| #
184f260c |
| 27-Aug-2019 |
Evan Bacon <[email protected]> |
[CI] Remove failing tests from device farm (#5452)
* Remove failing tests from device farm CI
Failing: https://us-west-2.console.aws.amazon.com/devicefarm/home?#/projects/56f7808b-bf2c-4e34-b14b-
[CI] Remove failing tests from device farm (#5452)
* Remove failing tests from device farm CI
Failing: https://us-west-2.console.aws.amazon.com/devicefarm/home?#/projects/56f7808b-bf2c-4e34-b14b-5cf148fc7bb7/runs/b659ea1d-0037-4724-91e1-247fe7635a75/jobs/00000/suites/00001/tests/00000
* fixed expo-av lint
* Update Network.js
* Update AdMobBanner.js
* Update TestUtils.js
* Update Video.d.ts
show more ...
|
| #
2eb090a9 |
| 27-Aug-2019 |
Evan Bacon <[email protected]> |
Added application tests (#5448)
* Added application tests
* Update Application.js
|
| #
6a0b8407 |
| 26-Aug-2019 |
Robert Luo <[email protected]> |
[test-suite] Add expo-cellular tests (#5251)
* [test-suite] set up expo-cellular tests
* Update Cellular.js
|
| #
9969452d |
| 26-Aug-2019 |
Tongyu Zhu <[email protected]> |
[test-suite] add expo-network tests (#5274)
* create testsuite
* add tests for ipAddress and macAddress
* complete tests
* Update package.json
|
| #
ee1db320 |
| 26-Aug-2019 |
Tongyu Zhu <[email protected]> |
[test-suite] add device tests to test-suite (#4964)
* Create the highly anticipated Device module
Co-authored-by: Robert L <[email protected]>
Co-authored-by: Vivian Z <[email protected]>
*
[test-suite] add device tests to test-suite (#4964)
* Create the highly anticipated Device module
Co-authored-by: Robert L <[email protected]>
Co-authored-by: Vivian Z <[email protected]>
* remove viewManager
* remove all viewtemplates in android
* clean java code format and exception handler
* fix JS comments
* fix JS files
* Update docs/pages/versions/unversioned/sdk/device.md
Co-Authored-By: Stanisław Chmiela <[email protected]>
* change isAirplaneModeEnabledAsync() name and carrier constants
* remove unnecessary lines
* Update packages/expo-device/ios/EXDevice/EXDevice.m
Co-Authored-By: Stanisław Chmiela <[email protected]>
* fix package.json
* fix exports and newline
* add array.some for devicesWithNotch()
* update android function name and handle exceptiont
* fix package.json
* add ternary
* update device docs with changed function and constant
* change DeviceConstants into two files and add ExpoDevice.web.ts
* [ios] refactoring names
* [ios] move getCarrier to async method
* change IPAddress -> [camelcase] IpAddress
* [ios] fix strong typing, make properties private
* IPAddress -> [camelcase] IpAddress
* [ios] use method notation
* move phoneNumber from constant to getPhoneNumberAsync()
* update getPhoneNumberAsync() in docs
* update importing Device in docs
* rebuild expo-device package and update build/Device.js.map
* [ios] Add UMNullIfNil notation, fix method spacing
* update docs format and consistency
* [ios] remove moduleregistry compliance
* format the ts files, serialNumber to getSerialNumberAsync
* change request permission logic, add getSerialAsync function
* update getSerialAsync in docs
* [ios] fix getUserAgentAsync
[ios] Add webView as a property
* [ios] rename getStorageDictionary -> documentFileSystemAttributes
* [ios] Add promise rejection to IpAddressAsync
If no network interface can be retrieved, we should reject.
* add READ_PHONE_STATE in permissionModule and update permission logic in DeviceModule
* [ios] fix storage
[ios] Add elvis to totalMemory
[ios] convert storage to NSNumbers
* [ios] fix DeviceType
* create a method that would convert `UIUserInterfaceIdiom` to one of `Handset`, `Tablet`, `Tv`, `Unknown`
`- (NSString *)deviceType`
* remove `DeviceTypeValues` macro and enum
* change implementation of `isTablet` method
* Update packages/expo-device/ios/EXDevice/EXDevice.m
format documentFileSystemAttributes
Co-Authored-By: Stanisław Chmiela <[email protected]>
* [ios] move WKWebView *webView into getUserAgentAsync()
* [android/js] remove getPhoneNumberAsync due to permissionListen and security concern
* [docs] remove getPhoneNumberAsync
* [ts/js] modify variable declaration and function logic
* [android] update promise rejection error codes and declare private helper
* [ios] Remove DeviceUID files
* [ios] Fix EXDeviceUID import
- fix import name
- remove comments that were used for notes
* [ios] commit generated pods
* [ios] Change pbxproj
* [android] add getAvailablefeature and remove dangerous permission request function
* [docs] clarify definition and examples, remove and add functions
* [ts/js] update removal of getSerialNumber and add getSystemAvailableFeaturesAsync
* [js] update package.json with description and preview version
* [android] revert READ_PHONE_STATE permission in PermissionModule
* [js] remove getFreeDiskAsync and getTotalCapacity on expo-device
* [js/android] move getFreeDisk and getTotalCapacity from expo-device to expo-file-system
* [ios] remove comments
* [ios] remove TV check for carrier
Removing for now (we'll need to add something similar back when we support Catalyst for Mac)
* [ios] Fix ip address
* [ios] rename isPinOrFingerprint -> hasLocalAuthentication
per @ide's PR comment, we changed the name of this method
* [ios] move storage methods to expo-file-system
@ide suggested that we move storage related methods ot the expo-file-system unimodule
* [android] fix available storage size on getTotalDiskCapacity
* [js] add stoarge functions to FileSystemModule
* [docs] add comprehensive description to the module
* [docs] add storage function descriptions
* [docs] remove storage functions
* [docs] update device docs with new functions
* [js] add new functions and constants
* [android] finish additional functions
* [docs] add example to constants
* [constants] remove deviceId and deviceName from constant module
* [js] fix bugs and update docs
* [android] add isRooted to device module
* [android] rename isRootedAsync to isRootedExperimentalAsync
* Update ExpoKit.podspec
add warning back
* Update device.md
add ANDRIOD.BUILD.ID link
* [ios] set up new constants and methods
setting up new constants and methods that would be useful for the module
* [ios] Implement new constants
Implemented the osBuildId and osVersion methods
* [js] Fix modelName
* Add getUptimeAsync
add getUptimeAsync function
* Add isRootedExperimentalAsync() method
This is pretty experimental, needs to be tested. Referenced from https://github.com/thii/DTTJailbreakDetection/blob/master/Classes/DTTJailbreakDetection.m
* [docs] update device docs description
* [ios] fix isRooted, systemUptime
* [docs] update device and filesystem docs
* [js] update constants with device.md
* [ios] Update methods
* add osInternalBuildId
* rename supportedCPUArchitectures -> supportedCpuArchitectures
* refactor deviceType as a method
* [android] update related functions and constants
* [js] make platform specific variables to be nullable
* [iOS] capitalize deviceType enum values
* [ios] update pods
* [docs] update description for isRootedExperimentalAsync()
* [js] set up enums for DeviceType
* [ios] make CpuType camelcase
* [docs/js] update code and docs format
* [android] make supportedabis to be nullable
* [ios] update pods
* [android] convert limit of Big Integer in storage related functions
* [js] update DeviceType enum syntax and move deviceYearClass from constant module
* move deviceYearClass from expo-constant to expo-device
* [tests] add tests on iOS and Android platforms for device module
* [ios] Add deviceYearClass constant
* [ios] remove deviceYear from expo-constants
* [tests] add test suites for device module
* [test] move testsuite to new branch
* [test] add device tests to testsuite
* isSideLoading -> isSideLoadingAsync
* revert changes to master
* remove unused files
* update format and move directory for test
* update package.json
* remove redundant variables
show more ...
|
| #
89968101 |
| 22-Aug-2019 |
Evan Bacon <[email protected]> |
[E2E][iOS] Add test-suite to the iOS Detox tests in CI (#5390)
* Added test-suite to detox
* Added server
* Updated websockets
* Fixed socket sharing
* Test fixes
* Disabled tests
[E2E][iOS] Add test-suite to the iOS Detox tests in CI (#5390)
* Added test-suite to detox
* Added server
* Updated websockets
* Fixed socket sharing
* Test fixes
* Disabled tests
* Disabled GLView tests
show more ...
|