Skip to content

Instantly share code, notes, and snippets.

View GNUGradyn's full-sized avatar

Gradyn Wursten GNUGradyn

View GitHub Profile
@GNUGradyn
GNUGradyn / launch-emu.js
Created February 25, 2025 00:25
launch emulator and app only script for react native
#!/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");
@GNUGradyn
GNUGradyn / build.sh
Created May 17, 2024 15:18
Build openSSL 1.1.1u for android
#!/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