From 323e3403032704b8216c7a9d960bf1480abc3101 Mon Sep 17 00:00:00 2001 From: YuliaGrigorieva Date: Wed, 4 Jul 2018 15:38:55 +0300 Subject: [PATCH] update changelog and readme --- .gitignore | 1 + CHANGELOG.md | 13 +++++++++++++ README.md | 6 +++--- src/client/Client.js | 7 ++++++- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 472e287..9817b8f 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ npm-debug.log .npmrc out/ +result.json # Android/IntelliJ # diff --git a/CHANGELOG.md b/CHANGELOG.md index f8f8e01..6765603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +### 1.0.0 +- New APIs with advanced functionality: + - Promises support + - Ability to indicate video directions on call creation or answering + - Easy way to subscribe to Voximplant React Native SDK events with on/off APIs + instead of DeviceEventEmitter + - Extended control for audio devices and camera with ability to handle events + about new audio device, audio device changes, camera errors + - Video resize modes for android + - Endpoints, Video streams and Video views + + See official guides for mode details. + ### 0.2.2 - Fix for login fail with access token, if previously login was performed via one time key - Fix for [#40](https://github.com/voximplant/react-native-voximplant/issues/40) diff --git a/README.md b/README.md index 9f777ff..c0d5af7 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ You can get the demo app from [http://github.com/voximplant/react-native-demo](h You will need free VoxImplant developer account setup for making and receiving calls using the SDK. Learn more at [quick start](https://voximplant.com/docs/references/articles/quickstart). -Useful links: -- [React Native SDK quick start quide]() -- [Migration guide]() +Official guides: +- [React Native SDK quick start quide](#) +- [Migration guide](#) ## Todo diff --git a/src/client/Client.js b/src/client/Client.js index 48d3d09..5c10671 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -312,7 +312,12 @@ export default class Client { } /** - * Create outgoing call + * Create outgoing call. + * + * Important: There is a difference between rejected promise and the Voximplant.CallEvents.CallFailed event. + * If a promise is rejected, that indicates the issues in the application's code (e.g. a try to make a call without a login to the Voximplant cloud); + * in case the CallFailed event is triggered, that means a telecom-related issue (e.g. another participant rejects a call). + * * @param {string} number - The number to call. For SIP compatibility reasons it should be a non-empty string even if the number itself is not used by a Voximplant cloud scenario. * @param {Voximplant.CallSettings} [callSettings] - Optional call settings * @returns {Promise}