Commit graph

31 commits

Author SHA1 Message Date
Saturnino Abril
6cf94d7be6
Detox/E2E: Update android emulator using Pixel 4 XL (#5354)
* update android emulator using Pixel 4 XL for detox tests

* update per comment
2021-04-28 06:56:30 +08:00
Ashish Bhate
1914b770e5
[MM-28845]: Add storybook to mobile repo (#4870)
*Summary*
- This PR adds storybook into the mobile repo, and adds a sample story for the existing "loading" component.
- In the root of the repo run `npm run storybook`. This step automatically scans and loads all stories. A new browser tab will open with the storybook interface. You can configure the storybook host url by updating the .env file in the root of the repo. This might be required if you're using a real device. When running in an emulator, the code tries to use the default network values.
- Then run the usual `npm run android` (or `npm run ios`) and `npm run start` commands
- Storybook has been integrated into the react-native-dev-menu. When the app is running in the emulator press CTRL+M or CMD+M to open the dev menu and select "Storybook". If running on a real device, shaking the device will bring up the react-native dev menu. You can also press d in the terminal where you ran npm run start to get the app running.
- The storybook interface will open in the mobile app. The stories can be controlled either through the desktop browser storybook UI or the mobile browser storybook UI. Both will render the component on the device.

*Ticket Link*
https://mattermost.atlassian.net/browse/MM-28845

*Device Information*
This PR was tested on:
Iphone 11 emulator running ios 13.7
Pixel 3XL emulator running Android 10
2020-11-02 15:41:07 +05:30
Saturnino Abril
6e2549de7f
MM-28653 Detox/E2E: Add jest-junit, jest-html-reporters and pathbuilders for test report/artifacts (#4888)
* add jest-junit, jest-html-reporters and pathbuilders for test report/artifacts

* change optional chaining implementation
2020-10-15 02:27:57 +08:00
Saturnino Abril
64882b3176
MM-T3180 Detox/E2E for LDAP login (#4863)
* E2E for LDAP login

* add LDAP test and sync

* update per comment

* add api commands to ensure LDAP user has team

* clean up

* clean up file check

* update per comment
2020-10-13 19:13:51 +08:00
Miguel Alatzar
7afa9aed01
[MM-23698] [MM-19559] Remove redux-offline and updated redux-persist (#4120)
* Remove redux-offline and configure redux-persist

* Fix typo

* Fix configure store

* Upgrade to redux-persist 6.0.0

* Add migration from redux-persist v4 to v6

* Replace AsyncStorage with MMKVStorage to boost storage speed

* Mock RNFastStorage

* Fix reactions test

* Fix clearing the store on logout

* Remove the need for LOGOUT_SUCCESS

* No need to pass persistConfig to middlewares()

* Remove unused imports

* Export connection

Accidentally removed this export.

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Add batch action name

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* Fix delete post

* Fix leave channel

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-04-08 13:44:54 -07:00
Harrison Healey
4c1a60db5b Add Android Studio settings to .gitignore (#3492) 2019-10-30 08:09:22 +01:00
Elias Nahum
8f0619d083
re-add .podinstall to .gitignore 2019-10-22 17:53:19 +03: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
Harrison Healey
bbd22b8f7f Add android/app/bin to .gitignore (#3374) 2019-10-07 23:53:34 -07:00
Saturnino Abril
1b876fe85d [MM-15695] Move i18n check from shared pipelines to makefile as i18n-extract-ci (#2808)
* move i18n check from shared pipelines to makefile as i18n-extract-ci

* updated per feedback
2019-05-21 09:34:04 -07:00
Saturnino Abril
770bcd2a86
[MM-14238] Add make command to generate unsigned x86_64 build for VM/simulator (#2597)
* add make command to generate unsigned x86_64 build for VM/simulator

* updated per comment, added common function at makefile

* added start|stop_packger to start and stop phony
2019-03-02 02:22:41 +08:00
Courtney Pattison
8edcbc8390 Add coverage to .gitignore (#2601) 2019-02-28 18:24:50 -03:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
Elias Nahum
7b18047800
CBA support for iOS (#1767)
* CBA Support

* cba support for iOS Share extension

* Autologin with credentials

* Set initial config for ExperimentalClientSideCertEnable as false

* Fix mattermost-redux to cba branch

* feedback review

* Fix eslint
2018-06-19 19:35:42 -04:00
Elias Nahum
f4f48f9d6f
Ignore fastlane/.env file (#1656) 2018-05-07 10:40:04 -03:00
Elias Nahum
80dd9366a1 Update Dependencies (#1641)
* Update dependencies including react-native

* Update react-native-circle-progress dependency

* Fix prop warnings and possible crashes
2018-04-27 17:49:09 -04:00
Chris Duarte
2e951cbfca Upgrade to RN 0.50.4 (#1303)
* Update to RN 0.50.4

* Fix intl context in post textbox
2017-12-22 19:39:51 -03:00
enahum
cde5984aed
Update fastlane (#1107) 2017-11-08 13:09:52 -03:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
enahum
7aebcbd52e Link Previews (#890)
* Link previews, Image previews and YouTube

* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00
Harrison Healey
3ac7b48adc RN-289 Sentry integration (#873)
* Added JS code for Sentry

* Removed leftover initializeSentry call

* Added SentryOptions config setting

* Added native components for react-native-exception-handler

* Removed default props from ErrorText

* Moved where Sentry is initialized

* Added ios/sentry.properties to .gitignore

* Added linking react-native-sentry to Fastlane

* Fixed fastlane to include newlines in sentry.properties

* Moved to manually link react-native-sentry

* Captured redux errors with Sentry

* Redid how Sentry is optionally compiled to be simpler

* Added Sentry middleware to create redux breadcrumbs

* Added Sentry tags for server version

* Initialize Sentry when testing

* Fixed string replacement for SentryEnabled in fastlane

* Added react-native-sentry to NOTICE.txt
2017-09-01 14:50:17 -03:00
Chris Duarte
cbdfb4ff46 Add component unit testing (#588) 2017-05-31 08:59:20 -04:00
Chris Duarte
d14edc25da RN-145 Add support for sentry error tracking (#564)
* RN-145 Add support for sentry error tracking

* Add to notice.txt
2017-05-25 09:56:38 -04:00
enahum
eb240af15b Update dependencies and start using yarn (#506) 2017-04-27 08:45:55 -03:00
enahum
1566a79c93 Fastlane for Android and ios (#165) 2017-01-19 09:35:40 -05:00
Harrison Healey
9d51a3b970 Added whitelabeling support using assets/override (#156) 2017-01-05 16:32:24 -03:00
Thomas Hopkins
0f92c48843 Gitignore .npminstall (#28)
* Delete .npminstall

* Add .npminstall to .gitignore
2016-10-18 15:44:52 -07:00
Harrison Healey
ebf6a95561 Added basic config file (#20)
* Added basic config file

* Replaced Object.assign with spread
2016-10-17 11:38:59 -04:00
Harrison Healey
69b4ae2988 Added vim temporary files to .gitignore (#14) 2016-10-16 20:00:25 -04:00
Harrison Healey
6907e9a900 Initial commit 2016-10-04 14:10:44 -04:00