├── .watchmanconfig ├── .babelrc ├── index.android.js ├── index.ios.js ├── src ├── logo.png ├── background.jpg ├── artists-data.js ├── firebase.js ├── api-client.js ├── App.js ├── HomeView.js ├── Comment.js ├── CommentList.js ├── ArtistList.js ├── LoginView.js ├── ArtistDetailView.js └── ArtistBox.js ├── .buckconfig ├── android ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── app │ ├── src │ │ └── main │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ └── SimpleLineIcons.ttf │ │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-ldpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── platzimusic │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── ios ├── PlatziMusic │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── 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-57x57@3x.png │ │ │ ├── Icon-App-60x60@1x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-76x76@3x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── PlatziMusic.entitlements │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── PlatziMusicTests │ ├── Info.plist │ └── PlatziMusicTests.m └── PlatziMusic.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ └── PlatziMusic.xcscheme │ └── project.pbxproj ├── __tests__ ├── index.ios.js └── index.android.js ├── .gitignore ├── package.json └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import App from './src/App' 2 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import App from './src/App' 2 | -------------------------------------------------------------------------------- /src/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/src/logo.png -------------------------------------------------------------------------------- /src/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/src/background.jpg -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /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/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | PlatziMusic 4 | 381058705569169 5 | 6 | -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-57x57@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/underscopeio/platzi-react-native/HEAD/ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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.4-all.zip 6 | -------------------------------------------------------------------------------- /src/artists-data.js: -------------------------------------------------------------------------------- 1 | export const artist = { 2 | image: 'https://lastfm-img2.akamaized.net/i/u/300x300/31a51f6e3ec647c8997150ec837891c7.png', 3 | name: 'David Bowie', 4 | likes: 200, 5 | comments: 115, 6 | } 7 | 8 | export const artistList = Array(400).fill(artist) 9 | -------------------------------------------------------------------------------- /__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 | -------------------------------------------------------------------------------- /__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 | -------------------------------------------------------------------------------- /ios/PlatziMusic/PlatziMusic.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | keychain-access-groups 6 | 7 | $(AppIdentifierPrefix)org.reactjs.native.example.PlatziMusic 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'PlatziMusic' 2 | 3 | include ':app' 4 | include ':react-native-fbsdk' 5 | project(':react-native-fbsdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbsdk/android') 6 | include ':react-native-vector-icons' 7 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 8 | -------------------------------------------------------------------------------- /src/firebase.js: -------------------------------------------------------------------------------- 1 | import * as firebase from 'firebase' 2 | 3 | const config = { 4 | apiKey: "AIzaSyCrNKZFhNIOLOr6a4hmXRCL6gJZi5F-Tt0", 5 | authDomain: "platzimusic.firebaseapp.com", 6 | databaseURL: "https://platzimusic.firebaseio.com", 7 | storageBucket: "platzimusic.appspot.com", 8 | messagingSenderId: "383576358540" 9 | } 10 | 11 | firebase.initializeApp(config) 12 | 13 | export const firebaseDatabase = firebase.database() 14 | export const firebaseAuth = firebase.auth() 15 | 16 | export default firebase 17 | -------------------------------------------------------------------------------- /ios/PlatziMusic/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 | -------------------------------------------------------------------------------- /src/api-client.js: -------------------------------------------------------------------------------- 1 | const API_KEY = 'e5f95ee46580f32ab850e3cbfddec906' 2 | const ARTISTS_URL = `https://ws.audioscrobbler.com/2.0/?method=geo.gettopartists&country=argentina&api_key=${API_KEY}&format=json` 3 | 4 | export function getArtists() { 5 | return fetch(ARTISTS_URL) 6 | .then(res => res.json()) 7 | .then(data => data.topartists.artist) 8 | .then(artists => artists.map(a => { 9 | return { 10 | id: a.mbid, 11 | name: a.name, 12 | image: a.image[3]['#text'], 13 | comments: 140, 14 | } 15 | })) 16 | } 17 | -------------------------------------------------------------------------------- /ios/PlatziMusic/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 | -------------------------------------------------------------------------------- /.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/IJ 26 | # 27 | *.iml 28 | .idea 29 | .gradle 30 | local.properties 31 | 32 | # node.js 33 | # 34 | node_modules/ 35 | npm-debug.log 36 | 37 | # BUCK 38 | buck-out/ 39 | \.buckd/ 40 | android/app/libs 41 | android/keystores/debug.keystore 42 | -------------------------------------------------------------------------------- /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:1.3.1' 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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PlatziMusic", 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 | "firebase": "^3.6.1", 11 | "react": "~15.3.1", 12 | "react-native": "0.37.0", 13 | "react-native-fbsdk": "^0.4.0", 14 | "react-native-router-flux": "^3.37.0", 15 | "react-native-vector-icons": "^3.0.0" 16 | }, 17 | "devDependencies": { 18 | "babel-jest": "17.0.2", 19 | "babel-preset-react-native": "1.9.0", 20 | "jest": "17.0.3", 21 | "jest-react-native": "17.0.3", 22 | "react-test-renderer": "~15.3.1" 23 | }, 24 | "jest": { 25 | "preset": "jest-react-native" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | AppRegistry, 4 | View, 5 | StyleSheet, 6 | } from 'react-native'; 7 | 8 | import { 9 | Scene, 10 | Router 11 | } from 'react-native-router-flux'; 12 | 13 | import LoginView from './LoginView' 14 | import HomeView from './HomeView' 15 | import ArtistDetailView from './ArtistDetailView' 16 | 17 | class PlatziMusic extends React.Component { 18 | render() { 19 | return ( 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | ) 28 | } 29 | } 30 | 31 | AppRegistry.registerComponent('PlatziMusic', () => PlatziMusic); 32 | -------------------------------------------------------------------------------- /ios/PlatziMusicTests/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 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/platzimusic/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.platzimusic; 2 | 3 | import android.content.Intent; 4 | 5 | import com.facebook.react.ReactActivity; 6 | import com.facebook.reactnative.androidsdk.FBSDKPackage; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | 9 | 10 | public class MainActivity extends ReactActivity { 11 | 12 | /** 13 | * Returns the name of the main component registered from JavaScript. 14 | * This is used to schedule rendering of the component. 15 | */ 16 | @Override 17 | protected String getMainComponentName() { 18 | return "PlatziMusic"; 19 | } 20 | 21 | @Override 22 | public void onActivityResult(int requestCode, int resultCode, Intent data) { 23 | super.onActivityResult(requestCode, resultCode, data); 24 | MainApplication.getCallbackManager().onActivityResult(requestCode, resultCode, data); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/HomeView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | ActivityIndicator, 6 | Platform, 7 | } from 'react-native'; 8 | 9 | import ArtistList from './ArtistList' 10 | import { getArtists } from './api-client' 11 | 12 | export default class HomeView extends Component { 13 | state = { 14 | artists: null 15 | } 16 | 17 | componentDidMount() { 18 | getArtists() 19 | .then(artists => this.setState({ artists })) 20 | } 21 | 22 | render() { 23 | const artists = this.state.artists 24 | 25 | return ( 26 | 27 | {!artists && } 28 | {artists && } 29 | 30 | ); 31 | } 32 | } 33 | 34 | const styles = StyleSheet.create({ 35 | container: { 36 | flex: 1, 37 | backgroundColor: 'lightgray', 38 | paddingTop: Platform.select({ 39 | ios: 30, 40 | android: 10 41 | }), 42 | }, 43 | }); 44 | -------------------------------------------------------------------------------- /src/Comment.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import { 3 | Text, 4 | View, 5 | StyleSheet, 6 | Image, 7 | } from 'react-native' 8 | 9 | const DEFAULT_AVATAR = 'https://flipagram.com/assets/resources/img/fg-avatar-anonymous-user-retina.png' 10 | const AVATAR_SIZE = 32 11 | 12 | const Comment = (props) => 13 | 14 | { 15 | props.avatar ? 16 | : 17 | 18 | } 19 | {props.text} 20 | 21 | 22 | const styles = StyleSheet.create({ 23 | comment: { 24 | backgroundColor: '#ecf0f1', 25 | padding: 10, 26 | margin: 5, 27 | borderRadius: 5, 28 | flexDirection: 'row', 29 | alignItems: 'center', 30 | }, 31 | avatar: { 32 | width: AVATAR_SIZE, 33 | height: AVATAR_SIZE, 34 | borderRadius: AVATAR_SIZE / 2, 35 | }, 36 | text: { 37 | marginLeft: 10, 38 | fontSize: 16, 39 | } 40 | }) 41 | 42 | export default Comment -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/CommentList.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | StyleSheet, 10 | ListView, 11 | } from 'react-native'; 12 | 13 | import Comment from './Comment' 14 | 15 | export default class CommentList extends Component { 16 | 17 | constructor(props) { 18 | super(props); 19 | const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); 20 | this.state = { 21 | dataSource: ds 22 | } 23 | } 24 | 25 | componentDidMount() { 26 | this.updateDataSource(this.props.comments) 27 | } 28 | 29 | componentWillReceiveProps(newProps) { 30 | if (newProps.comments !== this.props.comments) { 31 | this.updateDataSource(newProps.comments) 32 | } 33 | } 34 | 35 | updateDataSource = data => { 36 | this.setState({ 37 | dataSource: this.state.dataSource.cloneWithRows(data) 38 | }) 39 | } 40 | 41 | render() { 42 | return ( 43 | { 47 | return ( 48 | 49 | ) 50 | }} 51 | /> 52 | ); 53 | } 54 | } 55 | 56 | const styles = StyleSheet.create({ 57 | container: { 58 | flex: 1, 59 | backgroundColor: 'lightgray', 60 | paddingTop: 50, 61 | }, 62 | }); 63 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/platzimusic/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.platzimusic; 2 | 3 | import android.app.Application; 4 | import android.util.Log; 5 | 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactInstanceManager; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.CallbackManager; 12 | import com.facebook.FacebookSdk; 13 | import com.facebook.reactnative.androidsdk.FBSDKPackage; 14 | import com.facebook.appevents.AppEventsLogger; 15 | 16 | import java.util.Arrays; 17 | import java.util.List; 18 | 19 | public class MainApplication extends Application implements ReactApplication { 20 | private static CallbackManager mCallbackManager = CallbackManager.Factory.create(); 21 | 22 | protected static CallbackManager getCallbackManager() { 23 | return mCallbackManager; 24 | } 25 | 26 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 27 | @Override 28 | protected boolean getUseDeveloperSupport() { 29 | return BuildConfig.DEBUG; 30 | } 31 | 32 | @Override 33 | protected List getPackages() { 34 | return Arrays.asList( 35 | new MainReactPackage(), 36 | new FBSDKPackage(mCallbackManager) 37 | ); 38 | } 39 | }; 40 | 41 | @Override 42 | public ReactNativeHost getReactNativeHost() { 43 | return mReactNativeHost; 44 | } 45 | 46 | @Override 47 | public void onCreate() { 48 | super.onCreate(); 49 | FacebookSdk.sdkInitialize(getApplicationContext()); 50 | AppEventsLogger.activateApp(this); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/ArtistList.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | ListView, 4 | ActivityIndicator, 5 | StyleSheet, 6 | TouchableOpacity, 7 | } from 'react-native'; 8 | 9 | import { Actions } from 'react-native-router-flux' 10 | 11 | import ArtistBox from './ArtistBox' 12 | 13 | export default class ArtistList extends Component { 14 | constructor(props) { 15 | super(); 16 | this.state = { 17 | artistDataSource: new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}) 18 | }; 19 | } 20 | 21 | updateDataSource(newData) { 22 | this.setState({ 23 | artistDataSource: this.state.artistDataSource.cloneWithRows(newData) 24 | }) 25 | } 26 | 27 | componentDidMount() { 28 | this.updateDataSource(this.props.artists) 29 | } 30 | 31 | componentWillReceiveProps(nextProps) { 32 | if (nextProps.artists !== this.props.artists) { 33 | this.updateDataSource(nextProps.artists) 34 | } 35 | } 36 | 37 | handleBoxPress(artist) { 38 | Actions.artistDetail({ artist }) 39 | } 40 | 41 | render() { 42 | if (this.props.artists.length === 0) { 43 | return 44 | } 45 | 46 | return ( 47 | 52 | this.handleBoxPress(artist)}> 53 | 54 | 55 | } 56 | /> 57 | ); 58 | } 59 | } 60 | 61 | const styles = StyleSheet.create({ 62 | loading: { 63 | marginTop: 20, 64 | } 65 | }) 66 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'com.platzimusic', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'com.platzimusic', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | # We fork some components by platform. 4 | .*/*[.]android.js 5 | 6 | # Ignore templates with `@flow` in header 7 | .*/local-cli/generator.* 8 | 9 | # Ignore malformed json 10 | .*/node_modules/y18n/test/.*\.json 11 | 12 | # Ignore the website subdir 13 | /website/.* 14 | 15 | # Ignore BUCK generated dirs 16 | /\.buckd/ 17 | 18 | # Ignore unexpected extra @providesModule 19 | .*/node_modules/commoner/test/source/widget/share.js 20 | 21 | # Ignore duplicate module providers 22 | # For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root 23 | .*/Libraries/react-native/React.js 24 | .*/Libraries/react-native/ReactNative.js 25 | .*/node_modules/jest-runtime/build/__tests__/.* 26 | 27 | [include] 28 | 29 | [libs] 30 | node_modules/react-native/Libraries/react-native/react-native-interface.js 31 | node_modules/react-native/flow 32 | flow/ 33 | 34 | [options] 35 | module.system=haste 36 | 37 | esproposal.class_static_fields=enable 38 | esproposal.class_instance_fields=enable 39 | 40 | experimental.strict_type_args=true 41 | 42 | munge_underscores=true 43 | 44 | module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' 45 | 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' 46 | 47 | suppress_type=$FlowIssue 48 | suppress_type=$FlowFixMe 49 | suppress_type=$FixMe 50 | 51 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 52 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 53 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 54 | 55 | unsafe.enable_getters_and_setters=true 56 | 57 | [version] 58 | ^0.33.0 59 | -------------------------------------------------------------------------------- /ios/PlatziMusic/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | {"images":[{"idiom":"iphone","size":"20x20","scale":"2x","filename":"Icon-App-20x20@2x.png"},{"idiom":"iphone","size":"20x20","scale":"3x","filename":"Icon-App-20x20@3x.png"},{"idiom":"iphone","size":"29x29","scale":"1x","filename":"Icon-App-29x29@1x.png"},{"idiom":"iphone","size":"29x29","scale":"2x","filename":"Icon-App-29x29@2x.png"},{"idiom":"iphone","size":"29x29","scale":"3x","filename":"Icon-App-29x29@3x.png"},{"idiom":"iphone","size":"40x40","scale":"1x","filename":"Icon-App-40x40@1x.png"},{"idiom":"iphone","size":"40x40","scale":"2x","filename":"Icon-App-40x40@2x.png"},{"idiom":"iphone","size":"40x40","scale":"3x","filename":"Icon-App-40x40@3x.png"},{"idiom":"iphone","size":"57x57","scale":"1x","filename":"Icon-App-57x57@1x.png"},{"idiom":"iphone","size":"57x57","scale":"2x","filename":"Icon-App-57x57@2x.png"},{"idiom":"iphone","size":"57x57","scale":"3x","filename":"Icon-App-57x57@3x.png"},{"idiom":"iphone","size":"60x60","scale":"1x","filename":"Icon-App-60x60@1x.png"},{"idiom":"iphone","size":"60x60","scale":"2x","filename":"Icon-App-60x60@2x.png"},{"idiom":"iphone","size":"60x60","scale":"3x","filename":"Icon-App-60x60@3x.png"},{"idiom":"iphone","size":"76x76","scale":"1x","filename":"Icon-App-76x76@1x.png"},{"idiom":"ipad","size":"20x20","scale":"1x","filename":"Icon-App-20x20@1x.png"},{"idiom":"ipad","size":"20x20","scale":"2x","filename":"Icon-App-20x20@2x.png"},{"idiom":"ipad","size":"29x29","scale":"1x","filename":"Icon-App-29x29@1x.png"},{"idiom":"ipad","size":"29x29","scale":"2x","filename":"Icon-App-29x29@2x.png"},{"idiom":"ipad","size":"40x40","scale":"1x","filename":"Icon-App-40x40@1x.png"},{"idiom":"ipad","size":"40x40","scale":"2x","filename":"Icon-App-40x40@2x.png"},{"idiom":"ipad","size":"76x76","scale":"1x","filename":"Icon-App-76x76@1x.png"},{"idiom":"ipad","size":"76x76","scale":"2x","filename":"Icon-App-76x76@2x.png"},{"idiom":"ipad","size":"76x76","scale":"3x","filename":"Icon-App-76x76@3x.png"},{"idiom":"ipad","size":"83.5x83.5","scale":"2x","filename":"Icon-App-83.5x83.5@2x.png"}],"info":{"version":1,"author":"fanstudio"}} -------------------------------------------------------------------------------- /ios/PlatziMusic/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 "RCTBundleURLProvider.h" 13 | #import "RCTRootView.h" 14 | #import 15 | 16 | @implementation AppDelegate 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 19 | { 20 | NSURL *jsCodeLocation; 21 | 22 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 23 | 24 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 25 | moduleName:@"PlatziMusic" 26 | initialProperties:nil 27 | launchOptions:launchOptions]; 28 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 29 | 30 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 31 | UIViewController *rootViewController = [UIViewController new]; 32 | rootViewController.view = rootView; 33 | self.window.rootViewController = rootViewController; 34 | [self.window makeKeyAndVisible]; 35 | 36 | [[FBSDKApplicationDelegate sharedInstance] application:application 37 | didFinishLaunchingWithOptions:launchOptions]; 38 | 39 | return YES; 40 | } 41 | 42 | - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url 43 | sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { 44 | 45 | BOOL handled = [[FBSDKApplicationDelegate sharedInstance] application:application 46 | openURL:url 47 | sourceApplication:sourceApplication 48 | annotation:annotation 49 | ]; 50 | // Add any custom logic here. 51 | return handled; 52 | } 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /ios/PlatziMusicTests/PlatziMusicTests.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 "RCTLog.h" 14 | #import "RCTRootView.h" 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface PlatziMusicTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation PlatziMusicTests 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 = [[[[UIApplication sharedApplication] 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 | -------------------------------------------------------------------------------- /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 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/LoginView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | Button, 7 | Image, 8 | ActivityIndicator, 9 | } from 'react-native'; 10 | 11 | import FBSDK, { 12 | LoginButton, 13 | AccessToken 14 | } from 'react-native-fbsdk' 15 | 16 | import { Actions } from 'react-native-router-flux' 17 | 18 | import firebase, { 19 | firebaseAuth 20 | } from './firebase' 21 | 22 | const { FacebookAuthProvider } = firebase.auth 23 | 24 | export default class LoginView extends Component { 25 | state = { 26 | credentials: null 27 | } 28 | 29 | componentWillMount() { 30 | this.authenticateUser() 31 | } 32 | 33 | authenticateUser = () => { 34 | this.setState({ loading: true }) 35 | AccessToken.getCurrentAccessToken().then((data) => { 36 | if (!data) { 37 | this.setState({ loading: false }) 38 | return 39 | } 40 | const { accessToken } = data 41 | const credential = FacebookAuthProvider.credential(accessToken) 42 | firebaseAuth.signInWithCredential(credential).then((credentials) => { 43 | Actions.root() 44 | }, (error) => { 45 | this.setState({ loading: false }) 46 | console.log("Sign In Error", error); 47 | }); 48 | }) 49 | } 50 | 51 | handleLoginFinished = (error, result) => { 52 | if (error) { 53 | console.error(error) 54 | } else if (result.isCancelled) { 55 | alert("login is cancelled."); 56 | } else { 57 | this.authenticateUser() 58 | } 59 | } 60 | 61 | render() { 62 | return ( 63 | 64 | 65 | Bienvenidos a PlatziMusic 66 | 67 | 68 | 73 | alert("logout.")}/> 77 | 78 | ); 79 | } 80 | } 81 | 82 | const styles = StyleSheet.create({ 83 | container: { 84 | flex: 1, 85 | width: null, 86 | height: null, 87 | backgroundColor: 'lightgray', 88 | justifyContent: 'center', 89 | alignItems: 'center' 90 | }, 91 | logo: { 92 | width: 150, 93 | height: 150, 94 | marginBottom: 15, 95 | }, 96 | spinner: { 97 | marginVertical: 10, 98 | }, 99 | welcome: { 100 | fontSize: 24, 101 | fontWeight: '600', 102 | marginBottom: 20, 103 | backgroundColor: 'transparent', 104 | color: 'white', 105 | } 106 | }); 107 | -------------------------------------------------------------------------------- /ios/PlatziMusic/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleURLTypes 6 | 7 | 8 | CFBundleURLSchemes 9 | 10 | fb381058705569169 11 | 12 | 13 | 14 | FacebookAppID 15 | 381058705569169 16 | FacebookDisplayName 17 | PlatziMusic 18 | 19 | LSApplicationQueriesSchemes 20 | 21 | fbapi 22 | fb-messenger-api 23 | fbauth2 24 | fbshareextension 25 | 26 | 27 | CFBundleDevelopmentRegion 28 | en 29 | CFBundleExecutable 30 | $(EXECUTABLE_NAME) 31 | CFBundleIdentifier 32 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 33 | CFBundleInfoDictionaryVersion 34 | 6.0 35 | CFBundleName 36 | $(PRODUCT_NAME) 37 | CFBundlePackageType 38 | APPL 39 | CFBundleShortVersionString 40 | 1.0 41 | CFBundleSignature 42 | ???? 43 | CFBundleVersion 44 | 1 45 | LSRequiresIPhoneOS 46 | 47 | UILaunchStoryboardName 48 | LaunchScreen 49 | UIRequiredDeviceCapabilities 50 | 51 | armv7 52 | 53 | UISupportedInterfaceOrientations 54 | 55 | UIInterfaceOrientationPortrait 56 | UIInterfaceOrientationLandscapeLeft 57 | UIInterfaceOrientationLandscapeRight 58 | 59 | UIViewControllerBasedStatusBarAppearance 60 | 61 | NSLocationWhenInUseUsageDescription 62 | 63 | NSAppTransportSecurity 64 | 65 | NSExceptionDomains 66 | 67 | localhost 68 | 69 | NSExceptionAllowsInsecureHTTPLoads 70 | 71 | 72 | 73 | 74 | UIAppFonts 75 | 76 | Entypo.ttf 77 | EvilIcons.ttf 78 | FontAwesome.ttf 79 | Foundation.ttf 80 | Ionicons.ttf 81 | MaterialIcons.ttf 82 | Octicons.ttf 83 | SimpleLineIcons.ttf 84 | Zocial.ttf 85 | 86 | 87 | -------------------------------------------------------------------------------- /src/ArtistDetailView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | TextInput, 7 | TouchableOpacity, 8 | } from 'react-native'; 9 | 10 | import { Actions } from 'react-native-router-flux' 11 | import Icon from 'react-native-vector-icons/Ionicons' 12 | import ArtistBox from './ArtistBox' 13 | import CommentList from './CommentList' 14 | import { getArtists } from './api-client' 15 | 16 | import { firebaseDatabase, firebaseAuth } from './firebase' 17 | 18 | export default class ArtistDetailView extends Component { 19 | state = { 20 | comments: [] 21 | } 22 | 23 | handleBackButtonPress() { 24 | Actions.pop() 25 | } 26 | 27 | componentDidMount() { 28 | this.getArtistCommentsRef().on('child_added', this.addComment); 29 | } 30 | 31 | componentWillUnmount() { 32 | this.getArtistCommentsRef().off('child_added', this.addComment); 33 | } 34 | 35 | addComment = (data) => { 36 | const comment = data.val() 37 | this.setState({ 38 | comments: this.state.comments.concat(comment) 39 | }) 40 | } 41 | 42 | handleSend = () => { 43 | const { text } = this.state 44 | const { uid, photoURL } = firebaseAuth.currentUser 45 | const artistCommentsRef = this.getArtistCommentsRef() 46 | var newCommentRef = artistCommentsRef.push(); 47 | newCommentRef.set({ 48 | text, 49 | userPhoto: photoURL, 50 | uid, 51 | }); 52 | this.setState({ text: '' }) 53 | } 54 | 55 | getArtistCommentsRef = () => { 56 | const { id } = this.props.artist 57 | return firebaseDatabase.ref(`comments/${id}`) 58 | } 59 | 60 | handleChangeText = (text) => this.setState({text}) 61 | 62 | render() { 63 | const { artist } = this.props 64 | const { comments } = this.state 65 | 66 | return ( 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Comentarios 75 | 76 | 77 | 78 | 79 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | ); 92 | } 93 | } 94 | 95 | const styles = StyleSheet.create({ 96 | container: { 97 | flex: 1, 98 | backgroundColor: 'lightgray', 99 | }, 100 | header: { 101 | height: 70, 102 | backgroundColor: 'white', 103 | flexDirection: 'row', 104 | justifyContent: 'space-between', 105 | alignItems: 'center', 106 | paddingTop: 15, 107 | paddingHorizontal: 5, 108 | marginBottom: 10, 109 | }, 110 | inputContainer: { 111 | height: 50, 112 | backgroundColor: 'white', 113 | flexDirection: 'row', 114 | paddingHorizontal: 10, 115 | alignItems: 'center', 116 | }, 117 | title: { 118 | fontSize: 20, 119 | textAlign: 'center', 120 | }, 121 | backButton: { 122 | padding: 5, 123 | paddingTop: 10, 124 | width: 40, 125 | marginRight: 5, 126 | }, 127 | input: { 128 | height: 50, 129 | flex: 1, 130 | } 131 | }); 132 | -------------------------------------------------------------------------------- /ios/PlatziMusic/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/ArtistBox.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | StyleSheet, 4 | Text, 5 | View, 6 | Image, 7 | TouchableOpacity, 8 | } from 'react-native'; 9 | 10 | import Icon from 'react-native-vector-icons/Ionicons' 11 | import { firebaseAuth, firebaseDatabase } from './firebase' 12 | 13 | export default class ArtistBox extends Component { 14 | 15 | state = { 16 | liked: null, 17 | likeCount: null, 18 | } 19 | 20 | componentWillMount() { 21 | this.getArtistRef().on('value', this.handleArtistOnValue) 22 | } 23 | 24 | componentWillUnmount() { 25 | this.getArtistRef().off('value', this.handleArtistOnValue) 26 | } 27 | 28 | handleArtistOnValue = snapshot => { 29 | const userId = firebaseAuth.currentUser.uid 30 | 31 | const artist = snapshot.val() 32 | 33 | if (!artist) { 34 | return this.getArtistRef().set({ likeCount: 0 }) 35 | } 36 | 37 | const likeCount = artist.likeCount 38 | const liked = artist.likes && artist.likes[userId] 39 | 40 | this.setState({ liked, likeCount }) 41 | } 42 | 43 | handleToggleLikeButtonPress = () => { 44 | const { likeCount, liked } = this.state 45 | 46 | if (this.busy || likeCount === null || liked === null) { 47 | return 48 | } 49 | 50 | this.busy = true 51 | 52 | const userId = firebaseAuth.currentUser.uid 53 | 54 | this.getArtistRef().transaction(artist => { 55 | if (artist) { 56 | if (artist.likes && artist.likes[userId]) { 57 | artist.likeCount-- 58 | artist.likes[userId] = null 59 | } else { 60 | artist.likeCount++ 61 | if (!artist.likes) { 62 | artist.likes = {} 63 | } 64 | artist.likes[userId] = true 65 | } 66 | } 67 | 68 | return artist 69 | }) 70 | .then(() => this.busy = false) 71 | } 72 | 73 | getArtistRef() { 74 | const artistId = this.props.artist.id 75 | 76 | return firebaseDatabase.ref(`artists/${artistId}`) 77 | } 78 | 79 | render() { 80 | const { image, name, comments } = this.props.artist 81 | const { likeCount, liked } = this.state 82 | const likeIcon = liked ? 83 | : 84 | 85 | 86 | return ( 87 | 88 | 89 | 90 | 91 | {name} 92 | 93 | 94 | 95 | 96 | {likeIcon} 97 | 98 | 99 | {likeCount} 100 | 101 | 102 | 103 | 104 | {comments} 105 | 106 | 107 | 108 | 109 | ); 110 | } 111 | } 112 | 113 | const styles = StyleSheet.create({ 114 | artistBox: { 115 | backgroundColor: '#F5FCFF', 116 | flexDirection: 'row', 117 | shadowColor: 'black', 118 | shadowOffset: { 119 | height: 1, 120 | width: -2, 121 | }, 122 | shadowRadius: 1, 123 | shadowOpacity: .5, 124 | marginHorizontal: 8, 125 | marginBottom: 8, 126 | elevation: 2, 127 | }, 128 | image: { 129 | width: 150, 130 | height: 150, 131 | }, 132 | info: { 133 | flex: 1, 134 | alignItems: 'center', 135 | justifyContent: 'center', 136 | }, 137 | name: { 138 | fontSize: 20, 139 | fontWeight: '600', 140 | textAlign: 'center', 141 | marginBottom: 15, 142 | color: '#333' 143 | }, 144 | centeredRow: { 145 | flexDirection: 'row', 146 | marginHorizontal: 40, 147 | }, 148 | iconContainer: { 149 | flex: 1, 150 | alignItems: 'center', 151 | }, 152 | iconText: { 153 | color: 'gray', 154 | } 155 | }); 156 | -------------------------------------------------------------------------------- /ios/PlatziMusic.xcodeproj/xcshareddata/xcschemes/PlatziMusic.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /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/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.platzimusic" 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-fbsdk') 130 | compile project(':react-native-vector-icons') 131 | compile fileTree(dir: "libs", include: ["*.jar"]) 132 | compile "com.android.support:appcompat-v7:23.0.1" 133 | compile "com.facebook.react:react-native:+" // From node_modules 134 | } 135 | 136 | // Run this once to be able to run the application with BUCK 137 | // puts all compile dependencies into folder libs for BUCK to use 138 | task copyDownloadableDepsToLibs(type: Copy) { 139 | from configurations.compile 140 | into 'libs' 141 | } 142 | -------------------------------------------------------------------------------- /ios/PlatziMusic.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* PlatziMusicTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* PlatziMusicTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 14E0D5B0FDB847D88712C192 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 16540386304246FBBC88ACD1 /* Zocial.ttf */; }; 26 | 3E6BF3B49B444F87BD8FD7B3 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 986C34915204453C8513EC6A /* SimpleLineIcons.ttf */; }; 27 | 47B6E664D418483B8C0E8AF6 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 42D6107CEAAF44D4807AE8A8 /* Octicons.ttf */; }; 28 | 4BC74724A7FC4230A07F2594 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 15036CF3B1DB49EF8713491E /* EvilIcons.ttf */; }; 29 | 81ABFA1A6E6642D3A76C37DC /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4337BAEB2C7C467681647291 /* Entypo.ttf */; }; 30 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 31 | 9EDB189D5CB94D3983E9A97D /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5993623FE379411C85BDEBA1 /* Ionicons.ttf */; }; 32 | 9FFCC536843B4B0583B4F0C3 /* libRCTFBSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B4EF91DD977741E79D8DC05E /* libRCTFBSDK.a */; }; 33 | AEFB531C2A8045BE8009D3F0 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 66B92C206753427095225821 /* FontAwesome.ttf */; }; 34 | B23D8CAE3D9E4ED986FD952C /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 86F5089ECC084544BF767949 /* Foundation.ttf */; }; 35 | BEC5B507173345E8A0A4D0D6 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C3051BAE85D4D789E9D0574 /* libRNVectorIcons.a */; }; 36 | E69C609FDF4C44B095F898E2 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D24F573A5CB34F1B884A8FDD /* MaterialIcons.ttf */; }; 37 | F0F223DD1DE36FE100C3F75F /* Bolts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0F223DA1DE36FE100C3F75F /* Bolts.framework */; }; 38 | F0F223DE1DE36FE100C3F75F /* FBSDKCoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0F223DB1DE36FE100C3F75F /* FBSDKCoreKit.framework */; }; 39 | F0F223DF1DE36FE100C3F75F /* FBSDKLoginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0F223DC1DE36FE100C3F75F /* FBSDKLoginKit.framework */; }; 40 | F0F223E11DE371B100C3F75F /* FBSDKShareKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F0F223E01DE371B100C3F75F /* FBSDKShareKit.framework */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = PlatziMusic; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 110 | proxyType = 2; 111 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 112 | remoteInfo = RCTLinking; 113 | }; 114 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 119 | remoteInfo = RCTText; 120 | }; 121 | F0F223B61DE36F5900C3F75F /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = A0F8034C43A24499B4585F65 /* RCTFBSDK.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 9350E0F11CE3B0920041D815; 126 | remoteInfo = RCTFBSDK; 127 | }; 128 | F0F223BB1DE36F5900C3F75F /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 133 | remoteInfo = "RCTImage-tvOS"; 134 | }; 135 | F0F223BF1DE36F5900C3F75F /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 140 | remoteInfo = "RCTLinking-tvOS"; 141 | }; 142 | F0F223C31DE36F5900C3F75F /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 147 | remoteInfo = "RCTNetwork-tvOS"; 148 | }; 149 | F0F223C71DE36F5900C3F75F /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 154 | remoteInfo = "RCTSettings-tvOS"; 155 | }; 156 | F0F223CB1DE36F5900C3F75F /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 161 | remoteInfo = "RCTText-tvOS"; 162 | }; 163 | F0F223D01DE36F5900C3F75F /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 168 | remoteInfo = "RCTWebSocket-tvOS"; 169 | }; 170 | F0F223D41DE36F5900C3F75F /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 175 | remoteInfo = "React-tvOS"; 176 | }; 177 | F0F223D71DE36F5900C3F75F /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 214B5336F6AE4229B9BF6DE7 /* RNVectorIcons.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 182 | remoteInfo = RNVectorIcons; 183 | }; 184 | /* End PBXContainerItemProxy section */ 185 | 186 | /* Begin PBXFileReference section */ 187 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 188 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 189 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 190 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 191 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 192 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 193 | 00E356EE1AD99517003FC87E /* PlatziMusicTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PlatziMusicTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 194 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 195 | 00E356F21AD99517003FC87E /* PlatziMusicTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PlatziMusicTests.m; sourceTree = ""; }; 196 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 197 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 198 | 13B07F961A680F5B00A75B9A /* PlatziMusic.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PlatziMusic.app; sourceTree = BUILT_PRODUCTS_DIR; }; 199 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = PlatziMusic/AppDelegate.h; sourceTree = ""; }; 200 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = PlatziMusic/AppDelegate.m; sourceTree = ""; }; 201 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 202 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = PlatziMusic/Images.xcassets; sourceTree = ""; }; 203 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = PlatziMusic/Info.plist; sourceTree = ""; }; 204 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = PlatziMusic/main.m; sourceTree = ""; }; 205 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 206 | 15036CF3B1DB49EF8713491E /* 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 = ""; }; 207 | 16540386304246FBBC88ACD1 /* 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 = ""; }; 208 | 214B5336F6AE4229B9BF6DE7 /* 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 = ""; }; 209 | 2C3051BAE85D4D789E9D0574 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 210 | 42D6107CEAAF44D4807AE8A8 /* 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 = ""; }; 211 | 4337BAEB2C7C467681647291 /* 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 = ""; }; 212 | 5993623FE379411C85BDEBA1 /* 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 = ""; }; 213 | 66B92C206753427095225821 /* 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 = ""; }; 214 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 215 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 216 | 86F5089ECC084544BF767949 /* 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 = ""; }; 217 | 986C34915204453C8513EC6A /* 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 = ""; }; 218 | A0F8034C43A24499B4585F65 /* RCTFBSDK.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTFBSDK.xcodeproj; path = "../node_modules/react-native-fbsdk/ios/RCTFBSDK.xcodeproj"; sourceTree = ""; }; 219 | B4EF91DD977741E79D8DC05E /* libRCTFBSDK.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTFBSDK.a; sourceTree = ""; }; 220 | D24F573A5CB34F1B884A8FDD /* 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 = ""; }; 221 | D2B303771DF6FC6900702E79 /* PlatziMusic.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = PlatziMusic.entitlements; path = PlatziMusic/PlatziMusic.entitlements; sourceTree = ""; }; 222 | F0F223DA1DE36FE100C3F75F /* Bolts.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Bolts.framework; path = ../../../../Documents/FacebookSDK/Bolts.framework; sourceTree = ""; }; 223 | F0F223DB1DE36FE100C3F75F /* FBSDKCoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKCoreKit.framework; path = ../../../../Documents/FacebookSDK/FBSDKCoreKit.framework; sourceTree = ""; }; 224 | F0F223DC1DE36FE100C3F75F /* FBSDKLoginKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKLoginKit.framework; path = ../../../../Documents/FacebookSDK/FBSDKLoginKit.framework; sourceTree = ""; }; 225 | F0F223E01DE371B100C3F75F /* FBSDKShareKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FBSDKShareKit.framework; path = ../../../../Documents/FacebookSDK/FBSDKShareKit.framework; sourceTree = ""; }; 226 | /* End PBXFileReference section */ 227 | 228 | /* Begin PBXFrameworksBuildPhase section */ 229 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 230 | isa = PBXFrameworksBuildPhase; 231 | buildActionMask = 2147483647; 232 | files = ( 233 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 234 | ); 235 | runOnlyForDeploymentPostprocessing = 0; 236 | }; 237 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 238 | isa = PBXFrameworksBuildPhase; 239 | buildActionMask = 2147483647; 240 | files = ( 241 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 242 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 243 | F0F223DF1DE36FE100C3F75F /* FBSDKLoginKit.framework in Frameworks */, 244 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 245 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 246 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 247 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 248 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 249 | F0F223E11DE371B100C3F75F /* FBSDKShareKit.framework in Frameworks */, 250 | F0F223DD1DE36FE100C3F75F /* Bolts.framework in Frameworks */, 251 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 252 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 253 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 254 | F0F223DE1DE36FE100C3F75F /* FBSDKCoreKit.framework in Frameworks */, 255 | BEC5B507173345E8A0A4D0D6 /* libRNVectorIcons.a in Frameworks */, 256 | 9FFCC536843B4B0583B4F0C3 /* libRCTFBSDK.a in Frameworks */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXFrameworksBuildPhase section */ 261 | 262 | /* Begin PBXGroup section */ 263 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 264 | isa = PBXGroup; 265 | children = ( 266 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 267 | ); 268 | name = Products; 269 | sourceTree = ""; 270 | }; 271 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 272 | isa = PBXGroup; 273 | children = ( 274 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 275 | ); 276 | name = Products; 277 | sourceTree = ""; 278 | }; 279 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 280 | isa = PBXGroup; 281 | children = ( 282 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 283 | F0F223BC1DE36F5900C3F75F /* libRCTImage-tvOS.a */, 284 | ); 285 | name = Products; 286 | sourceTree = ""; 287 | }; 288 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 289 | isa = PBXGroup; 290 | children = ( 291 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 292 | F0F223C41DE36F5900C3F75F /* libRCTNetwork-tvOS.a */, 293 | ); 294 | name = Products; 295 | sourceTree = ""; 296 | }; 297 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 298 | isa = PBXGroup; 299 | children = ( 300 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 301 | ); 302 | name = Products; 303 | sourceTree = ""; 304 | }; 305 | 00E356EF1AD99517003FC87E /* PlatziMusicTests */ = { 306 | isa = PBXGroup; 307 | children = ( 308 | 00E356F21AD99517003FC87E /* PlatziMusicTests.m */, 309 | 00E356F01AD99517003FC87E /* Supporting Files */, 310 | ); 311 | path = PlatziMusicTests; 312 | sourceTree = ""; 313 | }; 314 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 315 | isa = PBXGroup; 316 | children = ( 317 | 00E356F11AD99517003FC87E /* Info.plist */, 318 | ); 319 | name = "Supporting Files"; 320 | sourceTree = ""; 321 | }; 322 | 139105B71AF99BAD00B5F7CC /* Products */ = { 323 | isa = PBXGroup; 324 | children = ( 325 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 326 | F0F223C81DE36F5900C3F75F /* libRCTSettings-tvOS.a */, 327 | ); 328 | name = Products; 329 | sourceTree = ""; 330 | }; 331 | 139FDEE71B06529A00C62182 /* Products */ = { 332 | isa = PBXGroup; 333 | children = ( 334 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 335 | F0F223D11DE36F5900C3F75F /* libRCTWebSocket-tvOS.a */, 336 | ); 337 | name = Products; 338 | sourceTree = ""; 339 | }; 340 | 13B07FAE1A68108700A75B9A /* PlatziMusic */ = { 341 | isa = PBXGroup; 342 | children = ( 343 | D2B303771DF6FC6900702E79 /* PlatziMusic.entitlements */, 344 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 345 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 346 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 347 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 348 | 13B07FB61A68108700A75B9A /* Info.plist */, 349 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 350 | 13B07FB71A68108700A75B9A /* main.m */, 351 | ); 352 | name = PlatziMusic; 353 | sourceTree = ""; 354 | }; 355 | 146834001AC3E56700842450 /* Products */ = { 356 | isa = PBXGroup; 357 | children = ( 358 | 146834041AC3E56700842450 /* libReact.a */, 359 | F0F223D51DE36F5900C3F75F /* libReact-tvOS.a */, 360 | ); 361 | name = Products; 362 | sourceTree = ""; 363 | }; 364 | 664ECF432A7C4DFB8DEBAB04 /* Resources */ = { 365 | isa = PBXGroup; 366 | children = ( 367 | 4337BAEB2C7C467681647291 /* Entypo.ttf */, 368 | 15036CF3B1DB49EF8713491E /* EvilIcons.ttf */, 369 | 66B92C206753427095225821 /* FontAwesome.ttf */, 370 | 86F5089ECC084544BF767949 /* Foundation.ttf */, 371 | 5993623FE379411C85BDEBA1 /* Ionicons.ttf */, 372 | D24F573A5CB34F1B884A8FDD /* MaterialIcons.ttf */, 373 | 42D6107CEAAF44D4807AE8A8 /* Octicons.ttf */, 374 | 986C34915204453C8513EC6A /* SimpleLineIcons.ttf */, 375 | 16540386304246FBBC88ACD1 /* Zocial.ttf */, 376 | ); 377 | name = Resources; 378 | sourceTree = ""; 379 | }; 380 | 78C398B11ACF4ADC00677621 /* Products */ = { 381 | isa = PBXGroup; 382 | children = ( 383 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 384 | F0F223C01DE36F5900C3F75F /* libRCTLinking-tvOS.a */, 385 | ); 386 | name = Products; 387 | sourceTree = ""; 388 | }; 389 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 390 | isa = PBXGroup; 391 | children = ( 392 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 393 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 394 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 395 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 396 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 397 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 398 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 399 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 400 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 401 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 402 | 214B5336F6AE4229B9BF6DE7 /* RNVectorIcons.xcodeproj */, 403 | A0F8034C43A24499B4585F65 /* RCTFBSDK.xcodeproj */, 404 | ); 405 | name = Libraries; 406 | sourceTree = ""; 407 | }; 408 | 832341B11AAA6A8300B99B32 /* Products */ = { 409 | isa = PBXGroup; 410 | children = ( 411 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 412 | F0F223CC1DE36F5900C3F75F /* libRCTText-tvOS.a */, 413 | ); 414 | name = Products; 415 | sourceTree = ""; 416 | }; 417 | 83CBB9F61A601CBA00E9B192 = { 418 | isa = PBXGroup; 419 | children = ( 420 | F0F223D91DE36FA900C3F75F /* Frameworks */, 421 | 13B07FAE1A68108700A75B9A /* PlatziMusic */, 422 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 423 | 00E356EF1AD99517003FC87E /* PlatziMusicTests */, 424 | 83CBBA001A601CBA00E9B192 /* Products */, 425 | 664ECF432A7C4DFB8DEBAB04 /* Resources */, 426 | ); 427 | indentWidth = 2; 428 | sourceTree = ""; 429 | tabWidth = 2; 430 | }; 431 | 83CBBA001A601CBA00E9B192 /* Products */ = { 432 | isa = PBXGroup; 433 | children = ( 434 | 13B07F961A680F5B00A75B9A /* PlatziMusic.app */, 435 | 00E356EE1AD99517003FC87E /* PlatziMusicTests.xctest */, 436 | ); 437 | name = Products; 438 | sourceTree = ""; 439 | }; 440 | F0F223B01DE36F5900C3F75F /* Products */ = { 441 | isa = PBXGroup; 442 | children = ( 443 | F0F223D81DE36F5900C3F75F /* libRNVectorIcons.a */, 444 | ); 445 | name = Products; 446 | sourceTree = ""; 447 | }; 448 | F0F223B21DE36F5900C3F75F /* Products */ = { 449 | isa = PBXGroup; 450 | children = ( 451 | F0F223B71DE36F5900C3F75F /* libRCTFBSDK.a */, 452 | ); 453 | name = Products; 454 | sourceTree = ""; 455 | }; 456 | F0F223D91DE36FA900C3F75F /* Frameworks */ = { 457 | isa = PBXGroup; 458 | children = ( 459 | F0F223E01DE371B100C3F75F /* FBSDKShareKit.framework */, 460 | F0F223DA1DE36FE100C3F75F /* Bolts.framework */, 461 | F0F223DB1DE36FE100C3F75F /* FBSDKCoreKit.framework */, 462 | F0F223DC1DE36FE100C3F75F /* FBSDKLoginKit.framework */, 463 | ); 464 | name = Frameworks; 465 | sourceTree = ""; 466 | }; 467 | /* End PBXGroup section */ 468 | 469 | /* Begin PBXNativeTarget section */ 470 | 00E356ED1AD99517003FC87E /* PlatziMusicTests */ = { 471 | isa = PBXNativeTarget; 472 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "PlatziMusicTests" */; 473 | buildPhases = ( 474 | 00E356EA1AD99517003FC87E /* Sources */, 475 | 00E356EB1AD99517003FC87E /* Frameworks */, 476 | 00E356EC1AD99517003FC87E /* Resources */, 477 | ); 478 | buildRules = ( 479 | ); 480 | dependencies = ( 481 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 482 | ); 483 | name = PlatziMusicTests; 484 | productName = PlatziMusicTests; 485 | productReference = 00E356EE1AD99517003FC87E /* PlatziMusicTests.xctest */; 486 | productType = "com.apple.product-type.bundle.unit-test"; 487 | }; 488 | 13B07F861A680F5B00A75B9A /* PlatziMusic */ = { 489 | isa = PBXNativeTarget; 490 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "PlatziMusic" */; 491 | buildPhases = ( 492 | 13B07F871A680F5B00A75B9A /* Sources */, 493 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 494 | 13B07F8E1A680F5B00A75B9A /* Resources */, 495 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 496 | ); 497 | buildRules = ( 498 | ); 499 | dependencies = ( 500 | ); 501 | name = PlatziMusic; 502 | productName = "Hello World"; 503 | productReference = 13B07F961A680F5B00A75B9A /* PlatziMusic.app */; 504 | productType = "com.apple.product-type.application"; 505 | }; 506 | /* End PBXNativeTarget section */ 507 | 508 | /* Begin PBXProject section */ 509 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 510 | isa = PBXProject; 511 | attributes = { 512 | LastUpgradeCheck = 610; 513 | ORGANIZATIONNAME = Facebook; 514 | TargetAttributes = { 515 | 00E356ED1AD99517003FC87E = { 516 | CreatedOnToolsVersion = 6.2; 517 | TestTargetID = 13B07F861A680F5B00A75B9A; 518 | }; 519 | 13B07F861A680F5B00A75B9A = { 520 | DevelopmentTeam = RKKXK72KE5; 521 | SystemCapabilities = { 522 | com.apple.Keychain = { 523 | enabled = 1; 524 | }; 525 | }; 526 | }; 527 | }; 528 | }; 529 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "PlatziMusic" */; 530 | compatibilityVersion = "Xcode 3.2"; 531 | developmentRegion = English; 532 | hasScannedForEncodings = 0; 533 | knownRegions = ( 534 | en, 535 | Base, 536 | ); 537 | mainGroup = 83CBB9F61A601CBA00E9B192; 538 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 539 | projectDirPath = ""; 540 | projectReferences = ( 541 | { 542 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 543 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 544 | }, 545 | { 546 | ProductGroup = F0F223B21DE36F5900C3F75F /* Products */; 547 | ProjectRef = A0F8034C43A24499B4585F65 /* RCTFBSDK.xcodeproj */; 548 | }, 549 | { 550 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 551 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 552 | }, 553 | { 554 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 555 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 556 | }, 557 | { 558 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 559 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 560 | }, 561 | { 562 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 563 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 564 | }, 565 | { 566 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 567 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 568 | }, 569 | { 570 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 571 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 572 | }, 573 | { 574 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 575 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 576 | }, 577 | { 578 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 579 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 580 | }, 581 | { 582 | ProductGroup = 146834001AC3E56700842450 /* Products */; 583 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 584 | }, 585 | { 586 | ProductGroup = F0F223B01DE36F5900C3F75F /* Products */; 587 | ProjectRef = 214B5336F6AE4229B9BF6DE7 /* RNVectorIcons.xcodeproj */; 588 | }, 589 | ); 590 | projectRoot = ""; 591 | targets = ( 592 | 13B07F861A680F5B00A75B9A /* PlatziMusic */, 593 | 00E356ED1AD99517003FC87E /* PlatziMusicTests */, 594 | ); 595 | }; 596 | /* End PBXProject section */ 597 | 598 | /* Begin PBXReferenceProxy section */ 599 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 600 | isa = PBXReferenceProxy; 601 | fileType = archive.ar; 602 | path = libRCTActionSheet.a; 603 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 604 | sourceTree = BUILT_PRODUCTS_DIR; 605 | }; 606 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 607 | isa = PBXReferenceProxy; 608 | fileType = archive.ar; 609 | path = libRCTGeolocation.a; 610 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 611 | sourceTree = BUILT_PRODUCTS_DIR; 612 | }; 613 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 614 | isa = PBXReferenceProxy; 615 | fileType = archive.ar; 616 | path = libRCTImage.a; 617 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 618 | sourceTree = BUILT_PRODUCTS_DIR; 619 | }; 620 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 621 | isa = PBXReferenceProxy; 622 | fileType = archive.ar; 623 | path = libRCTNetwork.a; 624 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 625 | sourceTree = BUILT_PRODUCTS_DIR; 626 | }; 627 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 628 | isa = PBXReferenceProxy; 629 | fileType = archive.ar; 630 | path = libRCTVibration.a; 631 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 632 | sourceTree = BUILT_PRODUCTS_DIR; 633 | }; 634 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 635 | isa = PBXReferenceProxy; 636 | fileType = archive.ar; 637 | path = libRCTSettings.a; 638 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 639 | sourceTree = BUILT_PRODUCTS_DIR; 640 | }; 641 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 642 | isa = PBXReferenceProxy; 643 | fileType = archive.ar; 644 | path = libRCTWebSocket.a; 645 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 646 | sourceTree = BUILT_PRODUCTS_DIR; 647 | }; 648 | 146834041AC3E56700842450 /* libReact.a */ = { 649 | isa = PBXReferenceProxy; 650 | fileType = archive.ar; 651 | path = libReact.a; 652 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 653 | sourceTree = BUILT_PRODUCTS_DIR; 654 | }; 655 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 656 | isa = PBXReferenceProxy; 657 | fileType = archive.ar; 658 | path = libRCTLinking.a; 659 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 660 | sourceTree = BUILT_PRODUCTS_DIR; 661 | }; 662 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 663 | isa = PBXReferenceProxy; 664 | fileType = archive.ar; 665 | path = libRCTText.a; 666 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 667 | sourceTree = BUILT_PRODUCTS_DIR; 668 | }; 669 | F0F223B71DE36F5900C3F75F /* libRCTFBSDK.a */ = { 670 | isa = PBXReferenceProxy; 671 | fileType = archive.ar; 672 | path = libRCTFBSDK.a; 673 | remoteRef = F0F223B61DE36F5900C3F75F /* PBXContainerItemProxy */; 674 | sourceTree = BUILT_PRODUCTS_DIR; 675 | }; 676 | F0F223BC1DE36F5900C3F75F /* libRCTImage-tvOS.a */ = { 677 | isa = PBXReferenceProxy; 678 | fileType = archive.ar; 679 | path = "libRCTImage-tvOS.a"; 680 | remoteRef = F0F223BB1DE36F5900C3F75F /* PBXContainerItemProxy */; 681 | sourceTree = BUILT_PRODUCTS_DIR; 682 | }; 683 | F0F223C01DE36F5900C3F75F /* libRCTLinking-tvOS.a */ = { 684 | isa = PBXReferenceProxy; 685 | fileType = archive.ar; 686 | path = "libRCTLinking-tvOS.a"; 687 | remoteRef = F0F223BF1DE36F5900C3F75F /* PBXContainerItemProxy */; 688 | sourceTree = BUILT_PRODUCTS_DIR; 689 | }; 690 | F0F223C41DE36F5900C3F75F /* libRCTNetwork-tvOS.a */ = { 691 | isa = PBXReferenceProxy; 692 | fileType = archive.ar; 693 | path = "libRCTNetwork-tvOS.a"; 694 | remoteRef = F0F223C31DE36F5900C3F75F /* PBXContainerItemProxy */; 695 | sourceTree = BUILT_PRODUCTS_DIR; 696 | }; 697 | F0F223C81DE36F5900C3F75F /* libRCTSettings-tvOS.a */ = { 698 | isa = PBXReferenceProxy; 699 | fileType = archive.ar; 700 | path = "libRCTSettings-tvOS.a"; 701 | remoteRef = F0F223C71DE36F5900C3F75F /* PBXContainerItemProxy */; 702 | sourceTree = BUILT_PRODUCTS_DIR; 703 | }; 704 | F0F223CC1DE36F5900C3F75F /* libRCTText-tvOS.a */ = { 705 | isa = PBXReferenceProxy; 706 | fileType = archive.ar; 707 | path = "libRCTText-tvOS.a"; 708 | remoteRef = F0F223CB1DE36F5900C3F75F /* PBXContainerItemProxy */; 709 | sourceTree = BUILT_PRODUCTS_DIR; 710 | }; 711 | F0F223D11DE36F5900C3F75F /* libRCTWebSocket-tvOS.a */ = { 712 | isa = PBXReferenceProxy; 713 | fileType = archive.ar; 714 | path = "libRCTWebSocket-tvOS.a"; 715 | remoteRef = F0F223D01DE36F5900C3F75F /* PBXContainerItemProxy */; 716 | sourceTree = BUILT_PRODUCTS_DIR; 717 | }; 718 | F0F223D51DE36F5900C3F75F /* libReact-tvOS.a */ = { 719 | isa = PBXReferenceProxy; 720 | fileType = archive.ar; 721 | path = "libReact-tvOS.a"; 722 | remoteRef = F0F223D41DE36F5900C3F75F /* PBXContainerItemProxy */; 723 | sourceTree = BUILT_PRODUCTS_DIR; 724 | }; 725 | F0F223D81DE36F5900C3F75F /* libRNVectorIcons.a */ = { 726 | isa = PBXReferenceProxy; 727 | fileType = archive.ar; 728 | path = libRNVectorIcons.a; 729 | remoteRef = F0F223D71DE36F5900C3F75F /* PBXContainerItemProxy */; 730 | sourceTree = BUILT_PRODUCTS_DIR; 731 | }; 732 | /* End PBXReferenceProxy section */ 733 | 734 | /* Begin PBXResourcesBuildPhase section */ 735 | 00E356EC1AD99517003FC87E /* Resources */ = { 736 | isa = PBXResourcesBuildPhase; 737 | buildActionMask = 2147483647; 738 | files = ( 739 | ); 740 | runOnlyForDeploymentPostprocessing = 0; 741 | }; 742 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 743 | isa = PBXResourcesBuildPhase; 744 | buildActionMask = 2147483647; 745 | files = ( 746 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 747 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 748 | 81ABFA1A6E6642D3A76C37DC /* Entypo.ttf in Resources */, 749 | 4BC74724A7FC4230A07F2594 /* EvilIcons.ttf in Resources */, 750 | AEFB531C2A8045BE8009D3F0 /* FontAwesome.ttf in Resources */, 751 | B23D8CAE3D9E4ED986FD952C /* Foundation.ttf in Resources */, 752 | 9EDB189D5CB94D3983E9A97D /* Ionicons.ttf in Resources */, 753 | E69C609FDF4C44B095F898E2 /* MaterialIcons.ttf in Resources */, 754 | 47B6E664D418483B8C0E8AF6 /* Octicons.ttf in Resources */, 755 | 3E6BF3B49B444F87BD8FD7B3 /* SimpleLineIcons.ttf in Resources */, 756 | 14E0D5B0FDB847D88712C192 /* Zocial.ttf in Resources */, 757 | ); 758 | runOnlyForDeploymentPostprocessing = 0; 759 | }; 760 | /* End PBXResourcesBuildPhase section */ 761 | 762 | /* Begin PBXShellScriptBuildPhase section */ 763 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 764 | isa = PBXShellScriptBuildPhase; 765 | buildActionMask = 2147483647; 766 | files = ( 767 | ); 768 | inputPaths = ( 769 | ); 770 | name = "Bundle React Native code and images"; 771 | outputPaths = ( 772 | ); 773 | runOnlyForDeploymentPostprocessing = 0; 774 | shellPath = /bin/sh; 775 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 776 | }; 777 | /* End PBXShellScriptBuildPhase section */ 778 | 779 | /* Begin PBXSourcesBuildPhase section */ 780 | 00E356EA1AD99517003FC87E /* Sources */ = { 781 | isa = PBXSourcesBuildPhase; 782 | buildActionMask = 2147483647; 783 | files = ( 784 | 00E356F31AD99517003FC87E /* PlatziMusicTests.m in Sources */, 785 | ); 786 | runOnlyForDeploymentPostprocessing = 0; 787 | }; 788 | 13B07F871A680F5B00A75B9A /* Sources */ = { 789 | isa = PBXSourcesBuildPhase; 790 | buildActionMask = 2147483647; 791 | files = ( 792 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 793 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 794 | ); 795 | runOnlyForDeploymentPostprocessing = 0; 796 | }; 797 | /* End PBXSourcesBuildPhase section */ 798 | 799 | /* Begin PBXTargetDependency section */ 800 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 801 | isa = PBXTargetDependency; 802 | target = 13B07F861A680F5B00A75B9A /* PlatziMusic */; 803 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 804 | }; 805 | /* End PBXTargetDependency section */ 806 | 807 | /* Begin PBXVariantGroup section */ 808 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 809 | isa = PBXVariantGroup; 810 | children = ( 811 | 13B07FB21A68108700A75B9A /* Base */, 812 | ); 813 | name = LaunchScreen.xib; 814 | path = PlatziMusic; 815 | sourceTree = ""; 816 | }; 817 | /* End PBXVariantGroup section */ 818 | 819 | /* Begin XCBuildConfiguration section */ 820 | 00E356F61AD99517003FC87E /* Debug */ = { 821 | isa = XCBuildConfiguration; 822 | buildSettings = { 823 | BUNDLE_LOADER = "$(TEST_HOST)"; 824 | GCC_PREPROCESSOR_DEFINITIONS = ( 825 | "DEBUG=1", 826 | "$(inherited)", 827 | ); 828 | INFOPLIST_FILE = PlatziMusicTests/Info.plist; 829 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 830 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 831 | LIBRARY_SEARCH_PATHS = ( 832 | "$(inherited)", 833 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 834 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 835 | ); 836 | PRODUCT_NAME = "$(TARGET_NAME)"; 837 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PlatziMusic.app/PlatziMusic"; 838 | }; 839 | name = Debug; 840 | }; 841 | 00E356F71AD99517003FC87E /* Release */ = { 842 | isa = XCBuildConfiguration; 843 | buildSettings = { 844 | BUNDLE_LOADER = "$(TEST_HOST)"; 845 | COPY_PHASE_STRIP = NO; 846 | INFOPLIST_FILE = PlatziMusicTests/Info.plist; 847 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 848 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 849 | LIBRARY_SEARCH_PATHS = ( 850 | "$(inherited)", 851 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 852 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 853 | ); 854 | PRODUCT_NAME = "$(TARGET_NAME)"; 855 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PlatziMusic.app/PlatziMusic"; 856 | }; 857 | name = Release; 858 | }; 859 | 13B07F941A680F5B00A75B9A /* Debug */ = { 860 | isa = XCBuildConfiguration; 861 | buildSettings = { 862 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 863 | CODE_SIGN_ENTITLEMENTS = PlatziMusic/PlatziMusic.entitlements; 864 | CURRENT_PROJECT_VERSION = 1; 865 | DEAD_CODE_STRIPPING = NO; 866 | DEVELOPMENT_TEAM = RKKXK72KE5; 867 | FRAMEWORK_SEARCH_PATHS = "~/Documents/FacebookSDK"; 868 | HEADER_SEARCH_PATHS = ( 869 | "$(inherited)", 870 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 871 | "$(SRCROOT)/../node_modules/react-native/React/**", 872 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 873 | "$(SRCROOT)/../node_modules/react-native-fbsdk/ios/RCTFBSDK/**", 874 | ); 875 | INFOPLIST_FILE = PlatziMusic/Info.plist; 876 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 877 | OTHER_LDFLAGS = ( 878 | "$(inherited)", 879 | "-ObjC", 880 | "-lc++", 881 | ); 882 | PRODUCT_NAME = PlatziMusic; 883 | VERSIONING_SYSTEM = "apple-generic"; 884 | }; 885 | name = Debug; 886 | }; 887 | 13B07F951A680F5B00A75B9A /* Release */ = { 888 | isa = XCBuildConfiguration; 889 | buildSettings = { 890 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 891 | CODE_SIGN_ENTITLEMENTS = PlatziMusic/PlatziMusic.entitlements; 892 | CURRENT_PROJECT_VERSION = 1; 893 | DEVELOPMENT_TEAM = RKKXK72KE5; 894 | FRAMEWORK_SEARCH_PATHS = "~/Documents/FacebookSDK"; 895 | HEADER_SEARCH_PATHS = ( 896 | "$(inherited)", 897 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 898 | "$(SRCROOT)/../node_modules/react-native/React/**", 899 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 900 | "$(SRCROOT)/../node_modules/react-native-fbsdk/ios/RCTFBSDK/**", 901 | ); 902 | INFOPLIST_FILE = PlatziMusic/Info.plist; 903 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 904 | OTHER_LDFLAGS = ( 905 | "$(inherited)", 906 | "-ObjC", 907 | "-lc++", 908 | ); 909 | PRODUCT_NAME = PlatziMusic; 910 | VERSIONING_SYSTEM = "apple-generic"; 911 | }; 912 | name = Release; 913 | }; 914 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 915 | isa = XCBuildConfiguration; 916 | buildSettings = { 917 | ALWAYS_SEARCH_USER_PATHS = NO; 918 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 919 | CLANG_CXX_LIBRARY = "libc++"; 920 | CLANG_ENABLE_MODULES = YES; 921 | CLANG_ENABLE_OBJC_ARC = YES; 922 | CLANG_WARN_BOOL_CONVERSION = YES; 923 | CLANG_WARN_CONSTANT_CONVERSION = YES; 924 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 925 | CLANG_WARN_EMPTY_BODY = YES; 926 | CLANG_WARN_ENUM_CONVERSION = YES; 927 | CLANG_WARN_INT_CONVERSION = YES; 928 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 929 | CLANG_WARN_UNREACHABLE_CODE = YES; 930 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 931 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 932 | COPY_PHASE_STRIP = NO; 933 | ENABLE_STRICT_OBJC_MSGSEND = YES; 934 | GCC_C_LANGUAGE_STANDARD = gnu99; 935 | GCC_DYNAMIC_NO_PIC = NO; 936 | GCC_OPTIMIZATION_LEVEL = 0; 937 | GCC_PREPROCESSOR_DEFINITIONS = ( 938 | "DEBUG=1", 939 | "$(inherited)", 940 | ); 941 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 942 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 943 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 944 | GCC_WARN_UNDECLARED_SELECTOR = YES; 945 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 946 | GCC_WARN_UNUSED_FUNCTION = YES; 947 | GCC_WARN_UNUSED_VARIABLE = YES; 948 | HEADER_SEARCH_PATHS = ( 949 | "$(inherited)", 950 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 951 | "$(SRCROOT)/../node_modules/react-native/React/**", 952 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 953 | "$(SRCROOT)/../node_modules/react-native-fbsdk/ios/RCTFBSDK/**", 954 | ); 955 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 956 | MTL_ENABLE_DEBUG_INFO = YES; 957 | ONLY_ACTIVE_ARCH = YES; 958 | SDKROOT = iphoneos; 959 | }; 960 | name = Debug; 961 | }; 962 | 83CBBA211A601CBA00E9B192 /* Release */ = { 963 | isa = XCBuildConfiguration; 964 | buildSettings = { 965 | ALWAYS_SEARCH_USER_PATHS = NO; 966 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 967 | CLANG_CXX_LIBRARY = "libc++"; 968 | CLANG_ENABLE_MODULES = YES; 969 | CLANG_ENABLE_OBJC_ARC = YES; 970 | CLANG_WARN_BOOL_CONVERSION = YES; 971 | CLANG_WARN_CONSTANT_CONVERSION = YES; 972 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 973 | CLANG_WARN_EMPTY_BODY = YES; 974 | CLANG_WARN_ENUM_CONVERSION = YES; 975 | CLANG_WARN_INT_CONVERSION = YES; 976 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 977 | CLANG_WARN_UNREACHABLE_CODE = YES; 978 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 979 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 980 | COPY_PHASE_STRIP = YES; 981 | ENABLE_NS_ASSERTIONS = NO; 982 | ENABLE_STRICT_OBJC_MSGSEND = YES; 983 | GCC_C_LANGUAGE_STANDARD = gnu99; 984 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 985 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 986 | GCC_WARN_UNDECLARED_SELECTOR = YES; 987 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 988 | GCC_WARN_UNUSED_FUNCTION = YES; 989 | GCC_WARN_UNUSED_VARIABLE = YES; 990 | HEADER_SEARCH_PATHS = ( 991 | "$(inherited)", 992 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 993 | "$(SRCROOT)/../node_modules/react-native/React/**", 994 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 995 | "$(SRCROOT)/../node_modules/react-native-fbsdk/ios/RCTFBSDK/**", 996 | ); 997 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 998 | MTL_ENABLE_DEBUG_INFO = NO; 999 | SDKROOT = iphoneos; 1000 | VALIDATE_PRODUCT = YES; 1001 | }; 1002 | name = Release; 1003 | }; 1004 | /* End XCBuildConfiguration section */ 1005 | 1006 | /* Begin XCConfigurationList section */ 1007 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "PlatziMusicTests" */ = { 1008 | isa = XCConfigurationList; 1009 | buildConfigurations = ( 1010 | 00E356F61AD99517003FC87E /* Debug */, 1011 | 00E356F71AD99517003FC87E /* Release */, 1012 | ); 1013 | defaultConfigurationIsVisible = 0; 1014 | defaultConfigurationName = Release; 1015 | }; 1016 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "PlatziMusic" */ = { 1017 | isa = XCConfigurationList; 1018 | buildConfigurations = ( 1019 | 13B07F941A680F5B00A75B9A /* Debug */, 1020 | 13B07F951A680F5B00A75B9A /* Release */, 1021 | ); 1022 | defaultConfigurationIsVisible = 0; 1023 | defaultConfigurationName = Release; 1024 | }; 1025 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "PlatziMusic" */ = { 1026 | isa = XCConfigurationList; 1027 | buildConfigurations = ( 1028 | 83CBBA201A601CBA00E9B192 /* Debug */, 1029 | 83CBBA211A601CBA00E9B192 /* Release */, 1030 | ); 1031 | defaultConfigurationIsVisible = 0; 1032 | defaultConfigurationName = Release; 1033 | }; 1034 | /* End XCConfigurationList section */ 1035 | }; 1036 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1037 | } 1038 | --------------------------------------------------------------------------------