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

27 lines
1.0 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'RebreakProtection'
s.version = '0.1.0'
s.summary = 'ReBreak unified protection — NEFilter + Family Controls.'
s.description = 'Single native module that wraps NEFilterDataProvider + AuthorizationCenter + ManagedSettings for the ReBreak gambling-recovery app.'
s.author = 'ReBreak'
s.homepage = 'https://rebreak.org'
s.license = { :type => 'Proprietary' }
s.platforms = { :ios => '15.1', :tvos => '15.1' }
s.swift_version = '5.9'
s.source = { :git => '' }
s.static_framework = true
s.dependency 'ExpoModulesCore'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule',
}
# NUR Top-Level-Sources ins Hauptmodul. RebreakURLFilter/ enthält Sources
# für die NetworkExtension — die werden vom Config-Plugin in ein separates
# Xcode-Target gepackt, NICHT in die Hauptmodul-Lib.
s.source_files = '*.{h,m,mm,swift,hpp,cpp}'
s.exclude_files = 'RebreakURLFilter/**/*'
end