Commit graph

92 commits

Author SHA1 Message Date
Matthew Birtch
ced61af9d3
MM-37092 Update Splash Screen to align with new branding (#5610)
* reworking splash screen for new brand modifying layout

* removed background_splash file and reworked launch_screen file instead

* simplified to reduce number of changed files

* updated release launch screen as well

* reworked to simplify changes

* removed iOS splash background image not being used for this PR

* added support for dark mode

* tweak to splash background to center better

* update fastlane

* Replace iOS Splash Screen release assets

* Replace Android Splash Screen release assets

* Replace iOS release LaunchScreen.storyboard

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-08-13 10:02:31 -04:00
Elias Nahum
288c847518
Add Perf metrics, some cleanup & dep updates (#5378) 2021-05-12 08:48:20 -04:00
Elias Nahum
f8a0f29237
Update dependencies (#5266)
* Update dependencies

* Fix lint, use npm@6

* Fix unit tests

* Dowgrade Fastlane

* Fix Fastlane script

* use android:api-29-node ci image

* Infer gradle json file from apk output folder

* Fastlane to Parse new version of gradle output-metadata.json
2021-04-06 11:12:31 -04:00
Elias Nahum
d68cc9c5e1
Fix deployment of iOS to TestFlight (#5208)
* use API Key for iOS build & deployment

* fix api key file path

* iOS API key from p8 file instead of json

* Properly split api key on newlines
2021-03-05 09:08:26 -07:00
Miguel Alatzar
0f120f8e26
Update fastlane and set SPACESHIP_SKIP_2FA_UPGRADE (#5190)
* Update gems

* Set SPACESHIP_SKIP_2FA_UPGRADE
2021-02-25 12:19:11 -07:00
Anurag Shivarathri
d11d613815
OAuth through OS browser, added google login & open id methods (#5075)
* Initialised SSO with linking

* Fixed lint errors

* Added translation and version check

* Added translation & detox file: WIP

* Added google logo and login button

* Added openid login option

* Added tests

* Added fallback support for google

* Added server check for openid

* Removed unwated memos

* Server support changed to 5.32

* Added try catch for Linking openurl

* Removed 'or'

* Changed test case version to 5.32

* Changed server version to 5.32

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update app/screens/sso/sso_with_redirect_url.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Added new custom url scheme for auth

* Added custom url scheme based on app build type, custom user agent for only google & misc typo fixes

* Added check for Deviceinfo

* Reverted to openLink

* Using tryOpenURL instead of Linking.openURL

* Changed office365 url

* Handling cookie read error caused on localhost

* Fixed lint errors

* Updated version in tests

Co-authored-by: Anurag Shivarathri <anurag@13.local>
Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-01-19 21:15:24 +05:30
Saturnino Abril
7b4d5883eb
Fix build for iOS for local simulator and Android test (#4923)
* fix build for iOS for local simulator and Android test

* delete /build-ios in local

* remove comment
2020-10-28 23:38:50 +08:00
Elias Nahum
aeb61cb162
MM-28336 Align hamburger menu badges (#4894)
* MM-28336 Align hamburger menu badges

* Fix Fastlane and CI artifacts for PR's

* Fastlane to post to QA build channel

* Fix plist.erb template

* Fix variable type
2020-10-19 21:48:37 -03:00
Elias Nahum
30d4aa2a3e
Build Improvements (#4884)
* Use AppGroupId from Info.plists instead of hardcoded constant

* Update script, ci & Makefile

* Update Cocoapods to 1.9.3

* Split android builds using ABI filters

* Update Fastlane deps & build scripts

* Update CI to use latests scripts

* Display app version & build number in select server screen

* Make generate scripts compatible with node < 12

* Build scripts

* add build script to package.json

* Update to use bundler 2.1.4 and CI with Xcode 12

* Fix script name for build:ios-unsigned

* Fix RN iOS scripts

* Update CI pods-dependencies step

* Add pipefail to android executor

* Update Fastlane

* Fix type in postinstall script

* update android executor and set TERM

* Fix S3 bucket name variable

* Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Fix master unit tests

* use requireActual in jest setup

* Jest setup to use react instead of React

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-10-15 22:09:36 -03:00
Saturnino Abril
f05faaa949
E2E: Initial Detox setup for Mobile UI automation (#4535)
* initial Detox setup for mobile UI automation

* fix iOS allow permission on opening the app, add npm script to root folder, fix test when using longer site URL and add detox dependency to root for android build dependency

* remove detox proguardFile

* update packages and emulator

* change folder build on local and CI

* add test to post a message, ability to have test in isolation, server API commands, server config, dependency updates and update folder structure

* update snapshot

* update detox and do clean up

* update dependencies
2020-08-29 07:18:41 +08:00
Saturnino Abril
74da2302b8
fix folder for build (#4634) 2020-08-04 00:08:01 +08:00
Saturnino Abril
044ff3e425
DOPS-90 Add CI build for iOS App iPhone simulator (#4543)
* add CI build for iPhone simulator

* fix missing quote

* move first to root folder before S3 upload

* run on every build and not publish on GH releases
2020-07-10 21:23:49 +08:00
Elias Nahum
d3a6e166ad
MM-15758 Update dependencies including Fastlane (#4272)
* Update dependencies including Fastlane and disable Flipper on iOS

* Remove EventEmitter for previous doc-viewer

* Fix android crash when setting more channels buttons

* Downgrade fuse.js

* Upgrade deps to latest

* Update Podfile.lock

* Downgrade RNN to 6.4.0

* QA Review #2

* Upgrade fuse.js to 6.0.0
2020-05-18 11:24:47 -07:00
Elias Nahum
36e55c95a2
MM-23570 Migrate from Segment to Rudder (#4293)
* Replace Segment with Rudder (ios not working)

* Update @assets reference and fix tests
2020-05-13 16:54:07 -04:00
Miguel Alatzar
9f92caa434
Add find_replace_string for MMKVStorage (#4240) 2020-04-27 15:29:51 -07:00
Elias Nahum
e8903ccb9e Fix Fastlane script to bump version number (#3838) 2020-01-21 08:53:56 -07:00
Amit Uttam
331cfcc372 Set default app scheme to mattermost (#3827)
Was originally set to `mattermost-beta` as per #3767 .
2020-01-20 16:14:19 -03:00
Elias Nahum
1c3c808fdd
Bump app build number to 259 (#3809)
* Bump app build number to 259

* Update fastlane

* Fix circleCI for unsigned builds
2020-01-14 09:01:20 -03:00
Amit Uttam
a5330bc08f
MM-21369 Require server/site URL for deep links (#3770)
**Old (only worked without serverURL or siteURL)**

Beta
* `mattermost-beta://<teamname>/channels/<channelname>`
* `mattermost-beta://<teamname>/pl/<permalinkID>`

Release
* `mattermost-mobile://<teamname>/channels/<channelname>`
* `mattermost-mobile://<teamname>/pl/<permalinkID>`

**New working deep link patterns**

Beta
* `mattermost-beta://<server-or-site-URL><teamname>/channels/<channelname>`
* `mattermost-beta://<server-or-site-URL><teamname>/pl/<permalinkID>`
* `mattermost-beta://https://<server-or-site-URL><teamname>/channels/<channelname>`
* `mattermost-beta://https://<server-or-site-URL><teamname>/pl/<permalinkID>`

Note: Transport protocol (http, https, etc.) is optional.

Release
* `mattermost-mobile://<server-or-site-URL><teamname>/channels/<channelname>`
* `mattermost-mobile://<server-or-site-URL><teamname>/pl/<permalinkID>`
* `mattermost-mobile://https://<server-or-site-URL><teamname>/channels/<channelname>`
* `mattermost-mobile://https://<server-or-site-URL><teamname>/pl/<permalinkID>`

Note: Transport protocol (http, https, etc.) is optional.
2020-01-13 16:28:14 -03:00
Amit Uttam
a17983c1e4
MM-12215 Make deep link URL prefix configurable for Release/Debug (#3767)
Default deep link URL prefix: `mattermost-beta`

To set to `mattermost-mobile` (or anything else, for that matter) in production releases, set fastlane ENV var `DEEPLINK_PREFIX` to `mattermost-mobile`
2020-01-09 16:00:20 -03: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
6b7d043c05
Fix android and iOS deployment on circleCI (#3476)
* Fix android and iOS deployment on circleCI

* Feedback review

* Fix circleci yml
2019-10-28 13:21:31 +02:00
Elias Nahum
b06c2d8541
Removing pods from source control, add cocoapods to circleCI (#3454) 2019-10-22 17:05:54 +03:00
Elias Nahum
010c099654
MM-18490 Migrate app builds to circleCi (#3373)
* Add pods to source control

* Update Fastlane to work with circleCi

* Configure circleCi workflows to build the app

* Set BRANCH_TO_BUILD env var to CIRCLE_BRANCH for PRs

* Use different context for each platform and type

* Fix regex

* Add i18n check
2019-10-21 23:42:49 +03:00
Saturnino Abril
3a531461e7
send message to Mattermost on iOS VM/simulator build (#2996) 2019-07-30 17:31:35 +08:00
Joram Wilander
894ba58acc
MM-17120 Update fastlane image to a working one (#3044)
https://mattermost.atlassian.net/browse/MM-17120
2019-07-25 09:15:10 -04:00
Miguel Alatzar
0f948f650d Merge branch 'master' into rnn-v2 2019-06-18 09:58:35 -07: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
Vasily Naumkin
b1c8f2bd35 Fix build after #2840 (#2861) 2019-06-05 11:11:18 -04:00
Saturnino Abril
30ee1e78c7
configure telemetry on build (#2852) 2019-06-01 01:16:32 +08:00
Saturnino Abril
7aff7067a9
fix link on Android beta signup message (#2822) 2019-05-23 07:24:55 +08:00
Elias Nahum
b179ce34e1 Fix android release link (#2821) 2019-05-23 07:01:49 +08:00
Elias Nahum
afc451fa77
move apk using the full path (#2820) 2019-05-22 16:46:27 -04:00
Elias Nahum
8a9d8acdb5
Fix Build script apk location (#2819) 2019-05-22 14:49:56 -04:00
Saturnino Abril
7fe198aade
fix fastlane for PR build (#2804) 2019-05-22 00:43:48 +08:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:02:00 -04:00
Saturnino Abril
ff4374f59f [MM-15407] Add ability to upload compiled app to S3 via fastlane with S3 path as "<s3_bucket>/<version_number>/<build_number>/<file>.(apk | ipa | app.zip)" (#2796)
* add ability to upload compiled app to S3

* make upload_file_to_s3 as generic and rename function to qa_build_message

* change single to double quote for interpolation
2019-05-17 08:26:45 -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
Elias Nahum
a44fea29c0
Update fastlane iOS beta tester link (#2785) 2019-05-10 18:50:36 -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
Saturnino Abril
bb5702edb5 add telemetry config for beta build (#2714) 2019-04-15 17:24:21 -04: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
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
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
30cccafcd5
Fix Build on Jenkins (#2326) 2018-11-06 21:10:18 -03:00
Elias Nahum
0f35add65b
Change PR build filename to PR-{PR_ID} (#2250) 2018-10-10 21:19:05 -03:00
Elias Nahum
4e94f81c00
Update Fastlane scripts (#2231)
* Upload builds to store after a successful build

* Update script to build PRs
2018-10-09 12:05:24 -03:00
Elias Nahum
1a7a6cc118
Fix fastlane android script (#2217) 2018-10-03 17:59:43 -03:00
Elias Nahum
75a23dbf18
Fastlane update to include new build process (#2208) 2018-10-03 15:09:42 -03:00