* 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
150 lines
6 KiB
JSON
150 lines
6 KiB
JSON
{
|
|
"name": "mattermost-mobile",
|
|
"version": "1.20.0",
|
|
"description": "Mattermost Mobile with React Native",
|
|
"repository": "git@github.com:mattermost/mattermost-mobile.git",
|
|
"author": "Mattermost, Inc.",
|
|
"license": "Apache 2.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/runtime": "7.4.4",
|
|
"@react-native-community/async-storage": "1.4.0",
|
|
"@react-native-community/netinfo": "3.1.3",
|
|
"analytics-react-native": "1.2.0",
|
|
"commonmark": "github:mattermost/commonmark.js#4224e725f14b5d4e340a62d7e56d5ad451e9f8cf",
|
|
"commonmark-react-renderer": "github:mattermost/commonmark-react-renderer#3a2ac19cab725ad28b170fdc1d397dddedcf87eb",
|
|
"deep-equal": "1.0.1",
|
|
"emoji-regex": "8.0.0",
|
|
"fuse.js": "3.4.4",
|
|
"intl": "1.2.5",
|
|
"jail-monkey": "2.2.0",
|
|
"jsc-android": "241213.1.0",
|
|
"mattermost-redux": "github:mattermost/mattermost-redux#a45458bfe2dc4f41c73a4c8d173835de36b58f19",
|
|
"mime-db": "1.40.0",
|
|
"moment-timezone": "0.5.25",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.8.6",
|
|
"react-intl": "2.8.0",
|
|
"react-native": "0.59.8",
|
|
"react-native-animatable": "1.3.2",
|
|
"react-native-bottom-sheet": "1.0.3",
|
|
"react-native-button": "2.4.0",
|
|
"react-native-calendars": "github:mattermost/react-native-calendars#4937ec5a3bf7e86f9f35fcd85eb4aa6133f45b58",
|
|
"react-native-circular-progress": "1.1.0",
|
|
"react-native-cookies": "github:joeferraro/react-native-cookies#f11374745deba9f18f7b8a9bb4b0b2573026f522",
|
|
"react-native-device-info": "github:mattermost/react-native-device-info#5be3656f4e0ca5c3544618e5df3e9a498f183483",
|
|
"react-native-doc-viewer": "2.7.8",
|
|
"react-native-document-picker": "2.3.0",
|
|
"react-native-exception-handler": "2.10.7",
|
|
"react-native-gesture-handler": "1.2.1",
|
|
"react-native-image-gallery": "github:mattermost/react-native-image-gallery#c1a9f7118e90cc87d47620bc0584c9cac4b0cf38",
|
|
"react-native-image-picker": "0.28.1",
|
|
"react-native-keyboard-aware-scroll-view": "0.8.0",
|
|
"react-native-keyboard-tracking-view": "github:enahum/react-native-keyboard-tracking-view#66979a750e42fefe06366f0c924b29368bb586f2",
|
|
"react-native-keychain": "3.1.3",
|
|
"react-native-linear-gradient": "2.5.4",
|
|
"react-native-local-auth": "github:mattermost/react-native-local-auth#cc9ce2f468fbf7b431dfad3191a31aaa9227a6ab",
|
|
"react-native-navigation": "2.20.2",
|
|
"react-native-notifications": "github:mattermost/react-native-notifications#721fcb41b3c265a5eec208a1df181d4ffcafa477",
|
|
"react-native-passcode-status": "1.1.1",
|
|
"react-native-permissions": "1.1.1",
|
|
"react-native-safe-area": "0.5.1",
|
|
"react-native-section-list-get-item-layout": "2.2.3",
|
|
"react-native-sentry": "0.43.1",
|
|
"react-native-slider": "0.11.0",
|
|
"react-native-status-bar-size": "0.3.3",
|
|
"react-native-svg": "9.4.0",
|
|
"react-native-vector-icons": "6.4.2",
|
|
"react-native-video": "4.4.1",
|
|
"react-native-webview": "github:mattermost/react-native-webview#34e1dbef70413134ddda85df863c962f24b8826e",
|
|
"react-native-youtube": "github:mattermost/react-native-youtube#3f395b620ae4e05a3f1c6bdeef3a1158e78daadc",
|
|
"react-navigation": "3.9.1",
|
|
"react-redux": "7.0.3",
|
|
"redux": "4.0.1",
|
|
"redux-batched-actions": "0.4.1",
|
|
"redux-persist": "4.10.2",
|
|
"redux-persist-transform-filter": "0.0.18",
|
|
"redux-thunk": "2.3.0",
|
|
"reselect": "4.0.0",
|
|
"rn-fetch-blob": "github:mattermost/react-native-fetch-blob#d5a1efb3166f3d42e4f316b4be99da82fdc159b4",
|
|
"rn-placeholder": "github:mattermost/rn-placeholder#02c629c65d0123a2eee623ada0fd17186415d3c3",
|
|
"semver": "6.0.0",
|
|
"shallow-equals": "1.0.0",
|
|
"tinycolor2": "1.4.1",
|
|
"url-parse": "1.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.4.4",
|
|
"@babel/core": "7.4.4",
|
|
"@babel/plugin-transform-runtime": "7.4.4",
|
|
"@babel/preset-env": "7.4.4",
|
|
"@babel/register": "7.4.4",
|
|
"babel-eslint": "10.0.1",
|
|
"babel-jest": "24.8.0",
|
|
"babel-plugin-module-resolver": "3.2.0",
|
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
"deep-freeze": "0.0.1",
|
|
"enzyme": "3.9.0",
|
|
"enzyme-adapter-react-16": "1.13.0",
|
|
"enzyme-to-json": "3.3.5",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-mattermost": "github:mattermost/eslint-config-mattermost",
|
|
"eslint-plugin-header": "3.0.0",
|
|
"eslint-plugin-jest": "22.5.1",
|
|
"eslint-plugin-react": "7.13.0",
|
|
"jest": "24.8.0",
|
|
"jest-cli": "24.8.0",
|
|
"jest-enzyme": "7.0.2",
|
|
"jsdom-global": "3.0.2",
|
|
"metro-react-native-babel-preset": "0.54.0",
|
|
"mmjstool": "github:mattermost/mattermost-utilities",
|
|
"nyc": "14.1.1",
|
|
"react-dom": "16.8.6",
|
|
"react-test-renderer": "16.8.6",
|
|
"redux-mock-store": "1.5.3",
|
|
"remote-redux-devtools": "0.5.16",
|
|
"socketcluster": "14.3.3",
|
|
"underscore": "1.9.1"
|
|
},
|
|
"scripts": {
|
|
"start": "node ./node_modules/react-native/local-cli/cli.js start",
|
|
"check": "eslint --ignore-path .gitignore --ignore-pattern node_modules --quiet .",
|
|
"fix": "eslint --ignore-path .gitignore --ignore-pattern node_modules --quiet . --fix",
|
|
"postinstall": "make post-install",
|
|
"test": "jest --forceExit --detectOpenHandles",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"updatesnapshot": "jest --updateSnapshot",
|
|
"mmjstool": "mmjstool",
|
|
"android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug"
|
|
},
|
|
"rnpm": {
|
|
"assets": [
|
|
"./assets/fonts"
|
|
]
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"collectCoverageFrom": [
|
|
"app/**/*.{js,jsx}"
|
|
],
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"text-summary"
|
|
],
|
|
"preset": "react-native",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/test/setup.js",
|
|
"<rootDir>/node_modules/jest-enzyme/lib/index.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"assets/images/video_player/(.*).png": "<rootDir>/dist/assets/images/video_player/$1@2x.png"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!react-native|jail-monkey)"
|
|
]
|
|
}
|
|
}
|