* translation expo module * add `onClose` and `onReplacementAction` * rm onReplacementAction * make all props published * make translation api available globally w/o wrapper (#4110) * conditionally import the translation module * only use native translation if language is probably supported * open native translation via dropdown menu --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			641 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			641 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| Pod::Spec.new do |s|
 | |
|   s.name           = 'ExpoBlueskyTranslate'
 | |
|   s.version        = '1.0.0'
 | |
|   s.summary        = 'Uses SwiftUI translation to translate text.'
 | |
|   s.description    = 'Uses SwiftUI translation to translate text.'
 | |
|   s.author         = ''
 | |
|   s.homepage       = 'https://docs.expo.dev/modules/'
 | |
|   s.platforms      = { :ios => '13.4' }
 | |
|   s.source         = { git: '' }
 | |
|   s.static_framework = true
 | |
| 
 | |
|   s.dependency 'ExpoModulesCore'
 | |
| 
 | |
|   # Swift/Objective-C compatibility
 | |
|   s.pod_target_xcconfig = {
 | |
|     'DEFINES_MODULE' => 'YES',
 | |
|     'SWIFT_COMPILATION_MODE' => 'wholemodule'
 | |
|   }
 | |
| 
 | |
|   s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
 | |
| end
 |