From ab08d9da4d439e97fa79176a108d9a442a2f827f Mon Sep 17 00:00:00 2001 From: Xavier Carpentier Date: Wed, 3 Jul 2019 14:50:32 +0200 Subject: [PATCH] feat improve log and bump --- README.md | 8 +++- __mocks__/react-native-video.js | 7 ---- package.json | 8 +--- src/Bubble.tsx | 41 ++++++++++++++---- src/MessageContainer.tsx | 8 ++-- src/MessageVideo.tsx | 74 --------------------------------- src/QuickReplies.tsx | 3 +- src/types.ts | 44 ++++++++++++-------- src/utils.ts | 11 +++++ tslint.json | 3 ++ yarn.lock | 29 +------------ 11 files changed, 88 insertions(+), 148 deletions(-) delete mode 100644 __mocks__/react-native-video.js delete mode 100644 src/MessageVideo.tsx diff --git a/README.md b/README.md index 3668277b5..bf309485b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ ## Features -- _`react-native-web`able_ +- _`react-native-web`able_ (since 0.10.0) - Write with **TypeScript** (since 0.8.0) - Fully customizable components - Composer actions (to attach photos, etc.) @@ -82,6 +82,10 @@ - System message - Quick Reply messages (bot) +## Versions notes + +- Since v0.10.0 removed `react-native-video` dependency. + ## Dependency - Use version `0.2.x` for RN `>= 0.44.0` @@ -296,7 +300,7 @@ interface QuickReplies { - **`renderMessageImage`** _(Function)_ - Custom message image - **`renderMessageVideo`** _(Function)_ - Custom message video - **`imageProps`** _(Object)_ - Extra props to be passed to the [``](https://facebook.github.io/react-native/docs/image.html) component created by the default `renderMessageImage` -- **`videoProps`** _(Object)_ - Extra props to be passed to the [`