Commit graph

117 commits

Author SHA1 Message Date
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
e16d955527
MM-15959 disable android firebase analytics (#2854) 2019-06-03 09:48:18 -04:00
Harrison Healey
3503025e53 MM-15643 Better close app when checking for pin code (#2846) 2019-05-30 11:46:35 -07: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
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
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
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
Elias Nahum
a16c98b34e MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -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
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
Miguel Alatzar
50a83b63fa Remove package name from push notification content (#2700) 2019-04-08 05:23:53 +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
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
John Senner
771e5cd53b Change comment to more common xml format (#2621) 2019-03-07 09:37:44 -05: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
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
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
0af947476e
Allow user system CA's for Android (#2301) 2018-11-02 18:05:32 -03:00
Elias Nahum
de7878ec78 Set Roboto as the default font family for Android (#2244) 2018-10-11 19:33:11 +05:30
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
dcb2a279f3 Fix GCM senderId (#2169) 2018-09-26 13:23:01 +08: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
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
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
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