3ca5a865a1
New Expo module that exposes keyboard language detection via a node handle. On iOS it resolves the React Native view tag to the underlying UITextField/UITextView and returns textInputMode.primaryLanguage (BCP 47 tag). Android and web return null for now. https://claude.ai/code/session_01AMCp4M56WtFPz1pZtwgcvx
21 lines
684 B
Ruby
21 lines
684 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'ExpoKeyboardLanguage'
|
|
s.version = '1.0.0'
|
|
s.summary = 'Get keyboard language for a text input'
|
|
s.description = 'Get the keyboard language (textInputMode) for a specific text input by node handle'
|
|
s.author = 'bluesky-social'
|
|
s.homepage = 'https://github.com/bluesky-social/social-app'
|
|
s.platforms = { :ios => '13.4', :tvos => '13.4' }
|
|
s.source = { git: '' }
|
|
s.static_framework = true
|
|
|
|
s.dependency 'ExpoModulesCore'
|
|
|
|
s.pod_target_xcconfig = {
|
|
'DEFINES_MODULE' => 'YES',
|
|
'SWIFT_COMPILATION_MODE' => 'wholemodule'
|
|
}
|
|
|
|
s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
|
|
end
|