chore!(expo-splash-screen): Delete deprecated `hide` and `preventAutoHide` methods. (#24296)# Why - These methods have been deprecated for years. - The default native module (web) mocks all met
chore!(expo-splash-screen): Delete deprecated `hide` and `preventAutoHide` methods. (#24296)# Why - These methods have been deprecated for years. - The default native module (web) mocks all methods, this means the unavailability errors cannot be thrown. As such, I dropped them. - Dropped the extra layers of re-exporting code. These add bundling time and not much else. - Dropped the tests as they weren't testing anything. --------- Co-authored-by: Expo Bot <[email protected]>
show more ...
[expo] Use `requireNativeModule` instead of `NativeModulesProxy.*` (#23573)# Why Uses `requireNativeModule` instead of the legacy `NativeModulesProxy`.
[android][splash-screen] Migrate to new modules API (#22827)
[docs][splash-screen] Use preventAutoHide in global (#18199)For some reason, in `--no-dev` mode, the `appContentDidAppear` app lifecycle event (that auto-hides the splash) happens earlier than the
[docs][splash-screen] Use preventAutoHide in global (#18199)For some reason, in `--no-dev` mode, the `appContentDidAppear` app lifecycle event (that auto-hides the splash) happens earlier than the preventAutoHideAsync call so it has nothing to prevent anymore. In dev mode the appContentDidAppear is slow enough for `useEffect(() => {preventAutoHideAsync()}, [])` to be triggered. The workaround that I found working is to call preventAutoHideAsync() outside component, in global scope. Updated docs to suggest that workaround.
Rename unimodules imports to expo-modules-core
[splash-screen] add doc comments in source (#12384)
[packages] Add @deprecated annotations to deprecated APIs (#9959)# Why _This follows the TS 4.0 update PR: #9960_ Typescript 4.0 comes with support for `@deprecated` annotations, which gives
[packages] Add @deprecated annotations to deprecated APIs (#9959)# Why _This follows the TS 4.0 update PR: #9960_ Typescript 4.0 comes with support for `@deprecated` annotations, which gives nice VS Code (and probably other IDE) messages informing users about API deprecation. It also marks deprecated methods/properties with ~~Strikethrough~~. See [this](https://devblogs.microsoft.com/typescript/announcing-typescript-4-0/#deprecated-support) and https://github.com/microsoft/TypeScript/pull/38523 # How - Added appropriate annotations to every possible deprecated Expo API that I found. - Updated existing comments to play nice with VS Code messages Also, added note about dead code in Notifications, which is related to #9563 (I forgot to add it then) > Not sure what to do with changelogs ❓ # Test Plan Tested messages in VS Code with _TS 4.0.2_ enabled.
[splash-screen][client] Add expo-splash-screen to ExpoClient (#9622)
Fix web errors being thrown (#8183)
[expo-splash-screen] add polyfill for usage within managed workflow (#8092)
[splash-screen][bare][iOS][Android] Create expo-splash-screen (#7066)* [splash-screen][bare][Android] Create splash screen mechanism Unimodule features on Android: - SplashScreen is mounted un
[splash-screen][bare][iOS][Android] Create expo-splash-screen (#7066)* [splash-screen][bare][Android] Create splash screen mechanism Unimodule features on Android: - SplashScreen is mounted under ContentView - SplashScreen's image & backgroundColor are configurable - SplashScreen would automatically hide when view hierarchy is mounted in located RootView - SplashScreen would appear again when RootView has no children again ('reload' behaviour from react-native) * [splash-screnn][bare][iOS][Android] Create unimodule from template * [splash-screen][bare][iOS] Create splash screen mechanism Unimodule features on iOS: - SplashScreen is mounted per ViewController - SplashScreen's image & backgroundColor are configurable via .sotryboard file - SplashScreen would automatically hide when ContentDidAppear notification is published - SplashScreen would appear again when bridge is reloaded ('reload' behaviour from react-native) * [splash-screen][Android] Adjust PR according to comments * [splash-screen][Android][docs] Adjust PR according to comments and concerns & provide documentation for Android * [splash-screen][iOS] Adjust PR according to comments * [splash-screen][iOS][docs] Provide installation and configuration instructions * [splash-screen][iOS] Restore unintetionally deleted SplashScreenView creation * [splash-screen][iOS][Android][docs] Apply PR suggestions * [splash-screen][iOS][Android] Make 'preventAutoHide' and 'hide' methods idempotent * [splash-screen][Android] Exclude from Expoview * [splash-screen][docs] Adjust docs according to PR suggestions * [splash-screen][bare-expo] Ignore splash-screen package in bare-expo * [splash-screen] Change version to 0.1.0