Skip to content

Commit

Permalink
patch react-native-keychain library
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Aug 19, 2023
1 parent b11562d commit 37c90eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nix/deps/nodejs-patched/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ stdenv.mkDerivation {
"unpackPhase"
"patchGradlePhase"
"patchReactNativePhase"
"patchKeyChainLibraryPhase"
"patchPodPhase"
"installPhase"
];
Expand Down Expand Up @@ -67,6 +68,19 @@ stdenv.mkDerivation {
'src/config.h.in && rm src/config.h.in.bak'
'';

# Remove gradle-test-logger-plugin:
# https://github.com/oblador/react-native-keychain/issues/595
# TODO: remove this patch when we this library fixes above issue
patchKeyChainLibraryPhase = ''
substituteInPlace ./node_modules/react-native-keychain/android/build.gradle --replace \
'classpath' \
'// classpath'
substituteInPlace ./node_modules/react-native-keychain/android/build.gradle --replace \
'apply plugin: "com.adarshr.test-logger"' \
'// apply plugin: "com.adarshr.test-logger"'
'';

# Fix pod issue in react-native 0.67.5:
# https://stackoverflow.com/questions/71248072/no-member-named-cancelbuttontintcolor-in-jsnativeactionsheetmanagerspecsh
# TODO: remove this patch when maybe after 0.68.5
Expand Down

0 comments on commit 37c90eb

Please sign in to comment.