This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// Most of the time when you launch the app you don't actually need to recompile the native app bundle. You only need to do that when you've added/removed/updated a native module. This allows running the emulator without compiling the app via `yarn emu` | |
const { execSync, spawn } = require("child_process"); | |
const path = require("path"); | |
const os = require("os"); | |
const fs = require("fs"); | |
const gradlePath = path.join(__dirname, "android", "app", "build.gradle"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Variables | |
OPENSSL_VERSION="openssl-1.1.1u" | |
NDK_VERSION="android-ndk-r26d" | |
ANDROID_API="21" | |
ANDROID_ARCHS=("arm" "arm64" "x86" "x86_64") | |
# Create and navigate to the working directory |