Commit graph

19 commits

Author SHA1 Message Date
Mattermost Build
cf2262dbc1 MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3300) 2019-09-23 22:19:26 +02:00
Elias Nahum
f263eac658
MM-17612 Fix fetch periodic status updates when re-connecting (#3089) 2019-08-09 18:47:38 -04:00
Elias Nahum
98da0aa607
MM-16815 Remove the failed posts banner on WS reconnect (#2983) 2019-07-18 11:36:37 -04:00
Elias Nahum
1e8a1307af
Update netInfo to check for internet connectivity (#2850)
* Update netInfo to check for internet connectivity instead of using apple.com as a reference

* Fix network indicator position on tablets
2019-05-31 13:33:56 -04:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies (#2777)
* 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
2019-05-13 13:33:18 -04:00
Elias Nahum
08df256c1d MM-14921 Fix iPad layout including safeAreaInsets (#2748)
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets

* Fix unit tests
2019-05-03 17:42:32 -04:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background (#2658) 2019-03-19 19:58:23 -03:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) (#2548)
* 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
2019-02-16 15:09:22 -03:00
Dean Whillier
c24ffe8b11
[MM 13720] Fix for "No internet connection" banner not always showing (#2563)
* 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
2019-02-12 11:06:43 -05:00
Elias Nahum
477dcbb1c5 Fix other users status changes (#2491) 2019-01-07 15:15:12 -05:00
Elias Nahum
91f9ea572b Wait 1s before clearing notifications when app is brought to the foreground (#2419) 2018-12-06 21:41:31 +05:30
Elias Nahum
8fbb7e7081
Fix Post and network indicator Layouts (#2382)
* Fix post layout that caused text cutoff

* Fix network indicator layout on non iPhone X devices
2018-11-27 19:43:08 -03:00
Elias Nahum
a03016a9e3
Disconnect the websocket on logout and connect appropiately (#2375) 2018-11-23 14:54:43 -03:00
Elias Nahum
aa9fef955f
Do not disconnect WebSocket when NetworkIndicator on componentWillUnmount (#2368)
* Do not disconnect websocket when networkIndicator unmounts

* feedback review
2018-11-22 20:23:25 -03:00
Elias Nahum
6df0f8b915
Set the user status as offline when the app loses connection (#2366) 2018-11-22 11:09:55 -03:00
Elias Nahum
c8777422ce
Fix network indicator layout and reconnect logic (#2351)
* 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
2018-11-22 10:25:08 -03:00
Elias Nahum
1eb046a7fd Android/iOS leave notifications until channel is read (#2321)
* 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
2018-11-19 13:20:44 -05:00
Chris Duarte
4d5b49f104 Network consolidation (#2324)
* Create network listener component

* Remove unnecessary network/websocket logic

* Remove offline indicator. Fix linting issue

* Fix websocketStatus prop issue

* Refactor and remove animation from state

* Fix AppState listener. Add connection retry.
2018-11-14 18:19:59 -03:00