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
