Skip to content
Permalink
Browse files

chore expo 35

  • Loading branch information...
xcarpentier committed Sep 19, 2019
1 parent 1e44565 commit 79caaa7fcfe94cbf5437f86f9a1d06815db686a4
Showing with 210 additions and 156 deletions.
  1. +4 −4 README.md
  2. +1 −1 app.json
  3. +9 −9 package.json
  4. +196 −142 yarn.lock
@@ -324,7 +324,7 @@ interface QuickReplies {
- **`keyboardShouldPersistTaps`** _(Enum)_ - Determines whether the keyboard should stay visible after a tap; see [`<ScrollView>`](https://facebook.github.io/react-native/docs/scrollview.html) docs
- **`onInputTextChanged`** _(Function)_ - Callback when the input text changes
- **`maxInputLength`** _(Integer)_ - Max message composer TextInput length
- **`parsePatterns`** _(Function)_ - Custom parse patterns for [react-native-parsed-text](https://github.com/taskrabbit/react-native-parsed-text) used to linkify message content (like URLs and phone numbers), e.g.:
- **`parsePatterns`** _(Function)_ - Custom parse patterns for [react-native-parsed-text](https://github.com/taskrabbit/react-native-parsed-text) used to linking message content (like URLs and phone numbers), e.g.:

```js
<GiftedChat
@@ -399,22 +399,22 @@ If you are using Create React Native App / Expo, no Android specific installatio

If you use React Navigation, additional handling may be required to account for navigation headers and tabs. `KeyboardAvoidingView`'s `keyboardVerticalOffset` property can be set to the height of the navigation header and [`tabBarOptions.keyboardHidesTabBar`](https://reactnavigation.org/docs/en/bottom-tab-navigator.html#bottomtabnavigatorconfig) can be set to keep the tab bar from being shown when the keyboard is up. Due to a [bug with calculating height on Android phones with notches](facebook/react-native#23693), `KeyboardAvoidingView` is recommended over other solutions that involve calculating the height of the window.

- adding an opaque background status bar on app.json (even though `android:windowSoftInputMode="adjustResize"` is set internally on Expo's Android apps, the transulcent status bar causes it not to work): https://docs.expo.io/versions/latest/guides/configuration.html#androidstatusbar
- adding an opaque background status bar on app.json (even though `android:windowSoftInputMode="adjustResize"` is set internally on Expo's Android apps, the translucent status bar causes it not to work): https://docs.expo.io/versions/latest/guides/configuration.html#androidstatusbar

- If you plan to use `GiftedChat` inside a `Modal`, see [#200](https://github.com/FaridSafi/react-native-gifted-chat/issues/200).

## Notes for local development

### Native

1. Install `yarn add -g expo-cli`
1. Install `yarn add -g expo-cli@3.0.11-alpha.1`
2. `expo start`

### react-native-web

#### With expo

1. Install `yarn add -g expo-cli`
1. Install `yarn add -g expo-cli@3.0.11-alpha.1`
2. `expo start -w`

#### With create-react-app
@@ -4,7 +4,7 @@
"description": "Gifted Chat Expo Example",
"slug": "example-expo",
"privacy": "public",
"sdkVersion": "34.0.0",
"sdkVersion": "35.0.0",
"platforms": ["ios", "android", "web"],
"version": "0.5.0",
"orientation": "portrait",
@@ -73,19 +73,19 @@
"@types/uuid": "3.4.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "24.7.1",
"babel-preset-expo": "^6.0.0",
"expo": "^34.0.3",
"expo-constants": "~6.0.0",
"expo-image-picker": "~6.0.0",
"expo-location": "~6.0.0",
"expo-permissions": "~6.0.0",
"babel-preset-expo": "^7.0.0",
"expo": "^35.0.0",
"expo-constants": "~7.0.0",
"expo-image-picker": "~7.0.0",
"expo-location": "~7.0.0",
"expo-permissions": "~7.0.0",
"husky": "^3.0.0",
"jest-expo": "^34.0.0",
"json": "^9.0.6",
"prettier": "1.18.0",
"react": "16.8.3",
"react-dom": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
"react-native-nav": "2.0.2",
"react-native-web": "^0.11.1",
"react-native-web-maps": "0.2.0",
@@ -96,13 +96,13 @@
},
"dependencies": {
"@expo/react-native-action-sheet": "^3.0.3",
"expo-av": "~6.0.0",
"expo-av": "~7.0.0",
"moment": "^2.19.0",
"prop-types": "15.7.2",
"react-native-communications": "2.2.1",
"react-native-iphone-x-helper": "^1.2.0",
"react-native-lightbox": "^0.7.0",
"react-native-maps": "~0.24.0",
"react-native-maps": "~0.25.0",
"react-native-parsed-text": "https://github.com/EvanBacon/react-native-parsed-text.git",
"react-native-video": "5.0.2",
"uuid": "3.3.3"

0 comments on commit 79caaa7

Please sign in to comment.
You can’t perform that action at this time.