refactor(tv): simplify user profile management with automatic sandboxing

This commit is contained in:
Fredrik Burmester
2026-01-31 17:28:15 +01:00
parent 717186e13e
commit 44b7434cdd
8 changed files with 281 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
Pod::Spec.new do |s|
s.name = 'TvUserProfile'
s.version = '1.0.0'
s.summary = 'tvOS User Profile Management for Expo'
s.description = 'Native tvOS module to get current user profile and listen for profile changes using TVUserManager'
s.author = ''
s.homepage = 'https://docs.expo.dev/modules/'
s.platforms = { :ios => '15.6', :tvos => '15.0' }
s.source = { git: '' }
s.static_framework = true
s.dependency 'ExpoModulesCore'
# TVServices framework is only available on tvOS
s.tvos.frameworks = 'TVServices'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule'
}
s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
end