Commit graph

636 commits

Author SHA1 Message Date
Elias Nahum
3ac0db6f61
MM-20347 Handle Flag for ID Loaded Push Notifications (#3586)
* Fix id-loaded on Android

* Fix id-loaded on iOS

* Remove constant for PUSH_TYPE_ID_LOADED
2019-11-21 19:34:10 -03:00
Elias Nahum
47157c70a9
Bump app build number to 247 (#3593) 2019-11-21 13:20:54 -03:00
Miguel Alatzar
f651da975f [MM-20640] Create notification channels only if supported (#3590)
* Create notification channels only if supported

* Update comment
2019-11-21 13:12:49 -03:00
Elias Nahum
ec99b65f00
Bump version to 1.25.1 and Build number to 246 (#3587)
* Bump app build number to 246

* Bump app version number to 1.25.1

* Update Fastlane
2019-11-20 21:18:44 -03:00
Miguel Alatzar
430463822b
Use LifecycleEventListener listener for MattermostManagedModule (#3578) 2019-11-20 15:25:53 -07:00
Harrison Healey
b69c6af2b4 Merge branch 'master' into mark-as-unread 2019-11-19 09:57:43 -05:00
Miguel Alatzar
ba76e5eac7 [MM-16232] ID loaded push notifications (#3562)
* [MM-16232] Android: Fetch notification in notificationReceiptDelivery (#3552)

* Fetch notification in notificationReceiptDelivery

* Fix patch

* Fix patch take 2

* No need to send user_id to ack endpoint

* Just putString in mNotificationProps

* Fix patch take 3

* Revert react-native-notifications patch

* Update patch and fix rejections

* Remove trailing newline in patch

* Move PushNotification changes to end of patch

* npm cache test

* Revert "npm cache test"

This reverts commit d31030aaeeb010c1c3d22a5f6196191eeb849add.

* Created patch after upgrading node

* Created patch after upgrading node take 2

* Remove androidx changes from patch

* Patch packages then jetify

* Cache node_modules without patches

* Remove adding of default message (#3557)

* [MM-16232] iOS: Fetch id-loaded push notification from server (#3556)

* Fetch notification from server

* Parse fetched notification response

* Fix id-loaded notifications for DM/GM's

* audit fix

* Only add keys if they exist

* Throw exception if response code is not 200
2019-11-18 19:29:49 -03:00
Harrison Healey
725e9a6985 Merge branch 'master' into mark-as-unread 2019-11-18 17:21:42 -05:00
Kaiden Sin
a1c8a4691e [mm 15792] Fix massive app slowdown with many emojis (#3209)
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145)

* Upgrade to react-native 0.60

* Use @sentry/react-native

* Manually link @sentry/react-native

* Address review comments

* Jetify after install

* Call jetify from node_modules

* Run npm install react-native-fast-image --save

* Link react-native-fast-image for Android

* Link react-native-fast-image to iOS Pod

* Replace Image with FastImage in emoji.js and remove redundant caching

* Remove duplicate sentry gradle

* Feedback review

* Remove FastImage and Sentry from the Podfile
2019-11-17 23:34:39 -05:00
Harrison Healey
ef162ce403 Merge branch 'master' into mark-as-unread 2019-11-13 19:34:06 -05:00
Elias Nahum
37e715ac8a
Bump app build number to 245 (#3551) 2019-11-13 14:46:30 -05:00
Elias Nahum
e5e3bcc844
Bump app build number to 244 (#3548) 2019-11-12 18:45:43 -05:00
Harrison Healey
cf8e807e3f Merge branch 'master' into mark-as-unread 2019-11-05 11:27:59 -05:00
Elias Nahum
e848d8ea6e
Update unsigned android and ios builds (#3508)
* Update unsigned android and ios builds

* Fix attach_workspace path

* attach_workspace to ~/

* Remove unnecessary exit 1
2019-11-05 08:44:36 -03:00
Elias Nahum
5540c99a28
Bump app build number to 243 (#3522) 2019-11-04 22:29:02 -03:00
Harrison Healey
af2e8b7795 Merge branch 'master' into mark-as-unread 2019-11-04 15:08:49 -05:00
Dean Whillier
b5dbb14375
Bump app build number to 242 (#3501) 2019-10-31 10:29:52 -04:00
Harrison Healey
bf68a33bab Merge branch 'master' into mark-as-unread 2019-10-29 10:00:22 -04:00
Miguel Alatzar
1efb01deda
[MM-16593] Upgrade to RN 0.61.2 (#3455)
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145)

* Upgrade to react-native 0.60

* Use @sentry/react-native

* Manually link @sentry/react-native

* Address review comments

* Jetify after install

* Call jetify from node_modules

* [MM-17785] iOS - Upgrade to RN 0.60 (#3153)

* Upgrade to react-native 0.60

* Use @sentry/react-native

* Manually link @sentry/react-native

* Address review comments

* Jetify after install

* Call jetify from node_modules

* Get app building for iOS

* Revert react-native-image-picker upgrade

* Minor version upgrade of react-native-image-picker

* [MM-17142] Convert all string refs to callbacks (#3217)

* Replace string refs

* Fix tests

* Don't use inline functions

* Fix mattermost-redux reversion from master merge

* [MM-18336] Upload Sentry debug symbols only when SENTRY_ENABLED is true (#3227)

* Upgrade @sentry/react-native

* Run Sentry gradle tasks only when enabled

* Upgrade @sentry/react-native and remove extra Sentry build phase

* [MM-17144] Use Hermes (#3226)

* Replace string refs

* Fix tests

* Don't use inline functions

* Fix mattermost-redux reversion from master merge

* Use Hermes

* bundleCommand ram-bundle no longer needed

* Require harmony-reflect only for Android

* Fix failing test

* Path react-native's splitLayoutProps (#3337)

* [MM-18867] [MM-17186] [MM-18866] [MM-19447] [MM-18967] Upgrade to RN 0.61.2 (#3423)

* Upgrade to RN 0.61.2

* Update rn-fetch-blob commit hash

* Update react-native-keyboard-tracking-view commit hash

* Use react-native-youtube with AVPlayer fix

* Fix jest mocks

* Use updated document picker API

* Remove unnecessary linking

* Revert "MM-17759 Add code highlighting (#3072)"

This reverts commit 26b999e885.

* Fix share extension

* Revert "Revert "MM-17759 Add code highlighting (#3072)""

This reverts commit 52aca776b12dee3abe8646d0c90480f8528e86c1.

* Address PR reviews

* Rename patch to match version

* Update react-native-youtube patch

* Update dependencies

* Fix RNDocViewer reference

* Update tests and revert to redux-persist 4.10.2

* Revert "Revert "Revert "MM-17759 Add code highlighting (#3072)"""

This reverts commit 5ef383be2619b1be6167c23f128ecb4b4ad25df9.

* Android fixes after dep upgrades

* Use fresco 2.0.0

* Use mattermost forks

* Use React-Core in Mattermost.scheme instead of react

* Remove packager (#3452)

* Remove Pods from source control

* Fix unit tests

* Add new line before entering the keystore in gradle.properties

* set ios as working directory for cocoapods

* Cache cocoapods on circleCI builds

* set ios as working dir

* fix cocoapods cache key

* Unify fastlane and npm dependencies command

* Use package-lock.json checksum for npm cache

* Fix package.json and use the checksum as the cache key

* Fix package.json and use the checksum as the cache key

* changes to circleci.yaml fastlane and removing pods from git

* Fix Mattermost.xcodeproj

* Update coocoapods to 1.7.5 and fix xcode header search paths

* Update package-lock.json

* Remove unused tooltip component

* Fix incorrect ref

* Disable Hermes (#3460)

* Revert "Remove packager (#3452)"

This reverts commit b2a79e184b3242124dfdb91ae095f6ce3f4eb986.

* Disable Hermes :'(

* Update preloaded modules

* Fix packages moduleNames and modulePaths, update snapshots and update mm-redux (ts version)

* remove document picker from modulePaths

* Fix package-lock.json

* Add eslint disable rules
2019-10-28 15:04:24 -07:00
Harrison Healey
d8f8dac79a
Fix android senderName call (mark-as-unread) (#3471) 2019-10-25 13:45:40 -04:00
Elias Nahum
968fec37bf
Bump app build number to 241 (#3467) 2019-10-25 13:04:56 +03:00
Harrison Healey
c27e96579f Merge branch 'master' into mark-as-unread 2019-10-23 17:25:48 -04:00
Miguel Alatzar
5e5d3abd79 [MM-17145] [MM-18947] [MM-17110] [MM-14926] [MM-18646] Use patched v2.0.6 of react-native-notifications and fix Android badge number (#3382)
* Refactor custom push notification code

* Use react-native-notifications 2.0.6 and patch for scheduled notifs

* Fix patch

* iOS changes

* Fix delete

* Fix setting of badge number on Android

* Undo Reflect removal

* Undo removal of didReceiveRemoteNotification

* Use min importance for push notifs received while app is active

* Correctly set badge number after push notificaiton reply

* Fix tests

* Localize reply action text

* Add getDeliveredNotifications

* Fix identifier check and failing test

* Fix local push notif test for Android > 9
2019-10-22 21:18:59 +03:00
Harrison Healey
fe5e414546 Merge branch 'master' into mark-as-unread 2019-10-21 13:36:20 -04:00
Dean Whillier
f729dc881b
Bump app build number to 240 (#3443) 2019-10-18 10:55:33 -04:00
Dean Whillier
412ab9f411
Bump app version number to 1.25.0 (#3442) 2019-10-18 10:46:42 -04:00
Harrison Healey
4899c2f769 Merge branch 'master' into mark-as-unread 2019-10-16 11:21:02 -04:00
Dean Whillier
b253bb23e0
Bump app build number to 239 (#3421) 2019-10-15 09:54:43 -04:00
Harrison Healey
6e6e57d28b Merge branch 'master' into mark-as-unread 2019-10-09 16:02:59 -04:00
Dean Whillier
fddacedb4f
Bump app build number to 238 (#3397) 2019-10-09 16:01:25 -04:00
Harrison Healey
ed2054592b MM-18463 Added update_badge notification when marking a channel as unread (#3352)
* MM-18463 Ignore update_badge push notifications and clean up Java

* MM-18463 Add iOS constants for push notification types

* Address feedback
2019-10-08 08:54:07 +03:00
Elias Nahum
41d6d6159d
Bump app build number to 236 (#3365) 2019-10-02 21:43:33 +03:00
Dean Whillier
51e5fc04d4
Bump app build number to 235 (#3338) 2019-09-27 15:52:47 -04:00
Dean Whillier
24cb1a3316
Bump app build number to 234 (#3327) 2019-09-25 16:08:56 -04:00
Dean Whillier
5176661a5b Bump app build number to 233 (#3307)
* Bump app build number to 233

* blank commit
2019-09-24 21:56:58 +03:00
Devin Binnie
b6bd3115ec Bump app build number to 232 (#3277) 2019-09-18 17:52:13 -07:00
Devin Binnie
eac7ecd367
Bump app version number to 1.24.0 (#3274)
* Bump app version number to 1.24.0

* Update build.gradle
2019-09-18 13:28:06 -04:00
Devin Binnie
0154ea8f02
Bump app build number to 231 (#3272) 2019-09-18 13:23:26 -04:00
Ewe Tek Min
0d1fd78263 MM-9599 Paste image from clipboard (#3084)
* Show image paste menu

* Get pasted image

* Add more info for file

* Add custom text input and add extension

* Dismiss contextual menu after paste image

* Group image info together

* Add max file check

* Fix max file size text

* Add PropTypes

* Add support for gif and tiff

* add onchange null check

* Use onPaste event

* Move get image info logic

* Clean up listener when no observer

* Add android upload

* Copy file from google docs

* Clean up file after upload

* Prevent text pasted in textbox if it's content uri

* Rename paste file thread

* Move on paste listener logic

* Remove the redundant data in ios

* Get realpath of item

* Clean up

* Only download for image

* Rename to custom text input

* Update RNPasteableEditTextOnPasteListener.java

* Handle for download image failed

* Fix eslint

* Fix test

* Allow multiple images to be pasted

* Remove additional null check

* Add managed control for Android

* Disable only copy, cut and paste

* Accept image in Android edit text

* Add comment for custom text input

* Do not upload when more than max file

* Stop uplaod when exceed file size

* Fix crash when clip data is null

* Return error to JS

* Move download file logic

* Remove console

* Add some tests

* Add test for handleUploadImages

* Add test for file_upload_item

* Use ImageCacheManager to cache remote images

* Fix crashes from one note

* Remove commented code

* Update test
2019-09-16 20:10:14 -03:00
Elias Nahum
19e6b2a00e
[MM-18362] Sidebar improvements (#3223)
* sidebar lists displays past bottom safe area insets

* Sidebar animation speed

* Sidebar improvements

* Add status icons and avatars to mattermost font

* Bot icon the same size as other channel icons

* improvements to the channel badge

* Badge color and border

* More precision when showing more unread above

* Improve GM icon

* Fix badge on team sidebar

* Align channel sidebar badges

* alignments

* Fix tests

* Remove unnecessary isLandscape in main sidebar connector
2019-09-16 13:17:48 -03:00
Devin Binnie
9f9a5f743c Bump app build number to 230 (#3256) 2019-09-12 15:07:20 -04:00
Harrison Healey
4bb94195f1 MM-18465 Add proper flags when opening settings (#3242)
* MM-18465 Add proper flags when opening settings

* Fix undefined setPerformingAuthentication Function in emm_provider.
2019-09-11 23:57:07 -04:00
Ewe Tek Min
f6c9c950c5 MM-12879 Fix iOS photo/camera permission denied prompt (#2904)
* Update Github issues link

* Update GH issue to permalink

* Add missing comma

* Fix ios not prompting alert after denied photo or camera permission

* Rename permission var

* Update text

* Change to correct text

* Update text for attachement button

* Update text for image_preview

* Fix test

* Integrate react-native-android-open-settings for storage permission denied

* Move react-native-android-open-settings

* Change all default permission denied message

* Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 65187f8f98de4943103bdab4b39bd7e1ebd5a220, reversing
changes made to daca425676503a57936a5539b5b5fa68a6c5427e.

* Revert "Revert "Merge remote-tracking branch 'upstream/master'""

This reverts commit c82fa628d5addc1262353539c32b76c6a1130e83.

* Add NSPhotoLibraryAddUsageDescription description

* Fix bad import

* Lazy load react-native-android-open-settings

* Fix indent
2019-09-11 01:18:53 -03:00
Devin Binnie
e73bc88c4a
Bump app build number to 229 (#3232) 2019-09-09 13:28:22 -04:00
Elias Nahum
223bd64a43
[MM-18349] Post menu delay animation speed and haptic feedback (#3214)
* Animate backdrop opacity in slide up panel

* Set delayLongPress to 75ms for post

* Add haptic feedback on slide up of post options

* Ease in slide up animation

* Add haptic feedback to android

* reduce long press delay for post options menu

* helper function for haptic feedback

* Add haptic feedback when opening post options menu

* Patch haptic feedback RN module on Android

* Fix tests

* Move hapticFeedback call to SlideUpPanel

* Decrease long press time for reaction
2019-09-07 07:45:07 +09:00
Devin Binnie
f6afab212b
Bump app build number to 228 (#3215) 2019-09-03 15:43:15 -04:00
Devin Binnie
cc76f60675 Bump app build number to 227 (#3200) 2019-08-28 09:56:06 -04:00
Elias Nahum
8670996eca
Bump version to 1.23.0 and Build number to 226 (#3195)
* Bump app build number to 226

* Bump app version number to 1.23.0
2019-08-26 10:56:47 -04:00
Elias Nahum
6d65ab3176
Bump app build number to 225 (#3186) 2019-08-23 22:21:24 -04:00
Elias Nahum
16aef3918f
Bump app build number to 224 (#3181) 2019-08-23 16:03:37 -04:00
Elias Nahum
d2464b16c4
Bump app build number to 223 (#3173) 2019-08-23 10:12:14 -04:00
Elias Nahum
c76f12647a
Bump Version to 1.22.1 and build to 222 (#3160)
* Bump app build number to 222

* Bump app version number to 1.22.1
2019-08-21 19:12:12 -04:00
Miguel Alatzar
3eda53d49a [MM-17970] Check for valid server URL (#3152)
* Check for valid server URL

* Fallback to parsing token
2019-08-21 19:02:58 -04:00
Elias Nahum
4d4a56bf24
Bump app build number to 221 (#3142)
* Bump app build number to 221

* Update fastlane
2019-08-17 14:42:43 -04:00
Sudheer
4d22a28397
Bump app build number to 220 (#3132) 2019-08-16 04:09:24 +05:30
Sudheer
73dff32eec
Bump app build number to 219 (#3129) 2019-08-16 00:24:50 +05:30
Sudheer
d924fb1c96
Bump app build number to 218 (#3118) 2019-08-14 16:35:29 +05:30
Sudheer
23f1358e27
Bump app build number to 217 (#3104) 2019-08-10 23:03:11 +05:30
Sudheer
d31c4aa31f
Bump app build number to 216 (#3068) 2019-08-03 02:21:53 +05:30
Miguel Alatzar
53b5f40e22 Bump app build number to 215 (#3066) 2019-08-01 12:27:05 -04:00
Elias Nahum
bf5c5cd7e6
Bump app build number to 214 (#3063) 2019-07-31 19:38:02 -04:00
Elias Nahum
8c9243a3de
Bump app build number to 213 (#3058) 2019-07-31 09:32:43 -04:00
Elias Nahum
90ac092443
Load Android WebView package instead of module (#3053) 2019-07-29 09:15:40 -04:00
Elias Nahum
f6779b1c9c
Bump app build number to 212 (#3042) 2019-07-25 08:46:08 -04:00
Sudheer
dc5c515e63
Bump app build number to 211 (#3012) 2019-07-23 01:48:35 +05:30
Sudheer
15989b79e6
Bump app version number to 1.22.0 (#3009) 2019-07-23 00:37:23 +05:30
Elias Nahum
6bfc1133e5
Bump app build number to 210 (#3000) 2019-07-19 16:52:49 -04:00
Elias Nahum
aba35f7bfd
Bump Version to 1.21.1 and build number to 209 (#2995)
* Bump app build number to 209

* Bump app version number to 1.21.1
2019-07-18 18:41:40 -04:00
Elias Nahum
b8af8a3860
Lazy android native modules (#2973)
* Lazy loading Android modules

* Remove react-native-bottom-sheet

* Remove comments

* npm audit fix

* Update rnn-v2 modals

* audit fix

* Fix tests
2019-07-17 11:06:21 -04:00
Harrison Healey
0af97a1f63
Bump app build number to 208 (#2979) 2019-07-16 10:30:18 -04:00
Miguel Alatzar
c321c773c3 Merge branch 'master' into rnn-v2 2019-07-12 09:01:33 -07:00
Miguel Alatzar
c30bc8bfea Check for null config 2019-07-12 08:56:36 -07:00
Harrison Healey
7f9dd13690
Bump app build number to 207 (#2972) 2019-07-12 09:04:03 -04:00
Elias Nahum
df3a3eb39f Fix android crash on Android O & P after upgrading target to 28 (#2968) 2019-07-10 10:31:13 -04:00
Miguel Alatzar
d7432d3d41 Merge branch 'master' into rnn-v2 2019-07-09 14:08:15 -07:00
Elias Nahum
f82b571d13
Bump app build number to 206 (#2963)
* Bump app build number to 206

* Set Android targetSdkVersion to API level 28
2019-07-08 18:37:55 -04:00
Harrison Healey
72594446d5
Bump app build number to 205 (#2960) 2019-07-08 09:45:12 -04:00
Miguel Alatzar
1b9b1e3f39 Merge branch 'master' into rnn-v2 2019-07-05 15:56:56 -07:00
Elias Nahum
ca72c5959b Bump app build number to 204 (#2955) 2019-07-05 14:31:53 -04:00
Miguel Alatzar
51aac1e6e7 Merge branch 'master' into rnn-v2 2019-07-02 18:15:19 -07:00
Harrison Healey
c50215cf33
Bump app build number to 203 (#2935) 2019-06-27 11:22:53 -04:00
Miguel Alatzar
94632595cf Update jsc to intl version (#2931) 2019-06-27 11:09:51 -04:00
Harrison Healey
4491e8515f
Bump app build number to 202 (#2933) 2019-06-27 09:42:01 -04:00
Elias Nahum
89b96d51db MM-16430 refactor app entry point (#2924)
* MM-16430 refactor app entry point

* iOS Extensions to use session token from KeyChain

* Remove token from general credentials entity

* Fix mattermost-managed.ios to return the cachedConfig

* Migrate server based keychain for android push notifications

* remove unneeded async

* Remove unneeded android InitializationModule
2019-06-26 15:21:20 -04: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
3f925df9d9 MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:30 -04:00
Elias Nahum
3f79a2e07f
Bump app build number to 201 (#2903) 2019-06-19 18:43:06 -04:00
Elias Nahum
5f9532d6c3
Bump app build number to 199 (#2896) 2019-06-18 17:42:48 -04:00
Miguel Alatzar
7f30ebbd39 Return if message is null (#2895) 2019-06-18 17:09:52 -04:00
Elias Nahum
5d83eef111
Bump app version number to 1.21.0 (#2894) 2019-06-18 16:09:09 -04:00
Elias Nahum
1baf3ee5ba Update gradle to use android-jsc as instructed (#2893) 2019-06-18 13:07:58 -07:00
Miguel Alatzar
0f948f650d Merge branch 'master' into rnn-v2 2019-06-18 09:58:35 -07:00
Miguel Alatzar
a6aa4dd2cc
Update react-native-device-info and fix status value: (#2892) 2019-06-17 20:22:54 -07:00
Elias Nahum
4f85f7b058
Bump app build number to 198 (#2884) 2019-06-13 17:56:42 -04:00
Miguel Alatzar
cbe0c719ac [MM-15874] Add native code to support RNN v2 on Android (#2855)
* Remove fix for MM-9233

* MM-15774 Add native code to support RNN v2 on iOS

* Android changes for RNN v2 upgrade

The activity visibility handling of NotificationsLifecycleFacade
is no longer needed in RNN v2. I've moved the lifecycle callbacks
we use for handling managed config into
ManagedActivityLifecycleCallbacks.java and registered them in
MainApplication's onCreate. Also, I've moved and updated the
loading and getting of the managed config into MainApplication

* Update moduleNames and modulePaths

* Use TAG in restrictionsReceiver

* Set launch screen onCreate

* Comment out registerActivityLifecycleCallbacks for now

* Remove setSoftInputMode call as it's handled in the manifest

* Remove clearHostOnActivityDestroy as that fix is no longer needed

* Rename to canLaunchEntry

* Remove replacement of super.onBackPressed()

* Remove react-navigation from packager files
2019-06-12 15:26:03 -04:00
Elias Nahum
0bb2522b5e MM-16281 Fix regression on android push notification messages (#2879) 2019-06-12 15:10:06 -04:00
Elias Nahum
d1532b651e
Bump app build number to 197 (#2872) 2019-06-07 09:54:24 -04:00
Elias Nahum
e16d955527
MM-15959 disable android firebase analytics (#2854) 2019-06-03 09:48:18 -04:00
Elias Nahum
6d52fed6e9
Bump app build number to 196 (#2853) 2019-05-31 14:22:10 -04:00
Harrison Healey
3503025e53 MM-15643 Better close app when checking for pin code (#2846) 2019-05-30 11:46:35 -07:00
Elias Nahum
c467f9af50
Bump app build number to 195 (#2843) 2019-05-28 16:35:19 -04:00
Harrison Healey
6e099d6a21 MM-15643 Send user to settings when passcode is required (#2836)
* MM-15643 Send user to settings when passcode is required

* Allow access to the managed config in the iOS extensions
2019-05-27 19:38:32 -04:00
Elias Nahum
2f6fb08e44
Bump Version & Build number (#2818)
* Bump app version number to 1.20.0

* Bump app build number to 194

* Update fastlane
2019-05-22 12:05:05 -04:00
Elias Nahum
57a117add0 MM-15427 Google Play 64-bit requirement compliance (#2792) 2019-05-16 16:15:08 -07:00
Elias Nahum
5bf96272ae
Notification receipt delivery for Android and iOS (#2755)
* Notification receipt delivery for Android and iOS

* Update Fastlane with iOS notification service extension

* User JSONObject to build response
2019-05-15 12:45:26 -04:00
Miguel Alatzar
7912b4df4d
Bump app build number to 193 (#2794) 2019-05-13 15:24:48 -07: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
Miguel Alatzar
27fe5e5c1d
Bump app build number to 192 (#2784) 2019-05-10 10:26:25 -07:00
Miguel Alatzar
1d6dccf0a5
Update react-native-fetch-blob dependency to use okhttp3 v3.13.1 (#2782) 2019-05-09 14:50:20 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android (#2719)
* add markers for Android profiling

* update per comments

* Remove beta build flag

* update per comment, latest change on telemetry server and others

* rebase and fix merge conflicts, and update per comments

* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Elias Nahum
5ce9208d32 MM-14958 Scroll to bottom when posting a new message (#2761) 2019-05-07 13:28:16 +05:30
Miguel Alatzar
35f7829d6c
Bump app build number to 191 (#2771) 2019-05-06 14:25:58 -07:00
Elias Nahum
a16c98b34e MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -07:00
Miguel Alatzar
2577c5551f
Bump app build number to 190 (#2769) 2019-05-03 21:27:18 -07:00
Miguel Alatzar
ea0468cb83
Bump app build number to 189 (#2764) 2019-05-03 10:38:47 -07:00
Harrison Healey
0708a53d09
MM-15284 Disable allowBackup on Android (#2756) 2019-05-01 09:39:06 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards (#2753) 2019-05-01 09:27:21 -04:00
Elias Nahum
fee9a96a11 MM-14885 Android use sender_name in push notifications (#2747) 2019-04-30 15:33:01 -07:00
Mohammad Parvin
46e6a14c73 Allow user to install mattermost on sd card (#2731)
Cannot install Mattermost when there is no enough space in internal memory, So when add this line
android:installLocation="auto" 
to the manifest file user can install Mattermost on the sd card.
https://developer.android.com/guide/topics/data/install-location
2019-04-30 16:45:18 -04:00
kmandagie
b3a586fd57 [MM-12599] Implement assets for Adaptive icons (#2663) 2019-04-26 13:08:15 -07:00
Miguel Alatzar
4faa211edb
Bump app build number to 188 (#2744) 2019-04-26 12:23:17 -07:00
Miguel Alatzar
214ea72666
Bump app version number to 1.19.0 (#2743) 2019-04-26 12:15:57 -07:00
Miguel Alatzar
fab556c4eb Check for null activity before calling finish (#2738) 2019-04-25 09:23:16 -04:00
Peter Dave Hello
d5a0b50d9a Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
Elias Nahum
37c150f3c7 Bump app version number to 1.18.1 2019-04-18 18:24:36 -04:00
Elias Nahum
b9778bfc22 Bump app build number to 187 2019-04-18 18:24:36 -04:00
Saturnino Abril
51e0e06997
Bump app build number to 186 (#2716) 2019-04-16 11:56:42 +08:00
Saturnino Abril
79a84dd9ab
Bump app build number to 185 (#2708) 2019-04-10 16:56:54 +08:00
Miguel Alatzar
50a83b63fa Remove package name from push notification content (#2700) 2019-04-08 05:23:53 +08:00
Saturnino Abril
0ff59554fa
Bump app build number to 184 (#2695) 2019-04-05 00:21:25 +08:00
Miguel Alatzar
6aaaaef09c
[MM-14871] Fix extraction of sender name for push notifications (#2691)
* Return empty string for sender name when not found
2019-04-03 18:39:28 -07:00
Miguel Alatzar
531a743853
[MM-14866] Fix app crash due to parseInt call on null and display test notification message (#2690)
* Call setNumber on notification only if badge is not null

* Move setNumber call

* Add bundle to empty list
2019-04-03 10:15:05 -07:00
Elias Nahum
cd875ac3a8
Bump Version to 1.18.0 and Build to 183 (#2667)
* Bump app build number to 183

* Bump app version number to 1.18.0
2019-03-25 08:51:27 -03:00
Elias Nahum
1777a4f750
MM-14316 Android Notifications and reply to notifications from native code (#2653)
* MM-14316 Android Notifications and reply to notifications from native code

* Feedback review

* Fix typo

* setBadgeIconType only for Android 8+
2019-03-20 16:39:36 -03:00
Elias Nahum
dbe5eba108
Bump app build number to 182 (#2661) 2019-03-19 21:20:17 -03:00
Carlos Tadeu Panato Junior
4622a40e8b
Bump app build number to 181 (#2651) 2019-03-16 11:07:17 +01:00
Carlos Tadeu Panato Junior
133e5871ff
Bump app build number to 180 (#2645) 2019-03-14 12:58:43 +01:00
John Senner
771e5cd53b Change comment to more common xml format (#2621) 2019-03-07 09:37:44 -05:00
Elias Nahum
bc4fbb8558
Bump app build number to 179 (#2632) 2019-03-05 14:02:04 -03:00
Elias Nahum
5563a09154
Bump app build number to 178 (#2630) 2019-03-05 12:21:00 -03:00
Elias Nahum
6e7a49cccd Fix crash when fresh install android when getting the fcm token (#2608) 2019-02-28 11:16:16 -08:00
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
3c6c2e7d02
Bump Version to 1.17.0 Build 177 (#2602)
* Bump app build number to 177

* Bump app version number to 1.17.0
2019-02-26 23:09:27 -03:00
Elias Nahum
98094866d9 Migrate Android from GCM to FCM (#2577) 2019-02-20 12:21:08 -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
f59533d144
Bump app Version to 1.16.1 and Build Number to 176 (#2584)
* Bump app build number to 176

* Bump app version number to 1.16.1

* Update fastlane
2019-02-20 16:55:36 -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
eb4888189c
Bump app build number to 175 (#2573) 2019-02-15 18:36:00 -03:00
Elias Nahum
13fea36e50
Bump app build number to 174 (#2572) 2019-02-14 18:55:45 -03:00
Elias Nahum
869b14b2a8
Bump app build number to 173 (#2557) 2019-02-08 18:11:26 -03:00
Elias Nahum
834648e9ac
Bump app build number to 172 (#2543) 2019-02-02 15:50:44 -03:00
Elias Nahum
483fb2cafe
Bump Version to 1.16.0 and Build number 171 (#2530)
* Bump app build number to 171

* Bump app version number to 1.16.0
2019-01-28 13:22:27 -03:00
Elias Nahum
3bdfecebaa
Version 1.15.2 and Build number 170 (#2513)
* Bump app version number to  1.15.2

* Bump app build number to 170
2019-01-18 14:26:29 -04:00
Elias Nahum
fc41d09707
Bump app build number to 169 (#2510) 2019-01-15 23:31:33 -03:00
Elias Nahum
2e47074bbd
Bump app build number to 168 (#2505) 2019-01-10 12:44:40 -03:00
Elias Nahum
dfe4be76fe
Bump version to 1.16.0 and Build number to 167 (#2481)
* Fix fastlane platform thumbnail

* Bump app version number to 1.16.0

* Bump app build number to 167
2018-12-28 09:20:36 -03:00
Elias Nahum
f48cad8e64
Bump App Version to 1.15.1 and Build number to 166 (#2475)
* Bump app version number to 1.15.1

* Bump app build number to 166
2018-12-21 10:59:30 -03:00
Harrison Healey
d9588e0839 Bump app build number to 165 and increase minimum Android SDK version (#2470)
* Bump app build number to 165

* Increase Android minimum SDK version
2018-12-19 13:25:49 -03:00
Harrison Healey
b21fae2d58
Bump app build number to 164 (#2469) 2018-12-19 11:10:49 -05:00
Elias Nahum
e8d70616bb
Bump app build number to 163 (#2459) 2018-12-13 13:29:13 -03:00
Elias Nahum
7a132f3fd4
Bump app build number to 162 (#2445) 2018-12-10 17:14:06 -03:00
Elias Nahum
50f6863b0e
Bump app build number to 161 (#2421) 2018-12-05 15:07:22 -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
aa41579f6a
Bump app build number to 160 (#2396) 2018-11-29 15:52:57 -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
ec58d90980
Bump version to 1.15.0 and build number to 159 (#2354)
* Bump app version number to 1.15.0

* Bump app build number to 159
2018-11-18 19:31:50 -03:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView (#2340) 2018-11-16 13:28:54 -03:00
Elias Nahum
17c7d0202b
Bump app build number to 158 (#2341) 2018-11-14 12:58:12 -03:00
Elias Nahum
b5ddce6770
Bump app build number to 157 (#2338) 2018-11-13 20:00:43 -03:00
Elias Nahum
70b7487c6f
Bump app build number to 156 (#2333) 2018-11-09 20:49:57 -03:00
Elias Nahum
d85b3d29ae
Bump app build number to 155 (#2322) 2018-11-06 14:10:00 -03:00
Elias Nahum
50f8af2513
Bump app build number to 154 (#2311) 2018-11-02 18:14:01 -03:00
Elias Nahum
0af947476e
Allow user system CA's for Android (#2301) 2018-11-02 18:05:32 -03:00
Elias Nahum
d4f713f69b
Bump app build number to 153 (#2294) 2018-10-30 15:10:29 -03:00
Elias Nahum
b909f2874b
Bump app build number to 152 (#2282) 2018-10-19 10:17:24 -03:00
Elias Nahum
9e97fe160f
Bump app build number to 151 (#2276) 2018-10-18 13:20:29 -03:00
Elias Nahum
027c08af59
Bump app build number to 150 (#2275) 2018-10-18 12:16:28 -03:00
Elias Nahum
5c1be7e5b2
Bump app version number to 1.14.0 (#2270) 2018-10-16 09:42:46 -03:00
Elias Nahum
728a6cc4f6
Bump app build number to 149 (#2262) 2018-10-12 10:23:31 -03:00
Elias Nahum
f5e7184148
Bump app build number to 148 (#2259) 2018-10-11 17:16:36 -03:00
Elias Nahum
de7878ec78 Set Roboto as the default font family for Android (#2244) 2018-10-11 19:33:11 +05:30
Elias Nahum
1694405d58
Bump app build number to 147 (#2249) 2018-10-10 16:57:36 -03:00
Elias Nahum
0f9fc5e5b2
Fix gifs displaying as still images on Android (#2230) 2018-10-08 12:27:31 -03:00
Elias Nahum
407a428299
Bump app build number to 146 (#2216) 2018-10-03 16:29:04 -03:00
Harrison Healey
28b993834c MM-12424 Properly set softInputMode on Android activity (#2201) 2018-10-03 16:02:04 -03:00
Elias Nahum
f2f08c403b
Bump App build number to 145 (#2195) 2018-09-28 17:32:36 -03:00
Elias Nahum
7bb7e30a71
Bump Android build number to 144 (#2178) 2018-09-27 05:59:03 -03:00
Elias Nahum
96afdd8630
Upgrade to RN 0.57.1 (#2176) 2018-09-27 05:18:52 -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
dcb2a279f3 Fix GCM senderId (#2169) 2018-09-26 13:23:01 +08:00
Elias Nahum
3554ae77df
Bump Android build number to 143 (#2149) 2018-09-20 20:28:28 -03:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
Elias Nahum
46b6687d1f Show local notification when replying to PN fails (#2142) 2018-09-21 00:58:21 +08:00
Elias Nahum
062b10eecb
Bump app version to 1.13.0 (#2145) 2018-09-20 11:52:23 -03:00
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
6c9afb380d
Bump Android build number to 142 (#2129) 2018-09-15 20:09:20 -03:00
Elias Nahum
a2c51e0609
Bump Android build number to 141 (#2120) 2018-09-14 09:22:04 -03:00
Elias Nahum
3e604c03d8
Bump Android build number to 140 (#2117) 2018-09-13 18:22:09 -03:00
Elias Nahum
7454613ef9
Bump Android build number to 139 (#2111) 2018-09-12 19:21:04 -03:00
Elias Nahum
6dc02cb56a
Bump Android build number to 138 (#2104) 2018-09-11 19:09:55 -03:00
Elias Nahum
5592391f92
Bump Android build number to 137 (#2093) 2018-09-07 19:32:51 -03:00
Elias Nahum
65fce2a680
Bump Android build number to 136 (#2074) 2018-09-04 16:38:22 -03:00
Elias Nahum
4b32918c1f
Bump Android build number to 135 (#2062)
* Increase gradle jvm memory

* Fix Android release build

* Bump Android build number to 135
2018-08-31 00:20:24 -03:00
Elias Nahum
c24492be8f
Android notification support for O and P (#2060) 2018-08-30 19:45:21 -03:00
Elias Nahum
5285c3b56e
Bump Android build number to 134 (#2056) 2018-08-29 20:21:00 -03:00
Elias Nahum
be346809bf
Bump app version to 1.12.0 (#2053) 2018-08-29 17:19:06 -03:00
Elias Nahum
96e9c6c707 Update rn-fetch-blob and CBA support for iOS (#2033)
* Update rn-fetch-blob and CBA support for iOS

* remove trusty

* remove react-native-fast-image dependency
2018-08-29 14:01:37 -04:00
Elias Nahum
55c207e4ff
Bump Android build number to 133 (#2018)
* Update cocoapods

* Bump Android build number to 133
2018-08-17 10:35:36 -03:00
Elias Nahum
19fcb72315
Bump Android build number to 132 (#2013) 2018-08-16 09:31:29 -03:00
Elias Nahum
86bc829f1e
Bump Android build number to 131 (#2002) 2018-08-13 16:09:15 -03:00
Elias Nahum
b67877889b
Bump Android build number to 130 (#1995) 2018-08-10 18:25:20 -04: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
5df8de035a
Bump Android build number to 128 (#1957) 2018-07-31 18:11:35 -04:00
Sudheer
aa7191802d [MM-11083] Change App icons for android (#1945)
* Change App icons for android

* Add playstore icon
2018-07-31 17:04:34 -04:00
Saturnino Abril
09c956349f
Bump app version to 1.11.0 (#1948) 2018-07-27 22:25:54 +08:00
Elias Nahum
44152ad5e5 Fix reply pending intent per channel (#1932) 2018-07-18 14:33:08 -04:00
Elias Nahum
99dd5bc7d0
Bump Android build number to 127 (#1922) 2018-07-12 20:56:01 -04:00
Elias Nahum
d75e9f688c
Bump Android build number to 126 (#1917) 2018-07-11 20:15:52 -04:00
Elias Nahum
8bee2b436c
Bump Android build number to 125 (#1907) 2018-07-09 19:06:51 -04:00
Elias Nahum
3002ba2315
Bump Android build number to 124 (#1892)
* Mention qateam in fastlane pretext message

* Bump Android build number to 124
2018-07-05 15:37:32 -04:00
Elias Nahum
6d8c59ab61
Bump Android build number to 123 (#1886) 2018-07-04 13:53:02 -04:00
Elias Nahum
ddbca98026
Bump Android build number to 122 (#1883) 2018-07-04 11:21:57 -04:00
Elias Nahum
1b549d3a51
Bump Android build number to 121 (#1875) 2018-07-03 19:45:51 -04:00
Elias Nahum
b3f1e486a8
Bump Android build number to 120 (#1869) 2018-07-03 15:15:40 -04:00
Elias Nahum
07367aa802
Merge branch 'release-1.9' into merge-1.9 2018-07-03 11:24:02 -04:00
Elias Nahum
952aeaf786
Bump Android build number to 119 (#1865) 2018-07-03 10:56:47 -04:00
Elias Nahum
2ec26e2a0a
Bump app version to 1.9.3 2018-07-03 10:29:33 -04:00
Elias Nahum
8059449c3a
Bump Android build number to 118 (#1851) 2018-06-27 20:13:08 -04:00
Elias Nahum
b5f3a6391b
Bump app version to 1.10.0 (#1848) 2018-06-27 18:38:20 -04:00
Elias Nahum
aade1f0e35
Merge branch 'release-1.9' into merge-1.9 2018-06-27 18:17:44 -04:00
Elias Nahum
cd5a6e5556
Bump Android build number to 117 (#1844) 2018-06-27 13:43:27 -04:00
Elias Nahum
2d23e60576
Bump Android build number to 116 (#1840) 2018-06-27 10:15:59 -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
Chris Duarte
16bef6bb8f Upgrade to Gradle 3.0 (#1741)
* Upgrade to Gradle 3.0

* Update buildtoolsVersion to 26.0.2
2018-06-27 06:55:47 -04:00
Elias Nahum
c0cb5e3f24
Bump app version to 1.9.2 2018-06-25 14:48:35 -04:00
Elias Nahum
a373ba3dce
Bump Android build number to 115 (#1826) 2018-06-25 14:28:51 -04:00
Elias Nahum
abd67c1bec
Always create a temp file for Android share (#1824) 2018-06-25 13:11:50 -04:00
Elias Nahum
a9508d30f9
Bump Android build number to 114 (#1809) 2018-06-22 17:53:29 -04:00
Elias Nahum
c10d31c62b
Bump Android build number to 113 (#1801) 2018-06-21 18:48:17 -04:00
Elias Nahum
4796c3034e
Increment app version to 1.9.1 2018-06-21 18:25:27 -04:00
Elias Nahum
9cf9f2b00d
Bump Android build number to 112 (#1784) 2018-06-19 15:18:28 -04:00
Elias Nahum
849c2930e0
Bump Android build number to 111 (#1778) 2018-06-18 17:37:22 -04:00
Elias Nahum
c6b0beb972
Bump Android build number to 110 (#1772) 2018-06-14 20:36:55 -04:00
Elias Nahum
80eb96381d
Bump Android build number to 109 (#1765) 2018-06-13 13:19:13 -04:00
Elias Nahum
4a6e332d7e
Bump Android build number to 108 (#1755) 2018-06-08 18:10:14 -04:00