Commit graph

78 commits

Author SHA1 Message Date
Mattermost Build
67ac6ec8a5
Add find_replace_string for MMKVStorage (#4241)
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-04-27 15:35:01 -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
Elias Nahum
11d81b9b6b
Fastlane (#2190)
* Have fastlane use BRANCH_TO_BUILD

* Update fastlane
2018-09-28 14:48:31 -03:00
Elias Nahum
ad17c2ada6
Save dist config json with the right values (#2175) 2018-09-27 05:19:13 -03:00
Elias Nahum
d7df1ec044
Update fastlane and mattermost-redux (#2011) 2018-08-16 08:56:29 -03: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
cc8d713e02
Bump iOS build number to 124 (#1891)
* Mention @qateam when build is ready

* Bump iOS build number to 124
2018-07-05 15:27:40 -04:00
Elias Nahum
be22eb9a42
Fix setting iOS app group id on build time 2018-06-25 13:51:24 -04:00
Elias Nahum
661a37af95
Fix fastlane ios release splash screen (#1780)
* Fix fastlane ios release splash screen

* Fix segment replacement
2018-06-18 17:51:01 -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
77140f8730
Fastlane sign with iCloud (#1663) 2018-05-11 18:06:09 -03:00
Elias Nahum
23ca490525
Ability to upload other file types (#1662) 2018-05-11 18:05:49 -03:00
Elias Nahum
b2b554d40c
Whitelabel for Icons and Splash Screen (#1634)
* Fix iOS icons assets and include splash screen whitelabel

* Whitelabel for app icon and splash screen on Android

* iOS Splash layout
2018-05-01 11:09:56 -03:00
enahum
e28168caae
Bump iOS build number to 80 (#1376)
* Fix Info.plist to be able to publish the app in the app store

* Fastlane requires

* Bump iOS build number to 80
2018-01-23 16:36:20 -03:00
Martin Kraft
38d0c57466 RN-545: Builds, uploads to S3, notififes channel. (#1330)
* RN-545: Builds, uploads to S3, notififes channel.

* RN-545: Awesomeified the bot post.

* RN-545: Adds logos to qa builds. Uses env variable for mattermost() invocation to get exceptions via webhook.

* RN-545: Fix typo.
2018-01-10 16:26:05 -05:00
enahum
3c309da69d
Bump Android build number to 75 (#1337) 2018-01-04 18:35:39 -03:00