Commit graph

78 commits

Author SHA1 Message Date
Miguel Alatzar
10442444b8
Ensure data has url key before attempting upload (#2609) 2019-02-28 10:58:54 -08:00
Miguel Alatzar
c0bae1f5a9
Check for null uri prior to getting path to shared content (#2607) 2019-02-28 10:57:04 -08:00
Elias Nahum
88f5848850
Dependencies update (#2576)
* Dependencies update

* Fix WebView

* Update to RN 0.58.5 and include the WebSocket fix

* Update react-native-video

* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Elias Nahum
7df9711afa
Prevent the app from crashing when file mime type is null (#2582) 2019-02-20 16:47:55 -03:00
Elias Nahum
2184696e65
post menu and file attachments (#2414)
* post menu and file attachments

* Fix post list selector test

* Use new Gesture handler to avoid gesture conflicts in post menu and reaction list

* Allow reaction list to scroll the header on Android

* Feedback review

* Add some comments

* Fix eslint
2018-12-05 14:59:41 -03:00
Elias Nahum
c54738481f
Android: Fix crash when attaching files from the downloads folder (#2390) 2018-11-28 15:06:23 -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
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView (#2340) 2018-11-16 13:28:54 -03:00
Harrison Healey
28b993834c MM-12424 Properly set softInputMode on Android activity (#2201) 2018-10-03 16:02:04 -03:00
Elias Nahum
f522df7a2e Refactor postlist to include Android Pie fixes and smoother scrolling (#2161) 2018-09-26 10:43:33 -04:00
Elias Nahum
46b6687d1f Show local notification when replying to PN fails (#2142) 2018-09-21 00:58:21 +08:00
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
c24492be8f
Android notification support for O and P (#2060) 2018-08-30 19:45:21 -03:00
Elias Nahum
bca46b23fe
Bump Android build number to 129 (#1980)
* Fix Sentry module in Android MainApplication

* Bump Android build number to 129
2018-08-07 14:29:59 -04:00
Elias Nahum
cf85c3c1e8 Fix Android share extension and better handle errors (#1965) 2018-08-03 13:18:21 -04:00
Elias Nahum
44152ad5e5 Fix reply pending intent per channel (#1932) 2018-07-18 14:33:08 -04:00
Elias Nahum
a208df9417 Fix uploading files from androids download provider (#1837) 2018-06-27 08:35:22 -04:00
Elias Nahum
3cee7b310e Set Android share extension default mime type for images and videos (#1833) 2018-06-27 08:13:52 -04:00
Elias Nahum
abd67c1bec
Always create a temp file for Android share (#1824) 2018-06-25 13:11:50 -04:00
Elias Nahum
1cddb45905
Verify that the push notification version is not null (#1736) 2018-06-07 10:17:57 -04:00
Elias Nahum
64baa64057
Fix push notification styling backwards compatibility (#1729)
* Android Push notification style backwards compatible

* Fix fastlane android release build
2018-06-05 14:50:51 -04:00
Elias Nahum
e07a738dcd Remove orientation dependency (#1698)
* Remove orientation dependency

* Update NOTICES
2018-05-23 10:39:23 -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
Elias Nahum
21f2624bec Android Push notification styling improvements (#1683) 2018-05-18 10:13:38 -04:00
Elias Nahum
23ca490525
Ability to upload other file types (#1662) 2018-05-11 18:05:49 -03:00
Elias Nahum
aebe22f58d
Fix Android sharing files without extension (#1646) 2018-04-30 11:57:24 -03:00
Elias Nahum
e31fc00377
Fix share from SwiftKey Keyboard and clear temp files (#1585)
* Fix share from SwiftKey Keyboard and clear temp files

* feedback review
2018-04-13 12:26:29 -03:00
enahum
a9a8017006
Fix Android stuck when opening from push notification (#1429) 2018-02-12 13:51:29 -03:00
enahum
d0f96c0887
[ICU-650] Upgrade React Native to 0.52.2 (#1421)
* Upgrade to React Native 0.52.2

* Bump app version to 1.7.0

* Update fastlane

* Upgrade mattermost redux

* feedback review
2018-02-07 18:24:01 -03:00
enahum
cd6fd9017f Fix Android app stuck in splash screen when killed by the OS (#1403) 2018-02-01 09:56:09 -05:00
enahum
cd80cdfdf4 Fix race condition preventing the app opened from a PN to go to the correct channel (#1398)
* Fix race condition preventing the app opened from a PN to go to the correct channel

* Feedback review
2018-01-31 11:02:02 -05:00
enahum
676a3c4bda
Fix share extension (#1386)
* Remove iOS extension garbage code

* Fix Android Share Extension crash
2018-01-26 18:50:08 -03:00
enahum
926ffe96c5
Android share extension (#1352)
* Android share extension

* Feedback review

* Feedback review
2018-01-17 18:17:02 -03:00
enahum
30863ef42b
Make sure that channelIdToNotification is not null (#1320) 2017-12-22 16:11:00 -03:00
enahum
86efb2d321
Ensure the user has permission to access ringtones (#1313) 2017-12-22 16:05:42 -03:00
enahum
62cedae196 Multiple bug fixes (#1287) 2017-12-08 09:37:14 -05:00
enahum
76169720a5
Android: Avoid crash when clearing notifications (#1282) 2017-12-07 12:19:42 -03:00
Alexander Rashed
bbf4557b54 [1216] Use system default for vibration pattern (#1247) 2017-12-04 12:11:32 -03:00
enahum
bc1554e1bd
Add Document and Video previews (#1170)
* Video file previewer

* Document preview support

* Fix tests

* Feedback review

* feedback review 2

* feedback review 3

* Fix video_controls copyright

* Fix mime undefined
2017-11-20 18:28:20 -03:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
enahum
aebe05fa1f Fix Android: Permission Denial when handling push notification (#1030) 2017-10-17 15:02:32 -04:00
enahum
cc966702fd Improve performance of the channel drawer (#1023)
* Improve performance of the channel drawer

* Feedback review

* Fix makefile

* Feedback review 3

* Fix areStatesEqual

* Fix Android SVG
2017-10-17 10:06:28 -07:00
Chris Duarte
2378ad627b Swith android to use layout file for splash (#952) 2017-10-17 08:44:41 -07:00
enahum
6b103faa3b Fix ArrayIndexOutOfBounds and NullPointer exceptions for android push notifications (#1022) 2017-10-16 12:34:14 -03:00
Elias Nahum
ea4fc49d81 Fix Android crash on push notification 2017-10-05 10:25:15 -03:00
enahum
4995a76f2c Add Landscape support for both platforms (#909)
* Landscape support

* Fix image rotation on Android

* Fix landscape mode for login and login options

* Fix previewer will receive props

* Move device dimensions and others to redux

* Fix unit tests

* Include orientation and tablet in the store
2017-09-20 12:54:24 -07:00
enahum
1fbf3e9e27 Android stack push notifications improvement (#912)
* Android multiple push notifications improvement

* Reverse order and remove duplicate
2017-09-18 12:02:24 -04: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