diff --git a/examples/exampletvOS/.bundle/config b/examples/exampletvOS/.bundle/config new file mode 100644 index 00000000..848943bb --- /dev/null +++ b/examples/exampletvOS/.bundle/config @@ -0,0 +1,2 @@ +BUNDLE_PATH: "vendor/bundle" +BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/examples/exampletvOS/.eslintrc.js b/examples/exampletvOS/.eslintrc.js new file mode 100644 index 00000000..40c6dcd0 --- /dev/null +++ b/examples/exampletvOS/.eslintrc.js @@ -0,0 +1,4 @@ +module.exports = { + root: true, + extends: '@react-native-community', +}; diff --git a/examples/exampletvOS/.gitignore b/examples/exampletvOS/.gitignore new file mode 100644 index 00000000..16f8c307 --- /dev/null +++ b/examples/exampletvOS/.gitignore @@ -0,0 +1,63 @@ +# OSX +# +.DS_Store + +# Xcode +# +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata +*.xccheckout +*.moved-aside +DerivedData +*.hmap +*.ipa +*.xcuserstate +ios/.xcode.env.local + +# Android/IntelliJ +# +build/ +.idea +.gradle +local.properties +*.iml +*.hprof +.cxx/ +*.keystore +!debug.keystore + +# node.js +# +node_modules/ +npm-debug.log +yarn-error.log + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/ + +**/fastlane/report.xml +**/fastlane/Preview.html +**/fastlane/screenshots +**/fastlane/test_output + +# Bundle artifact +*.jsbundle + +# Ruby / CocoaPods +/ios/Pods/ +/vendor/bundle/ + +# Temporary files created by Metro to check the health of the file watcher +.metro-health-check* diff --git a/examples/exampletvOS/.node-version b/examples/exampletvOS/.node-version new file mode 100644 index 00000000..3c032078 --- /dev/null +++ b/examples/exampletvOS/.node-version @@ -0,0 +1 @@ +18 diff --git a/examples/exampletvOS/.prettierrc.js b/examples/exampletvOS/.prettierrc.js new file mode 100644 index 00000000..2b540746 --- /dev/null +++ b/examples/exampletvOS/.prettierrc.js @@ -0,0 +1,7 @@ +module.exports = { + arrowParens: 'avoid', + bracketSameLine: true, + bracketSpacing: false, + singleQuote: true, + trailingComma: 'all', +}; diff --git a/examples/exampletvOS/.watchmanconfig b/examples/exampletvOS/.watchmanconfig new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/examples/exampletvOS/.watchmanconfig @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/examples/exampletvOS/App.tsx b/examples/exampletvOS/App.tsx new file mode 100644 index 00000000..d151527b --- /dev/null +++ b/examples/exampletvOS/App.tsx @@ -0,0 +1,41 @@ +import React from 'react'; + +import {ActivityIndicator, StyleSheet} from 'react-native'; + +import Video from 'react-native-video'; + +export default function App() { + return ( + <> + +