Commit graph

16 commits

Author SHA1 Message Date
Elias Nahum
6853707ef2
MM-18335 Keep the icon badge in sync (#3246)
* MM-18335 Keep the icon badge in sync

* feedback review

* Update snapshot
2019-09-16 17:48:50 -03:00
Miguel Alatzar
4ee4ff10dd [MM-14926] Clear foreground notifications from AsyncStorage on logout and server upgrade (#3033)
* Clear foreground notifications from AsyncStorage

* Remove unnecessary call to clearNotifications
2019-07-26 18:21:11 +08:00
Elias Nahum
24f33b2f97 Fix regression opening a channel from a push notification (#2952) 2019-07-05 15:55:08 -07:00
Elias Nahum
c121f66526 MM-16463 Fix replying from push notification to a message in a thread (#2927) 2019-06-26 16:59:07 +08: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
Elias Nahum
46b6687d1f Show local notification when replying to PN fails (#2142) 2018-09-21 00:58:21 +08:00
Jesse Hallam
8372e95d4a add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
Elias Nahum
8e0d167f95 Fix push notification and emm race conditions (#1691)
* Fix push notification and emm race conditions

* feedback review

* Removed unnecesary code
2018-05-22 11:02:14 -04:00
Chris Duarte
e8712f9199 Cold startup js refactor (#1598)
* Switch to SingleDex and remove all locales

* WIP Mattermost Start Component for lazy loading modules

* Add files changed for native modules

* Add Entry component and app global object

* dispatch setStatusBarHeight for iOS

* Update screen imports

* Include Entry screen

* Refactor app to mattermost.android.js

* Override unnecessary java files

* Fix minor issues in changes

* Display empty state based on user credentials

Also, add proper background theme for empty loading screen

* Add native module constant cache support

* Fix startup theme regression

* Add Keychain support for credentials

* Fix Orientation regression

*  Fix SharedExtension regression

* Emit NATIVE_APP_LAUNCHED across bridge only once during cold start

* Add iOS Support

* Revert to previous implementation of i18n

* Fix styling issues

* Include listener for SERVER_VERSION_CHANGED

* Add SafeAreaView in Entry screen

* Register deviceToken early, in order to get iOS PN Support

* Include StartTimeModule

* Add ReplyFromPush support and remove NATIVE_APP_LAUNCHED listener

* Package native constants in StartTimeModule and avoid bridge calls

* Fix check-style errors

* Code cleanup

* Rename StartTimeModule to InitializationModule

* Remove NavigationApplication

* Documentation and minor changes

* Account for app opening after SharedExtension

* Refactor getIntl to getTranslations

* Move native module constants into it's own forked repos

* Include FetchBlob and DeviceInfo forked repos
2018-05-18 17:13:00 -04:00
Jesse Hallam
58b72302d6 update eslint's comma-dangle rule to always-multiline (#1457)
* update eslint's `comma-dangle` rule to `always-multiline`

* add check and fix scripts to package.json

* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
7a1e6d03da
Fix Application Not Responding (ANR) executing service android (#1319) 2017-12-22 16:10:38 -03:00
enahum
0628cbc693 Upgrade to RN 0.48.3 (#911)
* Upgrade to RN 0.48.1

* Update deps to be exact

* Fix tests

* Remove unneeded code from setup and add socketcluster dep

* Fix drawer pan issue

* Fix bridge issues on iOS

* Upgrade to RN 0.48.3

* Search to use RN SectionList
2017-09-18 12:01:47 -04:00
enahum
e0cfefcdff RN-138 Android notification preferences (#889)
* Fix Android and iOS flow

* Own review

* RN-138 Android notification preferences

* Feedback review

* Feedback review 2
2017-09-13 12:00:16 -03:00
enahum
60087e6b4d Enable replying from the push notification (#871)
* Enable replying from the push notification

* Fix Android and iOS flow

* Own review
2017-08-29 12:16:34 -03:00
enahum
7f756a9f81 RN-35 handle clear push notifications (#624) 2017-06-14 09:26:13 -04:00
enahum
c285a6f553 Fix push notifications (#596) 2017-06-05 16:15:00 -04:00