[android] Remove unnecessary version checks (#24203)# Why This PR is related to #24201, it removes unnecessary version checks # How Remove version check logic for SDK's < 23 # Test Pla
[android] Remove unnecessary version checks (#24203)# Why This PR is related to #24201, it removes unnecessary version checks # How Remove version check logic for SDK's < 23 # Test Plan Tested in Bare Expo in Android 13 simulator
show more ...
[clipboard][Android] Fixed crash in clipboard listener on Android SDK <26 (#21383)# Why On devices with Android versions below 8 (SDK 26), the changes in #19723 causes the app to crash whenever
[clipboard][Android] Fixed crash in clipboard listener on Android SDK <26 (#21383)# Why On devices with Android versions below 8 (SDK 26), the changes in #19723 causes the app to crash whenever a string is copied due to using the `getTimestamp()` function that is only available on SDK 26 and above: https://developer.android.com/reference/android/content/ClipDescription#getTimestamp() # How Add a check to ensure `Build.VERSION.SDK_INT >= Build.VERSION_CODES.O` before calling `clip.timestamp`. # Test Plan Ran `yarn android` in `apps/bare-expo`
[clipboard][Android] Add missing `Enumerable` (#20155)# Why All enums should inherit from the Enumerable interface.
[clipboard][Android] Fixes clipboard listener is called twice (#19723)# Why Fixes clipboard listener is called twice on Android. Fixes clipboard listener crashing the application on Android dur
[clipboard][Android] Fixes clipboard listener is called twice (#19723)# Why Fixes clipboard listener is called twice on Android. Fixes clipboard listener crashing the application on Android during the initialization phase. # How During the `dev-client` QA, I faced two issues with a clipboard. First of all, the listener's called twice for a single event. It was fixed by checking the timestamp. Moreover, the clipboard code may break the application, when the same listener is called in the initialization phase when react modules aren't fully initiated. I've decided to add a function to the app context to check if the react native is alive. # Test Plan - bare-expo ✅
[android][clipboard] Use Sweet API coroutines (#18036)Sweet API now supports coroutines, but expo-clipboard was still using its own implementation. Used `AsyncFunction() Coroutine { }` and remov
[android][clipboard] Use Sweet API coroutines (#18036)Sweet API now supports coroutines, but expo-clipboard was still using its own implementation. Used `AsyncFunction() Coroutine { }` and removed clipboard `moduleCoroutineScope`. Modified error handling to be try-catch. Co-authored-by: Expo Bot <[email protected]>
[clipboard][android] Fix event content type for image (#17644)Co-authored-by: Expo Bot <[email protected]>
[ios][android] Migrate names of module definition components (#17193)
[clipboard] Redesign event listener (#16787)* Android * iOS * JS * HTML is Text too * Suppress warnings * Update CHANGELOG * Update docs example * Use enums * Apply suggesti
[clipboard] Redesign event listener (#16787)* Android * iOS * JS * HTML is Text too * Suppress warnings * Update CHANGELOG * Update docs example * Use enums * Apply suggestions
Revert "[clipboard] Rename `function` to `asyncFunction`"Reverts 3c206c0 - we don't want to do this before SDK 46. For now we have a workaroundthat treads functions with `Async` suffix to beasync
Revert "[clipboard] Rename `function` to `asyncFunction`"Reverts 3c206c0 - we don't want to do this before SDK 46. For now we have a workaroundthat treads functions with `Async` suffix to beasynchronous regardless if it is `function` or `asyncFunction`
[clipboard][android] Rename `function` to `asyncFunction`The `function` was deprecated in #16656
[clipboard] Add support for HTML content (#16551)* Implement Android * Implement iOS * [android] HTML -> Text conversion * JS, docs * Update CHANGELOG * Export types * Apply sugge
[clipboard] Add support for HTML content (#16551)* Implement Android * Implement iOS * [android] HTML -> Text conversion * JS, docs * Update CHANGELOG * Export types * Apply suggestions
[clipboard][Android] Add support for images (#16413)* Native Android implementation * Add native unit tests * Update test suite * Update docs * Update CHANGELOG * Apply suggestions
[clipboard][Android] Add support for images (#16413)* Native Android implementation * Add native unit tests * Update test suite * Update docs * Update CHANGELOG * Apply suggestions * Fix rebase
[clipboard] Add `hasStringAsync` (#16524)* [clipboard] Add `hasStringAsync` * Update CHANGELOG * Add test Co-authored-by: Expo Bot <[email protected]> Co-author
[clipboard] Add `hasStringAsync` (#16524)* [clipboard] Add `hasStringAsync` * Update CHANGELOG * Add test Co-authored-by: Expo Bot <[email protected]> Co-authored-by: Expo Bot <[email protected]>
[expo-clipboard] Deprecate `setString` -> `setStringAsync` (#16320)* [JS] `setString` -> `setStringAsync` * [JS] Update tests * Build JS * Update docs schema * [Android] `setString` ->
[expo-clipboard] Deprecate `setString` -> `setStringAsync` (#16320)* [JS] `setString` -> `setStringAsync` * [JS] Update tests * Build JS * Update docs schema * [Android] `setString` -> `setStringAsync` * Update iOS * Update NCL * Updated CHANGELOG * Apply suggestion
[Android][clipboard] Rewrite module to Sweet API (#16269)* [clipboard][android] Refactor module to Sweet API * Prepare test utils * Update clipboard tests * Fix spotless * Update CHANGE
[Android][clipboard] Rewrite module to Sweet API (#16269)* [clipboard][android] Refactor module to Sweet API * Prepare test utils * Update clipboard tests * Fix spotless * Update CHANGELOG * Add one more test case * Apply suggestions * Update tests * Fix spotless * Event name as constant
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core`
[expo-modules] Move code from `unimodules` into `expo-modules-core` (#13703)# Why Migrated `unimodules-core`, `unimodules-react-native-adapter`, `unimodules-app-loader` into `expo-modules-core` # How - Change package using AS refactor tools - Fix some places where AS wasn't able to do automatically - Fix compatibility with new auto-linking - Ensure that classes which are used during installation steps are still available in the old place # Test Plan - expo-go (tested using unversioned and 41) - bare-expo
[android] lint spotless ktlint and fix CI step (#13662)
[android] Add kotlin spotless ktlint linter for bare-expo (#13596)# Why In [#12545](https://github.com/expo/expo/pull/12545) ktlint was added to expo-go, but it didn't work with bare app. # H
[android] Add kotlin spotless ktlint linter for bare-expo (#13596)# Why In [#12545](https://github.com/expo/expo/pull/12545) ktlint was added to expo-go, but it didn't work with bare app. # How 1. Add spotless plugin, configure ktlint in accordance with how it was already implemented in expo-go. 2. Fix current lint errors
[expo-clipboard][android] clean code in clipboard module (#13517)# Why Module was rewritten from Java to Kotlin and needed cleaning. # How I changed a few lines of code to make code more r
[expo-clipboard][android] clean code in clipboard module (#13517)# Why Module was rewritten from Java to Kotlin and needed cleaning. # How I changed a few lines of code to make code more readable. # Test Plan I launched bare expo app on my device and tested clipboard module. # Checklist - [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.io and README.md).
[clipboard] add native implementation for expo-clipboard (#13050)* add native code for expo-clipboard * add more to NCL * integrate into Expo Go * typescript imrprovements * autogenerat
[clipboard] add native implementation for expo-clipboard (#13050)* add native code for expo-clipboard * add more to NCL * integrate into Expo Go * typescript imrprovements * autogenerate docs * ts fixes to ncl * update docs * remove console log * Update packages/expo-clipboard/CHANGELOG.md Co-authored-by: Expo CI <[email protected]> * fix tests * android native unit tests * [skip ci] edit build.gradle * remove @unimodules/core: ~7.1.0 Co-authored-by: Expo CI <[email protected]>