mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-17 12:12:17 +00:00
9feb31bd3b
- Use community net-info, react-native-webview instead of deprecated react-native classes - Remove react-native-tcp - Upgrade react-native libs (react-native-camera, react-native-firebase, react-native-mail, react-native-udp, react-native-webview-bridge) - Do not include `:react-native-android` module explicitly - Take advantage of RN AutoLinking - nix: Update Gradle dependencies
21 lines
408 B
Nix
21 lines
408 B
Nix
{ mkShell, curl, git, gradle, jq, maven, nodejs,
|
|
projectNodePackage, androidEnvShellHook, status-go }:
|
|
|
|
mkShell {
|
|
buildInputs = [
|
|
curl
|
|
git
|
|
gradle
|
|
jq
|
|
maven
|
|
nodejs
|
|
projectNodePackage
|
|
];
|
|
shellHook =
|
|
androidEnvShellHook +
|
|
status-go.shellHook + ''
|
|
$STATUS_REACT_HOME/nix/mobile/reset-node_modules.sh "${projectNodePackage}"
|
|
chmod -R u+w ./node_modules/
|
|
'';
|
|
}
|