Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
fixed readme
  • Loading branch information
johniak committed Jul 11, 2017
1 parent ad05adc commit 1e89703
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Web fork of most complete chat UI for React Native (formerly known as Gifted Mes

## Installation

- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`
- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`
- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-web-gifted-chat --save`
- Using [Yarn](https://yarnpkg.com/): `yarn add react-web-gifted-chat`

## Example

Expand Down Expand Up @@ -134,24 +134,7 @@ e.g.
- **`onInputTextChanged`** _(Function)_ - Callback when the input text changes
- **`maxInputLength`** _(Integer)_ - Max message composer TextInput length

## Notes for Android

- Make sure you have `android:windowSoftInputMode="adjustResize"` in your `AndroidManifest.xml`:

```xml
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
```

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

## License

- [MIT](LICENSE)

## Author

Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi)!
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-web-gifted-chat",
"version": "0.0.1",
"version": "0.0.3",
"description": "The most complete chat UI for React Web",
"main": "index.js",
"repository": {
Expand All @@ -22,7 +22,7 @@
"homepage": "https://github.com/stermedia/react-web-gifted-chat#readme",
"scripts": {
"lint": "eslint . --ext .js,.jsx",
"compile": "export BABEL_ENV='production' && rm -rf ./dist && mkdir dist && babel index.js src/* -d dist --ignore **/__tests__ && cp package.json dist/"
"compile": "export BABEL_ENV='production' && rm -rf ./dist && mkdir dist && babel index.js src/* -d dist --ignore **/__tests__ && cp package.json dist/ && cp README.md dist/"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand Down

0 comments on commit 1e89703

Please sign in to comment.