chahinebrini a80cc8b08d fix(rebreak-native): track custom native module source (was swallowed by .gitignore)
apps/rebreak-native/.gitignore had bare `ios/` + `android/` patterns meant for the
Expo-prebuild output dirs — but with no leading slash they also matched
modules/rebreak-protection/{android,ios}, so the entire custom expo native module
(RebreakProtectionModule.kt, RebreakAccessibilityService.kt, RebreakVpnService.kt,
the DNS filter, the iOS NEFilter extension, podspec, ...) was never tracked. A
fresh clone / CI / `git clean` would lose it.

Anchor the prebuild patterns (`/ios/`, `/android/`), keep ignoring the module's
build artifacts (build/, .cxx/, .gradle/, Pods/), and commit the source.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 17:22:22 +02:00

26 lines
448 B
Groovy

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'expo-module-gradle-plugin'
}
group = 'org.rebreak'
version = '0.1.0'
android {
namespace "expo.modules.rebreakprotection"
defaultConfig {
versionCode 1
versionName "0.1.0"
minSdkVersion 26
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
implementation "androidx.core:core-ktx:1.12.0"
testImplementation "junit:junit:4.13.2"
}