* Port WebSocket from mm-redux and batch actions
* Update mm-redux and fix tests
* Change action name
* Naming batch actions
* Fix unit tests
* Dispatch connection change only if its different
* Remove comment
* Add Lint to TypeScript and fix linting errors
* Add WebSocket Unit Tests
* Revert from unwanted RN 0.62
* Add backgroundColor
* Revert backgroundColor and set elevation instead
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Unify usage to one set of defined dispatch actions in codebase, instead of a mix of (almost) identical actions defined in `mattermost-mobile` and `mattermost-redux` .
* Upgrade to RN 0.59.6 and dependencies
* Remove channel loader unused style
* Update to the latest netInfo that fixes a crash
* Do not set default timezone with moment
* Use RN 0.59.8
* Update mattermost-redux to use latest WS changes
* Properly mark channel as read, keep the new message indicator, and fix push notification flow
* unneeded parameter in setCurrentUserStatusOffline
Co-Authored-By: enahum <nahumhbl@gmail.com>
* Feedback review
* Update mm-redux ref
* Add `opacity` to compopnent state …
… to trigger render updates when the property changes.
* Fix bug stopping app from updating connection status
- if the app is opened when no internet connection is present, turning on the internet with the app open will not remove the `No internet connection` message.
* style corrections
* Fix network indicator layout and reconnect logic
* Reconnection logic to cover more use cases
* Check for internet connectivity when bringing the app to the foreground
* iOS clear notifications from a specific channel when clear push notification received
* Android leave notifications until channel is read
* use redux-connect currentChannelId in network indicator