├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── java │ │ └── com │ │ │ └── youtubeplayer │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── index.android.js ├── index.ios.js ├── ios ├── YoutubePlayer-tvOS │ └── Info.plist ├── YoutubePlayer-tvOSTests │ └── Info.plist ├── YoutubePlayer.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── YoutubePlayer-tvOS.xcscheme │ │ └── YoutubePlayer.xcscheme ├── YoutubePlayer │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-57x57@1x.png │ │ │ ├── Icon-App-57x57@2x.png │ │ │ ├── Icon-App-60x60@1x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-72x72@1x.png │ │ │ ├── Icon-App-72x72@2x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-76x76@3x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ ├── Icon-Small-50x50@1x.png │ │ │ └── Icon-Small-50x50@2x.png │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── YoutubePlayerTests │ ├── Info.plist │ └── YoutubePlayerTests.m ├── package.json ├── src ├── actions │ ├── index.js │ ├── music.actions.js │ ├── player.actions.js │ ├── search.actions.js │ └── types.js ├── components │ ├── PlayerButtons.js │ └── Song.js ├── config │ └── index.js ├── containers │ ├── App.js │ ├── Downloads.js │ ├── MiniPlayer.js │ ├── Player.js │ ├── Search.js │ └── SearchResults.js ├── helpers │ ├── createReducer.js │ └── utils.js ├── img │ └── music.jpg ├── index.js ├── reducers │ ├── api.reducer.js │ ├── index.js │ ├── player.reducer.js │ └── routes.js └── styles │ └── index.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 43 | 44 | unsafe.enable_getters_and_setters=true 45 | 46 | [version] 47 | ^0.42.0 48 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | yarn.lock 55 | src/config/index.js 56 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JPlayer 2 | ### Screenshots 3 | Download Player Play remote 4 | 5 | ### Installation 6 | 7 | ``` 8 | npm install 9 | react-native link 10 | react-native run-ios 11 | 12 | ``` 13 | >Put your Google API key in src/configs/index.js - YOUTUBE_API_KEY 14 | 15 | ### Description 16 | JPlayer is a music player which uses YouTube API to search videos and youtube-audio API to convert video to mp3 and download it for offline use. 17 | 18 | ### Contributors 19 | 20 | - [Varik Matevosyan](https://github.com/var77) 21 | 22 | >Special thanks to [devnacho](https://github.com/devnacho) for his [react-native-music-player]( https://github.com/devnacho/react-native-music-player) and [Tanguy Antoine](https://github.com/tanguyantoine) for his [react-native-music-control]( https://github.com/tanguyantoine/react-native-music-control). 23 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.youtubeplayer", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.youtubeplayer", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"], 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 23 87 | buildToolsVersion "23.0.1" 88 | 89 | defaultConfig { 90 | applicationId "com.youtubeplayer" 91 | minSdkVersion 16 92 | targetSdkVersion 22 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':react-native-video') 130 | compile project(':react-native-vector-icons') 131 | compile project(':react-native-music-control') 132 | compile project(':react-native-fs') 133 | compile project(':react-native-fetch-blob') 134 | compile fileTree(dir: "libs", include: ["*.jar"]) 135 | compile "com.android.support:appcompat-v7:23.0.1" 136 | compile "com.facebook.react:react-native:+" // From node_modules 137 | } 138 | 139 | // Run this once to be able to run the application with BUCK 140 | // puts all compile dependencies into folder libs for BUCK to use 141 | task copyDownloadableDepsToLibs(type: Copy) { 142 | from configurations.compile 143 | into 'libs' 144 | } 145 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/youtubeplayer/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.youtubeplayer; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "YoutubePlayer"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/youtubeplayer/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.youtubeplayer; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.brentvatne.react.ReactVideoPackage; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.tanguyantoine.react.MusicControl; 9 | import com.rnfs.RNFSPackage; 10 | import com.RNFetchBlob.RNFetchBlobPackage; 11 | import com.facebook.react.ReactNativeHost; 12 | import com.facebook.react.ReactPackage; 13 | import com.facebook.react.shell.MainReactPackage; 14 | import com.facebook.soloader.SoLoader; 15 | 16 | import java.util.Arrays; 17 | import java.util.List; 18 | 19 | public class MainApplication extends Application implements ReactApplication { 20 | 21 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 22 | @Override 23 | public boolean getUseDeveloperSupport() { 24 | return BuildConfig.DEBUG; 25 | } 26 | 27 | @Override 28 | protected List getPackages() { 29 | return Arrays.asList( 30 | new MainReactPackage(), 31 | new ReactVideoPackage(), 32 | new VectorIconsPackage(), 33 | new MusicControl(), 34 | new RNFSPackage(), 35 | new RNFetchBlobPackage() 36 | ); 37 | } 38 | }; 39 | 40 | @Override 41 | public ReactNativeHost getReactNativeHost() { 42 | return mReactNativeHost; 43 | } 44 | 45 | @Override 46 | public void onCreate() { 47 | super.onCreate(); 48 | SoLoader.init(this, /* native exopackage */ false); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | YoutubePlayer 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'YoutubePlayer' 2 | include ':react-native-video' 3 | project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android') 4 | include ':react-native-vector-icons' 5 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 6 | include ':react-native-music-control' 7 | project(':react-native-music-control').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-music-control/android') 8 | include ':react-native-fs' 9 | project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android') 10 | include ':react-native-fetch-blob' 11 | project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fetch-blob/android') 12 | 13 | include ':app' 14 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "YoutubePlayer", 3 | "displayName": "YoutubePlayer" 4 | } -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import './src'; 2 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import './src'; 2 | -------------------------------------------------------------------------------- /ios/YoutubePlayer-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/YoutubePlayer-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/YoutubePlayer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* YoutubePlayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* YoutubePlayerTests.m */; }; 15 | 0CCE3EC2BE2846EA989D094D /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2F3D19BCA7C04BD7AD99B042 /* libRNFS.a */; }; 16 | 11F43B4C4A9641F68D636440 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8E9B45CD65CA4437AFFDD7C1 /* SimpleLineIcons.ttf */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 37 | 2DB927EDF5BD4DEE9748C2F2 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E185F212738B4CFFB2E37708 /* Zocial.ttf */; }; 38 | 2DCD954D1E0B4F2C00145EB5 /* YoutubePlayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* YoutubePlayerTests.m */; }; 39 | 373445F1EFA14468B5B302FC /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2B8880EF4F0449F0B5A5E0E6 /* Ionicons.ttf */; }; 40 | 50D726AF87604BD48847CF90 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2E30FCB6E8694397817D6DD0 /* MaterialCommunityIcons.ttf */; }; 41 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 42 | 6EB0EDBDB2AA4ABFAF933A16 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 27586CE85CA64A6A8F633061 /* FontAwesome.ttf */; }; 43 | 73FAB5B1AF3F40AD91A858EC /* libRCTVideo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E73074644E84A8AA8C686B4 /* libRCTVideo.a */; }; 44 | 76DFADC87CE04B319315E0AF /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 830B1611D79B4A27ABED2F5E /* EvilIcons.ttf */; }; 45 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 46 | 88D46DC5E670451582A33271 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 83CECD5E4BA041A7A97AFE88 /* Foundation.ttf */; }; 47 | 9925D293ACB14A3F819029CE /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3632BBB43FA74EFEB4D67162 /* MaterialIcons.ttf */; }; 48 | A18664BD808B4616AC5B9474 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 86C62A78C4E242AEAB390BB6 /* Octicons.ttf */; }; 49 | ADD97D2854634C6FAE548522 /* libRNFetchBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F14AE7E2B28F4906AC4DAD9B /* libRNFetchBlob.a */; }; 50 | BC1C6303C6C94CED9E21D723 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F38B42A47A02425C879FB456 /* Entypo.ttf */; }; 51 | CA2B2FCD1EDB2D3300189809 /* libART.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA2B2FCC1EDB2D2A00189809 /* libART.a */; }; 52 | E901BAA915664C6A8DABC639 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 69C4FE288AA0484A943E38E0 /* libRNVectorIcons.a */; }; 53 | FF1C69C90F8741F7A3FB960E /* libMusicControl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C2BB9851B3CE4AE6B150134E /* libMusicControl.a */; }; 54 | /* End PBXBuildFile section */ 55 | 56 | /* Begin PBXContainerItemProxy section */ 57 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 58 | isa = PBXContainerItemProxy; 59 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 60 | proxyType = 2; 61 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 62 | remoteInfo = RCTActionSheet; 63 | }; 64 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 65 | isa = PBXContainerItemProxy; 66 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 67 | proxyType = 2; 68 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 69 | remoteInfo = RCTGeolocation; 70 | }; 71 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 72 | isa = PBXContainerItemProxy; 73 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 74 | proxyType = 2; 75 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 76 | remoteInfo = RCTImage; 77 | }; 78 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 79 | isa = PBXContainerItemProxy; 80 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 81 | proxyType = 2; 82 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 83 | remoteInfo = RCTNetwork; 84 | }; 85 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 86 | isa = PBXContainerItemProxy; 87 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 88 | proxyType = 2; 89 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 90 | remoteInfo = RCTVibration; 91 | }; 92 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 93 | isa = PBXContainerItemProxy; 94 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 95 | proxyType = 1; 96 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 97 | remoteInfo = YoutubePlayer; 98 | }; 99 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 100 | isa = PBXContainerItemProxy; 101 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 102 | proxyType = 2; 103 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 104 | remoteInfo = RCTSettings; 105 | }; 106 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 107 | isa = PBXContainerItemProxy; 108 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 109 | proxyType = 2; 110 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 111 | remoteInfo = RCTWebSocket; 112 | }; 113 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 114 | isa = PBXContainerItemProxy; 115 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 116 | proxyType = 2; 117 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 118 | remoteInfo = React; 119 | }; 120 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 121 | isa = PBXContainerItemProxy; 122 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 123 | proxyType = 1; 124 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 125 | remoteInfo = "YoutubePlayer-tvOS"; 126 | }; 127 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 128 | isa = PBXContainerItemProxy; 129 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 130 | proxyType = 2; 131 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 132 | remoteInfo = "RCTImage-tvOS"; 133 | }; 134 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 135 | isa = PBXContainerItemProxy; 136 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 137 | proxyType = 2; 138 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 139 | remoteInfo = "RCTLinking-tvOS"; 140 | }; 141 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 142 | isa = PBXContainerItemProxy; 143 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 144 | proxyType = 2; 145 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 146 | remoteInfo = "RCTNetwork-tvOS"; 147 | }; 148 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 149 | isa = PBXContainerItemProxy; 150 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 151 | proxyType = 2; 152 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 153 | remoteInfo = "RCTSettings-tvOS"; 154 | }; 155 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 156 | isa = PBXContainerItemProxy; 157 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 158 | proxyType = 2; 159 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 160 | remoteInfo = "RCTText-tvOS"; 161 | }; 162 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 163 | isa = PBXContainerItemProxy; 164 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 165 | proxyType = 2; 166 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 167 | remoteInfo = "RCTWebSocket-tvOS"; 168 | }; 169 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 170 | isa = PBXContainerItemProxy; 171 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 172 | proxyType = 2; 173 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 174 | remoteInfo = "React-tvOS"; 175 | }; 176 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 177 | isa = PBXContainerItemProxy; 178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 179 | proxyType = 2; 180 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 181 | remoteInfo = yoga; 182 | }; 183 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 184 | isa = PBXContainerItemProxy; 185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 186 | proxyType = 2; 187 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 188 | remoteInfo = "yoga-tvOS"; 189 | }; 190 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 191 | isa = PBXContainerItemProxy; 192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 193 | proxyType = 2; 194 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 195 | remoteInfo = cxxreact; 196 | }; 197 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 198 | isa = PBXContainerItemProxy; 199 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 200 | proxyType = 2; 201 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 202 | remoteInfo = "cxxreact-tvOS"; 203 | }; 204 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 205 | isa = PBXContainerItemProxy; 206 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 207 | proxyType = 2; 208 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 209 | remoteInfo = jschelpers; 210 | }; 211 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 212 | isa = PBXContainerItemProxy; 213 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 214 | proxyType = 2; 215 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 216 | remoteInfo = "jschelpers-tvOS"; 217 | }; 218 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 219 | isa = PBXContainerItemProxy; 220 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 221 | proxyType = 2; 222 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 223 | remoteInfo = RCTAnimation; 224 | }; 225 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 226 | isa = PBXContainerItemProxy; 227 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 228 | proxyType = 2; 229 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 230 | remoteInfo = "RCTAnimation-tvOS"; 231 | }; 232 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 233 | isa = PBXContainerItemProxy; 234 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 235 | proxyType = 2; 236 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 237 | remoteInfo = RCTLinking; 238 | }; 239 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 240 | isa = PBXContainerItemProxy; 241 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 242 | proxyType = 2; 243 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 244 | remoteInfo = RCTText; 245 | }; 246 | CA2B2F961EDB2C8900189809 /* PBXContainerItemProxy */ = { 247 | isa = PBXContainerItemProxy; 248 | containerPortal = 0C04A835D95246DD8131F138 /* MusicControl.xcodeproj */; 249 | proxyType = 2; 250 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 251 | remoteInfo = MusicControl; 252 | }; 253 | CA2B2F981EDB2C8900189809 /* PBXContainerItemProxy */ = { 254 | isa = PBXContainerItemProxy; 255 | containerPortal = 0C04A835D95246DD8131F138 /* MusicControl.xcodeproj */; 256 | proxyType = 2; 257 | remoteGlobalIDString = A3FC285E1EA7A8350097B6A9; 258 | remoteInfo = "MusicControl-tvOS"; 259 | }; 260 | CA2B2FAA1EDB2C8900189809 /* PBXContainerItemProxy */ = { 261 | isa = PBXContainerItemProxy; 262 | containerPortal = EFCB8412AE424652AC2D4593 /* RCTVideo.xcodeproj */; 263 | proxyType = 2; 264 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 265 | remoteInfo = RCTVideo; 266 | }; 267 | CA2B2FB71EDB2C8900189809 /* PBXContainerItemProxy */ = { 268 | isa = PBXContainerItemProxy; 269 | containerPortal = 9EB0A4B54DC049EEA5635410 /* RNFetchBlob.xcodeproj */; 270 | proxyType = 2; 271 | remoteGlobalIDString = A15C300E1CD25C330074CB35; 272 | remoteInfo = RNFetchBlob; 273 | }; 274 | CA2B2FBA1EDB2C8900189809 /* PBXContainerItemProxy */ = { 275 | isa = PBXContainerItemProxy; 276 | containerPortal = 5102D5FDEE844205959763D2 /* RNFS.xcodeproj */; 277 | proxyType = 2; 278 | remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D; 279 | remoteInfo = RNFS; 280 | }; 281 | CA2B2FBD1EDB2C8900189809 /* PBXContainerItemProxy */ = { 282 | isa = PBXContainerItemProxy; 283 | containerPortal = 3535464EE0D040A4A83E51E2 /* RNVectorIcons.xcodeproj */; 284 | proxyType = 2; 285 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 286 | remoteInfo = RNVectorIcons; 287 | }; 288 | CA2B2FCB1EDB2D2A00189809 /* PBXContainerItemProxy */ = { 289 | isa = PBXContainerItemProxy; 290 | containerPortal = CA2B2FC71EDB2D2A00189809 /* ART.xcodeproj */; 291 | proxyType = 2; 292 | remoteGlobalIDString = 0CF68AC11AF0540F00FF9E5C; 293 | remoteInfo = ART; 294 | }; 295 | /* End PBXContainerItemProxy section */ 296 | 297 | /* Begin PBXFileReference section */ 298 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 299 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 300 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 301 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 302 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 303 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 304 | 00E356EE1AD99517003FC87E /* YoutubePlayerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YoutubePlayerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 305 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 306 | 00E356F21AD99517003FC87E /* YoutubePlayerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YoutubePlayerTests.m; sourceTree = ""; }; 307 | 0C04A835D95246DD8131F138 /* MusicControl.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = MusicControl.xcodeproj; path = "../node_modules/react-native-music-control/ios/MusicControl.xcodeproj"; sourceTree = ""; }; 308 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 309 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 310 | 13B07F961A680F5B00A75B9A /* YoutubePlayer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YoutubePlayer.app; sourceTree = BUILT_PRODUCTS_DIR; }; 311 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = YoutubePlayer/AppDelegate.h; sourceTree = ""; }; 312 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = YoutubePlayer/AppDelegate.m; sourceTree = ""; }; 313 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 314 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = YoutubePlayer/Images.xcassets; sourceTree = ""; }; 315 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = YoutubePlayer/Info.plist; sourceTree = ""; }; 316 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = YoutubePlayer/main.m; sourceTree = ""; }; 317 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 318 | 27586CE85CA64A6A8F633061 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 319 | 2B8880EF4F0449F0B5A5E0E6 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 320 | 2D02E47B1E0B4A5D006451C7 /* YoutubePlayer-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "YoutubePlayer-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 321 | 2D02E4901E0B4A5D006451C7 /* YoutubePlayer-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "YoutubePlayer-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 322 | 2E30FCB6E8694397817D6DD0 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 323 | 2F3D19BCA7C04BD7AD99B042 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = ""; }; 324 | 3535464EE0D040A4A83E51E2 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 325 | 3632BBB43FA74EFEB4D67162 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 326 | 5102D5FDEE844205959763D2 /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = ""; }; 327 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 328 | 69C4FE288AA0484A943E38E0 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 329 | 6E73074644E84A8AA8C686B4 /* libRCTVideo.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTVideo.a; sourceTree = ""; }; 330 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 331 | 830B1611D79B4A27ABED2F5E /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 332 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 333 | 83CECD5E4BA041A7A97AFE88 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 334 | 86C62A78C4E242AEAB390BB6 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 335 | 8E9B45CD65CA4437AFFDD7C1 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 336 | 9EB0A4B54DC049EEA5635410 /* RNFetchBlob.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFetchBlob.xcodeproj; path = "../node_modules/react-native-fetch-blob/ios/RNFetchBlob.xcodeproj"; sourceTree = ""; }; 337 | C2BB9851B3CE4AE6B150134E /* libMusicControl.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libMusicControl.a; sourceTree = ""; }; 338 | CA2B2FC71EDB2D2A00189809 /* ART.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ART.xcodeproj; path = "../node_modules/react-native/Libraries/ART/ART.xcodeproj"; sourceTree = ""; }; 339 | E185F212738B4CFFB2E37708 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 340 | EFCB8412AE424652AC2D4593 /* RCTVideo.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTVideo.xcodeproj; path = "../node_modules/react-native-video/ios/RCTVideo.xcodeproj"; sourceTree = ""; }; 341 | F14AE7E2B28F4906AC4DAD9B /* libRNFetchBlob.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFetchBlob.a; sourceTree = ""; }; 342 | F38B42A47A02425C879FB456 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 343 | /* End PBXFileReference section */ 344 | 345 | /* Begin PBXFrameworksBuildPhase section */ 346 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 347 | isa = PBXFrameworksBuildPhase; 348 | buildActionMask = 2147483647; 349 | files = ( 350 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 355 | isa = PBXFrameworksBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | CA2B2FCD1EDB2D3300189809 /* libART.a in Frameworks */, 359 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 360 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 361 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 362 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 363 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 364 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 365 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 366 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 367 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 368 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 369 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 370 | ADD97D2854634C6FAE548522 /* libRNFetchBlob.a in Frameworks */, 371 | 0CCE3EC2BE2846EA989D094D /* libRNFS.a in Frameworks */, 372 | FF1C69C90F8741F7A3FB960E /* libMusicControl.a in Frameworks */, 373 | E901BAA915664C6A8DABC639 /* libRNVectorIcons.a in Frameworks */, 374 | 73FAB5B1AF3F40AD91A858EC /* libRCTVideo.a in Frameworks */, 375 | ); 376 | runOnlyForDeploymentPostprocessing = 0; 377 | }; 378 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 379 | isa = PBXFrameworksBuildPhase; 380 | buildActionMask = 2147483647; 381 | files = ( 382 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 383 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 384 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 385 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 386 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 387 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 388 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 389 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 390 | ); 391 | runOnlyForDeploymentPostprocessing = 0; 392 | }; 393 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 394 | isa = PBXFrameworksBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | /* End PBXFrameworksBuildPhase section */ 401 | 402 | /* Begin PBXGroup section */ 403 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 404 | isa = PBXGroup; 405 | children = ( 406 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 407 | ); 408 | name = Products; 409 | sourceTree = ""; 410 | }; 411 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 412 | isa = PBXGroup; 413 | children = ( 414 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 415 | ); 416 | name = Products; 417 | sourceTree = ""; 418 | }; 419 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 423 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 424 | ); 425 | name = Products; 426 | sourceTree = ""; 427 | }; 428 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 429 | isa = PBXGroup; 430 | children = ( 431 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 432 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 433 | ); 434 | name = Products; 435 | sourceTree = ""; 436 | }; 437 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 438 | isa = PBXGroup; 439 | children = ( 440 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 441 | ); 442 | name = Products; 443 | sourceTree = ""; 444 | }; 445 | 00E356EF1AD99517003FC87E /* YoutubePlayerTests */ = { 446 | isa = PBXGroup; 447 | children = ( 448 | 00E356F21AD99517003FC87E /* YoutubePlayerTests.m */, 449 | 00E356F01AD99517003FC87E /* Supporting Files */, 450 | ); 451 | path = YoutubePlayerTests; 452 | sourceTree = ""; 453 | }; 454 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 00E356F11AD99517003FC87E /* Info.plist */, 458 | ); 459 | name = "Supporting Files"; 460 | sourceTree = ""; 461 | }; 462 | 139105B71AF99BAD00B5F7CC /* Products */ = { 463 | isa = PBXGroup; 464 | children = ( 465 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 466 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 467 | ); 468 | name = Products; 469 | sourceTree = ""; 470 | }; 471 | 139FDEE71B06529A00C62182 /* Products */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 475 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 476 | ); 477 | name = Products; 478 | sourceTree = ""; 479 | }; 480 | 13B07FAE1A68108700A75B9A /* YoutubePlayer */ = { 481 | isa = PBXGroup; 482 | children = ( 483 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 484 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 485 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 486 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 487 | 13B07FB61A68108700A75B9A /* Info.plist */, 488 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 489 | 13B07FB71A68108700A75B9A /* main.m */, 490 | ); 491 | name = YoutubePlayer; 492 | sourceTree = ""; 493 | }; 494 | 146834001AC3E56700842450 /* Products */ = { 495 | isa = PBXGroup; 496 | children = ( 497 | 146834041AC3E56700842450 /* libReact.a */, 498 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 499 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 500 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 501 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 502 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 503 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 504 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 505 | ); 506 | name = Products; 507 | sourceTree = ""; 508 | }; 509 | 16894CC3D0F347DDB79EB574 /* Resources */ = { 510 | isa = PBXGroup; 511 | children = ( 512 | F38B42A47A02425C879FB456 /* Entypo.ttf */, 513 | 830B1611D79B4A27ABED2F5E /* EvilIcons.ttf */, 514 | 27586CE85CA64A6A8F633061 /* FontAwesome.ttf */, 515 | 83CECD5E4BA041A7A97AFE88 /* Foundation.ttf */, 516 | 2B8880EF4F0449F0B5A5E0E6 /* Ionicons.ttf */, 517 | 2E30FCB6E8694397817D6DD0 /* MaterialCommunityIcons.ttf */, 518 | 3632BBB43FA74EFEB4D67162 /* MaterialIcons.ttf */, 519 | 86C62A78C4E242AEAB390BB6 /* Octicons.ttf */, 520 | 8E9B45CD65CA4437AFFDD7C1 /* SimpleLineIcons.ttf */, 521 | E185F212738B4CFFB2E37708 /* Zocial.ttf */, 522 | ); 523 | name = Resources; 524 | sourceTree = ""; 525 | }; 526 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 527 | isa = PBXGroup; 528 | children = ( 529 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 530 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 531 | ); 532 | name = Products; 533 | sourceTree = ""; 534 | }; 535 | 78C398B11ACF4ADC00677621 /* Products */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 539 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 540 | ); 541 | name = Products; 542 | sourceTree = ""; 543 | }; 544 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 545 | isa = PBXGroup; 546 | children = ( 547 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 548 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 549 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 550 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 551 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 552 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 553 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 554 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 555 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 556 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 557 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 558 | 9EB0A4B54DC049EEA5635410 /* RNFetchBlob.xcodeproj */, 559 | 5102D5FDEE844205959763D2 /* RNFS.xcodeproj */, 560 | 0C04A835D95246DD8131F138 /* MusicControl.xcodeproj */, 561 | 3535464EE0D040A4A83E51E2 /* RNVectorIcons.xcodeproj */, 562 | EFCB8412AE424652AC2D4593 /* RCTVideo.xcodeproj */, 563 | ); 564 | name = Libraries; 565 | sourceTree = ""; 566 | }; 567 | 832341B11AAA6A8300B99B32 /* Products */ = { 568 | isa = PBXGroup; 569 | children = ( 570 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 571 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 572 | ); 573 | name = Products; 574 | sourceTree = ""; 575 | }; 576 | 83CBB9F61A601CBA00E9B192 = { 577 | isa = PBXGroup; 578 | children = ( 579 | 13B07FAE1A68108700A75B9A /* YoutubePlayer */, 580 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 581 | 00E356EF1AD99517003FC87E /* YoutubePlayerTests */, 582 | 83CBBA001A601CBA00E9B192 /* Products */, 583 | 16894CC3D0F347DDB79EB574 /* Resources */, 584 | CA2B2FC61EDB2D2A00189809 /* Frameworks */, 585 | ); 586 | indentWidth = 2; 587 | sourceTree = ""; 588 | tabWidth = 2; 589 | }; 590 | 83CBBA001A601CBA00E9B192 /* Products */ = { 591 | isa = PBXGroup; 592 | children = ( 593 | 13B07F961A680F5B00A75B9A /* YoutubePlayer.app */, 594 | 00E356EE1AD99517003FC87E /* YoutubePlayerTests.xctest */, 595 | 2D02E47B1E0B4A5D006451C7 /* YoutubePlayer-tvOS.app */, 596 | 2D02E4901E0B4A5D006451C7 /* YoutubePlayer-tvOSTests.xctest */, 597 | ); 598 | name = Products; 599 | sourceTree = ""; 600 | }; 601 | CA2B2F8A1EDB2C8900189809 /* Products */ = { 602 | isa = PBXGroup; 603 | children = ( 604 | CA2B2FB81EDB2C8900189809 /* libRNFetchBlob.a */, 605 | ); 606 | name = Products; 607 | sourceTree = ""; 608 | }; 609 | CA2B2F8C1EDB2C8900189809 /* Products */ = { 610 | isa = PBXGroup; 611 | children = ( 612 | CA2B2FBB1EDB2C8900189809 /* libRNFS.a */, 613 | ); 614 | name = Products; 615 | sourceTree = ""; 616 | }; 617 | CA2B2F8E1EDB2C8900189809 /* Products */ = { 618 | isa = PBXGroup; 619 | children = ( 620 | CA2B2F971EDB2C8900189809 /* libMusicControl.a */, 621 | CA2B2F991EDB2C8900189809 /* libMusicControl-tvOS.a */, 622 | ); 623 | name = Products; 624 | sourceTree = ""; 625 | }; 626 | CA2B2F901EDB2C8900189809 /* Products */ = { 627 | isa = PBXGroup; 628 | children = ( 629 | CA2B2FBE1EDB2C8900189809 /* libRNVectorIcons.a */, 630 | ); 631 | name = Products; 632 | sourceTree = ""; 633 | }; 634 | CA2B2F921EDB2C8900189809 /* Products */ = { 635 | isa = PBXGroup; 636 | children = ( 637 | CA2B2FAB1EDB2C8900189809 /* libRCTVideo.a */, 638 | ); 639 | name = Products; 640 | sourceTree = ""; 641 | }; 642 | CA2B2FC61EDB2D2A00189809 /* Frameworks */ = { 643 | isa = PBXGroup; 644 | children = ( 645 | CA2B2FC71EDB2D2A00189809 /* ART.xcodeproj */, 646 | ); 647 | name = Frameworks; 648 | sourceTree = ""; 649 | }; 650 | CA2B2FC81EDB2D2A00189809 /* Products */ = { 651 | isa = PBXGroup; 652 | children = ( 653 | CA2B2FCC1EDB2D2A00189809 /* libART.a */, 654 | ); 655 | name = Products; 656 | sourceTree = ""; 657 | }; 658 | /* End PBXGroup section */ 659 | 660 | /* Begin PBXNativeTarget section */ 661 | 00E356ED1AD99517003FC87E /* YoutubePlayerTests */ = { 662 | isa = PBXNativeTarget; 663 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "YoutubePlayerTests" */; 664 | buildPhases = ( 665 | 00E356EA1AD99517003FC87E /* Sources */, 666 | 00E356EB1AD99517003FC87E /* Frameworks */, 667 | 00E356EC1AD99517003FC87E /* Resources */, 668 | ); 669 | buildRules = ( 670 | ); 671 | dependencies = ( 672 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 673 | ); 674 | name = YoutubePlayerTests; 675 | productName = YoutubePlayerTests; 676 | productReference = 00E356EE1AD99517003FC87E /* YoutubePlayerTests.xctest */; 677 | productType = "com.apple.product-type.bundle.unit-test"; 678 | }; 679 | 13B07F861A680F5B00A75B9A /* YoutubePlayer */ = { 680 | isa = PBXNativeTarget; 681 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "YoutubePlayer" */; 682 | buildPhases = ( 683 | 13B07F871A680F5B00A75B9A /* Sources */, 684 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 685 | 13B07F8E1A680F5B00A75B9A /* Resources */, 686 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 687 | ); 688 | buildRules = ( 689 | ); 690 | dependencies = ( 691 | ); 692 | name = YoutubePlayer; 693 | productName = "Hello World"; 694 | productReference = 13B07F961A680F5B00A75B9A /* YoutubePlayer.app */; 695 | productType = "com.apple.product-type.application"; 696 | }; 697 | 2D02E47A1E0B4A5D006451C7 /* YoutubePlayer-tvOS */ = { 698 | isa = PBXNativeTarget; 699 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "YoutubePlayer-tvOS" */; 700 | buildPhases = ( 701 | 2D02E4771E0B4A5D006451C7 /* Sources */, 702 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 703 | 2D02E4791E0B4A5D006451C7 /* Resources */, 704 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 705 | ); 706 | buildRules = ( 707 | ); 708 | dependencies = ( 709 | ); 710 | name = "YoutubePlayer-tvOS"; 711 | productName = "YoutubePlayer-tvOS"; 712 | productReference = 2D02E47B1E0B4A5D006451C7 /* YoutubePlayer-tvOS.app */; 713 | productType = "com.apple.product-type.application"; 714 | }; 715 | 2D02E48F1E0B4A5D006451C7 /* YoutubePlayer-tvOSTests */ = { 716 | isa = PBXNativeTarget; 717 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "YoutubePlayer-tvOSTests" */; 718 | buildPhases = ( 719 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 720 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 721 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 722 | ); 723 | buildRules = ( 724 | ); 725 | dependencies = ( 726 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 727 | ); 728 | name = "YoutubePlayer-tvOSTests"; 729 | productName = "YoutubePlayer-tvOSTests"; 730 | productReference = 2D02E4901E0B4A5D006451C7 /* YoutubePlayer-tvOSTests.xctest */; 731 | productType = "com.apple.product-type.bundle.unit-test"; 732 | }; 733 | /* End PBXNativeTarget section */ 734 | 735 | /* Begin PBXProject section */ 736 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 737 | isa = PBXProject; 738 | attributes = { 739 | LastUpgradeCheck = 610; 740 | ORGANIZATIONNAME = Facebook; 741 | TargetAttributes = { 742 | 00E356ED1AD99517003FC87E = { 743 | CreatedOnToolsVersion = 6.2; 744 | TestTargetID = 13B07F861A680F5B00A75B9A; 745 | }; 746 | 13B07F861A680F5B00A75B9A = { 747 | DevelopmentTeam = C4V7A9K2V6; 748 | SystemCapabilities = { 749 | com.apple.BackgroundModes = { 750 | enabled = 1; 751 | }; 752 | }; 753 | }; 754 | 2D02E47A1E0B4A5D006451C7 = { 755 | CreatedOnToolsVersion = 8.2.1; 756 | ProvisioningStyle = Automatic; 757 | }; 758 | 2D02E48F1E0B4A5D006451C7 = { 759 | CreatedOnToolsVersion = 8.2.1; 760 | ProvisioningStyle = Automatic; 761 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 762 | }; 763 | }; 764 | }; 765 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "YoutubePlayer" */; 766 | compatibilityVersion = "Xcode 3.2"; 767 | developmentRegion = English; 768 | hasScannedForEncodings = 0; 769 | knownRegions = ( 770 | en, 771 | Base, 772 | ); 773 | mainGroup = 83CBB9F61A601CBA00E9B192; 774 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 775 | projectDirPath = ""; 776 | projectReferences = ( 777 | { 778 | ProductGroup = CA2B2FC81EDB2D2A00189809 /* Products */; 779 | ProjectRef = CA2B2FC71EDB2D2A00189809 /* ART.xcodeproj */; 780 | }, 781 | { 782 | ProductGroup = CA2B2F8E1EDB2C8900189809 /* Products */; 783 | ProjectRef = 0C04A835D95246DD8131F138 /* MusicControl.xcodeproj */; 784 | }, 785 | { 786 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 787 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 788 | }, 789 | { 790 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 791 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 792 | }, 793 | { 794 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 795 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 796 | }, 797 | { 798 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 799 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 800 | }, 801 | { 802 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 803 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 804 | }, 805 | { 806 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 807 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 808 | }, 809 | { 810 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 811 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 812 | }, 813 | { 814 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 815 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 816 | }, 817 | { 818 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 819 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 820 | }, 821 | { 822 | ProductGroup = CA2B2F921EDB2C8900189809 /* Products */; 823 | ProjectRef = EFCB8412AE424652AC2D4593 /* RCTVideo.xcodeproj */; 824 | }, 825 | { 826 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 827 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 828 | }, 829 | { 830 | ProductGroup = 146834001AC3E56700842450 /* Products */; 831 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 832 | }, 833 | { 834 | ProductGroup = CA2B2F8A1EDB2C8900189809 /* Products */; 835 | ProjectRef = 9EB0A4B54DC049EEA5635410 /* RNFetchBlob.xcodeproj */; 836 | }, 837 | { 838 | ProductGroup = CA2B2F8C1EDB2C8900189809 /* Products */; 839 | ProjectRef = 5102D5FDEE844205959763D2 /* RNFS.xcodeproj */; 840 | }, 841 | { 842 | ProductGroup = CA2B2F901EDB2C8900189809 /* Products */; 843 | ProjectRef = 3535464EE0D040A4A83E51E2 /* RNVectorIcons.xcodeproj */; 844 | }, 845 | ); 846 | projectRoot = ""; 847 | targets = ( 848 | 13B07F861A680F5B00A75B9A /* YoutubePlayer */, 849 | 00E356ED1AD99517003FC87E /* YoutubePlayerTests */, 850 | 2D02E47A1E0B4A5D006451C7 /* YoutubePlayer-tvOS */, 851 | 2D02E48F1E0B4A5D006451C7 /* YoutubePlayer-tvOSTests */, 852 | ); 853 | }; 854 | /* End PBXProject section */ 855 | 856 | /* Begin PBXReferenceProxy section */ 857 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 858 | isa = PBXReferenceProxy; 859 | fileType = archive.ar; 860 | path = libRCTActionSheet.a; 861 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 862 | sourceTree = BUILT_PRODUCTS_DIR; 863 | }; 864 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 865 | isa = PBXReferenceProxy; 866 | fileType = archive.ar; 867 | path = libRCTGeolocation.a; 868 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 869 | sourceTree = BUILT_PRODUCTS_DIR; 870 | }; 871 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 872 | isa = PBXReferenceProxy; 873 | fileType = archive.ar; 874 | path = libRCTImage.a; 875 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 876 | sourceTree = BUILT_PRODUCTS_DIR; 877 | }; 878 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 879 | isa = PBXReferenceProxy; 880 | fileType = archive.ar; 881 | path = libRCTNetwork.a; 882 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 883 | sourceTree = BUILT_PRODUCTS_DIR; 884 | }; 885 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 886 | isa = PBXReferenceProxy; 887 | fileType = archive.ar; 888 | path = libRCTVibration.a; 889 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 890 | sourceTree = BUILT_PRODUCTS_DIR; 891 | }; 892 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 893 | isa = PBXReferenceProxy; 894 | fileType = archive.ar; 895 | path = libRCTSettings.a; 896 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 897 | sourceTree = BUILT_PRODUCTS_DIR; 898 | }; 899 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 900 | isa = PBXReferenceProxy; 901 | fileType = archive.ar; 902 | path = libRCTWebSocket.a; 903 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 904 | sourceTree = BUILT_PRODUCTS_DIR; 905 | }; 906 | 146834041AC3E56700842450 /* libReact.a */ = { 907 | isa = PBXReferenceProxy; 908 | fileType = archive.ar; 909 | path = libReact.a; 910 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 911 | sourceTree = BUILT_PRODUCTS_DIR; 912 | }; 913 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 914 | isa = PBXReferenceProxy; 915 | fileType = archive.ar; 916 | path = "libRCTImage-tvOS.a"; 917 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 918 | sourceTree = BUILT_PRODUCTS_DIR; 919 | }; 920 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 921 | isa = PBXReferenceProxy; 922 | fileType = archive.ar; 923 | path = "libRCTLinking-tvOS.a"; 924 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 925 | sourceTree = BUILT_PRODUCTS_DIR; 926 | }; 927 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 928 | isa = PBXReferenceProxy; 929 | fileType = archive.ar; 930 | path = "libRCTNetwork-tvOS.a"; 931 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 932 | sourceTree = BUILT_PRODUCTS_DIR; 933 | }; 934 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 935 | isa = PBXReferenceProxy; 936 | fileType = archive.ar; 937 | path = "libRCTSettings-tvOS.a"; 938 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 939 | sourceTree = BUILT_PRODUCTS_DIR; 940 | }; 941 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 942 | isa = PBXReferenceProxy; 943 | fileType = archive.ar; 944 | path = "libRCTText-tvOS.a"; 945 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 946 | sourceTree = BUILT_PRODUCTS_DIR; 947 | }; 948 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 949 | isa = PBXReferenceProxy; 950 | fileType = archive.ar; 951 | path = "libRCTWebSocket-tvOS.a"; 952 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 953 | sourceTree = BUILT_PRODUCTS_DIR; 954 | }; 955 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 956 | isa = PBXReferenceProxy; 957 | fileType = archive.ar; 958 | path = libReact.a; 959 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 960 | sourceTree = BUILT_PRODUCTS_DIR; 961 | }; 962 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 963 | isa = PBXReferenceProxy; 964 | fileType = archive.ar; 965 | path = libyoga.a; 966 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 967 | sourceTree = BUILT_PRODUCTS_DIR; 968 | }; 969 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 970 | isa = PBXReferenceProxy; 971 | fileType = archive.ar; 972 | path = libyoga.a; 973 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 974 | sourceTree = BUILT_PRODUCTS_DIR; 975 | }; 976 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 977 | isa = PBXReferenceProxy; 978 | fileType = archive.ar; 979 | path = libcxxreact.a; 980 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 981 | sourceTree = BUILT_PRODUCTS_DIR; 982 | }; 983 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 984 | isa = PBXReferenceProxy; 985 | fileType = archive.ar; 986 | path = libcxxreact.a; 987 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 988 | sourceTree = BUILT_PRODUCTS_DIR; 989 | }; 990 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 991 | isa = PBXReferenceProxy; 992 | fileType = archive.ar; 993 | path = libjschelpers.a; 994 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 995 | sourceTree = BUILT_PRODUCTS_DIR; 996 | }; 997 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 998 | isa = PBXReferenceProxy; 999 | fileType = archive.ar; 1000 | path = libjschelpers.a; 1001 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1002 | sourceTree = BUILT_PRODUCTS_DIR; 1003 | }; 1004 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1005 | isa = PBXReferenceProxy; 1006 | fileType = archive.ar; 1007 | path = libRCTAnimation.a; 1008 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1009 | sourceTree = BUILT_PRODUCTS_DIR; 1010 | }; 1011 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1012 | isa = PBXReferenceProxy; 1013 | fileType = archive.ar; 1014 | path = libRCTAnimation.a; 1015 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1016 | sourceTree = BUILT_PRODUCTS_DIR; 1017 | }; 1018 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1019 | isa = PBXReferenceProxy; 1020 | fileType = archive.ar; 1021 | path = libRCTLinking.a; 1022 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1023 | sourceTree = BUILT_PRODUCTS_DIR; 1024 | }; 1025 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1026 | isa = PBXReferenceProxy; 1027 | fileType = archive.ar; 1028 | path = libRCTText.a; 1029 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1030 | sourceTree = BUILT_PRODUCTS_DIR; 1031 | }; 1032 | CA2B2F971EDB2C8900189809 /* libMusicControl.a */ = { 1033 | isa = PBXReferenceProxy; 1034 | fileType = archive.ar; 1035 | path = libMusicControl.a; 1036 | remoteRef = CA2B2F961EDB2C8900189809 /* PBXContainerItemProxy */; 1037 | sourceTree = BUILT_PRODUCTS_DIR; 1038 | }; 1039 | CA2B2F991EDB2C8900189809 /* libMusicControl-tvOS.a */ = { 1040 | isa = PBXReferenceProxy; 1041 | fileType = archive.ar; 1042 | path = "libMusicControl-tvOS.a"; 1043 | remoteRef = CA2B2F981EDB2C8900189809 /* PBXContainerItemProxy */; 1044 | sourceTree = BUILT_PRODUCTS_DIR; 1045 | }; 1046 | CA2B2FAB1EDB2C8900189809 /* libRCTVideo.a */ = { 1047 | isa = PBXReferenceProxy; 1048 | fileType = archive.ar; 1049 | path = libRCTVideo.a; 1050 | remoteRef = CA2B2FAA1EDB2C8900189809 /* PBXContainerItemProxy */; 1051 | sourceTree = BUILT_PRODUCTS_DIR; 1052 | }; 1053 | CA2B2FB81EDB2C8900189809 /* libRNFetchBlob.a */ = { 1054 | isa = PBXReferenceProxy; 1055 | fileType = archive.ar; 1056 | path = libRNFetchBlob.a; 1057 | remoteRef = CA2B2FB71EDB2C8900189809 /* PBXContainerItemProxy */; 1058 | sourceTree = BUILT_PRODUCTS_DIR; 1059 | }; 1060 | CA2B2FBB1EDB2C8900189809 /* libRNFS.a */ = { 1061 | isa = PBXReferenceProxy; 1062 | fileType = archive.ar; 1063 | path = libRNFS.a; 1064 | remoteRef = CA2B2FBA1EDB2C8900189809 /* PBXContainerItemProxy */; 1065 | sourceTree = BUILT_PRODUCTS_DIR; 1066 | }; 1067 | CA2B2FBE1EDB2C8900189809 /* libRNVectorIcons.a */ = { 1068 | isa = PBXReferenceProxy; 1069 | fileType = archive.ar; 1070 | path = libRNVectorIcons.a; 1071 | remoteRef = CA2B2FBD1EDB2C8900189809 /* PBXContainerItemProxy */; 1072 | sourceTree = BUILT_PRODUCTS_DIR; 1073 | }; 1074 | CA2B2FCC1EDB2D2A00189809 /* libART.a */ = { 1075 | isa = PBXReferenceProxy; 1076 | fileType = archive.ar; 1077 | path = libART.a; 1078 | remoteRef = CA2B2FCB1EDB2D2A00189809 /* PBXContainerItemProxy */; 1079 | sourceTree = BUILT_PRODUCTS_DIR; 1080 | }; 1081 | /* End PBXReferenceProxy section */ 1082 | 1083 | /* Begin PBXResourcesBuildPhase section */ 1084 | 00E356EC1AD99517003FC87E /* Resources */ = { 1085 | isa = PBXResourcesBuildPhase; 1086 | buildActionMask = 2147483647; 1087 | files = ( 1088 | ); 1089 | runOnlyForDeploymentPostprocessing = 0; 1090 | }; 1091 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1092 | isa = PBXResourcesBuildPhase; 1093 | buildActionMask = 2147483647; 1094 | files = ( 1095 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1096 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1097 | BC1C6303C6C94CED9E21D723 /* Entypo.ttf in Resources */, 1098 | 76DFADC87CE04B319315E0AF /* EvilIcons.ttf in Resources */, 1099 | 6EB0EDBDB2AA4ABFAF933A16 /* FontAwesome.ttf in Resources */, 1100 | 88D46DC5E670451582A33271 /* Foundation.ttf in Resources */, 1101 | 373445F1EFA14468B5B302FC /* Ionicons.ttf in Resources */, 1102 | 50D726AF87604BD48847CF90 /* MaterialCommunityIcons.ttf in Resources */, 1103 | 9925D293ACB14A3F819029CE /* MaterialIcons.ttf in Resources */, 1104 | A18664BD808B4616AC5B9474 /* Octicons.ttf in Resources */, 1105 | 11F43B4C4A9641F68D636440 /* SimpleLineIcons.ttf in Resources */, 1106 | 2DB927EDF5BD4DEE9748C2F2 /* Zocial.ttf in Resources */, 1107 | ); 1108 | runOnlyForDeploymentPostprocessing = 0; 1109 | }; 1110 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1111 | isa = PBXResourcesBuildPhase; 1112 | buildActionMask = 2147483647; 1113 | files = ( 1114 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1115 | ); 1116 | runOnlyForDeploymentPostprocessing = 0; 1117 | }; 1118 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1119 | isa = PBXResourcesBuildPhase; 1120 | buildActionMask = 2147483647; 1121 | files = ( 1122 | ); 1123 | runOnlyForDeploymentPostprocessing = 0; 1124 | }; 1125 | /* End PBXResourcesBuildPhase section */ 1126 | 1127 | /* Begin PBXShellScriptBuildPhase section */ 1128 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1129 | isa = PBXShellScriptBuildPhase; 1130 | buildActionMask = 2147483647; 1131 | files = ( 1132 | ); 1133 | inputPaths = ( 1134 | ); 1135 | name = "Bundle React Native code and images"; 1136 | outputPaths = ( 1137 | ); 1138 | runOnlyForDeploymentPostprocessing = 0; 1139 | shellPath = /bin/sh; 1140 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1141 | }; 1142 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1143 | isa = PBXShellScriptBuildPhase; 1144 | buildActionMask = 2147483647; 1145 | files = ( 1146 | ); 1147 | inputPaths = ( 1148 | ); 1149 | name = "Bundle React Native Code And Images"; 1150 | outputPaths = ( 1151 | ); 1152 | runOnlyForDeploymentPostprocessing = 0; 1153 | shellPath = /bin/sh; 1154 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1155 | }; 1156 | /* End PBXShellScriptBuildPhase section */ 1157 | 1158 | /* Begin PBXSourcesBuildPhase section */ 1159 | 00E356EA1AD99517003FC87E /* Sources */ = { 1160 | isa = PBXSourcesBuildPhase; 1161 | buildActionMask = 2147483647; 1162 | files = ( 1163 | 00E356F31AD99517003FC87E /* YoutubePlayerTests.m in Sources */, 1164 | ); 1165 | runOnlyForDeploymentPostprocessing = 0; 1166 | }; 1167 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1168 | isa = PBXSourcesBuildPhase; 1169 | buildActionMask = 2147483647; 1170 | files = ( 1171 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1172 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1173 | ); 1174 | runOnlyForDeploymentPostprocessing = 0; 1175 | }; 1176 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1177 | isa = PBXSourcesBuildPhase; 1178 | buildActionMask = 2147483647; 1179 | files = ( 1180 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1181 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1182 | ); 1183 | runOnlyForDeploymentPostprocessing = 0; 1184 | }; 1185 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1186 | isa = PBXSourcesBuildPhase; 1187 | buildActionMask = 2147483647; 1188 | files = ( 1189 | 2DCD954D1E0B4F2C00145EB5 /* YoutubePlayerTests.m in Sources */, 1190 | ); 1191 | runOnlyForDeploymentPostprocessing = 0; 1192 | }; 1193 | /* End PBXSourcesBuildPhase section */ 1194 | 1195 | /* Begin PBXTargetDependency section */ 1196 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1197 | isa = PBXTargetDependency; 1198 | target = 13B07F861A680F5B00A75B9A /* YoutubePlayer */; 1199 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1200 | }; 1201 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1202 | isa = PBXTargetDependency; 1203 | target = 2D02E47A1E0B4A5D006451C7 /* YoutubePlayer-tvOS */; 1204 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1205 | }; 1206 | /* End PBXTargetDependency section */ 1207 | 1208 | /* Begin PBXVariantGroup section */ 1209 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1210 | isa = PBXVariantGroup; 1211 | children = ( 1212 | 13B07FB21A68108700A75B9A /* Base */, 1213 | ); 1214 | name = LaunchScreen.xib; 1215 | path = YoutubePlayer; 1216 | sourceTree = ""; 1217 | }; 1218 | /* End PBXVariantGroup section */ 1219 | 1220 | /* Begin XCBuildConfiguration section */ 1221 | 00E356F61AD99517003FC87E /* Debug */ = { 1222 | isa = XCBuildConfiguration; 1223 | buildSettings = { 1224 | BUNDLE_LOADER = "$(TEST_HOST)"; 1225 | GCC_PREPROCESSOR_DEFINITIONS = ( 1226 | "DEBUG=1", 1227 | "$(inherited)", 1228 | ); 1229 | HEADER_SEARCH_PATHS = ( 1230 | "$(inherited)", 1231 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1232 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1233 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1234 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1235 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1236 | ); 1237 | INFOPLIST_FILE = YoutubePlayerTests/Info.plist; 1238 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1239 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1240 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1241 | OTHER_LDFLAGS = ( 1242 | "-ObjC", 1243 | "-lc++", 1244 | ); 1245 | PRODUCT_NAME = "$(TARGET_NAME)"; 1246 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YoutubePlayer.app/YoutubePlayer"; 1247 | }; 1248 | name = Debug; 1249 | }; 1250 | 00E356F71AD99517003FC87E /* Release */ = { 1251 | isa = XCBuildConfiguration; 1252 | buildSettings = { 1253 | BUNDLE_LOADER = "$(TEST_HOST)"; 1254 | COPY_PHASE_STRIP = NO; 1255 | HEADER_SEARCH_PATHS = ( 1256 | "$(inherited)", 1257 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1258 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1259 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1260 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1261 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1262 | ); 1263 | INFOPLIST_FILE = YoutubePlayerTests/Info.plist; 1264 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1265 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1266 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1267 | OTHER_LDFLAGS = ( 1268 | "-ObjC", 1269 | "-lc++", 1270 | ); 1271 | PRODUCT_NAME = "$(TARGET_NAME)"; 1272 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YoutubePlayer.app/YoutubePlayer"; 1273 | }; 1274 | name = Release; 1275 | }; 1276 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1277 | isa = XCBuildConfiguration; 1278 | buildSettings = { 1279 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1280 | CURRENT_PROJECT_VERSION = 1; 1281 | DEAD_CODE_STRIPPING = NO; 1282 | DEVELOPMENT_TEAM = C4V7A9K2V6; 1283 | HEADER_SEARCH_PATHS = ( 1284 | "$(inherited)", 1285 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1286 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1287 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1288 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1289 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1290 | ); 1291 | INFOPLIST_FILE = YoutubePlayer/Info.plist; 1292 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1293 | OTHER_LDFLAGS = ( 1294 | "$(inherited)", 1295 | "-ObjC", 1296 | "-lc++", 1297 | ); 1298 | PRODUCT_BUNDLE_IDENTIFIER = com.varik.YoutubePlayer; 1299 | PRODUCT_NAME = YoutubePlayer; 1300 | VERSIONING_SYSTEM = "apple-generic"; 1301 | }; 1302 | name = Debug; 1303 | }; 1304 | 13B07F951A680F5B00A75B9A /* Release */ = { 1305 | isa = XCBuildConfiguration; 1306 | buildSettings = { 1307 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1308 | CURRENT_PROJECT_VERSION = 1; 1309 | DEVELOPMENT_TEAM = C4V7A9K2V6; 1310 | HEADER_SEARCH_PATHS = ( 1311 | "$(inherited)", 1312 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1313 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1314 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1315 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1316 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1317 | ); 1318 | INFOPLIST_FILE = YoutubePlayer/Info.plist; 1319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1320 | OTHER_LDFLAGS = ( 1321 | "$(inherited)", 1322 | "-ObjC", 1323 | "-lc++", 1324 | ); 1325 | PRODUCT_BUNDLE_IDENTIFIER = com.varik.YoutubePlayer; 1326 | PRODUCT_NAME = YoutubePlayer; 1327 | VERSIONING_SYSTEM = "apple-generic"; 1328 | }; 1329 | name = Release; 1330 | }; 1331 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1332 | isa = XCBuildConfiguration; 1333 | buildSettings = { 1334 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1335 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1336 | CLANG_ANALYZER_NONNULL = YES; 1337 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1338 | CLANG_WARN_INFINITE_RECURSION = YES; 1339 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1340 | DEBUG_INFORMATION_FORMAT = dwarf; 1341 | ENABLE_TESTABILITY = YES; 1342 | GCC_NO_COMMON_BLOCKS = YES; 1343 | HEADER_SEARCH_PATHS = ( 1344 | "$(inherited)", 1345 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1346 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1347 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1348 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1349 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1350 | ); 1351 | INFOPLIST_FILE = "YoutubePlayer-tvOS/Info.plist"; 1352 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1353 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1354 | OTHER_LDFLAGS = ( 1355 | "-ObjC", 1356 | "-lc++", 1357 | ); 1358 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.YoutubePlayer-tvOS"; 1359 | PRODUCT_NAME = "$(TARGET_NAME)"; 1360 | SDKROOT = appletvos; 1361 | TARGETED_DEVICE_FAMILY = 3; 1362 | TVOS_DEPLOYMENT_TARGET = 9.2; 1363 | }; 1364 | name = Debug; 1365 | }; 1366 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1367 | isa = XCBuildConfiguration; 1368 | buildSettings = { 1369 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1370 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1371 | CLANG_ANALYZER_NONNULL = YES; 1372 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1373 | CLANG_WARN_INFINITE_RECURSION = YES; 1374 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1375 | COPY_PHASE_STRIP = NO; 1376 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1377 | GCC_NO_COMMON_BLOCKS = YES; 1378 | HEADER_SEARCH_PATHS = ( 1379 | "$(inherited)", 1380 | "$(SRCROOT)/../node_modules/react-native-fetch-blob/ios/**", 1381 | "$(SRCROOT)/../node_modules/react-native-fs/**", 1382 | "$(SRCROOT)/../node_modules/react-native-music-control/ios", 1383 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1384 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1385 | ); 1386 | INFOPLIST_FILE = "YoutubePlayer-tvOS/Info.plist"; 1387 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1388 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1389 | OTHER_LDFLAGS = ( 1390 | "-ObjC", 1391 | "-lc++", 1392 | ); 1393 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.YoutubePlayer-tvOS"; 1394 | PRODUCT_NAME = "$(TARGET_NAME)"; 1395 | SDKROOT = appletvos; 1396 | TARGETED_DEVICE_FAMILY = 3; 1397 | TVOS_DEPLOYMENT_TARGET = 9.2; 1398 | }; 1399 | name = Release; 1400 | }; 1401 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1402 | isa = XCBuildConfiguration; 1403 | buildSettings = { 1404 | BUNDLE_LOADER = "$(TEST_HOST)"; 1405 | CLANG_ANALYZER_NONNULL = YES; 1406 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1407 | CLANG_WARN_INFINITE_RECURSION = YES; 1408 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1409 | DEBUG_INFORMATION_FORMAT = dwarf; 1410 | ENABLE_TESTABILITY = YES; 1411 | GCC_NO_COMMON_BLOCKS = YES; 1412 | INFOPLIST_FILE = "YoutubePlayer-tvOSTests/Info.plist"; 1413 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1414 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1415 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.YoutubePlayer-tvOSTests"; 1416 | PRODUCT_NAME = "$(TARGET_NAME)"; 1417 | SDKROOT = appletvos; 1418 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YoutubePlayer-tvOS.app/YoutubePlayer-tvOS"; 1419 | TVOS_DEPLOYMENT_TARGET = 10.1; 1420 | }; 1421 | name = Debug; 1422 | }; 1423 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1424 | isa = XCBuildConfiguration; 1425 | buildSettings = { 1426 | BUNDLE_LOADER = "$(TEST_HOST)"; 1427 | CLANG_ANALYZER_NONNULL = YES; 1428 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1429 | CLANG_WARN_INFINITE_RECURSION = YES; 1430 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1431 | COPY_PHASE_STRIP = NO; 1432 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1433 | GCC_NO_COMMON_BLOCKS = YES; 1434 | INFOPLIST_FILE = "YoutubePlayer-tvOSTests/Info.plist"; 1435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1436 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 1437 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.YoutubePlayer-tvOSTests"; 1438 | PRODUCT_NAME = "$(TARGET_NAME)"; 1439 | SDKROOT = appletvos; 1440 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YoutubePlayer-tvOS.app/YoutubePlayer-tvOS"; 1441 | TVOS_DEPLOYMENT_TARGET = 10.1; 1442 | }; 1443 | name = Release; 1444 | }; 1445 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1446 | isa = XCBuildConfiguration; 1447 | buildSettings = { 1448 | ALWAYS_SEARCH_USER_PATHS = NO; 1449 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1450 | CLANG_CXX_LIBRARY = "libc++"; 1451 | CLANG_ENABLE_MODULES = YES; 1452 | CLANG_ENABLE_OBJC_ARC = YES; 1453 | CLANG_WARN_BOOL_CONVERSION = YES; 1454 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1455 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1456 | CLANG_WARN_EMPTY_BODY = YES; 1457 | CLANG_WARN_ENUM_CONVERSION = YES; 1458 | CLANG_WARN_INT_CONVERSION = YES; 1459 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1460 | CLANG_WARN_UNREACHABLE_CODE = YES; 1461 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1462 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1463 | COPY_PHASE_STRIP = NO; 1464 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1465 | GCC_C_LANGUAGE_STANDARD = gnu99; 1466 | GCC_DYNAMIC_NO_PIC = NO; 1467 | GCC_OPTIMIZATION_LEVEL = 0; 1468 | GCC_PREPROCESSOR_DEFINITIONS = ( 1469 | "DEBUG=1", 1470 | "$(inherited)", 1471 | ); 1472 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1473 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1474 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1475 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1476 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1477 | GCC_WARN_UNUSED_FUNCTION = YES; 1478 | GCC_WARN_UNUSED_VARIABLE = YES; 1479 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1480 | MTL_ENABLE_DEBUG_INFO = YES; 1481 | ONLY_ACTIVE_ARCH = YES; 1482 | SDKROOT = iphoneos; 1483 | }; 1484 | name = Debug; 1485 | }; 1486 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1487 | isa = XCBuildConfiguration; 1488 | buildSettings = { 1489 | ALWAYS_SEARCH_USER_PATHS = NO; 1490 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1491 | CLANG_CXX_LIBRARY = "libc++"; 1492 | CLANG_ENABLE_MODULES = YES; 1493 | CLANG_ENABLE_OBJC_ARC = YES; 1494 | CLANG_WARN_BOOL_CONVERSION = YES; 1495 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1496 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1497 | CLANG_WARN_EMPTY_BODY = YES; 1498 | CLANG_WARN_ENUM_CONVERSION = YES; 1499 | CLANG_WARN_INT_CONVERSION = YES; 1500 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1501 | CLANG_WARN_UNREACHABLE_CODE = YES; 1502 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1503 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1504 | COPY_PHASE_STRIP = YES; 1505 | ENABLE_NS_ASSERTIONS = NO; 1506 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1507 | GCC_C_LANGUAGE_STANDARD = gnu99; 1508 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1509 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1510 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1511 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1512 | GCC_WARN_UNUSED_FUNCTION = YES; 1513 | GCC_WARN_UNUSED_VARIABLE = YES; 1514 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1515 | MTL_ENABLE_DEBUG_INFO = NO; 1516 | SDKROOT = iphoneos; 1517 | VALIDATE_PRODUCT = YES; 1518 | }; 1519 | name = Release; 1520 | }; 1521 | /* End XCBuildConfiguration section */ 1522 | 1523 | /* Begin XCConfigurationList section */ 1524 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "YoutubePlayerTests" */ = { 1525 | isa = XCConfigurationList; 1526 | buildConfigurations = ( 1527 | 00E356F61AD99517003FC87E /* Debug */, 1528 | 00E356F71AD99517003FC87E /* Release */, 1529 | ); 1530 | defaultConfigurationIsVisible = 0; 1531 | defaultConfigurationName = Release; 1532 | }; 1533 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "YoutubePlayer" */ = { 1534 | isa = XCConfigurationList; 1535 | buildConfigurations = ( 1536 | 13B07F941A680F5B00A75B9A /* Debug */, 1537 | 13B07F951A680F5B00A75B9A /* Release */, 1538 | ); 1539 | defaultConfigurationIsVisible = 0; 1540 | defaultConfigurationName = Release; 1541 | }; 1542 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "YoutubePlayer-tvOS" */ = { 1543 | isa = XCConfigurationList; 1544 | buildConfigurations = ( 1545 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1546 | 2D02E4981E0B4A5E006451C7 /* Release */, 1547 | ); 1548 | defaultConfigurationIsVisible = 0; 1549 | defaultConfigurationName = Release; 1550 | }; 1551 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "YoutubePlayer-tvOSTests" */ = { 1552 | isa = XCConfigurationList; 1553 | buildConfigurations = ( 1554 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1555 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1556 | ); 1557 | defaultConfigurationIsVisible = 0; 1558 | defaultConfigurationName = Release; 1559 | }; 1560 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "YoutubePlayer" */ = { 1561 | isa = XCConfigurationList; 1562 | buildConfigurations = ( 1563 | 83CBBA201A601CBA00E9B192 /* Debug */, 1564 | 83CBBA211A601CBA00E9B192 /* Release */, 1565 | ); 1566 | defaultConfigurationIsVisible = 0; 1567 | defaultConfigurationName = Release; 1568 | }; 1569 | /* End XCConfigurationList section */ 1570 | }; 1571 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1572 | } 1573 | -------------------------------------------------------------------------------- /ios/YoutubePlayer.xcodeproj/xcshareddata/xcschemes/YoutubePlayer-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/YoutubePlayer.xcodeproj/xcshareddata/xcschemes/YoutubePlayer.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/YoutubePlayer/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/YoutubePlayer/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"YoutubePlayer" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /ios/YoutubePlayer/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "57x57", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-57x57@1x.png", 49 | "scale" : "1x" 50 | }, 51 | { 52 | "size" : "57x57", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-57x57@2x.png", 55 | "scale" : "2x" 56 | }, 57 | { 58 | "size" : "60x60", 59 | "idiom" : "iphone", 60 | "filename" : "Icon-App-60x60@2x.png", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "size" : "60x60", 65 | "idiom" : "iphone", 66 | "filename" : "Icon-App-60x60@3x.png", 67 | "scale" : "3x" 68 | }, 69 | { 70 | "size" : "20x20", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-20x20@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "20x20", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-20x20@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "29x29", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-29x29@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "29x29", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-29x29@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "40x40", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-40x40@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "40x40", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-40x40@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "50x50", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-Small-50x50@1x.png", 109 | "scale" : "1x" 110 | }, 111 | { 112 | "size" : "50x50", 113 | "idiom" : "ipad", 114 | "filename" : "Icon-Small-50x50@2x.png", 115 | "scale" : "2x" 116 | }, 117 | { 118 | "size" : "72x72", 119 | "idiom" : "ipad", 120 | "filename" : "Icon-App-72x72@1x.png", 121 | "scale" : "1x" 122 | }, 123 | { 124 | "size" : "72x72", 125 | "idiom" : "ipad", 126 | "filename" : "Icon-App-72x72@2x.png", 127 | "scale" : "2x" 128 | }, 129 | { 130 | "size" : "76x76", 131 | "idiom" : "ipad", 132 | "filename" : "Icon-App-76x76@1x.png", 133 | "scale" : "1x" 134 | }, 135 | { 136 | "size" : "76x76", 137 | "idiom" : "ipad", 138 | "filename" : "Icon-App-76x76@2x.png", 139 | "scale" : "2x" 140 | }, 141 | { 142 | "size" : "83.5x83.5", 143 | "idiom" : "ipad", 144 | "filename" : "Icon-App-83.5x83.5@2x.png", 145 | "scale" : "2x" 146 | }, 147 | { 148 | "size" : "40x40", 149 | "idiom" : "iphone", 150 | "filename" : "Icon-App-40x40@1x.png", 151 | "scale" : "1x" 152 | }, 153 | { 154 | "size" : "60x60", 155 | "idiom" : "iphone", 156 | "filename" : "Icon-App-60x60@1x.png", 157 | "scale" : "1x" 158 | }, 159 | { 160 | "size" : "76x76", 161 | "idiom" : "iphone", 162 | "filename" : "Icon-App-76x76@1x.png", 163 | "scale" : "1x" 164 | }, 165 | { 166 | "size" : "76x76", 167 | "idiom" : "ipad", 168 | "filename" : "Icon-App-76x76@3x.png", 169 | "scale" : "3x" 170 | } 171 | ], 172 | "info" : { 173 | "version" : 1, 174 | "author" : "xcode" 175 | } 176 | } -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/var77/react-native-youtube-player/d19bfa9ae077fa22ee91d9874c54928621d9e16e/ios/YoutubePlayer/Images.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png -------------------------------------------------------------------------------- /ios/YoutubePlayer/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ios/YoutubePlayer/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | JPlayer 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UIAppFonts 41 | 42 | Entypo.ttf 43 | EvilIcons.ttf 44 | FontAwesome.ttf 45 | Foundation.ttf 46 | Ionicons.ttf 47 | MaterialCommunityIcons.ttf 48 | MaterialIcons.ttf 49 | Octicons.ttf 50 | SimpleLineIcons.ttf 51 | Zocial.ttf 52 | 53 | UIBackgroundModes 54 | 55 | audio 56 | 57 | UILaunchStoryboardName 58 | LaunchScreen 59 | UIRequiredDeviceCapabilities 60 | 61 | armv7 62 | 63 | UISupportedInterfaceOrientations 64 | 65 | UIInterfaceOrientationPortrait 66 | 67 | UIViewControllerBasedStatusBarAppearance 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /ios/YoutubePlayer/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ios/YoutubePlayerTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/YoutubePlayerTests/YoutubePlayerTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface YoutubePlayerTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation YoutubePlayerTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "YoutubePlayer", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.0.0-alpha.6", 11 | "react-native": "0.44.2", 12 | "react-native-button": "^1.8.2", 13 | "react-native-circular-progress": "^0.0.8", 14 | "react-native-fetch-blob": "^0.10.5", 15 | "react-native-fs": "^2.3.2", 16 | "react-native-music-control": "^0.4.4", 17 | "react-native-progress": "^3.2.1", 18 | "react-native-router-flux": "^3.39.2", 19 | "react-native-slider": "^0.9.1", 20 | "react-native-swipe-out": "^2.0.14", 21 | "react-native-textinput-effects": "^0.3.1", 22 | "react-native-vector-icons": "^4.1.1", 23 | "react-native-video": "^1.0.0", 24 | "react-redux": "^5.0.5", 25 | "redux": "^3.6.0", 26 | "redux-thunk": "^2.2.0", 27 | "underscore": "^1.8.3" 28 | }, 29 | "devDependencies": { 30 | "babel-jest": "20.0.3", 31 | "babel-preset-react-native": "1.9.2", 32 | "jest": "20.0.4", 33 | "react-test-renderer": "16.0.0-alpha.6" 34 | }, 35 | "jest": { 36 | "preset": "react-native" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/actions/index.js: -------------------------------------------------------------------------------- 1 | import * as musicActions from './music.actions'; 2 | import * as searchActions from './search.actions'; 3 | import * as playerActions from './player.actions'; 4 | 5 | export default {...musicActions, ...searchActions, ...playerActions}; 6 | -------------------------------------------------------------------------------- /src/actions/music.actions.js: -------------------------------------------------------------------------------- 1 | import * as types from './types'; 2 | import RNFetchBlob from 'react-native-fetch-blob'; 3 | import * as Utils from '../helpers/utils'; 4 | import {AsyncStorage} from 'react-native'; 5 | import RNFS from 'react-native-fs'; 6 | import _ from 'underscore'; 7 | 8 | let DOWNLOADING_SONGS = [], DOWNLOADED_SONGS = []; 9 | 10 | export function downloadMusic(song, changedPath, recover) { 11 | return async (dispatch) => { 12 | try { 13 | if(song.downloading) return; 14 | song.preparing = true; 15 | song.downloading = true; 16 | let songs = await Utils.getSongsFromStorage(); 17 | if(!recover && Utils.findSongInCollection(song.id, songs)) return {}; 18 | DOWNLOADING_SONGS.push(song); 19 | let dirs = RNFetchBlob.fs.dirs; 20 | let songInfo = {url: song.path} 21 | if(!changedPath) { 22 | songInfo = await Utils.getSongInfo(song.path, song.id); 23 | } 24 | song.preparing = false; 25 | const songRes = await RNFetchBlob 26 | .config({ 27 | path: `${dirs.DocumentDir}/${song.id}.mp3` 28 | }) 29 | .fetch('GET', songInfo.url, {}) 30 | .progress((received, total) => { 31 | dispatch(setProgress(received / total, song.id)); 32 | }); 33 | const imgRes = await RNFetchBlob 34 | .config({ 35 | path: `${dirs.DocumentDir}/${song.id}.jpg` 36 | }) 37 | .fetch('GET', recover? Utils.getThumbUrl(song.id): song.thumb, {}); 38 | 39 | song.downloading = false; 40 | song.downloaded = true; 41 | song.path = songRes.path(); 42 | song.thumb = imgRes.path(); 43 | song.key = song.id; 44 | DOWNLOADING_SONGS.pop(); 45 | DOWNLOADED_SONGS.push(song); 46 | if(!DOWNLOADING_SONGS.length) { 47 | let updatedSongs = await Utils.setSongsToStorage(DOWNLOADED_SONGS, recover); 48 | DOWNLOADED_SONGS = []; 49 | return dispatch(setSongs(updatedSongs)); 50 | } 51 | } catch(err) { 52 | DOWNLOADING_SONGS.pop(); 53 | song.downloading = false; 54 | song.preparing = false; 55 | let songs = await Utils.getSongsFromStorage(); 56 | dispatch(setSongs(songs)); 57 | console.warn(err); 58 | } 59 | } 60 | } 61 | 62 | export function musicDownloaded(path) { 63 | return { 64 | type: types.DOWNLOADED, 65 | path 66 | } 67 | } 68 | 69 | export function deleteSong(index, song) { 70 | return async (dispatch) => { 71 | let songs = await Utils.getSongsFromStorage(); 72 | try { 73 | await RNFS.unlink(song.path); 74 | await RNFS.unlink(song.thumb); 75 | songs.splice(index, 1); 76 | await AsyncStorage.setItem('songs', JSON.stringify(songs)); 77 | return dispatch(setSongs(songs)); 78 | } catch(err) { 79 | //If song not found in path 80 | songs.splice(index, 1); 81 | await AsyncStorage.setItem('songs', JSON.stringify(songs)); 82 | return dispatch(setSongs(songs)); 83 | } 84 | } 85 | } 86 | 87 | export function setSongs(songs) { 88 | return { 89 | type: types.SONGS, 90 | songs 91 | } 92 | } 93 | 94 | export function setProgress(progress, id) { 95 | return { 96 | type: types.PROGRESS, 97 | progress, 98 | id 99 | } 100 | } 101 | 102 | export function recoverDeletedSongs(songs) { 103 | return async dispatch => { 104 | let promises = _.map(songs, song => RNFS.exists(song.path)); 105 | let results = await Promise.all(promises); 106 | _.each(results, (res, index) => !res && dispatch(downloadMusic(songs[index], false, true))); 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /src/actions/player.actions.js: -------------------------------------------------------------------------------- 1 | import * as types from './types'; 2 | import * as Utils from '../helpers/utils'; 3 | import {setSongs} from './music.actions'; 4 | import {setSearchResults} from './search.actions'; 5 | 6 | export function setPlaying(status) { 7 | return { 8 | type: types.SET_PLAYING, 9 | status 10 | } 11 | } 12 | 13 | export function setSongDuration(duration) { 14 | return { 15 | type: types.SET_DURATION, 16 | duration 17 | } 18 | } 19 | 20 | export function setSongProgress(time) { 21 | return { 22 | type: types.SET_PROGRESS, 23 | time 24 | } 25 | } 26 | 27 | export function setSongIndex(index) { 28 | return { 29 | type: types.SET_SONG_INDEX, 30 | index 31 | } 32 | } 33 | 34 | export function setShuffle(status) { 35 | return { 36 | type: types.SET_SHUFFLE, 37 | status 38 | } 39 | } 40 | 41 | export function setPlaylist(songs) { 42 | return { 43 | type: types.SET_PLAYLIST, 44 | songs 45 | } 46 | } 47 | 48 | export function setPlayingSong(index, playlist, changePath) { 49 | return async dispatch => { 50 | if(changePath) { 51 | let song = playlist[index]; 52 | song.preparing = true; 53 | dispatch(setSearchResults([...playlist])); 54 | let songInfo = await Utils.getSongInfo(song.path); 55 | song.path = songInfo.url; 56 | song.pathChanged = true; 57 | song.preparing = false; 58 | dispatch(setSearchResults([...playlist])); 59 | } 60 | 61 | if(playlist) dispatch(setPlaylist(playlist)); 62 | dispatch(setSongIndex(index)) 63 | dispatch(setPlaying(true)) 64 | } 65 | } 66 | 67 | export function getSongs() { 68 | return async (dispatch) => { 69 | let songs = await Utils.getSongsFromStorage(); 70 | dispatch(setPlaylist(songs)); 71 | return dispatch(setSongs(songs)); 72 | } 73 | } 74 | 75 | export function setVolume(volume) { 76 | return { 77 | type: types.SET_VOLUME, 78 | volume 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/actions/search.actions.js: -------------------------------------------------------------------------------- 1 | import _ from 'underscore'; 2 | 3 | import * as types from './types'; 4 | import * as Utils from '../helpers/utils'; 5 | import Config from '../config'; 6 | 7 | export function searchSong(query) { 8 | return async (dispatch) => { 9 | dispatch(setSearchResults([])); 10 | dispatch(setLoading(true)); 11 | let res = await fetch(`${Config.SEARCH_API_URL}${query}`); 12 | res = await res.json(); 13 | res = await setDownloadedSongs(Utils.filterSearchResults(res)); 14 | dispatch(setLoading(false)); 15 | return dispatch(setSearchResults(res)); 16 | } 17 | } 18 | 19 | export function setSearchResults(res) { 20 | return { 21 | type: types.SEARCH, 22 | res 23 | } 24 | } 25 | 26 | function setLoading(res) { 27 | return { 28 | type: types.LOADING, 29 | res 30 | }; 31 | } 32 | 33 | async function setDownloadedSongs(songs) { 34 | let downloadedSongs = await Utils.getSongsFromStorage(); 35 | return _.map(songs, song => { 36 | let findedSong = _.findWhere(downloadedSongs, {id: song.id}); 37 | if(findedSong) { 38 | findedSong.downloaded = true; 39 | return findedSong; 40 | } 41 | 42 | return song; 43 | }); 44 | } 45 | -------------------------------------------------------------------------------- /src/actions/types.js: -------------------------------------------------------------------------------- 1 | export const DOWNLOADED = 'DOWNLOADED'; 2 | export const SONGS = 'SONGS'; 3 | export const PROGRESS = 'PROGRESS'; 4 | export const SEARCH = 'SEARCH'; 5 | export const LOADING = 'LOADING'; 6 | export const SET_PLAYING = 'SET_PLAYING'; 7 | export const SET_DURATION = 'SET_DURATION'; 8 | export const SET_PROGRESS = 'SET_PROGRESS'; 9 | export const SET_SONG_INDEX = 'SET_SONG_INDEX'; 10 | export const SET_PLAYLIST = 'SET_PLAYLIST'; 11 | export const SET_SHUFFLE = 'SET_SHUFFLE'; 12 | export const SET_VOLUME = 'SET_VOLUME'; 13 | -------------------------------------------------------------------------------- /src/components/PlayerButtons.js: -------------------------------------------------------------------------------- 1 | import React, {Component} from 'react'; 2 | import { 3 | Image, 4 | Text, 5 | View 6 | } from 'react-native'; 7 | import Button from 'react-native-button'; 8 | import Icon from 'react-native-vector-icons/Ionicons'; 9 | import FontAwesome from 'react-native-vector-icons/FontAwesome'; 10 | import Styles from '../styles'; 11 | import Slider from 'react-native-slider'; 12 | import * as Utils from '../helpers/utils'; 13 | 14 | export class PlayButton extends Component { 15 | render() { 16 | return ; 17 | } 18 | } 19 | 20 | export class ForwardButton extends Component { 21 | render() { 22 | let forwardButton = null; 23 | if(!this.props.shuffle && this.props.songIndex + 1 === this.props.songs.length ) { 24 | forwardButton = ; 25 | } else { 26 | forwardButton = ; 27 | } 28 | 29 | return forwardButton; 30 | } 31 | } 32 | 33 | export class BackwardButton extends Component { 34 | render() { 35 | return 36 | } 37 | } 38 | 39 | export class VolumeButton extends Component { 40 | render() { 41 | return ; 42 | } 43 | } 44 | 45 | export class ShuffleButton extends Component { 46 | render() { 47 | return ; 48 | } 49 | } 50 | 51 | export class DownloadButton extends Component { 52 | render() { 53 | if(this.props.downloading || this.props.downloaded) { 54 | return ; 55 | } 56 | return ; 57 | } 58 | } 59 | 60 | export class SongSlider extends Component { 61 | render() { 62 | return ( 63 | 64 | 70 | 71 | 72 | { Utils.formattedTime(this.props.currentTime) } 73 | - { Utils.formattedTime( this.props.songDuration - this.props.currentTime ) } 74 | 75 | 76 | ) 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/components/Song.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | View, 4 | Image, 5 | Text, 6 | TouchableOpacity, 7 | Dimensions, 8 | Platform, 9 | ActivityIndicator 10 | } from 'react-native'; 11 | 12 | import FontAwesome from 'react-native-vector-icons/FontAwesome'; 13 | import Icon from 'react-native-vector-icons/Ionicons'; 14 | import Styles from '../styles'; 15 | import Swipeout from 'react-native-swipe-out'; 16 | import * as Progress from 'react-native-progress'; 17 | import { AnimatedCircularProgress } from 'react-native-circular-progress'; 18 | import {connect} from 'react-redux'; 19 | import {bindActionCreators} from 'redux'; 20 | import ActionCreators from '../actions'; 21 | 22 | let {height, width} = Dimensions.get('window'); 23 | 24 | class Song extends Component { 25 | state = {songImage: "../img/music.jpg", downloading: false} 26 | swipeBtns = [{ 27 | text: 'Delete', 28 | backgroundColor: 'red', 29 | onPress: () => { this.props.deleteMusic() } 30 | }] 31 | 32 | async downloadMusic(song) { 33 | this.setState({downloading: true}); 34 | await this.props.downloadMusic(song, song.pathChanged); 35 | this.setState({downloading: false}); 36 | } 37 | 38 | render() { 39 | return this.props.search? SearchedSong.call(this): DownloadedSong.call(this) 40 | } 41 | } 42 | 43 | function DownloadedSong() { 44 | return ( 49 | 50 | 51 | 55 | 56 | {this.props.artistName || "Unknown Artist"} 57 | {this.props.songName || "Unknown Song"} 58 | 59 | {renderProgressBar.call(this, true)} 60 | 61 | 62 | ) 63 | } 64 | 65 | function renderProgressBar(downloads) { 66 | let song = this.props[downloads? 'songs': 'searchResults'][this.props.songIndex]; 67 | if(song.preparing) { 68 | return 69 | } 70 | 71 | if(song.downloaded && !downloads) { 72 | return ( 73 | 74 | 75 | ) 76 | } 77 | 78 | var progress = this.props.progreses[this.props.id]; 79 | if(song.downloading || this.state.downloading) { 80 | return () 86 | } 87 | 88 | if(downloads) return null; 89 | 90 | return ( 91 | !song.downloading && this.downloadMusic(song)} style={{width: 60, paddingLeft: 20}}> 92 | 93 | 94 | ) 95 | } 96 | 97 | function SearchedSong() { 98 | let song = this.props.searchResults[this.props.songIndex]; 99 | return ( this.props.onPress(song.downloaded)}> 100 | 101 | 105 | 106 | {this.props.artistName || "Unknown Artist"} 107 | {this.props.songName || "Unknown Song"} 108 | 109 | 110 | {renderProgressBar.call(this)} 111 | ) 112 | } 113 | 114 | function mapDispatchToProps(dispatch) { 115 | return bindActionCreators(ActionCreators, dispatch); 116 | } 117 | 118 | function mapStateToProps(store) { 119 | return { 120 | progreses: store.progreses, 121 | searchResults: store.searchResults, 122 | songs: store.songs 123 | } 124 | } 125 | 126 | export default connect(mapStateToProps, mapDispatchToProps)(Song); 127 | -------------------------------------------------------------------------------- /src/config/index.js: -------------------------------------------------------------------------------- 1 | const YOUTUBE_API_KEY = "YOUR_API_KEY"; 2 | export default { 3 | API_URL: "http://52.232.85.160/api?vid=", 4 | SEARCH_API_URL: `https://www.googleapis.com/youtube/v3/search?key=${YOUTUBE_API_KEY}&type=video&part=snippet&maxResults=40&q=` 5 | } 6 | -------------------------------------------------------------------------------- /src/containers/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, Text } from 'react-native'; 3 | import { Scene, Router } from 'react-native-router-flux'; 4 | import { createStore, applyMiddleware } from 'redux'; 5 | import { connect, Provider } from 'react-redux'; 6 | import thunk from 'redux-thunk'; 7 | import reducer from '../reducers'; 8 | import Downloads from './Downloads'; 9 | import Search from './Search'; 10 | import Player from './Player'; 11 | import MiniPlayer from './MiniPlayer'; 12 | import Styles from '../styles'; 13 | import Icon from 'react-native-vector-icons/FontAwesome'; 14 | 15 | 16 | const TabIcon = (props) => ; 17 | 18 | const store = createStore(reducer, applyMiddleware(thunk)); 19 | const RouterWithRedux = connect()(Router); 20 | 21 | export default class App extends Component { 22 | render() { 23 | return ( 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | ); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/containers/Downloads.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | View, 4 | TextInput, 5 | Text, 6 | TouchableOpacity, 7 | FlatList, 8 | List 9 | } from 'react-native'; 10 | 11 | import Styles from '../styles'; 12 | import Song from '../components/Song'; 13 | import {connect} from 'react-redux'; 14 | import {bindActionCreators} from 'redux'; 15 | import ActionCreators from '../actions'; 16 | import Icon from 'react-native-vector-icons/FontAwesome'; 17 | 18 | let self = null; 19 | class Downloads extends Component { 20 | state = {page: 'download'} 21 | constructor(props) { 22 | super(props); 23 | self = this; 24 | } 25 | 26 | static renderRightButton(props){ 27 | return ( 28 | 29 | ); 30 | } 31 | 32 | static onRight() { 33 | self && self.props.recoverDeletedSongs(self.props.songs) 34 | } 35 | 36 | onSongPlay(index) { 37 | this.props.setPlayingSong(index, this.props.songs); 38 | } 39 | 40 | deleteSong(index) { 41 | this.props.deleteSong(index, this.props.songs[index]); 42 | } 43 | 44 | render() { 45 | return ( 46 | 47 | 48 | ()} 59 | /> 60 | 61 | ); 62 | } 63 | } 64 | 65 | function mapDispatchToProps(dispatch) { 66 | return bindActionCreators(ActionCreators, dispatch); 67 | } 68 | 69 | function mapStateToProps(store) { 70 | return { 71 | songs: store.songs 72 | } 73 | } 74 | 75 | export default connect(mapStateToProps, mapDispatchToProps)(Downloads); 76 | -------------------------------------------------------------------------------- /src/containers/MiniPlayer.js: -------------------------------------------------------------------------------- 1 | import React, {Component} from 'react'; 2 | import { 3 | Image, 4 | Text, 5 | View, 6 | TouchableOpacity, 7 | Dimensions, 8 | Platform 9 | } from 'react-native'; 10 | import Button from 'react-native-button'; 11 | import {Actions} from 'react-native-router-flux'; 12 | import {connect} from 'react-redux'; 13 | import {bindActionCreators} from 'redux'; 14 | import ActionCreators from '../actions'; 15 | import FontAwesome from 'react-native-vector-icons/FontAwesome'; 16 | import Video from 'react-native-video'; 17 | import Styles from '../styles'; 18 | import * as Utils from '../helpers/utils'; 19 | import {ForwardButton, BackwardButton, PlayButton, ShuffleButton, VolumeButton, DownloadButton, SongSlider} from '../components/PlayerButtons'; 20 | import MusicControl from 'react-native-music-control'; 21 | import * as Progress from 'react-native-progress'; 22 | import Icon from 'react-native-vector-icons/Ionicons'; 23 | import _ from 'underscore'; 24 | 25 | let {height, width} = Dimensions.get('window'); 26 | 27 | class Player extends Component { 28 | constructor(props){ 29 | super(props); 30 | this.state = { 31 | playing: false, 32 | muted: false, 33 | originalPlaylist: null 34 | }; 35 | } 36 | 37 | setPlayingSong(duration) { 38 | let song = this.props.songs[this.props.songIndex]; 39 | MusicControl.setNowPlaying({ 40 | title: song.title, 41 | artwork: song.thumb, 42 | artist: song.artist, 43 | duration 44 | }); 45 | } 46 | 47 | togglePlay(status) { 48 | this.props.setPlaying(status); 49 | MusicControl.updatePlayback({ 50 | state: status? MusicControl.STATE_PLAYING: MusicControl.STATE_PAUSED, 51 | elapsedTime: this.state.currentTime 52 | }) 53 | } 54 | 55 | toggleVolume(){ 56 | this.setState({ muted: !this.state.muted }); 57 | } 58 | 59 | goBackward(){ 60 | if(this.state.currentTime < 3 && this.props.songIndex !== 0 ) { 61 | this.props.setPlayingSong(this.props.songIndex - 1); 62 | } else { 63 | this.refs.audio.seek(0); 64 | MusicControl.updatePlayback({ 65 | state: MusicControl.STATE_PLAYING, 66 | elapsedTime: 0 67 | }) 68 | } 69 | } 70 | 71 | goForward() { 72 | this.refs.audio.seek(0); 73 | this.setTime({currentTime: 0}); 74 | 75 | if(this.props.shuffle && this.props.songIndex + 1 == this.props.songs.length) { 76 | return this.toggleShuffle(true, true); 77 | } 78 | 79 | if(this.props.songs.length == 1) return; 80 | 81 | if(this.props.songIndex + 1 != this.props.songs.length) { 82 | let index = this.props.songIndex + 1; 83 | let song = this.props.songs[index]; 84 | let changePath = (!song.downloaded && !song.pathChanged); 85 | return this.props.setPlayingSong(index, changePath? this.props.songs: null, changePath); 86 | } 87 | let song = this.props.songs[0]; 88 | let changePath = (!song.downloaded && !song.pathChanged); 89 | this.props.setPlayingSong(0, changePath? this.props.songs: null, changePath); 90 | this.props.setPlaying(false); 91 | MusicControl.updatePlayback({ 92 | title: song.title, 93 | artwork: song.thumb, 94 | artist: song.artist, 95 | state: MusicControl.STATE_PAUSED, 96 | elapsedTime: 0 97 | }); 98 | } 99 | 100 | setTime(params) { 101 | this.props.setSongProgress(params.currentTime); 102 | this.setState({currentTime: params.currentTime}); 103 | } 104 | 105 | onLoad(params) { 106 | let duration = params.duration / 2; //react-native-video bug 107 | this.props.setSongDuration(duration); 108 | this.setPlayingSong(duration); 109 | } 110 | 111 | onSlidingComplete(time){ 112 | this.refs.audio.seek(time); 113 | } 114 | 115 | onEnd() { 116 | this.props.setPlaying(false); 117 | this.goForward(); 118 | } 119 | 120 | openPlayer() { 121 | this.togglePlay(true); 122 | Actions.player({ 123 | togglePlay: this.togglePlay.bind(this), 124 | goBackward: this.goBackward.bind(this), 125 | goForward: this.goForward.bind(this), 126 | toggleShuffle: this.toggleShuffle.bind(this) 127 | }); 128 | } 129 | 130 | renderVideoPlayer() { 131 | if(this.props.songs[this.props.songIndex]) { 132 | return (