* remove unused examples * init bare example with test app * add react-native-video * add test app suport in expo plugin * expo plugin: skip keys that are already in pod file * fix podfile * add src files * fix metro config * finalize react native test app configuration * init expo example * remove old examples * add guide for example * Add link to examples apps in docs * adopt bare example to CI tests * update CI workflows * CI build lib after node_modules install * fix examples readme * fix iOS CI * Add Example for DRM * Update examples/README.md * fix links * update examples README * sync example code * update README
		
			
				
	
	
		
			23 lines
		
	
	
		
			642 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			642 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
ws_dir = Pathname.new(__dir__)
 | 
						|
ws_dir = ws_dir.parent until
 | 
						|
  File.exist?("#{ws_dir}/node_modules/react-native-test-app/test_app.rb") ||
 | 
						|
  ws_dir.expand_path.to_s == '/'
 | 
						|
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
 | 
						|
 | 
						|
workspace 'BareExample.xcworkspace'
 | 
						|
 | 
						|
use_test_app!
 | 
						|
 | 
						|
# This is used by CI to test different configurations
 | 
						|
# If you want to enable it look to README.md
 | 
						|
if ENV['RNV_SAMPLE_ENABLE_ADS']
 | 
						|
  $RNVideoUseGoogleIMA = true
 | 
						|
end
 | 
						|
if ENV['RNV_SAMPLE_VIDEO_CACHING']
 | 
						|
  $RNVideoUseVideoCaching = true
 | 
						|
end
 | 
						|
 | 
						|
# Chache dependencies need to have modular headers
 | 
						|
if defined?($RNVideoUseVideoCaching)
 | 
						|
  use_modular_headers!
 | 
						|
end |