├── .eslintrc.json ├── .gitignore ├── .npmignore ├── .watchmanconfig ├── LICENSE ├── README.md ├── examples └── ParallaxSwiperExample │ ├── .babelrc │ ├── .buckconfig │ ├── .flowconfig │ ├── .gitattributes │ ├── .gitignore │ ├── .watchmanconfig │ ├── App.js │ ├── __tests__ │ └── App.js │ ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── parallaxswiperexample │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle │ ├── app.json │ ├── index.js │ ├── ios │ ├── ParallaxSwiperExample-tvOS │ │ └── Info.plist │ ├── ParallaxSwiperExample-tvOSTests │ │ └── Info.plist │ ├── ParallaxSwiperExample.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── ParallaxSwiperExample-tvOS.xcscheme │ │ │ └── ParallaxSwiperExample.xcscheme │ ├── ParallaxSwiperExample │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── ParallaxSwiperExampleTests │ │ ├── Info.plist │ │ └── ParallaxSwiperExampleTests.m │ ├── package.json │ └── screens │ ├── Twitter │ ├── assets │ │ ├── ellipses@3x.png │ │ ├── heart-big@3x.png │ │ ├── heart-small@3x.png │ │ ├── retweet@3x.png │ │ ├── share@3x.png │ │ └── x@3x.png │ ├── data.js │ └── index.js │ ├── Vevo │ ├── assets │ │ ├── heart@3x.png │ │ ├── home@3x.png │ │ ├── messages@3x.png │ │ ├── play@3x.png │ │ ├── profile@3x.png │ │ └── search@3x.png │ ├── data.js │ └── index.js │ └── index.js ├── images └── QR-code.png ├── package.json └── src ├── ParallaxSwiper.js ├── ParallaxSwiperPage.js └── index.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "env": { 4 | "browser": true, 5 | "node": true 6 | }, 7 | "extends": "airbnb", 8 | "plugins": [ 9 | "react", 10 | "react-native", 11 | "jsx-a11y", 12 | "import", 13 | "class-property", 14 | "prefer-class-properties" 15 | ], 16 | "rules": { 17 | "no-use-before-define": 0, 18 | "no-underscore-dangle": 0, 19 | "import/no-named-as-default": 0, 20 | "react/jsx-filename-extension": 0, 21 | "react-native/no-unused-styles": 2, 22 | "react-native/split-platform-components": 2, 23 | "react-native/no-inline-styles": 2, 24 | "react-native/no-color-literals": 0, 25 | "class-property/class-property-semicolon": 2, 26 | "prefer-class-properties/prefer-class-properties": 2, 27 | "react/require-default-props": 0, 28 | "max-len": ["error", 80] 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | examples 3 | images 4 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | { 2 | "ignore_dirs": [ 3 | ".git", 4 | "node_modules", 5 | "examples" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Zachary Gibson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native Parallax Swiper 2 | 3 | [![npm](https://img.shields.io/npm/v/react-native-parallax-swiper.svg?style=flat-square)](https://www.npmjs.com/package/react-native-parallax-swiper) 4 | [![npm](https://img.shields.io/npm/dm/react-native-parallax-swiper.svg?style=flat-square)](https://www.npmjs.com/package/react-native-parallax-swiper) 5 | [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) 6 | 7 | Configurable parallax swiper based on an iOS pattern. 8 | 9 | **Features** 10 | 11 | * **Flexible.** Share one `Animated.Value` between ParallaxSwiper and your own UI. 12 | * **Performant.** Runs on the native thread for 60FPS with no latency. 13 | * **Cross-platform.** Works on both iOS and Android. 14 | * **Progress Bar.** Horizontal or vertical progress bar. 15 | 16 | ![Twitter Moments Demo](https://user-images.githubusercontent.com/10658888/30244667-636cfc0e-9588-11e7-9805-3a0c5649ab4b.gif) 17 | ![Vevo Demo](https://user-images.githubusercontent.com/10658888/30244668-66164c3a-9588-11e7-9cfa-c0c5dc29090c.gif) 18 | ![Lightbox Demo](https://user-images.githubusercontent.com/10658888/30244669-68924b4e-9588-11e7-9426-b081953115fc.gif) 19 | 20 | ## Examples 21 | 22 | Clone this repo and: 23 | 24 | ```shell 25 | $ cd examples/ParallaxSwiperExample 26 | $ npm install 27 | $ react-native link 28 | $ react-native run-ios 29 | ``` 30 | 31 | ## Installation 32 | 33 | ```shell 34 | $ npm install react-native-parallax-swiper --save 35 | ``` 36 | 37 | ## Usage 38 | 39 | ```JSX 40 | import React from "react"; 41 | import { 42 | Animated, 43 | Text, 44 | View, 45 | Image, 46 | StyleSheet, 47 | Dimensions 48 | } from "react-native"; 49 | 50 | import { 51 | ParallaxSwiper, 52 | ParallaxSwiperPage 53 | } from "react-native-parallax-swiper"; 54 | 55 | const { width, height } = Dimensions.get("window"); 56 | 57 | export default class App extends React.Component { 58 | myCustomAnimatedValue = new Animated.Value(0); 59 | 60 | getPageTransformStyle = index => ({ 61 | transform: [ 62 | { 63 | scale: this.myCustomAnimatedValue.interpolate({ 64 | inputRange: [ 65 | (index - 1) * (width + 8), // Add 8 for dividerWidth 66 | index * (width + 8), 67 | (index + 1) * (width + 8) 68 | ], 69 | outputRange: [0, 1, 0], 70 | extrapolate: "clamp" 71 | }) 72 | }, 73 | { 74 | rotate: this.myCustomAnimatedValue.interpolate({ 75 | inputRange: [ 76 | (index - 1) * (width + 8), 77 | index * (width + 8), 78 | (index + 1) * (width + 8) 79 | ], 80 | outputRange: ["180deg", "0deg", "-180deg"], 81 | extrapolate: "clamp" 82 | }) 83 | } 84 | ] 85 | }); 86 | 87 | render() { 88 | return ( 89 | console.log(activePageIndex)} 96 | showProgressBar={true} 97 | progressBarBackgroundColor="rgba(0,0,0,0.25)" 98 | progressBarValueBackgroundColor="white" 99 | > 100 | 106 | } 107 | ForegroundComponent={ 108 | 109 | 112 | Page 1 113 | 114 | 115 | } 116 | /> 117 | 123 | } 124 | ForegroundComponent={ 125 | 126 | 129 | Page 2 130 | 131 | 132 | } 133 | /> 134 | 140 | } 141 | ForegroundComponent={ 142 | 143 | 146 | Page 3 147 | 148 | 149 | } 150 | /> 151 | 152 | ); 153 | } 154 | } 155 | 156 | const styles = StyleSheet.create({ 157 | backgroundImage: { 158 | width, 159 | height 160 | }, 161 | foregroundTextContainer: { 162 | flex: 1, 163 | alignItems: "center", 164 | justifyContent: "center", 165 | backgroundColor: "transparent" 166 | }, 167 | foregroundText: { 168 | fontSize: 34, 169 | fontWeight: "700", 170 | letterSpacing: 0.41, 171 | color: "white" 172 | } 173 | }); 174 | ``` 175 | 176 | ## ParallaxSwiper Props 177 | 178 | | Prop | Type | Default | Description | 179 | | ------------------------------------- | -------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | 180 | | **`speed`** | _Number_ | `0.25` | This number determines how fast `BackgroundComponent` moves. Set to 0 for no movement at all, set to 1 and background will move as fast as the scroll. | 181 | | **`dividerWidth`** | _Number_ | `8` | The width of the divider between each page. (horizontal only) | 182 | | **`dividerColor`** | _String_ | `black` | Color of divider. | 183 | | **`backgroundColor`** | _String_ | `black` | ParallaxSwiper’s background color. | 184 | | **`scrollToIndex`** | _Number_ | 0 | Scroll to page with a smooth animation. _Note_: You need to use state if you want to change index any other time than when component is rendered. | 185 | | **`onMomentumScrollEnd`** | _Function_ | `N/A` | Fired when ScrollView stops scrolling and is passed the current page index. | 186 | | **`animatedValue`** | _Number (Animated.Value)_ | `0` | Optionally pass a new instance of Animated.Value to access the animated value outside of ParallaxSwiper. | 187 | | **`vertical`** | _Boolean_ | `false` | When true, ParallaxSwiper’s children are arranged vertically in a column instead of horizontally in a row. For now only iOS supports this. | 188 | | **`showsHorizontalScrollIndicator`** | _Boolean_ | `false` | When true, shows a horizontal scroll indicator. The default value is false. | 189 | | **`showsVerticalScrollIndicator`** | _Boolean_ | `false` | When true, shows a vertical scroll indicator. The default value is false. | 190 | | **`children`** | _React component (ParallaxSwiperPage)_ | `N/A` | Each top-level ParallaxSwiperPage child. | 191 | | **`showProgressBar`** | _Boolean_ | false | When true, a progress bar will render on bottom for horizontal and left on vertical. | 192 | | **`progressBarThickness`** | _Number_ | 4 | Thickness translates to height for horizontal and width for vertical progress bar. | 193 | | **`progressBarBackgroundColor`** | _String_ | `rgba(255,255,255,0.25)` | Background color of progress bar background. | 194 | | **`progressBarValueBackgroundColor`** | _String_ | `white` | Background color of progress bar value background. | 195 | 196 | ## ParallaxSwiperPage Props 197 | 198 | | Prop | Type | Default | Description | 199 | | ------------------------- | --------------- | ------- | ---------------------------------------------------------------------------------------------- | 200 | | **`BackgroundComponent`** | _React element_ | `N/A` | This component will render in the background of the page and will be animated based on scroll. | 201 | | **`ForegroundComponent`** | _React element_ | `N/A` | This component will render in the foreground of the page. | 202 | 203 | ## TODO 204 | 205 | * [x] Create Expo demos 206 | * [x] Create examples 207 | * [x] Expose current index 208 | * [x] Support scrollToIndex 209 | * [x] Fix Android 210 | * [x] Expose Animated.Value for animation outside of ParallaxSwiper 211 | * [ ] Add drag effects e.g. zoom, blur, darken 212 | * [ ] Expose rest of [ScrollView](http://facebook.github.io/react-native/releases/0.47/docs/scrollview.html#scrollview) props 213 | * [ ] Use FlatList instead of ScrollView 214 | 215 | ## Why another parallax component? 😒 216 | 217 | This component is inspired by an iOS pattern that no react-native-parallax-whatever previously delivered. It emulates this pattern by using the [ScrollView](http://facebook.github.io/react-native/releases/0.48/docs/scrollview.html) component which has features like velocity, paging, and platform specific easing curves; It also has optional dividers to split up each page. You can see this pattern in apps like [iOS Camera Roll](https://goo.gl/GY3bFQ), [Twitter Moments](https://goo.gl/CvzCQA), [Kylie Jenner’s app](https://goo.gl/yDB69S), [Vevo’s app](https://goo.gl/FMSSeF), and more. 218 | 219 | ## Contributors 220 | 221 | | [
Chris LeBlanc](https://github.com/spacesuitdiver)
[💻] | 222 | | :-----------------------------------------------------------------------------------------------------------------------------------------------------------: | 223 | 224 | 225 | ## Questions or suggestions? 226 | 227 | Hit me up on [Twitter](https://twitter.com/zacharykeith_), or create an [issue](https://github.com/zachgibson/react-native-parallax-swiper/issues). 228 | 229 | ## Copyright 230 | 231 | Copyright (c) 2017 [Zachary Gibson](http://zachgibsondesign.com/) Licensed under the MIT license. 232 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | 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' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.56.0 49 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | StyleSheet, 4 | Text, 5 | View, 6 | TouchableOpacity, 7 | ScrollView, 8 | StatusBar, 9 | } from 'react-native'; 10 | 11 | import { SafeAreaView, StackNavigator } from 'react-navigation'; 12 | import { Typography } from 'react-native-typography'; 13 | 14 | import Twitter from './screens/Twitter'; 15 | import Vevo from './screens/Vevo'; 16 | 17 | const ExampleRoutes = { 18 | Twitter: { 19 | name: 'Twitter Moments', 20 | description: 'Re-creation of Twitter’s Moments feature.', 21 | screen: Twitter, 22 | }, 23 | Vevo: { 24 | name: 'Vevo', 25 | description: 'Re-creation of the old Vevo app.', 26 | screen: Vevo, 27 | }, 28 | }; 29 | 30 | class MainScreen extends Component { 31 | componentDidMount() { 32 | StatusBar.setHidden(true, 'none'); 33 | } 34 | 35 | render() { 36 | const { navigation } = this.props; 37 | 38 | return ( 39 | 40 | 41 | 46 | ParallaxSwiper Demos 47 | 48 | 49 | {Object.keys(ExampleRoutes).map((routeName, i) => 50 | ( { 53 | const { path, params, screen } = ExampleRoutes[routeName]; 54 | const { router } = screen; 55 | const action = 56 | path && router.getActionForPathAndParams(path, params); 57 | navigation.navigate(routeName, {}, action); 58 | }} 59 | > 60 | 67 | 68 | 73 | {ExampleRoutes[routeName].name} 74 | 75 | 80 | {ExampleRoutes[routeName].description} 81 | 82 | 83 | 84 | ), 85 | )} 86 | 87 | ); 88 | } 89 | } 90 | const AppNavigator = StackNavigator( 91 | { 92 | ...ExampleRoutes, 93 | Index: { 94 | screen: MainScreen, 95 | }, 96 | }, 97 | { 98 | initialRouteName: 'Index', 99 | headerMode: 'none', 100 | mode: 'modal', 101 | }, 102 | ); 103 | 104 | export default () => ; 105 | 106 | const styles = StyleSheet.create({ 107 | scrollView: { 108 | backgroundColor: 'black', 109 | }, 110 | navBar: { 111 | paddingTop: 32, 112 | paddingBottom: 16, 113 | paddingHorizontal: 16, 114 | backgroundColor: 'black', 115 | }, 116 | item: { 117 | paddingHorizontal: 16, 118 | paddingVertical: 12, 119 | }, 120 | itemContainer: { 121 | borderBottomWidth: StyleSheet.hairlineWidth, 122 | borderColor: '#222', 123 | backgroundColor: '#111', 124 | }, 125 | }); 126 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.parallaxswiperexample", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.parallaxswiperexample", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/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 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.parallaxswiperexample" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-blur') 141 | compile project(':react-native-video') 142 | compile project(':react-native-linear-gradient') 143 | compile fileTree(dir: "libs", include: ["*.jar"]) 144 | compile "com.android.support:appcompat-v7:23.0.1" 145 | compile "com.facebook.react:react-native:+" // From node_modules 146 | } 147 | 148 | // Run this once to be able to run the application with BUCK 149 | // puts all compile dependencies into folder libs for BUCK to use 150 | task copyDownloadableDepsToLibs(type: Copy) { 151 | from configurations.compile 152 | into 'libs' 153 | } 154 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/java/com/parallaxswiperexample/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.parallaxswiperexample; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "ParallaxSwiperExample"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/java/com/parallaxswiperexample/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.parallaxswiperexample; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.cmcewen.blurview.BlurViewPackage; 7 | import com.brentvatne.react.ReactVideoPackage; 8 | import com.BV.LinearGradient.LinearGradientPackage; 9 | import com.facebook.react.ReactNativeHost; 10 | import com.facebook.react.ReactPackage; 11 | import com.facebook.react.shell.MainReactPackage; 12 | import com.facebook.soloader.SoLoader; 13 | 14 | import java.util.Arrays; 15 | import java.util.List; 16 | 17 | public class MainApplication extends Application implements ReactApplication { 18 | 19 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 20 | @Override 21 | public boolean getUseDeveloperSupport() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | @Override 26 | protected List getPackages() { 27 | return Arrays.asList( 28 | new MainReactPackage(), 29 | new BlurViewPackage(), 30 | new ReactVideoPackage(), 31 | new LinearGradientPackage() 32 | ); 33 | } 34 | 35 | @Override 36 | protected String getJSMainModuleName() { 37 | return "index"; 38 | } 39 | }; 40 | 41 | @Override 42 | public ReactNativeHost getReactNativeHost() { 43 | return mReactNativeHost; 44 | } 45 | 46 | @Override 47 | public void onCreate() { 48 | super.onCreate(); 49 | SoLoader.init(this, /* native exopackage */ false); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ParallaxSwiperExample 3 | 4 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ParallaxSwiperExample' 2 | include ':react-native-blur' 3 | project(':react-native-blur').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-blur/android') 4 | include ':react-native-video' 5 | project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android') 6 | include ':react-native-linear-gradient' 7 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 8 | 9 | include ':app' 10 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ParallaxSwiperExample", 3 | "displayName": "ParallaxSwiperExample" 4 | } -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('ParallaxSwiperExample', () => App); 5 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample.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 /* ParallaxSwiperExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ParallaxSwiperExampleTests.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 | 14F7AC5BCEAB4D3584BFED6E /* libRCTVideo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A21D911D2BD4634BFC39E92 /* libRCTVideo.a */; }; 26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 36 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 37 | 2DCD954D1E0B4F2C00145EB5 /* ParallaxSwiperExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ParallaxSwiperExampleTests.m */; }; 38 | 350C74F694E1488EB79B47CC /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CD851FDA28BD497A925B8FA3 /* libBVLinearGradient.a */; }; 39 | 43D13AC4A91F45DA861D14FC /* libRNBlur.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D680A47ADFC3454B8819B5D0 /* libRNBlur.a */; }; 40 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 41 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 42 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 43 | /* End PBXBuildFile section */ 44 | 45 | /* Begin PBXContainerItemProxy section */ 46 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 47 | isa = PBXContainerItemProxy; 48 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 49 | proxyType = 2; 50 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 51 | remoteInfo = RCTActionSheet; 52 | }; 53 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 54 | isa = PBXContainerItemProxy; 55 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 56 | proxyType = 2; 57 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 58 | remoteInfo = RCTGeolocation; 59 | }; 60 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 61 | isa = PBXContainerItemProxy; 62 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 63 | proxyType = 2; 64 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 65 | remoteInfo = RCTImage; 66 | }; 67 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 68 | isa = PBXContainerItemProxy; 69 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 70 | proxyType = 2; 71 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 72 | remoteInfo = RCTNetwork; 73 | }; 74 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 75 | isa = PBXContainerItemProxy; 76 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 77 | proxyType = 2; 78 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 79 | remoteInfo = RCTVibration; 80 | }; 81 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 82 | isa = PBXContainerItemProxy; 83 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 84 | proxyType = 1; 85 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 86 | remoteInfo = ParallaxSwiperExample; 87 | }; 88 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 89 | isa = PBXContainerItemProxy; 90 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 91 | proxyType = 2; 92 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 93 | remoteInfo = RCTSettings; 94 | }; 95 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 96 | isa = PBXContainerItemProxy; 97 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 98 | proxyType = 2; 99 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 100 | remoteInfo = RCTWebSocket; 101 | }; 102 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 103 | isa = PBXContainerItemProxy; 104 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 105 | proxyType = 2; 106 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 107 | remoteInfo = React; 108 | }; 109 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 110 | isa = PBXContainerItemProxy; 111 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 112 | proxyType = 1; 113 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 114 | remoteInfo = "ParallaxSwiperExample-tvOS"; 115 | }; 116 | 310115921FD313EB00589739 /* PBXContainerItemProxy */ = { 117 | isa = PBXContainerItemProxy; 118 | containerPortal = C0FD3162C0134D039A5B9F45 /* RCTVideo.xcodeproj */; 119 | proxyType = 2; 120 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 121 | remoteInfo = RCTVideo; 122 | }; 123 | 310115941FD313EB00589739 /* PBXContainerItemProxy */ = { 124 | isa = PBXContainerItemProxy; 125 | containerPortal = C0FD3162C0134D039A5B9F45 /* RCTVideo.xcodeproj */; 126 | proxyType = 2; 127 | remoteGlobalIDString = 641E28441F0EEC8500443AF6; 128 | remoteInfo = "RCTVideo-tvOS"; 129 | }; 130 | 31AAE7431FD21AC000D67807 /* PBXContainerItemProxy */ = { 131 | isa = PBXContainerItemProxy; 132 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 133 | proxyType = 2; 134 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 135 | remoteInfo = "RCTBlob-tvOS"; 136 | }; 137 | 31AAE7551FD21AC000D67807 /* PBXContainerItemProxy */ = { 138 | isa = PBXContainerItemProxy; 139 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 140 | proxyType = 2; 141 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 142 | remoteInfo = fishhook; 143 | }; 144 | 31AAE7571FD21AC000D67807 /* PBXContainerItemProxy */ = { 145 | isa = PBXContainerItemProxy; 146 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 147 | proxyType = 2; 148 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 149 | remoteInfo = "fishhook-tvOS"; 150 | }; 151 | 31AAE7891FD22A5900D67807 /* PBXContainerItemProxy */ = { 152 | isa = PBXContainerItemProxy; 153 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 154 | proxyType = 2; 155 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 156 | remoteInfo = "third-party"; 157 | }; 158 | 31AAE78B1FD22A5900D67807 /* PBXContainerItemProxy */ = { 159 | isa = PBXContainerItemProxy; 160 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 161 | proxyType = 2; 162 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 163 | remoteInfo = "third-party-tvOS"; 164 | }; 165 | 31AAE78D1FD22A5900D67807 /* PBXContainerItemProxy */ = { 166 | isa = PBXContainerItemProxy; 167 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 168 | proxyType = 2; 169 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 170 | remoteInfo = "double-conversion"; 171 | }; 172 | 31AAE78F1FD22A5900D67807 /* PBXContainerItemProxy */ = { 173 | isa = PBXContainerItemProxy; 174 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 175 | proxyType = 2; 176 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 177 | remoteInfo = "double-conversion-tvOS"; 178 | }; 179 | 31AAE7911FD22A5900D67807 /* PBXContainerItemProxy */ = { 180 | isa = PBXContainerItemProxy; 181 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 182 | proxyType = 2; 183 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 184 | remoteInfo = privatedata; 185 | }; 186 | 31AAE7931FD22A5900D67807 /* PBXContainerItemProxy */ = { 187 | isa = PBXContainerItemProxy; 188 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 189 | proxyType = 2; 190 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 191 | remoteInfo = "privatedata-tvOS"; 192 | }; 193 | 31AAE7991FD22A5A00D67807 /* PBXContainerItemProxy */ = { 194 | isa = PBXContainerItemProxy; 195 | containerPortal = 9F600510AC85404097BD9752 /* BVLinearGradient.xcodeproj */; 196 | proxyType = 2; 197 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 198 | remoteInfo = BVLinearGradient; 199 | }; 200 | 31AAE79B1FD22A5A00D67807 /* PBXContainerItemProxy */ = { 201 | isa = PBXContainerItemProxy; 202 | containerPortal = 9F600510AC85404097BD9752 /* BVLinearGradient.xcodeproj */; 203 | proxyType = 2; 204 | remoteGlobalIDString = 64AA15081EF7F30100718508; 205 | remoteInfo = "BVLinearGradient-tvOS"; 206 | }; 207 | 31F262EE1FD4A9A400C87E5D /* PBXContainerItemProxy */ = { 208 | isa = PBXContainerItemProxy; 209 | containerPortal = 387B8CA87B154CDEBE2BB232 /* RNBlur.xcodeproj */; 210 | proxyType = 2; 211 | remoteGlobalIDString = A68BD7BC1BC31318005F02DF; 212 | remoteInfo = RNBlur; 213 | }; 214 | 31F262F01FD4A9A400C87E5D /* PBXContainerItemProxy */ = { 215 | isa = PBXContainerItemProxy; 216 | containerPortal = 387B8CA87B154CDEBE2BB232 /* RNBlur.xcodeproj */; 217 | proxyType = 2; 218 | remoteGlobalIDString = 64D1BD361EEFE88700F3F219; 219 | remoteInfo = "RNBlur-tvOS"; 220 | }; 221 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 222 | isa = PBXContainerItemProxy; 223 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 224 | proxyType = 2; 225 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 226 | remoteInfo = "RCTImage-tvOS"; 227 | }; 228 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 229 | isa = PBXContainerItemProxy; 230 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 231 | proxyType = 2; 232 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 233 | remoteInfo = "RCTLinking-tvOS"; 234 | }; 235 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 236 | isa = PBXContainerItemProxy; 237 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 238 | proxyType = 2; 239 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 240 | remoteInfo = "RCTNetwork-tvOS"; 241 | }; 242 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 243 | isa = PBXContainerItemProxy; 244 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 245 | proxyType = 2; 246 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 247 | remoteInfo = "RCTSettings-tvOS"; 248 | }; 249 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 250 | isa = PBXContainerItemProxy; 251 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 252 | proxyType = 2; 253 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 254 | remoteInfo = "RCTText-tvOS"; 255 | }; 256 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 257 | isa = PBXContainerItemProxy; 258 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 259 | proxyType = 2; 260 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 261 | remoteInfo = "RCTWebSocket-tvOS"; 262 | }; 263 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 264 | isa = PBXContainerItemProxy; 265 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 266 | proxyType = 2; 267 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 268 | remoteInfo = "React-tvOS"; 269 | }; 270 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 271 | isa = PBXContainerItemProxy; 272 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 273 | proxyType = 2; 274 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 275 | remoteInfo = yoga; 276 | }; 277 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 278 | isa = PBXContainerItemProxy; 279 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 280 | proxyType = 2; 281 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 282 | remoteInfo = "yoga-tvOS"; 283 | }; 284 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 285 | isa = PBXContainerItemProxy; 286 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 287 | proxyType = 2; 288 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 289 | remoteInfo = cxxreact; 290 | }; 291 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 292 | isa = PBXContainerItemProxy; 293 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 294 | proxyType = 2; 295 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 296 | remoteInfo = "cxxreact-tvOS"; 297 | }; 298 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 299 | isa = PBXContainerItemProxy; 300 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 301 | proxyType = 2; 302 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 303 | remoteInfo = jschelpers; 304 | }; 305 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 306 | isa = PBXContainerItemProxy; 307 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 308 | proxyType = 2; 309 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 310 | remoteInfo = "jschelpers-tvOS"; 311 | }; 312 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 313 | isa = PBXContainerItemProxy; 314 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 315 | proxyType = 2; 316 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 317 | remoteInfo = RCTAnimation; 318 | }; 319 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 320 | isa = PBXContainerItemProxy; 321 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 322 | proxyType = 2; 323 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 324 | remoteInfo = "RCTAnimation-tvOS"; 325 | }; 326 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 327 | isa = PBXContainerItemProxy; 328 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 329 | proxyType = 2; 330 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 331 | remoteInfo = RCTLinking; 332 | }; 333 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 334 | isa = PBXContainerItemProxy; 335 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 336 | proxyType = 2; 337 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 338 | remoteInfo = RCTText; 339 | }; 340 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 341 | isa = PBXContainerItemProxy; 342 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 343 | proxyType = 2; 344 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 345 | remoteInfo = RCTBlob; 346 | }; 347 | /* End PBXContainerItemProxy section */ 348 | 349 | /* Begin PBXFileReference section */ 350 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 351 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 352 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 353 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 354 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 355 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 356 | 00E356EE1AD99517003FC87E /* ParallaxSwiperExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ParallaxSwiperExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 357 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 358 | 00E356F21AD99517003FC87E /* ParallaxSwiperExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ParallaxSwiperExampleTests.m; sourceTree = ""; }; 359 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 360 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 361 | 13B07F961A680F5B00A75B9A /* ParallaxSwiperExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ParallaxSwiperExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 362 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ParallaxSwiperExample/AppDelegate.h; sourceTree = ""; }; 363 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ParallaxSwiperExample/AppDelegate.m; sourceTree = ""; }; 364 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 365 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ParallaxSwiperExample/Images.xcassets; sourceTree = ""; }; 366 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ParallaxSwiperExample/Info.plist; sourceTree = ""; }; 367 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ParallaxSwiperExample/main.m; sourceTree = ""; }; 368 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 369 | 2D02E47B1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ParallaxSwiperExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 370 | 2D02E4901E0B4A5D006451C7 /* ParallaxSwiperExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ParallaxSwiperExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 371 | 387B8CA87B154CDEBE2BB232 /* RNBlur.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNBlur.xcodeproj; path = "../node_modules/react-native-blur/ios/RNBlur.xcodeproj"; sourceTree = ""; }; 372 | 5A21D911D2BD4634BFC39E92 /* libRCTVideo.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTVideo.a; sourceTree = ""; }; 373 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 374 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 375 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 376 | 9F600510AC85404097BD9752 /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = ""; }; 377 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 378 | C0FD3162C0134D039A5B9F45 /* RCTVideo.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTVideo.xcodeproj; path = "../node_modules/react-native-video/ios/RCTVideo.xcodeproj"; sourceTree = ""; }; 379 | CD851FDA28BD497A925B8FA3 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = ""; }; 380 | D680A47ADFC3454B8819B5D0 /* libRNBlur.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNBlur.a; sourceTree = ""; }; 381 | /* End PBXFileReference section */ 382 | 383 | /* Begin PBXFrameworksBuildPhase section */ 384 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 385 | isa = PBXFrameworksBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 393 | isa = PBXFrameworksBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 397 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 398 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 399 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 400 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 401 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 402 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 403 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 404 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 405 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 406 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 407 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 408 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 409 | 350C74F694E1488EB79B47CC /* libBVLinearGradient.a in Frameworks */, 410 | 14F7AC5BCEAB4D3584BFED6E /* libRCTVideo.a in Frameworks */, 411 | 43D13AC4A91F45DA861D14FC /* libRNBlur.a in Frameworks */, 412 | ); 413 | runOnlyForDeploymentPostprocessing = 0; 414 | }; 415 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 416 | isa = PBXFrameworksBuildPhase; 417 | buildActionMask = 2147483647; 418 | files = ( 419 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 420 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 421 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 422 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 423 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 424 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 425 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 426 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 427 | ); 428 | runOnlyForDeploymentPostprocessing = 0; 429 | }; 430 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 431 | isa = PBXFrameworksBuildPhase; 432 | buildActionMask = 2147483647; 433 | files = ( 434 | ); 435 | runOnlyForDeploymentPostprocessing = 0; 436 | }; 437 | /* End PBXFrameworksBuildPhase section */ 438 | 439 | /* Begin PBXGroup section */ 440 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 441 | isa = PBXGroup; 442 | children = ( 443 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 444 | ); 445 | name = Products; 446 | sourceTree = ""; 447 | }; 448 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 449 | isa = PBXGroup; 450 | children = ( 451 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 452 | ); 453 | name = Products; 454 | sourceTree = ""; 455 | }; 456 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 457 | isa = PBXGroup; 458 | children = ( 459 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 460 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 461 | ); 462 | name = Products; 463 | sourceTree = ""; 464 | }; 465 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 466 | isa = PBXGroup; 467 | children = ( 468 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 469 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 478 | ); 479 | name = Products; 480 | sourceTree = ""; 481 | }; 482 | 00E356EF1AD99517003FC87E /* ParallaxSwiperExampleTests */ = { 483 | isa = PBXGroup; 484 | children = ( 485 | 00E356F21AD99517003FC87E /* ParallaxSwiperExampleTests.m */, 486 | 00E356F01AD99517003FC87E /* Supporting Files */, 487 | ); 488 | path = ParallaxSwiperExampleTests; 489 | sourceTree = ""; 490 | }; 491 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 492 | isa = PBXGroup; 493 | children = ( 494 | 00E356F11AD99517003FC87E /* Info.plist */, 495 | ); 496 | name = "Supporting Files"; 497 | sourceTree = ""; 498 | }; 499 | 139105B71AF99BAD00B5F7CC /* Products */ = { 500 | isa = PBXGroup; 501 | children = ( 502 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 503 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | 139FDEE71B06529A00C62182 /* Products */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 512 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 513 | 31AAE7561FD21AC000D67807 /* libfishhook.a */, 514 | 31AAE7581FD21AC000D67807 /* libfishhook-tvOS.a */, 515 | ); 516 | name = Products; 517 | sourceTree = ""; 518 | }; 519 | 13B07FAE1A68108700A75B9A /* ParallaxSwiperExample */ = { 520 | isa = PBXGroup; 521 | children = ( 522 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 523 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 524 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 525 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 526 | 13B07FB61A68108700A75B9A /* Info.plist */, 527 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 528 | 13B07FB71A68108700A75B9A /* main.m */, 529 | ); 530 | name = ParallaxSwiperExample; 531 | sourceTree = ""; 532 | }; 533 | 146834001AC3E56700842450 /* Products */ = { 534 | isa = PBXGroup; 535 | children = ( 536 | 146834041AC3E56700842450 /* libReact.a */, 537 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 538 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 539 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 540 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 541 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 542 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 543 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 544 | 31AAE78A1FD22A5900D67807 /* libthird-party.a */, 545 | 31AAE78C1FD22A5900D67807 /* libthird-party.a */, 546 | 31AAE78E1FD22A5900D67807 /* libdouble-conversion.a */, 547 | 31AAE7901FD22A5900D67807 /* libdouble-conversion.a */, 548 | 31AAE7921FD22A5900D67807 /* libprivatedata.a */, 549 | 31AAE7941FD22A5900D67807 /* libprivatedata-tvOS.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 3101158E1FD313EB00589739 /* Products */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 310115931FD313EB00589739 /* libRCTVideo.a */, 558 | 310115951FD313EB00589739 /* libRCTVideo.a */, 559 | ); 560 | name = Products; 561 | sourceTree = ""; 562 | }; 563 | 31AAE7651FD22A5700D67807 /* Recovered References */ = { 564 | isa = PBXGroup; 565 | children = ( 566 | CD851FDA28BD497A925B8FA3 /* libBVLinearGradient.a */, 567 | 5A21D911D2BD4634BFC39E92 /* libRCTVideo.a */, 568 | D680A47ADFC3454B8819B5D0 /* libRNBlur.a */, 569 | ); 570 | name = "Recovered References"; 571 | sourceTree = ""; 572 | }; 573 | 31AAE7951FD22A5900D67807 /* Products */ = { 574 | isa = PBXGroup; 575 | children = ( 576 | 31AAE79A1FD22A5A00D67807 /* libBVLinearGradient.a */, 577 | 31AAE79C1FD22A5A00D67807 /* libBVLinearGradient.a */, 578 | ); 579 | name = Products; 580 | sourceTree = ""; 581 | }; 582 | 31F262EA1FD4A9A300C87E5D /* Products */ = { 583 | isa = PBXGroup; 584 | children = ( 585 | 31F262EF1FD4A9A400C87E5D /* libRNBlur.a */, 586 | 31F262F11FD4A9A400C87E5D /* libRNBlur.a */, 587 | ); 588 | name = Products; 589 | sourceTree = ""; 590 | }; 591 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 592 | isa = PBXGroup; 593 | children = ( 594 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 595 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 596 | ); 597 | name = Products; 598 | sourceTree = ""; 599 | }; 600 | 78C398B11ACF4ADC00677621 /* Products */ = { 601 | isa = PBXGroup; 602 | children = ( 603 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 604 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 605 | ); 606 | name = Products; 607 | sourceTree = ""; 608 | }; 609 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 610 | isa = PBXGroup; 611 | children = ( 612 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 613 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 614 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 615 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 616 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 617 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 618 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 619 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 620 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 621 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 622 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 623 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 624 | 9F600510AC85404097BD9752 /* BVLinearGradient.xcodeproj */, 625 | C0FD3162C0134D039A5B9F45 /* RCTVideo.xcodeproj */, 626 | 387B8CA87B154CDEBE2BB232 /* RNBlur.xcodeproj */, 627 | ); 628 | name = Libraries; 629 | sourceTree = ""; 630 | }; 631 | 832341B11AAA6A8300B99B32 /* Products */ = { 632 | isa = PBXGroup; 633 | children = ( 634 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 635 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 636 | ); 637 | name = Products; 638 | sourceTree = ""; 639 | }; 640 | 83CBB9F61A601CBA00E9B192 = { 641 | isa = PBXGroup; 642 | children = ( 643 | 13B07FAE1A68108700A75B9A /* ParallaxSwiperExample */, 644 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 645 | 00E356EF1AD99517003FC87E /* ParallaxSwiperExampleTests */, 646 | 83CBBA001A601CBA00E9B192 /* Products */, 647 | 31AAE7651FD22A5700D67807 /* Recovered References */, 648 | ); 649 | indentWidth = 2; 650 | sourceTree = ""; 651 | tabWidth = 2; 652 | usesTabs = 0; 653 | }; 654 | 83CBBA001A601CBA00E9B192 /* Products */ = { 655 | isa = PBXGroup; 656 | children = ( 657 | 13B07F961A680F5B00A75B9A /* ParallaxSwiperExample.app */, 658 | 00E356EE1AD99517003FC87E /* ParallaxSwiperExampleTests.xctest */, 659 | 2D02E47B1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS.app */, 660 | 2D02E4901E0B4A5D006451C7 /* ParallaxSwiperExample-tvOSTests.xctest */, 661 | ); 662 | name = Products; 663 | sourceTree = ""; 664 | }; 665 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 666 | isa = PBXGroup; 667 | children = ( 668 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 669 | 31AAE7441FD21AC000D67807 /* libRCTBlob-tvOS.a */, 670 | ); 671 | name = Products; 672 | sourceTree = ""; 673 | }; 674 | /* End PBXGroup section */ 675 | 676 | /* Begin PBXNativeTarget section */ 677 | 00E356ED1AD99517003FC87E /* ParallaxSwiperExampleTests */ = { 678 | isa = PBXNativeTarget; 679 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ParallaxSwiperExampleTests" */; 680 | buildPhases = ( 681 | 00E356EA1AD99517003FC87E /* Sources */, 682 | 00E356EB1AD99517003FC87E /* Frameworks */, 683 | 00E356EC1AD99517003FC87E /* Resources */, 684 | ); 685 | buildRules = ( 686 | ); 687 | dependencies = ( 688 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 689 | ); 690 | name = ParallaxSwiperExampleTests; 691 | productName = ParallaxSwiperExampleTests; 692 | productReference = 00E356EE1AD99517003FC87E /* ParallaxSwiperExampleTests.xctest */; 693 | productType = "com.apple.product-type.bundle.unit-test"; 694 | }; 695 | 13B07F861A680F5B00A75B9A /* ParallaxSwiperExample */ = { 696 | isa = PBXNativeTarget; 697 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample" */; 698 | buildPhases = ( 699 | 13B07F871A680F5B00A75B9A /* Sources */, 700 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 701 | 13B07F8E1A680F5B00A75B9A /* Resources */, 702 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 703 | ); 704 | buildRules = ( 705 | ); 706 | dependencies = ( 707 | ); 708 | name = ParallaxSwiperExample; 709 | productName = "Hello World"; 710 | productReference = 13B07F961A680F5B00A75B9A /* ParallaxSwiperExample.app */; 711 | productType = "com.apple.product-type.application"; 712 | }; 713 | 2D02E47A1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS */ = { 714 | isa = PBXNativeTarget; 715 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample-tvOS" */; 716 | buildPhases = ( 717 | 2D02E4771E0B4A5D006451C7 /* Sources */, 718 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 719 | 2D02E4791E0B4A5D006451C7 /* Resources */, 720 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 721 | ); 722 | buildRules = ( 723 | ); 724 | dependencies = ( 725 | ); 726 | name = "ParallaxSwiperExample-tvOS"; 727 | productName = "ParallaxSwiperExample-tvOS"; 728 | productReference = 2D02E47B1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS.app */; 729 | productType = "com.apple.product-type.application"; 730 | }; 731 | 2D02E48F1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOSTests */ = { 732 | isa = PBXNativeTarget; 733 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample-tvOSTests" */; 734 | buildPhases = ( 735 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 736 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 737 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 738 | ); 739 | buildRules = ( 740 | ); 741 | dependencies = ( 742 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 743 | ); 744 | name = "ParallaxSwiperExample-tvOSTests"; 745 | productName = "ParallaxSwiperExample-tvOSTests"; 746 | productReference = 2D02E4901E0B4A5D006451C7 /* ParallaxSwiperExample-tvOSTests.xctest */; 747 | productType = "com.apple.product-type.bundle.unit-test"; 748 | }; 749 | /* End PBXNativeTarget section */ 750 | 751 | /* Begin PBXProject section */ 752 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 753 | isa = PBXProject; 754 | attributes = { 755 | LastUpgradeCheck = 610; 756 | ORGANIZATIONNAME = Facebook; 757 | TargetAttributes = { 758 | 00E356ED1AD99517003FC87E = { 759 | CreatedOnToolsVersion = 6.2; 760 | DevelopmentTeam = U9PQ9N77J2; 761 | TestTargetID = 13B07F861A680F5B00A75B9A; 762 | }; 763 | 13B07F861A680F5B00A75B9A = { 764 | DevelopmentTeam = U9PQ9N77J2; 765 | }; 766 | 2D02E47A1E0B4A5D006451C7 = { 767 | CreatedOnToolsVersion = 8.2.1; 768 | ProvisioningStyle = Automatic; 769 | }; 770 | 2D02E48F1E0B4A5D006451C7 = { 771 | CreatedOnToolsVersion = 8.2.1; 772 | ProvisioningStyle = Automatic; 773 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 774 | }; 775 | }; 776 | }; 777 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ParallaxSwiperExample" */; 778 | compatibilityVersion = "Xcode 3.2"; 779 | developmentRegion = English; 780 | hasScannedForEncodings = 0; 781 | knownRegions = ( 782 | en, 783 | Base, 784 | ); 785 | mainGroup = 83CBB9F61A601CBA00E9B192; 786 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 787 | projectDirPath = ""; 788 | projectReferences = ( 789 | { 790 | ProductGroup = 31AAE7951FD22A5900D67807 /* Products */; 791 | ProjectRef = 9F600510AC85404097BD9752 /* BVLinearGradient.xcodeproj */; 792 | }, 793 | { 794 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 795 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 796 | }, 797 | { 798 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 799 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 800 | }, 801 | { 802 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 803 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 804 | }, 805 | { 806 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 807 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 808 | }, 809 | { 810 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 811 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 812 | }, 813 | { 814 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 815 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 816 | }, 817 | { 818 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 819 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 820 | }, 821 | { 822 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 823 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 824 | }, 825 | { 826 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 827 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 828 | }, 829 | { 830 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 831 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 832 | }, 833 | { 834 | ProductGroup = 3101158E1FD313EB00589739 /* Products */; 835 | ProjectRef = C0FD3162C0134D039A5B9F45 /* RCTVideo.xcodeproj */; 836 | }, 837 | { 838 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 839 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 840 | }, 841 | { 842 | ProductGroup = 146834001AC3E56700842450 /* Products */; 843 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 844 | }, 845 | { 846 | ProductGroup = 31F262EA1FD4A9A300C87E5D /* Products */; 847 | ProjectRef = 387B8CA87B154CDEBE2BB232 /* RNBlur.xcodeproj */; 848 | }, 849 | ); 850 | projectRoot = ""; 851 | targets = ( 852 | 13B07F861A680F5B00A75B9A /* ParallaxSwiperExample */, 853 | 00E356ED1AD99517003FC87E /* ParallaxSwiperExampleTests */, 854 | 2D02E47A1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS */, 855 | 2D02E48F1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOSTests */, 856 | ); 857 | }; 858 | /* End PBXProject section */ 859 | 860 | /* Begin PBXReferenceProxy section */ 861 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libRCTActionSheet.a; 865 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = libRCTGeolocation.a; 872 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = libRCTImage.a; 879 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = libRCTNetwork.a; 886 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = libRCTVibration.a; 893 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = archive.ar; 899 | path = libRCTSettings.a; 900 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = archive.ar; 906 | path = libRCTWebSocket.a; 907 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | 146834041AC3E56700842450 /* libReact.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = libReact.a; 914 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | 310115931FD313EB00589739 /* libRCTVideo.a */ = { 918 | isa = PBXReferenceProxy; 919 | fileType = archive.ar; 920 | path = libRCTVideo.a; 921 | remoteRef = 310115921FD313EB00589739 /* PBXContainerItemProxy */; 922 | sourceTree = BUILT_PRODUCTS_DIR; 923 | }; 924 | 310115951FD313EB00589739 /* libRCTVideo.a */ = { 925 | isa = PBXReferenceProxy; 926 | fileType = archive.ar; 927 | path = libRCTVideo.a; 928 | remoteRef = 310115941FD313EB00589739 /* PBXContainerItemProxy */; 929 | sourceTree = BUILT_PRODUCTS_DIR; 930 | }; 931 | 31AAE7441FD21AC000D67807 /* libRCTBlob-tvOS.a */ = { 932 | isa = PBXReferenceProxy; 933 | fileType = archive.ar; 934 | path = "libRCTBlob-tvOS.a"; 935 | remoteRef = 31AAE7431FD21AC000D67807 /* PBXContainerItemProxy */; 936 | sourceTree = BUILT_PRODUCTS_DIR; 937 | }; 938 | 31AAE7561FD21AC000D67807 /* libfishhook.a */ = { 939 | isa = PBXReferenceProxy; 940 | fileType = archive.ar; 941 | path = libfishhook.a; 942 | remoteRef = 31AAE7551FD21AC000D67807 /* PBXContainerItemProxy */; 943 | sourceTree = BUILT_PRODUCTS_DIR; 944 | }; 945 | 31AAE7581FD21AC000D67807 /* libfishhook-tvOS.a */ = { 946 | isa = PBXReferenceProxy; 947 | fileType = archive.ar; 948 | path = "libfishhook-tvOS.a"; 949 | remoteRef = 31AAE7571FD21AC000D67807 /* PBXContainerItemProxy */; 950 | sourceTree = BUILT_PRODUCTS_DIR; 951 | }; 952 | 31AAE78A1FD22A5900D67807 /* libthird-party.a */ = { 953 | isa = PBXReferenceProxy; 954 | fileType = archive.ar; 955 | path = "libthird-party.a"; 956 | remoteRef = 31AAE7891FD22A5900D67807 /* PBXContainerItemProxy */; 957 | sourceTree = BUILT_PRODUCTS_DIR; 958 | }; 959 | 31AAE78C1FD22A5900D67807 /* libthird-party.a */ = { 960 | isa = PBXReferenceProxy; 961 | fileType = archive.ar; 962 | path = "libthird-party.a"; 963 | remoteRef = 31AAE78B1FD22A5900D67807 /* PBXContainerItemProxy */; 964 | sourceTree = BUILT_PRODUCTS_DIR; 965 | }; 966 | 31AAE78E1FD22A5900D67807 /* libdouble-conversion.a */ = { 967 | isa = PBXReferenceProxy; 968 | fileType = archive.ar; 969 | path = "libdouble-conversion.a"; 970 | remoteRef = 31AAE78D1FD22A5900D67807 /* PBXContainerItemProxy */; 971 | sourceTree = BUILT_PRODUCTS_DIR; 972 | }; 973 | 31AAE7901FD22A5900D67807 /* libdouble-conversion.a */ = { 974 | isa = PBXReferenceProxy; 975 | fileType = archive.ar; 976 | path = "libdouble-conversion.a"; 977 | remoteRef = 31AAE78F1FD22A5900D67807 /* PBXContainerItemProxy */; 978 | sourceTree = BUILT_PRODUCTS_DIR; 979 | }; 980 | 31AAE7921FD22A5900D67807 /* libprivatedata.a */ = { 981 | isa = PBXReferenceProxy; 982 | fileType = archive.ar; 983 | path = libprivatedata.a; 984 | remoteRef = 31AAE7911FD22A5900D67807 /* PBXContainerItemProxy */; 985 | sourceTree = BUILT_PRODUCTS_DIR; 986 | }; 987 | 31AAE7941FD22A5900D67807 /* libprivatedata-tvOS.a */ = { 988 | isa = PBXReferenceProxy; 989 | fileType = archive.ar; 990 | path = "libprivatedata-tvOS.a"; 991 | remoteRef = 31AAE7931FD22A5900D67807 /* PBXContainerItemProxy */; 992 | sourceTree = BUILT_PRODUCTS_DIR; 993 | }; 994 | 31AAE79A1FD22A5A00D67807 /* libBVLinearGradient.a */ = { 995 | isa = PBXReferenceProxy; 996 | fileType = archive.ar; 997 | path = libBVLinearGradient.a; 998 | remoteRef = 31AAE7991FD22A5A00D67807 /* PBXContainerItemProxy */; 999 | sourceTree = BUILT_PRODUCTS_DIR; 1000 | }; 1001 | 31AAE79C1FD22A5A00D67807 /* libBVLinearGradient.a */ = { 1002 | isa = PBXReferenceProxy; 1003 | fileType = archive.ar; 1004 | path = libBVLinearGradient.a; 1005 | remoteRef = 31AAE79B1FD22A5A00D67807 /* PBXContainerItemProxy */; 1006 | sourceTree = BUILT_PRODUCTS_DIR; 1007 | }; 1008 | 31F262EF1FD4A9A400C87E5D /* libRNBlur.a */ = { 1009 | isa = PBXReferenceProxy; 1010 | fileType = archive.ar; 1011 | path = libRNBlur.a; 1012 | remoteRef = 31F262EE1FD4A9A400C87E5D /* PBXContainerItemProxy */; 1013 | sourceTree = BUILT_PRODUCTS_DIR; 1014 | }; 1015 | 31F262F11FD4A9A400C87E5D /* libRNBlur.a */ = { 1016 | isa = PBXReferenceProxy; 1017 | fileType = archive.ar; 1018 | path = libRNBlur.a; 1019 | remoteRef = 31F262F01FD4A9A400C87E5D /* PBXContainerItemProxy */; 1020 | sourceTree = BUILT_PRODUCTS_DIR; 1021 | }; 1022 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 1023 | isa = PBXReferenceProxy; 1024 | fileType = archive.ar; 1025 | path = "libRCTImage-tvOS.a"; 1026 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 1027 | sourceTree = BUILT_PRODUCTS_DIR; 1028 | }; 1029 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 1030 | isa = PBXReferenceProxy; 1031 | fileType = archive.ar; 1032 | path = "libRCTLinking-tvOS.a"; 1033 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 1034 | sourceTree = BUILT_PRODUCTS_DIR; 1035 | }; 1036 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 1037 | isa = PBXReferenceProxy; 1038 | fileType = archive.ar; 1039 | path = "libRCTNetwork-tvOS.a"; 1040 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 1041 | sourceTree = BUILT_PRODUCTS_DIR; 1042 | }; 1043 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 1044 | isa = PBXReferenceProxy; 1045 | fileType = archive.ar; 1046 | path = "libRCTSettings-tvOS.a"; 1047 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 1048 | sourceTree = BUILT_PRODUCTS_DIR; 1049 | }; 1050 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 1051 | isa = PBXReferenceProxy; 1052 | fileType = archive.ar; 1053 | path = "libRCTText-tvOS.a"; 1054 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 1055 | sourceTree = BUILT_PRODUCTS_DIR; 1056 | }; 1057 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 1058 | isa = PBXReferenceProxy; 1059 | fileType = archive.ar; 1060 | path = "libRCTWebSocket-tvOS.a"; 1061 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 1062 | sourceTree = BUILT_PRODUCTS_DIR; 1063 | }; 1064 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 1065 | isa = PBXReferenceProxy; 1066 | fileType = archive.ar; 1067 | path = libReact.a; 1068 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 1069 | sourceTree = BUILT_PRODUCTS_DIR; 1070 | }; 1071 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 1072 | isa = PBXReferenceProxy; 1073 | fileType = archive.ar; 1074 | path = libyoga.a; 1075 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 1076 | sourceTree = BUILT_PRODUCTS_DIR; 1077 | }; 1078 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 1079 | isa = PBXReferenceProxy; 1080 | fileType = archive.ar; 1081 | path = libyoga.a; 1082 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 1083 | sourceTree = BUILT_PRODUCTS_DIR; 1084 | }; 1085 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 1086 | isa = PBXReferenceProxy; 1087 | fileType = archive.ar; 1088 | path = libcxxreact.a; 1089 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 1090 | sourceTree = BUILT_PRODUCTS_DIR; 1091 | }; 1092 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 1093 | isa = PBXReferenceProxy; 1094 | fileType = archive.ar; 1095 | path = libcxxreact.a; 1096 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 1097 | sourceTree = BUILT_PRODUCTS_DIR; 1098 | }; 1099 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 1100 | isa = PBXReferenceProxy; 1101 | fileType = archive.ar; 1102 | path = libjschelpers.a; 1103 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 1104 | sourceTree = BUILT_PRODUCTS_DIR; 1105 | }; 1106 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 1107 | isa = PBXReferenceProxy; 1108 | fileType = archive.ar; 1109 | path = libjschelpers.a; 1110 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1111 | sourceTree = BUILT_PRODUCTS_DIR; 1112 | }; 1113 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1114 | isa = PBXReferenceProxy; 1115 | fileType = archive.ar; 1116 | path = libRCTAnimation.a; 1117 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1118 | sourceTree = BUILT_PRODUCTS_DIR; 1119 | }; 1120 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1121 | isa = PBXReferenceProxy; 1122 | fileType = archive.ar; 1123 | path = libRCTAnimation.a; 1124 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1125 | sourceTree = BUILT_PRODUCTS_DIR; 1126 | }; 1127 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1128 | isa = PBXReferenceProxy; 1129 | fileType = archive.ar; 1130 | path = libRCTLinking.a; 1131 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1132 | sourceTree = BUILT_PRODUCTS_DIR; 1133 | }; 1134 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1135 | isa = PBXReferenceProxy; 1136 | fileType = archive.ar; 1137 | path = libRCTText.a; 1138 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1139 | sourceTree = BUILT_PRODUCTS_DIR; 1140 | }; 1141 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1142 | isa = PBXReferenceProxy; 1143 | fileType = archive.ar; 1144 | path = libRCTBlob.a; 1145 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1146 | sourceTree = BUILT_PRODUCTS_DIR; 1147 | }; 1148 | /* End PBXReferenceProxy section */ 1149 | 1150 | /* Begin PBXResourcesBuildPhase section */ 1151 | 00E356EC1AD99517003FC87E /* Resources */ = { 1152 | isa = PBXResourcesBuildPhase; 1153 | buildActionMask = 2147483647; 1154 | files = ( 1155 | ); 1156 | runOnlyForDeploymentPostprocessing = 0; 1157 | }; 1158 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1159 | isa = PBXResourcesBuildPhase; 1160 | buildActionMask = 2147483647; 1161 | files = ( 1162 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1163 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1164 | ); 1165 | runOnlyForDeploymentPostprocessing = 0; 1166 | }; 1167 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1168 | isa = PBXResourcesBuildPhase; 1169 | buildActionMask = 2147483647; 1170 | files = ( 1171 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1172 | ); 1173 | runOnlyForDeploymentPostprocessing = 0; 1174 | }; 1175 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1176 | isa = PBXResourcesBuildPhase; 1177 | buildActionMask = 2147483647; 1178 | files = ( 1179 | ); 1180 | runOnlyForDeploymentPostprocessing = 0; 1181 | }; 1182 | /* End PBXResourcesBuildPhase section */ 1183 | 1184 | /* Begin PBXShellScriptBuildPhase section */ 1185 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1186 | isa = PBXShellScriptBuildPhase; 1187 | buildActionMask = 2147483647; 1188 | files = ( 1189 | ); 1190 | inputPaths = ( 1191 | ); 1192 | name = "Bundle React Native code and images"; 1193 | outputPaths = ( 1194 | ); 1195 | runOnlyForDeploymentPostprocessing = 0; 1196 | shellPath = /bin/sh; 1197 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1198 | }; 1199 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1200 | isa = PBXShellScriptBuildPhase; 1201 | buildActionMask = 2147483647; 1202 | files = ( 1203 | ); 1204 | inputPaths = ( 1205 | ); 1206 | name = "Bundle React Native Code And Images"; 1207 | outputPaths = ( 1208 | ); 1209 | runOnlyForDeploymentPostprocessing = 0; 1210 | shellPath = /bin/sh; 1211 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1212 | }; 1213 | /* End PBXShellScriptBuildPhase section */ 1214 | 1215 | /* Begin PBXSourcesBuildPhase section */ 1216 | 00E356EA1AD99517003FC87E /* Sources */ = { 1217 | isa = PBXSourcesBuildPhase; 1218 | buildActionMask = 2147483647; 1219 | files = ( 1220 | 00E356F31AD99517003FC87E /* ParallaxSwiperExampleTests.m in Sources */, 1221 | ); 1222 | runOnlyForDeploymentPostprocessing = 0; 1223 | }; 1224 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1225 | isa = PBXSourcesBuildPhase; 1226 | buildActionMask = 2147483647; 1227 | files = ( 1228 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1229 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1230 | ); 1231 | runOnlyForDeploymentPostprocessing = 0; 1232 | }; 1233 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1234 | isa = PBXSourcesBuildPhase; 1235 | buildActionMask = 2147483647; 1236 | files = ( 1237 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1238 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1239 | ); 1240 | runOnlyForDeploymentPostprocessing = 0; 1241 | }; 1242 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1243 | isa = PBXSourcesBuildPhase; 1244 | buildActionMask = 2147483647; 1245 | files = ( 1246 | 2DCD954D1E0B4F2C00145EB5 /* ParallaxSwiperExampleTests.m in Sources */, 1247 | ); 1248 | runOnlyForDeploymentPostprocessing = 0; 1249 | }; 1250 | /* End PBXSourcesBuildPhase section */ 1251 | 1252 | /* Begin PBXTargetDependency section */ 1253 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1254 | isa = PBXTargetDependency; 1255 | target = 13B07F861A680F5B00A75B9A /* ParallaxSwiperExample */; 1256 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1257 | }; 1258 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1259 | isa = PBXTargetDependency; 1260 | target = 2D02E47A1E0B4A5D006451C7 /* ParallaxSwiperExample-tvOS */; 1261 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1262 | }; 1263 | /* End PBXTargetDependency section */ 1264 | 1265 | /* Begin PBXVariantGroup section */ 1266 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1267 | isa = PBXVariantGroup; 1268 | children = ( 1269 | 13B07FB21A68108700A75B9A /* Base */, 1270 | ); 1271 | name = LaunchScreen.xib; 1272 | path = ParallaxSwiperExample; 1273 | sourceTree = ""; 1274 | }; 1275 | /* End PBXVariantGroup section */ 1276 | 1277 | /* Begin XCBuildConfiguration section */ 1278 | 00E356F61AD99517003FC87E /* Debug */ = { 1279 | isa = XCBuildConfiguration; 1280 | buildSettings = { 1281 | BUNDLE_LOADER = "$(TEST_HOST)"; 1282 | DEVELOPMENT_TEAM = U9PQ9N77J2; 1283 | GCC_PREPROCESSOR_DEFINITIONS = ( 1284 | "DEBUG=1", 1285 | "$(inherited)", 1286 | ); 1287 | HEADER_SEARCH_PATHS = ( 1288 | "$(inherited)", 1289 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1290 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1291 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1292 | ); 1293 | INFOPLIST_FILE = ParallaxSwiperExampleTests/Info.plist; 1294 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1295 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1296 | LIBRARY_SEARCH_PATHS = ( 1297 | "$(inherited)", 1298 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1299 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1300 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1301 | ); 1302 | OTHER_LDFLAGS = ( 1303 | "-ObjC", 1304 | "-lc++", 1305 | ); 1306 | PRODUCT_NAME = "$(TARGET_NAME)"; 1307 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ParallaxSwiperExample.app/ParallaxSwiperExample"; 1308 | }; 1309 | name = Debug; 1310 | }; 1311 | 00E356F71AD99517003FC87E /* Release */ = { 1312 | isa = XCBuildConfiguration; 1313 | buildSettings = { 1314 | BUNDLE_LOADER = "$(TEST_HOST)"; 1315 | COPY_PHASE_STRIP = NO; 1316 | DEVELOPMENT_TEAM = U9PQ9N77J2; 1317 | HEADER_SEARCH_PATHS = ( 1318 | "$(inherited)", 1319 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1320 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1321 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1322 | ); 1323 | INFOPLIST_FILE = ParallaxSwiperExampleTests/Info.plist; 1324 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1325 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1326 | LIBRARY_SEARCH_PATHS = ( 1327 | "$(inherited)", 1328 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1329 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1330 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1331 | ); 1332 | OTHER_LDFLAGS = ( 1333 | "-ObjC", 1334 | "-lc++", 1335 | ); 1336 | PRODUCT_NAME = "$(TARGET_NAME)"; 1337 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ParallaxSwiperExample.app/ParallaxSwiperExample"; 1338 | }; 1339 | name = Release; 1340 | }; 1341 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1342 | isa = XCBuildConfiguration; 1343 | buildSettings = { 1344 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1345 | CURRENT_PROJECT_VERSION = 1; 1346 | DEAD_CODE_STRIPPING = NO; 1347 | DEVELOPMENT_TEAM = U9PQ9N77J2; 1348 | HEADER_SEARCH_PATHS = ( 1349 | "$(inherited)", 1350 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1351 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1352 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1353 | ); 1354 | INFOPLIST_FILE = ParallaxSwiperExample/Info.plist; 1355 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1356 | OTHER_LDFLAGS = ( 1357 | "$(inherited)", 1358 | "-ObjC", 1359 | "-lc++", 1360 | ); 1361 | PRODUCT_BUNDLE_IDENTIFIER = org.gucci.gang; 1362 | PRODUCT_NAME = ParallaxSwiperExample; 1363 | VERSIONING_SYSTEM = "apple-generic"; 1364 | }; 1365 | name = Debug; 1366 | }; 1367 | 13B07F951A680F5B00A75B9A /* Release */ = { 1368 | isa = XCBuildConfiguration; 1369 | buildSettings = { 1370 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1371 | CURRENT_PROJECT_VERSION = 1; 1372 | DEVELOPMENT_TEAM = U9PQ9N77J2; 1373 | HEADER_SEARCH_PATHS = ( 1374 | "$(inherited)", 1375 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1376 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1377 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1378 | ); 1379 | INFOPLIST_FILE = ParallaxSwiperExample/Info.plist; 1380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1381 | OTHER_LDFLAGS = ( 1382 | "$(inherited)", 1383 | "-ObjC", 1384 | "-lc++", 1385 | ); 1386 | PRODUCT_BUNDLE_IDENTIFIER = org.gucci.gang; 1387 | PRODUCT_NAME = ParallaxSwiperExample; 1388 | VERSIONING_SYSTEM = "apple-generic"; 1389 | }; 1390 | name = Release; 1391 | }; 1392 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1393 | isa = XCBuildConfiguration; 1394 | buildSettings = { 1395 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1396 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1397 | CLANG_ANALYZER_NONNULL = YES; 1398 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1399 | CLANG_WARN_INFINITE_RECURSION = YES; 1400 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1401 | DEBUG_INFORMATION_FORMAT = dwarf; 1402 | ENABLE_TESTABILITY = YES; 1403 | GCC_NO_COMMON_BLOCKS = YES; 1404 | HEADER_SEARCH_PATHS = ( 1405 | "$(inherited)", 1406 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1407 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1408 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1409 | ); 1410 | INFOPLIST_FILE = "ParallaxSwiperExample-tvOS/Info.plist"; 1411 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1412 | LIBRARY_SEARCH_PATHS = ( 1413 | "$(inherited)", 1414 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1415 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1416 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1417 | ); 1418 | OTHER_LDFLAGS = ( 1419 | "-ObjC", 1420 | "-lc++", 1421 | ); 1422 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ParallaxSwiperExample-tvOS"; 1423 | PRODUCT_NAME = "$(TARGET_NAME)"; 1424 | SDKROOT = appletvos; 1425 | TARGETED_DEVICE_FAMILY = 3; 1426 | TVOS_DEPLOYMENT_TARGET = 9.2; 1427 | }; 1428 | name = Debug; 1429 | }; 1430 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1431 | isa = XCBuildConfiguration; 1432 | buildSettings = { 1433 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1434 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1435 | CLANG_ANALYZER_NONNULL = YES; 1436 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1437 | CLANG_WARN_INFINITE_RECURSION = YES; 1438 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1439 | COPY_PHASE_STRIP = NO; 1440 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1441 | GCC_NO_COMMON_BLOCKS = YES; 1442 | HEADER_SEARCH_PATHS = ( 1443 | "$(inherited)", 1444 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient", 1445 | "$(SRCROOT)/../node_modules/react-native-video/ios", 1446 | "$(SRCROOT)/../node_modules/react-native-blur/ios", 1447 | ); 1448 | INFOPLIST_FILE = "ParallaxSwiperExample-tvOS/Info.plist"; 1449 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1450 | LIBRARY_SEARCH_PATHS = ( 1451 | "$(inherited)", 1452 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1453 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1454 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1455 | ); 1456 | OTHER_LDFLAGS = ( 1457 | "-ObjC", 1458 | "-lc++", 1459 | ); 1460 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ParallaxSwiperExample-tvOS"; 1461 | PRODUCT_NAME = "$(TARGET_NAME)"; 1462 | SDKROOT = appletvos; 1463 | TARGETED_DEVICE_FAMILY = 3; 1464 | TVOS_DEPLOYMENT_TARGET = 9.2; 1465 | }; 1466 | name = Release; 1467 | }; 1468 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1469 | isa = XCBuildConfiguration; 1470 | buildSettings = { 1471 | BUNDLE_LOADER = "$(TEST_HOST)"; 1472 | CLANG_ANALYZER_NONNULL = YES; 1473 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1474 | CLANG_WARN_INFINITE_RECURSION = YES; 1475 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1476 | DEBUG_INFORMATION_FORMAT = dwarf; 1477 | ENABLE_TESTABILITY = YES; 1478 | GCC_NO_COMMON_BLOCKS = YES; 1479 | INFOPLIST_FILE = "ParallaxSwiperExample-tvOSTests/Info.plist"; 1480 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1481 | LIBRARY_SEARCH_PATHS = ( 1482 | "$(inherited)", 1483 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1484 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1485 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1486 | ); 1487 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ParallaxSwiperExample-tvOSTests"; 1488 | PRODUCT_NAME = "$(TARGET_NAME)"; 1489 | SDKROOT = appletvos; 1490 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ParallaxSwiperExample-tvOS.app/ParallaxSwiperExample-tvOS"; 1491 | TVOS_DEPLOYMENT_TARGET = 10.1; 1492 | }; 1493 | name = Debug; 1494 | }; 1495 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1496 | isa = XCBuildConfiguration; 1497 | buildSettings = { 1498 | BUNDLE_LOADER = "$(TEST_HOST)"; 1499 | CLANG_ANALYZER_NONNULL = YES; 1500 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1501 | CLANG_WARN_INFINITE_RECURSION = YES; 1502 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1503 | COPY_PHASE_STRIP = NO; 1504 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1505 | GCC_NO_COMMON_BLOCKS = YES; 1506 | INFOPLIST_FILE = "ParallaxSwiperExample-tvOSTests/Info.plist"; 1507 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1508 | LIBRARY_SEARCH_PATHS = ( 1509 | "$(inherited)", 1510 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1511 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1512 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1513 | ); 1514 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ParallaxSwiperExample-tvOSTests"; 1515 | PRODUCT_NAME = "$(TARGET_NAME)"; 1516 | SDKROOT = appletvos; 1517 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ParallaxSwiperExample-tvOS.app/ParallaxSwiperExample-tvOS"; 1518 | TVOS_DEPLOYMENT_TARGET = 10.1; 1519 | }; 1520 | name = Release; 1521 | }; 1522 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1523 | isa = XCBuildConfiguration; 1524 | buildSettings = { 1525 | ALWAYS_SEARCH_USER_PATHS = NO; 1526 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1527 | CLANG_CXX_LIBRARY = "libc++"; 1528 | CLANG_ENABLE_MODULES = YES; 1529 | CLANG_ENABLE_OBJC_ARC = YES; 1530 | CLANG_WARN_BOOL_CONVERSION = YES; 1531 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1532 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1533 | CLANG_WARN_EMPTY_BODY = YES; 1534 | CLANG_WARN_ENUM_CONVERSION = YES; 1535 | CLANG_WARN_INT_CONVERSION = YES; 1536 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1537 | CLANG_WARN_UNREACHABLE_CODE = YES; 1538 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1539 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1540 | COPY_PHASE_STRIP = NO; 1541 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1542 | GCC_C_LANGUAGE_STANDARD = gnu99; 1543 | GCC_DYNAMIC_NO_PIC = NO; 1544 | GCC_OPTIMIZATION_LEVEL = 0; 1545 | GCC_PREPROCESSOR_DEFINITIONS = ( 1546 | "DEBUG=1", 1547 | "$(inherited)", 1548 | ); 1549 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1550 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1551 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1552 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1553 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1554 | GCC_WARN_UNUSED_FUNCTION = YES; 1555 | GCC_WARN_UNUSED_VARIABLE = YES; 1556 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1557 | MTL_ENABLE_DEBUG_INFO = YES; 1558 | ONLY_ACTIVE_ARCH = YES; 1559 | SDKROOT = iphoneos; 1560 | }; 1561 | name = Debug; 1562 | }; 1563 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1564 | isa = XCBuildConfiguration; 1565 | buildSettings = { 1566 | ALWAYS_SEARCH_USER_PATHS = NO; 1567 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1568 | CLANG_CXX_LIBRARY = "libc++"; 1569 | CLANG_ENABLE_MODULES = YES; 1570 | CLANG_ENABLE_OBJC_ARC = YES; 1571 | CLANG_WARN_BOOL_CONVERSION = YES; 1572 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1573 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1574 | CLANG_WARN_EMPTY_BODY = YES; 1575 | CLANG_WARN_ENUM_CONVERSION = YES; 1576 | CLANG_WARN_INT_CONVERSION = YES; 1577 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1578 | CLANG_WARN_UNREACHABLE_CODE = YES; 1579 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1580 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1581 | COPY_PHASE_STRIP = YES; 1582 | ENABLE_NS_ASSERTIONS = NO; 1583 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1584 | GCC_C_LANGUAGE_STANDARD = gnu99; 1585 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1586 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1587 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1588 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1589 | GCC_WARN_UNUSED_FUNCTION = YES; 1590 | GCC_WARN_UNUSED_VARIABLE = YES; 1591 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1592 | MTL_ENABLE_DEBUG_INFO = NO; 1593 | SDKROOT = iphoneos; 1594 | VALIDATE_PRODUCT = YES; 1595 | }; 1596 | name = Release; 1597 | }; 1598 | /* End XCBuildConfiguration section */ 1599 | 1600 | /* Begin XCConfigurationList section */ 1601 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ParallaxSwiperExampleTests" */ = { 1602 | isa = XCConfigurationList; 1603 | buildConfigurations = ( 1604 | 00E356F61AD99517003FC87E /* Debug */, 1605 | 00E356F71AD99517003FC87E /* Release */, 1606 | ); 1607 | defaultConfigurationIsVisible = 0; 1608 | defaultConfigurationName = Release; 1609 | }; 1610 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample" */ = { 1611 | isa = XCConfigurationList; 1612 | buildConfigurations = ( 1613 | 13B07F941A680F5B00A75B9A /* Debug */, 1614 | 13B07F951A680F5B00A75B9A /* Release */, 1615 | ); 1616 | defaultConfigurationIsVisible = 0; 1617 | defaultConfigurationName = Release; 1618 | }; 1619 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample-tvOS" */ = { 1620 | isa = XCConfigurationList; 1621 | buildConfigurations = ( 1622 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1623 | 2D02E4981E0B4A5E006451C7 /* Release */, 1624 | ); 1625 | defaultConfigurationIsVisible = 0; 1626 | defaultConfigurationName = Release; 1627 | }; 1628 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ParallaxSwiperExample-tvOSTests" */ = { 1629 | isa = XCConfigurationList; 1630 | buildConfigurations = ( 1631 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1632 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1633 | ); 1634 | defaultConfigurationIsVisible = 0; 1635 | defaultConfigurationName = Release; 1636 | }; 1637 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ParallaxSwiperExample" */ = { 1638 | isa = XCConfigurationList; 1639 | buildConfigurations = ( 1640 | 83CBBA201A601CBA00E9B192 /* Debug */, 1641 | 83CBBA211A601CBA00E9B192 /* Release */, 1642 | ); 1643 | defaultConfigurationIsVisible = 0; 1644 | defaultConfigurationName = Release; 1645 | }; 1646 | /* End XCConfigurationList section */ 1647 | }; 1648 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1649 | } 1650 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample.xcodeproj/xcshareddata/xcschemes/ParallaxSwiperExample-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample.xcodeproj/xcshareddata/xcschemes/ParallaxSwiperExample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 62 | 68 | 69 | 70 | 71 | 72 | 78 | 79 | 80 | 81 | 82 | 83 | 94 | 96 | 102 | 103 | 104 | 105 | 106 | 107 | 113 | 115 | 121 | 122 | 123 | 124 | 126 | 127 | 130 | 131 | 132 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"ParallaxSwiperExample" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ParallaxSwiperExample 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIRequiredDeviceCapabilities 43 | 44 | armv7 45 | 46 | UISupportedInterfaceOrientations 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | UIViewControllerBasedStatusBarAppearance 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExample/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExampleTests/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 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/ios/ParallaxSwiperExampleTests/ParallaxSwiperExampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface ParallaxSwiperExampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ParallaxSwiperExampleTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ParallaxSwiperExample", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.0.0", 11 | "react-native": "0.50.4", 12 | "react-native-blur": "^3.2.2", 13 | "react-native-linear-gradient": "^2.3.0", 14 | "react-native-parallax-swiper": "^1.0.0", 15 | "react-native-typography": "https://github.com/zachgibson/react-native-typography", 16 | "react-native-video": "^2.0.0", 17 | "react-navigation": "^1.0.0-beta.21" 18 | }, 19 | "devDependencies": { 20 | "babel-jest": "21.2.0", 21 | "babel-preset-react-native": "4.0.0", 22 | "jest": "21.2.1", 23 | "react-test-renderer": "16.0.0" 24 | }, 25 | "jest": { 26 | "preset": "react-native" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/ellipses@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/ellipses@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/heart-big@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/heart-big@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/heart-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/heart-small@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/retweet@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/retweet@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/share@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/share@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/assets/x@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Twitter/assets/x@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/data.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | { 3 | id: '1', 4 | userName: 'R A D I O', 5 | userHandle: '@madebyradio', 6 | text: 'Check out our new post on Dribbble: Shredder 💀', 7 | retweetCount: 424, 8 | likeCount: 2000, 9 | media: 10 | 'https://cdn.dribbble.com/users/99875/screenshots/2278917/death_skater_dribbs.gif', 11 | }, 12 | { 13 | id: '2', 14 | userName: 'Daniel Mackey', 15 | userHandle: '@danielmackeyy', 16 | text: 'gyaradociclytis #gyarados #pokemon #illustration', 17 | retweetCount: 9, 18 | likeCount: 53, 19 | media: 20 | 'https://cdn.dribbble.com/users/112047/screenshots/3641294/gyarados_reg-drib_.jpg', 21 | }, 22 | { 23 | id: '3', 24 | userName: 'Gleb Kuznetsov', 25 | userHandle: '@glebich', 26 | text: 'Apple iOS11 Siri visual effect motion', 27 | retweetCount: 19, 28 | likeCount: 113, 29 | media: 30 | 'https://cdn.dribbble.com/users/32512/screenshots/3546148/apple_siri_motion_animation_by_gleb.gif', 31 | }, 32 | ]; 33 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Twitter/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | View, 4 | Text, 5 | Image, 6 | Dimensions, 7 | StyleSheet, 8 | TouchableOpacity, 9 | Animated, 10 | } from 'react-native'; 11 | 12 | import { 13 | ParallaxSwiper, 14 | ParallaxSwiperPage, 15 | } from 'react-native-parallax-swiper'; 16 | import LinearGradient from 'react-native-linear-gradient'; 17 | 18 | import data from './data'; 19 | 20 | const smallRetweetIcon = require('./assets/retweet.png'); 21 | const smallHeartIcon = require('./assets/heart-small.png'); 22 | const smallEllipsesIcon = require('./assets/ellipses.png'); 23 | const xIcon = require('./assets/x.png'); 24 | const heartIcon = require('./assets/heart-big.png'); 25 | const shareIcon = require('./assets/share.png'); 26 | 27 | const { width: deviceWidth, height: deviceHeight } = Dimensions.get('window'); 28 | const myAnimatedValue = new Animated.Value(0); 29 | 30 | export default ({ navigation }) => 31 | ( 32 | 38 | {data.map(tweet => 39 | ( 48 | } 49 | ForegroundComponent={ 50 | 51 | 55 | 56 | 57 | {tweet.userName} 58 | 59 | 60 | {tweet.userHandle} 61 | 62 | 63 | 64 | 65 | {tweet.text} 66 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | {tweet.retweetCount} 81 | 82 | 83 | 84 | 90 | 91 | 92 | 93 | {tweet.likeCount} 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | } 102 | />), 103 | )} 104 | 105 | { 107 | navigation.goBack(); 108 | }} 109 | style={[styles.largeButtonContainer, { left: 12 }]} 110 | > 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 136 | 137 | ); 138 | 139 | const styles = StyleSheet.create({ 140 | innerContainer: { 141 | flex: 1, 142 | justifyContent: 'flex-end', 143 | }, 144 | image: { 145 | width: deviceWidth, 146 | height: deviceHeight, 147 | }, 148 | gradient: { 149 | paddingHorizontal: 12, 150 | paddingVertical: 24, 151 | backgroundColor: 'transparent', 152 | }, 153 | twitterNameAndHandleContainer: { 154 | flexDirection: 'row', 155 | marginBottom: 4, 156 | }, 157 | twitterName: { 158 | marginRight: 4, 159 | fontSize: 16, 160 | fontWeight: '600', 161 | color: 'white', 162 | }, 163 | twitterHandle: { 164 | fontSize: 16, 165 | color: 'white', 166 | }, 167 | tweetTextContainer: { 168 | marginBottom: 12, 169 | }, 170 | tweetText: { 171 | fontSize: 16, 172 | color: 'white', 173 | }, 174 | buttonWithTextContainer: { 175 | flexDirection: 'row', 176 | alignItems: 'center', 177 | marginRight: 24, 178 | }, 179 | bottomIconsContainer: { 180 | flex: 1, 181 | flexDirection: 'row', 182 | }, 183 | icon: { 184 | tintColor: 'white', 185 | }, 186 | buttonText: { 187 | fontSize: 12, 188 | fontWeight: '600', 189 | color: 'rgba(255,255,255,0.5)', 190 | }, 191 | smallButtonsContainer: { 192 | flexDirection: 'row', 193 | alignItems: 'center', 194 | justifyContent: 'center', 195 | marginBottom: 8, 196 | }, 197 | smallButtonContainer: { 198 | alignItems: 'center', 199 | justifyContent: 'center', 200 | width: 24, 201 | height: 24, 202 | backgroundColor: 'rgba(255,255,255,0.2)', 203 | borderRadius: 12, 204 | }, 205 | smallButtonWithTextIconContainer: { 206 | marginRight: 12, 207 | }, 208 | largeButtonContainer: { 209 | alignItems: 'center', 210 | justifyContent: 'center', 211 | position: 'absolute', 212 | top: 12, 213 | width: 32, 214 | height: 32, 215 | backgroundColor: 'rgba(0,0,0,0.25)', 216 | borderRadius: 16, 217 | }, 218 | progressBarContainer: { 219 | position: 'absolute', 220 | bottom: 0, 221 | left: 0, 222 | right: 0, 223 | height: 4, 224 | backgroundColor: 'rgba(255,255,255,0.2)', 225 | }, 226 | progressBar: { 227 | ...StyleSheet.absoluteFillObject, 228 | backgroundColor: 'white', 229 | }, 230 | }); 231 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/heart@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/heart@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/home@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/home@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/messages@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/messages@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/play@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/play@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/profile@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/profile@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/assets/search@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/examples/ParallaxSwiperExample/screens/Vevo/assets/search@3x.png -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/data.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | { 3 | id: '1', 4 | artistName: 'Miguel Ft. Travis Scott', 5 | name: 'Skywalker', 6 | likeCount: '50k', 7 | media: 'https://s3-us-west-2.amazonaws.com/zach-random-stuff/skywalker.mp4', 8 | }, 9 | { 10 | id: '2', 11 | artistName: 'Taylor Swift', 12 | name: 'Look What You Made Me Do', 13 | likeCount: '100k', 14 | media: 'https://s3-us-west-2.amazonaws.com/zach-random-stuff/look.mp4', 15 | }, 16 | { 17 | id: '3', 18 | artistName: 'Khalid', 19 | name: 'Young Dumb & Broke', 20 | likeCount: '2k', 21 | media: 'https://s3-us-west-2.amazonaws.com/zach-random-stuff/young.mp4', 22 | }, 23 | ]; 24 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/Vevo/index.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | Dimensions, 7 | Image, 8 | Animated, 9 | } from 'react-native'; 10 | 11 | import { 12 | ParallaxSwiper, 13 | ParallaxSwiperPage, 14 | } from 'react-native-parallax-swiper'; 15 | import Video from 'react-native-video'; 16 | import { BlurView } from 'react-native-blur'; 17 | 18 | import data from './data'; 19 | 20 | const { width: deviceWidth, height: deviceHeight } = Dimensions.get('window'); 21 | 22 | const homeIcon = require('./assets/home.png'); 23 | const searchIcon = require('./assets/search.png'); 24 | const messagesIcon = require('./assets/messages.png'); 25 | const profileIcon = require('./assets/profile.png'); 26 | 27 | export default class extends Component { 28 | componentDidMount() { 29 | this.playAnimation(0); 30 | } 31 | 32 | playAnimation = (activeIndex) => { 33 | if (this.previousPageIndex === activeIndex) { 34 | return; 35 | } 36 | 37 | data.forEach((song, i) => { 38 | this.playButtonAnim8Val[i].setValue(0); 39 | this.artistNameAnim8Val[i].setValue(0); 40 | this.songNameAnim8Val[i].setValue(0); 41 | this.songLikesAnim8Val[i].setValue(0); 42 | }); 43 | 44 | Animated.spring(this.playButtonAnim8Val[activeIndex], { 45 | toValue: 1, 46 | useNativeDriver: true, 47 | }).start(); 48 | 49 | setTimeout(() => { 50 | Animated.stagger(50, [ 51 | Animated.spring(this.artistNameAnim8Val[activeIndex], { 52 | toValue: 1, 53 | useNativeDriver: true, 54 | }), 55 | Animated.spring(this.songNameAnim8Val[activeIndex], { 56 | toValue: 1, 57 | useNativeDriver: true, 58 | }), 59 | Animated.spring(this.songLikesAnim8Val[activeIndex], { 60 | toValue: 1, 61 | useNativeDriver: true, 62 | }), 63 | ]).start(); 64 | }, 250); 65 | 66 | this.previousPageIndex = activeIndex; 67 | }; 68 | 69 | // Define our custom Animated Value to anim8 based onScroll 70 | myCustomAnimatedVal = new Animated.Value(0); 71 | 72 | playButtonAnim8Val = data.map(() => new Animated.Value(0)); 73 | artistNameAnim8Val = data.map(() => new Animated.Value(0)); 74 | songNameAnim8Val = data.map(() => new Animated.Value(0)); 75 | songLikesAnim8Val = data.map(() => new Animated.Value(0)); 76 | 77 | previousPageIndex = null; 78 | 79 | render() { 80 | return ( 81 | 82 | 83 | { 87 | this.playAnimation(activeIndex); 88 | }} 89 | animatedValue={this.myCustomAnimatedVal} 90 | > 91 | {data.map((song, i) => 92 | ( 96 | 287 | 288 | 291 | 292 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | ); 309 | } 310 | } 311 | 312 | const styles = StyleSheet.create({ 313 | tabBarIconContainer: { 314 | flex: 1, 315 | alignItems: 'center', 316 | justifyContent: 'center', 317 | }, 318 | tabBarIcon: { 319 | tintColor: '#999', 320 | }, 321 | }); 322 | -------------------------------------------------------------------------------- /examples/ParallaxSwiperExample/screens/index.js: -------------------------------------------------------------------------------- 1 | import Twitter from './Twitter'; 2 | 3 | export { Twitter }; 4 | -------------------------------------------------------------------------------- /images/QR-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachgibson/react-native-parallax-swiper/7d54c5e853afbe4580680d330dfff7029db8e272/images/QR-code.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-parallax-swiper", 3 | "version": "1.1.7", 4 | "description": "Full Screen Parallax Swiper Allowing Arbitrary UI Injection", 5 | "main": "src/index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/zachgibson/react-native-parallax-swiper.git" 9 | }, 10 | "keywords": [ 11 | "react-native-component", 12 | "react-native", 13 | "ios", 14 | "parallax", 15 | "scrollable", 16 | "swiper", 17 | "gallery-swiper" 18 | ], 19 | "author": "Zach Gibson", 20 | "license": "MIT", 21 | "homepage": "https://github.com/zachgibson/react-native-parallax-swiper#react-native-parallax-swiper", 22 | "bugs": { 23 | "url": "https://github.com/zachgibson/react-native-parallax-swiper/issues" 24 | }, 25 | "devDependencies": { 26 | "babel-eslint": "^7.2.3", 27 | "babel-preset-react-native": "^1.9.2", 28 | "eslint": "^3.19.0", 29 | "eslint-config-airbnb": "^15.0.1", 30 | "eslint-plugin-class-property": "^1.0.6", 31 | "eslint-plugin-import": "^2.2.0", 32 | "eslint-plugin-jsx-a11y": "^5.0.1", 33 | "eslint-plugin-prefer-class-properties": "^1.0.0", 34 | "eslint-plugin-react": "^7.0.1", 35 | "eslint-plugin-react-native": "^2.3.2" 36 | }, 37 | "peerDependencies": { 38 | "react": ">=15.3.1", 39 | "react-native": ">=0.37.0" 40 | }, 41 | "dependencies": { 42 | "prop-types": "^15.5.7" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/ParallaxSwiper.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, Animated, StyleSheet, Dimensions } from 'react-native'; 3 | import PropTypes from 'prop-types'; 4 | 5 | import ParallaxSwiperPage, { 6 | ParallaxSwiperPagePropTypes, 7 | } from './ParallaxSwiperPage'; 8 | 9 | const { width: deviceWidth, height: deviceHeight } = Dimensions.get('window'); 10 | 11 | class ParallaxSwiper extends Component { 12 | state = { 13 | width: deviceWidth, 14 | height: deviceHeight, 15 | }; 16 | 17 | componentDidMount() { 18 | const { scrollToIndex } = this.props; 19 | 20 | if (scrollToIndex) { 21 | setTimeout(() => { 22 | this.scrollToIndex(scrollToIndex, false); 23 | }); 24 | } 25 | } 26 | 27 | componentWillReceiveProps(nextProps) { 28 | this.scrollToIndex(nextProps.scrollToIndex); 29 | } 30 | 31 | onScrollEnd(e) { 32 | const { vertical, onMomentumScrollEnd } = this.props; 33 | const contentOffset = vertical 34 | ? e.nativeEvent.contentOffset.y 35 | : e.nativeEvent.contentOffset.x; 36 | const viewSize = vertical ? this.state.height : this.state.width; 37 | 38 | // Divide content offset by size of the view to see which page is visible 39 | this.pageIndex = Math.abs((contentOffset / viewSize).toFixed()) || 0; 40 | onMomentumScrollEnd(this.pageIndex); 41 | } 42 | 43 | setScrollViewSize = (width, height) => { 44 | this.setState({ width, height }); 45 | }; 46 | 47 | scrollToIndex(index, animated = true) { 48 | const { vertical, dividerWidth, animatedValue } = this.props; 49 | const pageWidth = this.state.width + dividerWidth; 50 | const pageHeight = this.state.height; 51 | const scrollOffset = vertical ? index * pageHeight : index * pageWidth; 52 | 53 | if (!this.animatedScrollViewHasScrolled) { 54 | animatedValue.setValue(scrollOffset); 55 | this.animatedScrollViewHasScrolled = true; 56 | } 57 | 58 | this.animatedScrollView._component.scrollTo({ 59 | x: vertical ? 0 : scrollOffset, 60 | y: vertical ? scrollOffset : 0, 61 | animated, 62 | }); 63 | } 64 | 65 | animatedScrollViewHasScrolled = false; 66 | pageIndex = 0; 67 | 68 | render() { 69 | const { 70 | children, 71 | speed, 72 | backgroundColor, 73 | dividerColor, 74 | dividerWidth, 75 | showsVerticalScrollIndicator, 76 | showsHorizontalScrollIndicator, 77 | vertical, 78 | animatedValue, 79 | scrollEnabled, 80 | showProgressBar, 81 | progressBarThickness, 82 | progressBarBackgroundColor, 83 | progressBarValueBackgroundColor, 84 | } = this.props; 85 | 86 | return ( 87 | 88 | { 90 | this.animatedScrollView = scrollView; 91 | }} 92 | scrollEnabled={scrollEnabled} 93 | style={{ 94 | width: vertical 95 | ? this.state.width 96 | : this.state.width + dividerWidth, 97 | height: this.state.height, 98 | backgroundColor, 99 | }} 100 | horizontal={!vertical} 101 | pagingEnabled 102 | scrollEventThrottle={1} 103 | onScroll={Animated.event( 104 | [ 105 | { 106 | nativeEvent: vertical 107 | ? { contentOffset: { y: animatedValue } } 108 | : { contentOffset: { x: animatedValue } }, 109 | }, 110 | ], 111 | { useNativeDriver: true }, 112 | )} 113 | showsVerticalScrollIndicator={showsVerticalScrollIndicator} 114 | showsHorizontalScrollIndicator={showsHorizontalScrollIndicator} 115 | onMomentumScrollEnd={e => this.onScrollEnd(e)} 116 | > 117 | {React.Children.map(children, (child, i) => { 118 | const dividerBackgroundColor = 119 | i !== children.length - 1 && children.length > 0 120 | ? dividerColor 121 | : 'transparent'; 122 | 123 | return ( 124 | 125 | 137 | {!vertical && ( 138 | 145 | )} 146 | 147 | ); 148 | })} 149 | 150 | {showProgressBar && ( 151 | 159 | 194 | 195 | )} 196 | 197 | ); 198 | } 199 | } 200 | 201 | const styles = StyleSheet.create({ 202 | pageOuterContainer: { 203 | flexDirection: 'row', 204 | }, 205 | progressBar: { 206 | ...StyleSheet.absoluteFillObject, 207 | }, 208 | }); 209 | 210 | ParallaxSwiper.propTypes = { 211 | backgroundColor: PropTypes.string, 212 | dividerColor: PropTypes.string, 213 | dividerWidth: PropTypes.number, 214 | speed(props, propName, componentName) { 215 | if (props[propName] < 0 || props[propName] > 1) { 216 | return new Error( 217 | `Invalid 'speed' prop for ${componentName}. Number should be between 0 and 1.`, 218 | ); 219 | } 220 | }, 221 | showsHorizontalScrollIndicator: PropTypes.bool, 222 | onMomentumScrollEnd: PropTypes.func, 223 | children: PropTypes.arrayOf((propValue, key, componentName) => { 224 | const childComponentName = propValue[key].type.displayName; 225 | if (!/ParallaxSwiperPage/.test(childComponentName)) { 226 | return new Error( 227 | `Invalid component '${childComponentName}' supplied to ${componentName}. Use 'ParallaxSwiperPage' instead.`, 228 | ); 229 | } 230 | }), 231 | vertical: PropTypes.bool, 232 | showsVerticalScrollIndicator: PropTypes.bool, 233 | animatedValue: PropTypes.instanceOf(Animated.Value), 234 | scrollEnabled: PropTypes.bool, 235 | scrollToIndex: PropTypes.number, 236 | showProgressBar: PropTypes.bool, 237 | progressBarThickness: PropTypes.number, 238 | progressBarBackgroundColor: PropTypes.string, 239 | progressBarValueBackgroundColor: PropTypes.string, 240 | }; 241 | 242 | ParallaxSwiper.defaultProps = { 243 | backgroundColor: 'black', 244 | dividerColor: 'black', 245 | dividerWidth: 8, 246 | speed: 0.25, 247 | showsHorizontalScrollIndicator: false, 248 | vertical: false, 249 | showsVerticalScrollIndicator: false, 250 | animatedValue: new Animated.Value(0), 251 | onMomentumScrollEnd: () => null, 252 | scrollToIndex: 0, 253 | scrollEnabled: true, 254 | showProgressBar: false, 255 | progressBarThickness: 4, 256 | progressBarBackgroundColor: 'rgba(255,255,255,0.25)', 257 | progressBarValueBackgroundColor: 'white', 258 | }; 259 | 260 | export default ParallaxSwiper; 261 | -------------------------------------------------------------------------------- /src/ParallaxSwiperPage.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { View, Animated, StyleSheet, Dimensions } from 'react-native'; 3 | import PropTypes from 'prop-types'; 4 | 5 | const { width: deviceWidth, height: deviceHeight } = Dimensions.get('window'); 6 | 7 | class ParallaxSwiperPage extends Component { 8 | setPageSize = ({ nativeEvent }) => { 9 | this.props.setScrollViewSize( 10 | nativeEvent.layout.width, 11 | nativeEvent.layout.height, 12 | ); 13 | }; 14 | 15 | getParallaxStyles(i) { 16 | const { 17 | speed, 18 | dividerWidth, 19 | vertical, 20 | animatedValue, 21 | pageWidth, 22 | pageHeight, 23 | } = this.props; 24 | const totalPageWidth = pageWidth + dividerWidth; 25 | const horizontalSpeed = 26 | dividerWidth === 0 27 | ? Math.abs(pageWidth * speed - pageWidth) 28 | : Math.abs(pageWidth * speed - dividerWidth - pageWidth); 29 | const verticalSpeed = Math.abs(pageHeight * speed - pageHeight); 30 | 31 | const horizontalStyles = { 32 | transform: [ 33 | { 34 | translateX: animatedValue.interpolate({ 35 | inputRange: [ 36 | (i - 1) * totalPageWidth, 37 | i * (pageWidth + dividerWidth), 38 | (i + 1) * totalPageWidth, 39 | ], 40 | outputRange: [-horizontalSpeed, 0, horizontalSpeed], 41 | extrapolate: 'clamp', 42 | }), 43 | }, 44 | ], 45 | }; 46 | 47 | const verticalStyles = { 48 | transform: [ 49 | { 50 | translateY: animatedValue.interpolate({ 51 | inputRange: [ 52 | (i - 1) * pageHeight, 53 | i * pageHeight, 54 | (i + 1) * pageHeight, 55 | ], 56 | outputRange: [-verticalSpeed, 0, verticalSpeed], 57 | extrapolate: 'clamp', 58 | }), 59 | }, 60 | ], 61 | }; 62 | 63 | if (speed === 1) { 64 | return {}; 65 | } 66 | 67 | if (vertical) { 68 | return verticalStyles; 69 | } 70 | return horizontalStyles; 71 | } 72 | 73 | render() { 74 | const { index, BackgroundComponent, ForegroundComponent } = this.props; 75 | 76 | return ( 77 | 78 | 79 | {BackgroundComponent} 80 | 81 | 82 | {ForegroundComponent} 83 | 84 | 85 | ); 86 | } 87 | } 88 | 89 | const styles = StyleSheet.create({ 90 | container: { 91 | overflow: 'hidden', 92 | flex: 1, 93 | }, 94 | foregroundContainer: { 95 | ...StyleSheet.absoluteFillObject, 96 | }, 97 | }); 98 | 99 | ParallaxSwiperPage.propTypes = { 100 | index: PropTypes.number, 101 | BackgroundComponent: PropTypes.element, 102 | ForegroundComponent: PropTypes.element, 103 | }; 104 | 105 | ParallaxSwiperPage.defaultProps = {}; 106 | 107 | export default ParallaxSwiperPage; 108 | export const ParallaxSwiperPagePropTypes = ParallaxSwiperPage.propTypes; 109 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import ParallaxSwiper from './ParallaxSwiper'; 2 | import ParallaxSwiperPage from './ParallaxSwiperPage'; 3 | 4 | export { ParallaxSwiper, ParallaxSwiperPage }; 5 | --------------------------------------------------------------------------------