From 79e54887dc5d43d3d8bb82eb95d781cdd93bea46 Mon Sep 17 00:00:00 2001 From: Rohan Port Date: Fri, 29 Jul 2022 10:22:48 +1000 Subject: [PATCH] RN-597: Explicitly install ndk 21.0.6113669 in appcenter-pre-build.sh --- packages/meditrak-app/appcenter-pre-build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/meditrak-app/appcenter-pre-build.sh b/packages/meditrak-app/appcenter-pre-build.sh index f3c3dc0a7b..9913c1f9e0 100755 --- a/packages/meditrak-app/appcenter-pre-build.sh +++ b/packages/meditrak-app/appcenter-pre-build.sh @@ -11,4 +11,8 @@ if [[ ! -z "$APPCENTER_XCODE_PROJECT" ]]; then else # on android, set up gradle.properties mv android/appcenter-gradle.properties android/gradle.properties + + # install ndk 21.0.6113669 as it's required by realm (https://github.com/realm/realm-js/issues/4740) + SDKMANAGER=$ANDROID_HOME/tools/bin/sdkmanager + echo y | $SDKMANAGER "ndk;21.0.6113669" fi