chore: rework examples (#4225)

* 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
This commit is contained in:
Krzysztof Moch
2024-10-20 20:04:02 +02:00
committed by GitHub
parent 7c7d83b6e5
commit 9eb5502076
445 changed files with 5510 additions and 106905 deletions

View File

@@ -0,0 +1,21 @@
diff --git a/node_modules/@react-native-picker/picker/RNCPicker.podspec b/node_modules/@react-native-picker/picker/RNCPicker.podspec
index bfdf16c..bdc9c7c 100644
--- a/node_modules/@react-native-picker/picker/RNCPicker.podspec
+++ b/node_modules/@react-native-picker/picker/RNCPicker.podspec
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.authors = package['author']
s.homepage = package['homepage']
- s.platforms = { :ios => "9.0", :osx => "10.14" }
+ s.platforms = { :ios => "9.0", :osx => "10.14", :visionos => "1.0" }
s.source = { :git => "https://github.com/react-native-picker/picker.git", :tag => "v#{s.version}" }
@@ -25,6 +25,7 @@ Pod::Spec.new do |s|
else
s.ios.source_files = "ios/**/*.{h,m,mm}"
s.osx.source_files = "macos/**/*.{h,m,mm}"
+ s.visionos.source_files = "ios/**/*.{h,m,mm}"
end
s.dependency 'React-Core'