Skip to content

20 AI testers on 20 different phones, in parallel, on GitHub's free runners: Claude Code agents on iOS Simulators and Android emulators that find broken flows, translation, layout and accessibility bugs

730 B
Raw Blame
#!/usr/bin/env bash
# Prints the framework of the app in the current folder:
# flutter | expo | react-native | capacitor | maui | kmp | native
set -uo pipefail
if [ -f pubspec.yaml ]; then echo flutter
elif ls capacitor.config.* >/dev/null 2>&1; then echo capacitor
elif [ -f package.json ] && grep -q '"expo"' package.json && [ ! -d android ] && [ ! -d ios ]; then echo expo
elif [ -f package.json ] && grep -q '"react-native"' package.json; then echo react-native
elif ls ./*.csproj >/dev/null 2>&1 && grep -qi 'UseMaui' ./*.csproj; then echo maui
elif grep -qsE 'multiplatform|kotlin\("multiplatform"\)|kotlinMultiplatform' build.gradle.kts settings.gradle.kts */build.gradle.kts 2>/dev/null; then echo kmp
else echo native
fi