Skip to content

Commit

Permalink
Removed Expo.Utils (#3577)
Browse files Browse the repository at this point in the history
Removed Expo.Util
  • Loading branch information
EvanBacon authored Feb 26, 2019
1 parent 06007e8 commit 35f3242
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 102 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This is the log of notable changes to the Expo client that are developer-facing.

### 🛠 Breaking changes

- deprecated `Expo.Util` by [@EvanBacon](https://github.com/EvanBacon) ([#3539](https://github.com/expo/expo/pull/3577)). You should use `Expo.Updates` & `Expo.Localization` instead.
- removed use of `expolib_v1.okhttp` in favor of regular `okhttp` dependency by [@Szymon20000](https://github.com/Szymon20000) ([#3539](https://github.com/expo/expo/pull/3539)) (an update to `MainApplication.getOkHttpBuilder` may be required when upgrading)
- corrected behavior of splash screen image based on `resizeMode` in Android standalone apps (`contain` and `cover` were handled contrary to what docs state) by [@bbarthec](https://github.com/bbarthec) ([#3029](https://github.com/expo/expo/pull/3029))
- `Speech.speak` changed option name from `voiceIOS` to `voice`. [@Szymon20000](https://github.com/Szymon20000) ([#3423](https://github.com/expo/expo/pull/3423))
Expand Down
2 changes: 0 additions & 2 deletions apps/native-component-list/navigation/ExpoApis.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import SecureStore from '../screens/SecureStoreScreen';
import SMS from '../screens/SMSScreen';
import StoreReview from '../screens/StoreReview';
import TextToSpeech from '../screens/TextToSpeechScreen';
import Util from '../screens/UtilScreen';
import ViewShot from '../screens/ViewShotScreen';
import WebBrowser from '../screens/WebBrowserScreen';

Expand Down Expand Up @@ -98,7 +97,6 @@ const optionalScreens = {
StoreReview,
TaskManager,
TextToSpeech,
Util,
WebBrowser,
ViewShot,
};
Expand Down
2 changes: 0 additions & 2 deletions apps/native-component-list/screens/ExpoApisScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export default class ExpoApisScreen extends React.Component {
'Sensor',
'SMS',
'TextToSpeech',
'Util',
'ViewShot',
],
default: [
Expand Down Expand Up @@ -139,7 +138,6 @@ export default class ExpoApisScreen extends React.Component {
'StoreReview',
'TaskManager',
'TextToSpeech',
'Util',
'WebBrowser',
'ViewShot',
],
Expand Down
56 changes: 0 additions & 56 deletions apps/native-component-list/screens/UtilScreen.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/expo/src/Expo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import * as LocalAuthentication from 'expo-local-authentication';
import * as ScreenOrientation from './ScreenOrientation/ScreenOrientation';
import * as StoreReview from './StoreReview/StoreReview';
import * as Updates from './Updates/Updates';
import * as Util from './Util';
import * as FacebookAds from 'expo-ads-facebook';
import * as SplashScreen from './launch/SplashScreen';
import * as WebBrowser from 'expo-web-browser';
Expand Down Expand Up @@ -103,7 +102,6 @@ export { SecureStore };
export { StoreReview };
export { default as Svg } from './Svg';
export { Updates };
export { Util };
export { WebBrowser };
export { default as apisAreAvailable } from './apisAreAvailable';
export { default as takeSnapshotAsync } from './takeSnapshotAsync/takeSnapshotAsync';
Expand Down
40 changes: 0 additions & 40 deletions packages/expo/src/Util.ts

This file was deleted.

0 comments on commit 35f3242

Please sign in to comment.