├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .vscode ├── launchReactNative.js └── typings │ ├── react-native │ └── react-native.d.ts │ └── react │ ├── react-addons-create-fragment.d.ts │ ├── react-addons-css-transition-group.d.ts │ ├── react-addons-linked-state-mixin.d.ts │ ├── react-addons-perf.d.ts │ ├── react-addons-pure-render-mixin.d.ts │ ├── react-addons-test-utils.d.ts │ ├── react-addons-transition-group.d.ts │ ├── react-addons-update.d.ts │ ├── react-dom.d.ts │ ├── react-global.d.ts │ └── react.d.ts ├── .watchmanconfig ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── java │ │ └── com │ │ │ └── rotten │ │ │ ├── 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 ├── assets └── stpatricks-soft-pretzel.jpg ├── components └── Navbar.js ├── data.js ├── demo.gif ├── index.android.js ├── index.ios.js ├── ios ├── rotten.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── rotten.xcscheme ├── rotten │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── rottenTests │ ├── Info.plist │ └── rottenTests.m ├── package.json ├── tsconfig.json └── typings └── react-native.d.ts /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | module.system=haste 26 | 27 | experimental.strict_type_args=true 28 | 29 | munge_underscores=true 30 | 31 | 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' 32 | 33 | suppress_type=$FlowIssue 34 | suppress_type=$FlowFixMe 35 | suppress_type=$FixMe 36 | 37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 40 | 41 | unsafe.enable_getters_and_setters=true 42 | 43 | [version] 44 | ^0.36.0 45 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | 38 | # BUCK 39 | buck-out/ 40 | \.buckd/ 41 | android/app/libs 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.vscode/launchReactNative.js: -------------------------------------------------------------------------------- 1 | // This file is automatically generated by vscode-react-native@0.2.3 2 | // Please do not modify it manually. All changes will be lost. 3 | try { 4 | var path = require("path"); 5 | var Launcher = require("/Users/mario/.vscode/extensions/vsmobile.vscode-react-native-0.2.3/out/debugger/launcher.js").Launcher; 6 | new Launcher(path.resolve(__dirname, "..")).launch(); 7 | } catch (e) { 8 | throw new Error("Unable to launch application. Try deleting .vscode/launchReactNative.js and restarting vscode."); 9 | } -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-create-fragment.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-create-fragment) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | namespace __Addons { 10 | export function createFragment(object: { [key: string]: ReactNode }): ReactFragment; 11 | } 12 | } 13 | 14 | declare module "react-addons-create-fragment" { 15 | export = __React.__Addons.createFragment; 16 | } 17 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-css-transition-group.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-css-transition-group) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | /// 8 | 9 | declare namespace __React { 10 | interface CSSTransitionGroupTransitionName { 11 | enter: string; 12 | enterActive?: string; 13 | leave: string; 14 | leaveActive?: string; 15 | appear?: string; 16 | appearActive?: string; 17 | } 18 | 19 | interface CSSTransitionGroupProps extends TransitionGroupProps { 20 | transitionName: string | CSSTransitionGroupTransitionName; 21 | transitionAppear?: boolean; 22 | transitionAppearTimeout?: number; 23 | transitionEnter?: boolean; 24 | transitionEnterTimeout?: number; 25 | transitionLeave?: boolean; 26 | transitionLeaveTimeout?: number; 27 | } 28 | 29 | type CSSTransitionGroup = ComponentClass; 30 | 31 | namespace __Addons { 32 | export var CSSTransitionGroup: __React.CSSTransitionGroup; 33 | } 34 | } 35 | 36 | declare module "react-addons-css-transition-group" { 37 | var CSSTransitionGroup: __React.CSSTransitionGroup; 38 | type CSSTransitionGroup = __React.CSSTransitionGroup; 39 | export = CSSTransitionGroup; 40 | } 41 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-linked-state-mixin.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-linked-state-mixin) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | interface ReactLink { 10 | value: T; 11 | requestChange(newValue: T): void; 12 | } 13 | 14 | interface LinkedStateMixin extends Mixin { 15 | linkState(key: string): ReactLink; 16 | } 17 | 18 | interface HTMLAttributes { 19 | checkedLink?: ReactLink; 20 | valueLink?: ReactLink; 21 | } 22 | 23 | namespace __Addons { 24 | export var LinkedStateMixin: LinkedStateMixin; 25 | } 26 | } 27 | 28 | declare module "react-addons-linked-state-mixin" { 29 | var LinkedStateMixin: __React.LinkedStateMixin; 30 | type LinkedStateMixin = __React.LinkedStateMixin; 31 | export = LinkedStateMixin; 32 | } 33 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-perf.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-perf) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | interface ComponentPerfContext { 10 | current: string; 11 | owner: string; 12 | } 13 | 14 | interface NumericPerfContext { 15 | [key: string]: number; 16 | } 17 | 18 | interface Measurements { 19 | exclusive: NumericPerfContext; 20 | inclusive: NumericPerfContext; 21 | render: NumericPerfContext; 22 | counts: NumericPerfContext; 23 | writes: NumericPerfContext; 24 | displayNames: { 25 | [key: string]: ComponentPerfContext; 26 | }; 27 | totalTime: number; 28 | } 29 | 30 | namespace __Addons { 31 | namespace Perf { 32 | export function start(): void; 33 | export function stop(): void; 34 | export function printInclusive(measurements: Measurements[]): void; 35 | export function printExclusive(measurements: Measurements[]): void; 36 | export function printWasted(measurements: Measurements[]): void; 37 | export function printDOM(measurements: Measurements[]): void; 38 | export function getLastMeasurements(): Measurements[]; 39 | } 40 | } 41 | } 42 | 43 | declare module "react-addons-perf" { 44 | import Perf = __React.__Addons.Perf; 45 | export = Perf; 46 | } 47 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-pure-render-mixin.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-pure-render-mixin) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | interface PureRenderMixin extends Mixin {} 10 | 11 | namespace __Addons { 12 | export var PureRenderMixin: PureRenderMixin; 13 | } 14 | } 15 | 16 | declare module "react-addons-pure-render-mixin" { 17 | var PureRenderMixin: __React.PureRenderMixin; 18 | type PureRenderMixin = __React.PureRenderMixin; 19 | export = PureRenderMixin; 20 | } 21 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-test-utils.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-test-utils) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | interface SyntheticEventData { 10 | altKey?: boolean; 11 | button?: number; 12 | buttons?: number; 13 | clientX?: number; 14 | clientY?: number; 15 | changedTouches?: TouchList; 16 | charCode?: boolean; 17 | clipboardData?: DataTransfer; 18 | ctrlKey?: boolean; 19 | deltaMode?: number; 20 | deltaX?: number; 21 | deltaY?: number; 22 | deltaZ?: number; 23 | detail?: number; 24 | getModifierState?(key: string): boolean; 25 | key?: string; 26 | keyCode?: number; 27 | locale?: string; 28 | location?: number; 29 | metaKey?: boolean; 30 | pageX?: number; 31 | pageY?: number; 32 | relatedTarget?: EventTarget; 33 | repeat?: boolean; 34 | screenX?: number; 35 | screenY?: number; 36 | shiftKey?: boolean; 37 | targetTouches?: TouchList; 38 | touches?: TouchList; 39 | view?: AbstractView; 40 | which?: number; 41 | } 42 | 43 | interface EventSimulator { 44 | (element: Element, eventData?: SyntheticEventData): void; 45 | (component: Component, eventData?: SyntheticEventData): void; 46 | } 47 | 48 | interface MockedComponentClass { 49 | new(): any; 50 | } 51 | 52 | class ShallowRenderer { 53 | getRenderOutput>(): E; 54 | getRenderOutput(): ReactElement; 55 | render(element: ReactElement, context?: any): void; 56 | unmount(): void; 57 | } 58 | 59 | namespace __Addons { 60 | namespace TestUtils { 61 | namespace Simulate { 62 | export var blur: EventSimulator; 63 | export var change: EventSimulator; 64 | export var click: EventSimulator; 65 | export var cut: EventSimulator; 66 | export var doubleClick: EventSimulator; 67 | export var drag: EventSimulator; 68 | export var dragEnd: EventSimulator; 69 | export var dragEnter: EventSimulator; 70 | export var dragExit: EventSimulator; 71 | export var dragLeave: EventSimulator; 72 | export var dragOver: EventSimulator; 73 | export var dragStart: EventSimulator; 74 | export var drop: EventSimulator; 75 | export var focus: EventSimulator; 76 | export var input: EventSimulator; 77 | export var keyDown: EventSimulator; 78 | export var keyPress: EventSimulator; 79 | export var keyUp: EventSimulator; 80 | export var mouseDown: EventSimulator; 81 | export var mouseEnter: EventSimulator; 82 | export var mouseLeave: EventSimulator; 83 | export var mouseMove: EventSimulator; 84 | export var mouseOut: EventSimulator; 85 | export var mouseOver: EventSimulator; 86 | export var mouseUp: EventSimulator; 87 | export var paste: EventSimulator; 88 | export var scroll: EventSimulator; 89 | export var submit: EventSimulator; 90 | export var touchCancel: EventSimulator; 91 | export var touchEnd: EventSimulator; 92 | export var touchMove: EventSimulator; 93 | export var touchStart: EventSimulator; 94 | export var wheel: EventSimulator; 95 | } 96 | 97 | export function renderIntoDocument( 98 | element: DOMElement): Element; 99 | export function renderIntoDocument

( 100 | element: ReactElement

): Component; 101 | export function renderIntoDocument>( 102 | element: ReactElement): C; 103 | 104 | export function mockComponent( 105 | mocked: MockedComponentClass, mockTagName?: string): typeof TestUtils; 106 | 107 | export function isElementOfType( 108 | element: ReactElement, type: ReactType): boolean; 109 | export function isDOMComponent(instance: ReactInstance): boolean; 110 | export function isCompositeComponent(instance: ReactInstance): boolean; 111 | export function isCompositeComponentWithType( 112 | instance: ReactInstance, 113 | type: ComponentClass): boolean; 114 | 115 | export function findAllInRenderedTree( 116 | root: Component, 117 | fn: (i: ReactInstance) => boolean): ReactInstance[]; 118 | 119 | export function scryRenderedDOMComponentsWithClass( 120 | root: Component, 121 | className: string): Element[]; 122 | export function findRenderedDOMComponentWithClass( 123 | root: Component, 124 | className: string): Element; 125 | 126 | export function scryRenderedDOMComponentsWithTag( 127 | root: Component, 128 | tagName: string): Element[]; 129 | export function findRenderedDOMComponentWithTag( 130 | root: Component, 131 | tagName: string): Element; 132 | 133 | export function scryRenderedComponentsWithType

( 134 | root: Component, 135 | type: ComponentClass

): Component[]; 136 | export function scryRenderedComponentsWithType>( 137 | root: Component, 138 | type: ComponentClass): C[]; 139 | 140 | export function findRenderedComponentWithType

( 141 | root: Component, 142 | type: ComponentClass

): Component; 143 | export function findRenderedComponentWithType>( 144 | root: Component, 145 | type: ComponentClass): C; 146 | 147 | export function createRenderer(): ShallowRenderer; 148 | } 149 | } 150 | } 151 | 152 | declare module "react-addons-test-utils" { 153 | import TestUtils = __React.__Addons.TestUtils; 154 | export = TestUtils; 155 | } 156 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-transition-group.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-transition-group) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | 10 | interface TransitionGroupProps { 11 | component?: ReactType; 12 | childFactory?: (child: ReactElement) => ReactElement; 13 | } 14 | 15 | type TransitionGroup = ComponentClass; 16 | 17 | namespace __Addons { 18 | export var TransitionGroup: __React.TransitionGroup; 19 | } 20 | } 21 | 22 | declare module "react-addons-transition-group" { 23 | var TransitionGroup: __React.TransitionGroup; 24 | type TransitionGroup = __React.TransitionGroup; 25 | export = TransitionGroup; 26 | } 27 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-addons-update.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-addons-update) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | interface UpdateSpecCommand { 10 | $set?: any; 11 | $merge?: {}; 12 | $apply?(value: any): any; 13 | } 14 | 15 | interface UpdateSpecPath { 16 | [key: string]: UpdateSpec; 17 | } 18 | 19 | type UpdateSpec = UpdateSpecCommand | UpdateSpecPath; 20 | 21 | interface UpdateArraySpec extends UpdateSpecCommand { 22 | $push?: any[]; 23 | $unshift?: any[]; 24 | $splice?: any[][]; 25 | } 26 | 27 | namespace __Addons { 28 | export function update(value: any[], spec: UpdateArraySpec): any[]; 29 | export function update(value: {}, spec: UpdateSpec): any; 30 | } 31 | } 32 | 33 | declare module "react-addons-update" { 34 | export = __React.__Addons.update; 35 | } 36 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-dom.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (react-dom) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare namespace __React { 9 | namespace __DOM { 10 | function findDOMNode(instance: ReactInstance): E; 11 | function findDOMNode(instance: ReactInstance): Element; 12 | 13 | function render

( 14 | element: DOMElement

, 15 | container: Element, 16 | callback?: (element: Element) => any): Element; 17 | function render( 18 | element: ClassicElement

, 19 | container: Element, 20 | callback?: (component: ClassicComponent) => any): ClassicComponent; 21 | function render( 22 | element: ReactElement

, 23 | container: Element, 24 | callback?: (component: Component) => any): Component; 25 | 26 | function unmountComponentAtNode(container: Element): boolean; 27 | 28 | var version: string; 29 | 30 | function unstable_batchedUpdates(callback: (a: A, b: B) => any, a: A, b: B): void; 31 | function unstable_batchedUpdates(callback: (a: A) => any, a: A): void; 32 | function unstable_batchedUpdates(callback: () => any): void; 33 | 34 | function unstable_renderSubtreeIntoContainer

( 35 | parentComponent: Component, 36 | nextElement: DOMElement

, 37 | container: Element, 38 | callback?: (element: Element) => any): Element; 39 | function unstable_renderSubtreeIntoContainer( 40 | parentComponent: Component, 41 | nextElement: ClassicElement

, 42 | container: Element, 43 | callback?: (component: ClassicComponent) => any): ClassicComponent; 44 | function unstable_renderSubtreeIntoContainer( 45 | parentComponent: Component, 46 | nextElement: ReactElement

, 47 | container: Element, 48 | callback?: (component: Component) => any): Component; 49 | } 50 | 51 | namespace __DOMServer { 52 | function renderToString(element: ReactElement): string; 53 | function renderToStaticMarkup(element: ReactElement): string; 54 | var version: string; 55 | } 56 | } 57 | 58 | declare module "react-dom" { 59 | import DOM = __React.__DOM; 60 | export = DOM; 61 | } 62 | 63 | declare module "react-dom/server" { 64 | import DOMServer = __React.__DOMServer; 65 | export = DOMServer; 66 | } 67 | -------------------------------------------------------------------------------- /.vscode/typings/react/react-global.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for React v0.14 (namespace) 2 | // Project: http://facebook.github.io/react/ 3 | // Definitions by: Asana , AssureSign , Microsoft 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | /// 8 | /// 9 | /// 10 | /// 11 | /// 12 | /// 13 | /// 14 | /// 15 | /// 16 | 17 | import React = __React; 18 | import ReactDOM = __React.__DOM; 19 | 20 | declare namespace __React { 21 | export import addons = __React.__Addons; 22 | } 23 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native - Menu Animation with Recipe App 2 | 3 | Menu animation with Animated component. 4 | 5 | ![alt tag](https://media.giphy.com/media/SPZffgpj2M0z6/giphy.gif) 6 | 7 | ## Getting Started 8 | 9 | * Clone this repo 10 | * Npm install 11 | * react-native run-ios 12 | 13 | ### Prerequisites 14 | 15 | * Mac 16 | * Xcode 7 or higher 17 | 18 | 19 | ## Authors 20 | 21 | * **Mario Díez** - *Initial work* - [Mariodev12_](https://github.com/mariodev12/) 22 | 23 | ## License 24 | 25 | This project is licensed under the MIT License 26 | 27 | ## Acknowledgments 28 | 29 | * [Design by zavodnyy](https://dribbble.com/shots/3185062-Recipe-App) 30 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'com.rotten', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'com.rotten', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 23 87 | buildToolsVersion "23.0.1" 88 | 89 | defaultConfig { 90 | applicationId "com.rotten" 91 | minSdkVersion 16 92 | targetSdkVersion 22 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':react-native-vector-icons') 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:23.0.1" 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | } 134 | 135 | // Run this once to be able to run the application with BUCK 136 | // puts all compile dependencies into folder libs for BUCK to use 137 | task copyDownloadableDepsToLibs(type: Copy) { 138 | from configurations.compile 139 | into 'libs' 140 | } 141 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/rotten/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rotten; 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 "rotten"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rotten/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rotten; 2 | 3 | import android.app.Application; 4 | import android.util.Log; 5 | 6 | import com.facebook.react.ReactApplication; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.facebook.react.ReactInstanceManager; 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 | protected boolean getUseDeveloperSupport() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | @Override 26 | protected List getPackages() { 27 | return Arrays.asList( 28 | new MainReactPackage(), 29 | new VectorIconsPackage() 30 | ); 31 | } 32 | }; 33 | 34 | @Override 35 | public ReactNativeHost getReactNativeHost() { 36 | return mReactNativeHost; 37 | } 38 | 39 | @Override 40 | public void onCreate() { 41 | super.onCreate(); 42 | SoLoader.init(this, /* native exopackage */ false); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | rotten 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.3.1' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'rotten' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /assets/stpatricks-soft-pretzel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/assets/stpatricks-soft-pretzel.jpg -------------------------------------------------------------------------------- /components/Navbar.js: -------------------------------------------------------------------------------- 1 | import React, {Component} from 'react' 2 | import { 3 | StyleSheet, 4 | View, 5 | Text, 6 | TouchableOpacity 7 | } from 'react-native' 8 | 9 | import Icon from 'react-native-vector-icons/FontAwesome'; 10 | 11 | export default class Navbar extends Component { 12 | render(){ 13 | return ( 14 | 15 | 16 | 17 | 18 | New Recipes 19 | 20 | 21 | 22 | 23 | ) 24 | } 25 | } 26 | 27 | const styles = StyleSheet.create({ 28 | navbarContainer: { 29 | backgroundColor: '#555566', 30 | marginBottom: 10, 31 | paddingHorizontal: 20, 32 | paddingVertical: 15, 33 | flexDirection: 'row', 34 | justifyContent: 'space-between' 35 | }, 36 | titleNavbar: { 37 | fontSize: 20, 38 | color: '#fff' 39 | } 40 | }) -------------------------------------------------------------------------------- /data.js: -------------------------------------------------------------------------------- 1 | export default recipes = [ 2 | { 3 | id: 1, 4 | image: 'https://www.fivelittlechefs.com/wp-content/uploads/2016/02/stpatricks-soft-pretzel.jpg', 5 | food: 'Cinnamon sugar soft pretzel', 6 | title: 'Perfect soft pretzels', 7 | user: 'https://0.gravatar.com/avatar/9b1a243cd301d1ba99865937f4e7cc94?s=130&d=mm&r=g', 8 | by: 'Kimberly', 9 | }, 10 | { 11 | id: 2, 12 | image: 'https://www.fivelittlechefs.com/wp-content/uploads/2012/02/strawberry-rocky-road-recipe.jpg', 13 | food: 'Strawberry Rocky Road', 14 | title: 'Awesome strawberry aww', 15 | user: 'https://0.gravatar.com/avatar/9b1a243cd301d1ba99865937f4e7cc94?s=130&d=mm&r=g', 16 | by: 'Kimberly', 17 | }, 18 | { 19 | id: 3, 20 | image: 'https://www.fivelittlechefs.com/wp-content/uploads/2016/02/valentine-coconut-macaroons.jpg', 21 | food: 'Coconut Macaroons', 22 | title: 'Coconut macaroons is truly an easy recipe', 23 | user: 'https://0.gravatar.com/avatar/9b1a243cd301d1ba99865937f4e7cc94?s=130&d=mm&r=g', 24 | by: 'Kimberly', 25 | }, 26 | { 27 | id: 4, 28 | image: 'https://www.fivelittlechefs.com/wp-content/uploads/2016/02/valentine-coconut-macaroons.jpg', 29 | food: 'Coconut Macaroons', 30 | title: 'Coconut macaroons is truly an easy recipe', 31 | user: 'https://0.gravatar.com/avatar/9b1a243cd301d1ba99865937f4e7cc94?s=130&d=mm&r=g', 32 | by: 'Kimberly', 33 | }, 34 | { 35 | id: 5, 36 | image: 'https://www.fivelittlechefs.com/wp-content/uploads/2016/02/valentine-coconut-macaroons.jpg', 37 | food: 'Coconut Macaroons', 38 | title: 'Coconut macaroons is truly an easy recipe', 39 | user: 'https://0.gravatar.com/avatar/9b1a243cd301d1ba99865937f4e7cc94?s=130&d=mm&r=g', 40 | by: 'Kimberly', 41 | } 42 | ] 43 | -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mariodev12/react-native-menu-animation-recipe/4a341d24e136c09553273421e3db66714389bca4/demo.gif -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | 15 | export default class rotten extends Component { 16 | render() { 17 | return ( 18 | 19 | 20 | Welcome to React Native! 21 | 22 | 23 | To get started, edit index.android.js 24 | 25 | 26 | Double tap R on your keyboard to reload,{'\n'} 27 | Shake or press menu button for dev menu 28 | 29 | 30 | ); 31 | } 32 | } 33 | 34 | const styles = StyleSheet.create({ 35 | container: { 36 | flex: 1, 37 | justifyContent: 'center', 38 | alignItems: 'center', 39 | backgroundColor: '#F5FCFF', 40 | }, 41 | welcome: { 42 | fontSize: 20, 43 | textAlign: 'center', 44 | margin: 10, 45 | }, 46 | instructions: { 47 | textAlign: 'center', 48 | color: '#333333', 49 | marginBottom: 5, 50 | }, 51 | }); 52 | 53 | AppRegistry.registerComponent('rotten', () => rotten); 54 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View, 13 | Animated, 14 | ListView, 15 | Image, 16 | Dimensions, 17 | AlertIOS, 18 | TouchableOpacity, 19 | TouchableHighlight, 20 | TouchableWithoutFeedback 21 | } from 'react-native'; 22 | 23 | const {width, height} = Dimensions.get('window') 24 | 25 | import recipes from './data' 26 | import NavBar from './components/Navbar' 27 | import Icon from 'react-native-vector-icons/FontAwesome'; 28 | 29 | export default class rotten extends Component { 30 | constructor(){ 31 | super() 32 | const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}) 33 | 34 | this.state = { 35 | like: false, 36 | loaded: false, 37 | anim: new Animated.Value(0), 38 | anim_rotateY: new Animated.Value(0), 39 | anim_translateX:new Animated.Value(width), 40 | isMenuOpen:false, 41 | menuAnimate: new Animated.Value(0), 42 | dataSource: ds.cloneWithRows(recipes) 43 | } 44 | } 45 | 46 | componentDidMount(){ 47 | this.setState({ 48 | loaded:true 49 | }) 50 | } 51 | 52 | renderRow(rowData){ 53 | const img = rowData.image; 54 | return ( 55 | 56 | 57 | 64 | 67 | 68 | 72 | 73 | 74 | {rowData.food} 75 | {rowData.title} 76 | By {rowData.by} 77 | 78 | 79 | 80 | 81 | ) 82 | } 83 | showMenu(){ 84 | if(this.state.isMenuOpen){ 85 | this.setState({isMenuOpen:false}); 86 | Animated.parallel([ 87 | Animated.timing( 88 | this.state.anim_translateX,{ 89 | toValue:width 90 | }), 91 | Animated.timing( 92 | this.state.anim_rotateY,{ 93 | toValue:0 94 | }), 95 | ]).start(); 96 | } 97 | else { 98 | this.setState({isMenuOpen:true}); 99 | Animated.parallel([ 100 | Animated.timing( 101 | this.state.anim_translateX,{ 102 | toValue:width*.60 103 | }), 104 | Animated.timing( 105 | this.state.anim_rotateY,{ 106 | toValue:1 107 | }), 108 | Animated.timing( 109 | this.state.menuAnimate, { 110 | toValue: 1, 111 | duration: 800 112 | }) 113 | ]).start(); 114 | } 115 | } 116 | closeMenu(){ 117 | this.setState({isMenuOpen:false}); 118 | Animated.parallel([ 119 | Animated.timing( 120 | this.state.anim_translateX,{ 121 | toValue:width 122 | }), 123 | Animated.timing( 124 | this.state.anim_rotateY,{ 125 | toValue:0 126 | }), 127 | Animated.timing( 128 | this.state.menuAnimate, { 129 | toValue: 0, 130 | duration: 300 131 | }) 132 | ]).start(); 133 | } 134 | render() { 135 | return ( 136 | 137 | 149 | {this.state.isMenuOpen ? 150 | : 151 | } 152 | 153 | {this.state.isMenuOpen ? : 159 | 165 | } 166 | 167 | 168 | Home 169 | New Recipe 170 | Recipes 171 | Profile 172 | Settings 173 | 174 | 175 | ); 176 | } 177 | } 178 | 179 | const styles = StyleSheet.create({ 180 | container: { 181 | flex: 1, 182 | backgroundColor: '#555566', 183 | paddingTop: 20 184 | }, 185 | content: { 186 | zIndex: 3 187 | }, 188 | containerRow: { 189 | marginBottom: 10 190 | }, 191 | listView: { 192 | marginHorizontal: 10 193 | }, 194 | imageFooter: { 195 | backgroundColor: '#555566', 196 | flexDirection: 'row', 197 | paddingHorizontal: 7, 198 | paddingVertical: 7 199 | }, 200 | textFooter: { 201 | color: '#fff' 202 | }, 203 | textFooterBold: { 204 | fontWeight: 'bold' 205 | }, 206 | imageAvatar: { 207 | width: 50, 208 | height: 50, 209 | borderRadius: 25, 210 | marginRight: 7 211 | }, 212 | textFooterLight: { 213 | fontWeight: '100' 214 | }, 215 | textFooterLittle: { 216 | fontSize: 11 217 | }, 218 | menutext: { 219 | fontSize: 20, 220 | padding: 10 221 | }, 222 | menu: { 223 | width: width, 224 | height: height, 225 | flex: 1, 226 | position: 'absolute', 227 | left: 0, 228 | top: 0, 229 | backgroundColor: '#ff00ff' 230 | }, 231 | menulist: { 232 | width: 200, 233 | position: 'absolute', 234 | right: 0, 235 | top:100 236 | }, 237 | }); 238 | 239 | AppRegistry.registerComponent('rotten', () => rotten); 240 | -------------------------------------------------------------------------------- /ios/rotten.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 /* rottenTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* rottenTests.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 | 151FE9CA6D7F4EE9A881D756 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E272277146A1484C9040C2DE /* SimpleLineIcons.ttf */; }; 26 | 2AFDAB44310541B2AC71B128 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B09499A835614FEF80478931 /* MaterialCommunityIcons.ttf */; }; 27 | 4123C9C756B3411EA078D308 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 044F9A33E31E47798ED3C28C /* Foundation.ttf */; }; 28 | 542D08E7768C433E97743922 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CBBD2C801899449D8069294A /* Ionicons.ttf */; }; 29 | 552C0E9F3A1942A68D94F8B1 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C5C9257F86404725A3B80874 /* libRNVectorIcons.a */; }; 30 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 31 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 32 | 852FFB527A874B1BB78DB260 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CC04D4EE7CEE4EFCB4B1B686 /* EvilIcons.ttf */; }; 33 | 8EBFE740EF67412D9E9BE4AD /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 79453D4B661B4B999CAE1FCB /* Octicons.ttf */; }; 34 | AA6CE987EF714359A93E58BA /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0583D7CD5082470E98BF546A /* Entypo.ttf */; }; 35 | AC88F6D14203411986CCF692 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9697D8F6C2BB4066BA528EEC /* Zocial.ttf */; }; 36 | E13EB86ECCEF4E00A09ACFB2 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 34D52534F4BA49AC83663C16 /* MaterialIcons.ttf */; }; 37 | E71A37EA18384499A1FB8669 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D660A4ABC5494A4F882E0C82 /* FontAwesome.ttf */; }; 38 | /* End PBXBuildFile section */ 39 | 40 | /* Begin PBXContainerItemProxy section */ 41 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 42 | isa = PBXContainerItemProxy; 43 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 44 | proxyType = 2; 45 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 46 | remoteInfo = RCTActionSheet; 47 | }; 48 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 49 | isa = PBXContainerItemProxy; 50 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 51 | proxyType = 2; 52 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 53 | remoteInfo = RCTGeolocation; 54 | }; 55 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 56 | isa = PBXContainerItemProxy; 57 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 58 | proxyType = 2; 59 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 60 | remoteInfo = RCTImage; 61 | }; 62 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 63 | isa = PBXContainerItemProxy; 64 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 65 | proxyType = 2; 66 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 67 | remoteInfo = RCTNetwork; 68 | }; 69 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 70 | isa = PBXContainerItemProxy; 71 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 72 | proxyType = 2; 73 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 74 | remoteInfo = RCTVibration; 75 | }; 76 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 77 | isa = PBXContainerItemProxy; 78 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 79 | proxyType = 1; 80 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 81 | remoteInfo = rotten; 82 | }; 83 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 84 | isa = PBXContainerItemProxy; 85 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 86 | proxyType = 2; 87 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 88 | remoteInfo = RCTSettings; 89 | }; 90 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 91 | isa = PBXContainerItemProxy; 92 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 93 | proxyType = 2; 94 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 95 | remoteInfo = RCTWebSocket; 96 | }; 97 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 98 | isa = PBXContainerItemProxy; 99 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 100 | proxyType = 2; 101 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 102 | remoteInfo = React; 103 | }; 104 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 105 | isa = PBXContainerItemProxy; 106 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 107 | proxyType = 2; 108 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 109 | remoteInfo = "RCTImage-tvOS"; 110 | }; 111 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 112 | isa = PBXContainerItemProxy; 113 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 114 | proxyType = 2; 115 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 116 | remoteInfo = "RCTLinking-tvOS"; 117 | }; 118 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 119 | isa = PBXContainerItemProxy; 120 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 121 | proxyType = 2; 122 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 123 | remoteInfo = "RCTNetwork-tvOS"; 124 | }; 125 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 126 | isa = PBXContainerItemProxy; 127 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 128 | proxyType = 2; 129 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 130 | remoteInfo = "RCTSettings-tvOS"; 131 | }; 132 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 133 | isa = PBXContainerItemProxy; 134 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 135 | proxyType = 2; 136 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 137 | remoteInfo = "RCTText-tvOS"; 138 | }; 139 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 140 | isa = PBXContainerItemProxy; 141 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 142 | proxyType = 2; 143 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 144 | remoteInfo = "RCTWebSocket-tvOS"; 145 | }; 146 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 147 | isa = PBXContainerItemProxy; 148 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 149 | proxyType = 2; 150 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 151 | remoteInfo = "React-tvOS"; 152 | }; 153 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 154 | isa = PBXContainerItemProxy; 155 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 156 | proxyType = 2; 157 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 158 | remoteInfo = yoga; 159 | }; 160 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 161 | isa = PBXContainerItemProxy; 162 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 163 | proxyType = 2; 164 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 165 | remoteInfo = "yoga-tvOS"; 166 | }; 167 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 168 | isa = PBXContainerItemProxy; 169 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 170 | proxyType = 2; 171 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 172 | remoteInfo = cxxreact; 173 | }; 174 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 175 | isa = PBXContainerItemProxy; 176 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 177 | proxyType = 2; 178 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 179 | remoteInfo = "cxxreact-tvOS"; 180 | }; 181 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 182 | isa = PBXContainerItemProxy; 183 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 184 | proxyType = 2; 185 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 186 | remoteInfo = jschelpers; 187 | }; 188 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 189 | isa = PBXContainerItemProxy; 190 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 191 | proxyType = 2; 192 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 193 | remoteInfo = "jschelpers-tvOS"; 194 | }; 195 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 196 | isa = PBXContainerItemProxy; 197 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 198 | proxyType = 2; 199 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 200 | remoteInfo = RCTAnimation; 201 | }; 202 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 203 | isa = PBXContainerItemProxy; 204 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 205 | proxyType = 2; 206 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 207 | remoteInfo = "RCTAnimation-tvOS"; 208 | }; 209 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 210 | isa = PBXContainerItemProxy; 211 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 212 | proxyType = 2; 213 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 214 | remoteInfo = RCTLinking; 215 | }; 216 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 217 | isa = PBXContainerItemProxy; 218 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 219 | proxyType = 2; 220 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 221 | remoteInfo = RCTText; 222 | }; 223 | AC95E4D01E45EF680020EFF3 /* PBXContainerItemProxy */ = { 224 | isa = PBXContainerItemProxy; 225 | containerPortal = 24BB0BBDD66342B48E3758C4 /* RNVectorIcons.xcodeproj */; 226 | proxyType = 2; 227 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 228 | remoteInfo = RNVectorIcons; 229 | }; 230 | /* End PBXContainerItemProxy section */ 231 | 232 | /* Begin PBXFileReference section */ 233 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 234 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 235 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 236 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 237 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 238 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 239 | 00E356EE1AD99517003FC87E /* rottenTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = rottenTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 240 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 241 | 00E356F21AD99517003FC87E /* rottenTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = rottenTests.m; sourceTree = ""; }; 242 | 044F9A33E31E47798ED3C28C /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 243 | 0583D7CD5082470E98BF546A /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 244 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 245 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 246 | 13B07F961A680F5B00A75B9A /* rotten.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = rotten.app; sourceTree = BUILT_PRODUCTS_DIR; }; 247 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = rotten/AppDelegate.h; sourceTree = ""; }; 248 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = rotten/AppDelegate.m; sourceTree = ""; }; 249 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 250 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = rotten/Images.xcassets; sourceTree = ""; }; 251 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = rotten/Info.plist; sourceTree = ""; }; 252 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = rotten/main.m; sourceTree = ""; }; 253 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 254 | 24BB0BBDD66342B48E3758C4 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 255 | 34D52534F4BA49AC83663C16 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 256 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 257 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 258 | 79453D4B661B4B999CAE1FCB /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 259 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 260 | 9697D8F6C2BB4066BA528EEC /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 261 | B09499A835614FEF80478931 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 262 | C5C9257F86404725A3B80874 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 263 | CBBD2C801899449D8069294A /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 264 | CC04D4EE7CEE4EFCB4B1B686 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 265 | D660A4ABC5494A4F882E0C82 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 266 | E272277146A1484C9040C2DE /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 267 | /* End PBXFileReference section */ 268 | 269 | /* Begin PBXFrameworksBuildPhase section */ 270 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 271 | isa = PBXFrameworksBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | }; 278 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 279 | isa = PBXFrameworksBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 283 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 284 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 285 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 286 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 287 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 288 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 289 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 290 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 291 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 292 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 293 | 552C0E9F3A1942A68D94F8B1 /* libRNVectorIcons.a in Frameworks */, 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | /* End PBXFrameworksBuildPhase section */ 298 | 299 | /* Begin PBXGroup section */ 300 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 301 | isa = PBXGroup; 302 | children = ( 303 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 304 | ); 305 | name = Products; 306 | sourceTree = ""; 307 | }; 308 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 309 | isa = PBXGroup; 310 | children = ( 311 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 312 | ); 313 | name = Products; 314 | sourceTree = ""; 315 | }; 316 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 317 | isa = PBXGroup; 318 | children = ( 319 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 320 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 321 | ); 322 | name = Products; 323 | sourceTree = ""; 324 | }; 325 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 326 | isa = PBXGroup; 327 | children = ( 328 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 329 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 330 | ); 331 | name = Products; 332 | sourceTree = ""; 333 | }; 334 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 335 | isa = PBXGroup; 336 | children = ( 337 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 338 | ); 339 | name = Products; 340 | sourceTree = ""; 341 | }; 342 | 00E356EF1AD99517003FC87E /* rottenTests */ = { 343 | isa = PBXGroup; 344 | children = ( 345 | 00E356F21AD99517003FC87E /* rottenTests.m */, 346 | 00E356F01AD99517003FC87E /* Supporting Files */, 347 | ); 348 | path = rottenTests; 349 | sourceTree = ""; 350 | }; 351 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 352 | isa = PBXGroup; 353 | children = ( 354 | 00E356F11AD99517003FC87E /* Info.plist */, 355 | ); 356 | name = "Supporting Files"; 357 | sourceTree = ""; 358 | }; 359 | 139105B71AF99BAD00B5F7CC /* Products */ = { 360 | isa = PBXGroup; 361 | children = ( 362 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 363 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 364 | ); 365 | name = Products; 366 | sourceTree = ""; 367 | }; 368 | 139FDEE71B06529A00C62182 /* Products */ = { 369 | isa = PBXGroup; 370 | children = ( 371 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 372 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 373 | ); 374 | name = Products; 375 | sourceTree = ""; 376 | }; 377 | 13B07FAE1A68108700A75B9A /* rotten */ = { 378 | isa = PBXGroup; 379 | children = ( 380 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 381 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 382 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 383 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 384 | 13B07FB61A68108700A75B9A /* Info.plist */, 385 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 386 | 13B07FB71A68108700A75B9A /* main.m */, 387 | ); 388 | name = rotten; 389 | sourceTree = ""; 390 | }; 391 | 146834001AC3E56700842450 /* Products */ = { 392 | isa = PBXGroup; 393 | children = ( 394 | 146834041AC3E56700842450 /* libReact.a */, 395 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 396 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 397 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 398 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 399 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 400 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 401 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 402 | ); 403 | name = Products; 404 | sourceTree = ""; 405 | }; 406 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 407 | isa = PBXGroup; 408 | children = ( 409 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 410 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 411 | ); 412 | name = Products; 413 | sourceTree = ""; 414 | }; 415 | 78C398B11ACF4ADC00677621 /* Products */ = { 416 | isa = PBXGroup; 417 | children = ( 418 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 419 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 420 | ); 421 | name = Products; 422 | sourceTree = ""; 423 | }; 424 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 425 | isa = PBXGroup; 426 | children = ( 427 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 428 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 429 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 430 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 431 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 432 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 433 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 434 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 435 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 436 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 437 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 438 | 24BB0BBDD66342B48E3758C4 /* RNVectorIcons.xcodeproj */, 439 | ); 440 | name = Libraries; 441 | sourceTree = ""; 442 | }; 443 | 832341B11AAA6A8300B99B32 /* Products */ = { 444 | isa = PBXGroup; 445 | children = ( 446 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 447 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 448 | ); 449 | name = Products; 450 | sourceTree = ""; 451 | }; 452 | 83CBB9F61A601CBA00E9B192 = { 453 | isa = PBXGroup; 454 | children = ( 455 | 13B07FAE1A68108700A75B9A /* rotten */, 456 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 457 | 00E356EF1AD99517003FC87E /* rottenTests */, 458 | 83CBBA001A601CBA00E9B192 /* Products */, 459 | F400E238C86A47CEA070A750 /* Resources */, 460 | ); 461 | indentWidth = 2; 462 | sourceTree = ""; 463 | tabWidth = 2; 464 | }; 465 | 83CBBA001A601CBA00E9B192 /* Products */ = { 466 | isa = PBXGroup; 467 | children = ( 468 | 13B07F961A680F5B00A75B9A /* rotten.app */, 469 | 00E356EE1AD99517003FC87E /* rottenTests.xctest */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | AC95E4B41E45EF660020EFF3 /* Products */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | AC95E4D11E45EF680020EFF3 /* libRNVectorIcons.a */, 478 | ); 479 | name = Products; 480 | sourceTree = ""; 481 | }; 482 | F400E238C86A47CEA070A750 /* Resources */ = { 483 | isa = PBXGroup; 484 | children = ( 485 | 0583D7CD5082470E98BF546A /* Entypo.ttf */, 486 | CC04D4EE7CEE4EFCB4B1B686 /* EvilIcons.ttf */, 487 | D660A4ABC5494A4F882E0C82 /* FontAwesome.ttf */, 488 | 044F9A33E31E47798ED3C28C /* Foundation.ttf */, 489 | CBBD2C801899449D8069294A /* Ionicons.ttf */, 490 | B09499A835614FEF80478931 /* MaterialCommunityIcons.ttf */, 491 | 34D52534F4BA49AC83663C16 /* MaterialIcons.ttf */, 492 | 79453D4B661B4B999CAE1FCB /* Octicons.ttf */, 493 | E272277146A1484C9040C2DE /* SimpleLineIcons.ttf */, 494 | 9697D8F6C2BB4066BA528EEC /* Zocial.ttf */, 495 | ); 496 | name = Resources; 497 | sourceTree = ""; 498 | }; 499 | /* End PBXGroup section */ 500 | 501 | /* Begin PBXNativeTarget section */ 502 | 00E356ED1AD99517003FC87E /* rottenTests */ = { 503 | isa = PBXNativeTarget; 504 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "rottenTests" */; 505 | buildPhases = ( 506 | 00E356EA1AD99517003FC87E /* Sources */, 507 | 00E356EB1AD99517003FC87E /* Frameworks */, 508 | 00E356EC1AD99517003FC87E /* Resources */, 509 | ); 510 | buildRules = ( 511 | ); 512 | dependencies = ( 513 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 514 | ); 515 | name = rottenTests; 516 | productName = rottenTests; 517 | productReference = 00E356EE1AD99517003FC87E /* rottenTests.xctest */; 518 | productType = "com.apple.product-type.bundle.unit-test"; 519 | }; 520 | 13B07F861A680F5B00A75B9A /* rotten */ = { 521 | isa = PBXNativeTarget; 522 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rotten" */; 523 | buildPhases = ( 524 | 13B07F871A680F5B00A75B9A /* Sources */, 525 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 526 | 13B07F8E1A680F5B00A75B9A /* Resources */, 527 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 528 | ); 529 | buildRules = ( 530 | ); 531 | dependencies = ( 532 | ); 533 | name = rotten; 534 | productName = "Hello World"; 535 | productReference = 13B07F961A680F5B00A75B9A /* rotten.app */; 536 | productType = "com.apple.product-type.application"; 537 | }; 538 | /* End PBXNativeTarget section */ 539 | 540 | /* Begin PBXProject section */ 541 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 542 | isa = PBXProject; 543 | attributes = { 544 | LastUpgradeCheck = 800; 545 | ORGANIZATIONNAME = Facebook; 546 | TargetAttributes = { 547 | 00E356ED1AD99517003FC87E = { 548 | CreatedOnToolsVersion = 6.2; 549 | TestTargetID = 13B07F861A680F5B00A75B9A; 550 | }; 551 | }; 552 | }; 553 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rotten" */; 554 | compatibilityVersion = "Xcode 3.2"; 555 | developmentRegion = English; 556 | hasScannedForEncodings = 0; 557 | knownRegions = ( 558 | en, 559 | Base, 560 | ); 561 | mainGroup = 83CBB9F61A601CBA00E9B192; 562 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 563 | projectDirPath = ""; 564 | projectReferences = ( 565 | { 566 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 567 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 568 | }, 569 | { 570 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 571 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 572 | }, 573 | { 574 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 575 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 576 | }, 577 | { 578 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 579 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 580 | }, 581 | { 582 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 583 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 584 | }, 585 | { 586 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 587 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 588 | }, 589 | { 590 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 591 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 592 | }, 593 | { 594 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 595 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 596 | }, 597 | { 598 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 599 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 600 | }, 601 | { 602 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 603 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 604 | }, 605 | { 606 | ProductGroup = 146834001AC3E56700842450 /* Products */; 607 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 608 | }, 609 | { 610 | ProductGroup = AC95E4B41E45EF660020EFF3 /* Products */; 611 | ProjectRef = 24BB0BBDD66342B48E3758C4 /* RNVectorIcons.xcodeproj */; 612 | }, 613 | ); 614 | projectRoot = ""; 615 | targets = ( 616 | 13B07F861A680F5B00A75B9A /* rotten */, 617 | 00E356ED1AD99517003FC87E /* rottenTests */, 618 | ); 619 | }; 620 | /* End PBXProject section */ 621 | 622 | /* Begin PBXReferenceProxy section */ 623 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 624 | isa = PBXReferenceProxy; 625 | fileType = archive.ar; 626 | path = libRCTActionSheet.a; 627 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 628 | sourceTree = BUILT_PRODUCTS_DIR; 629 | }; 630 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 631 | isa = PBXReferenceProxy; 632 | fileType = archive.ar; 633 | path = libRCTGeolocation.a; 634 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 635 | sourceTree = BUILT_PRODUCTS_DIR; 636 | }; 637 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 638 | isa = PBXReferenceProxy; 639 | fileType = archive.ar; 640 | path = libRCTImage.a; 641 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 642 | sourceTree = BUILT_PRODUCTS_DIR; 643 | }; 644 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 645 | isa = PBXReferenceProxy; 646 | fileType = archive.ar; 647 | path = libRCTNetwork.a; 648 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 649 | sourceTree = BUILT_PRODUCTS_DIR; 650 | }; 651 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 652 | isa = PBXReferenceProxy; 653 | fileType = archive.ar; 654 | path = libRCTVibration.a; 655 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 656 | sourceTree = BUILT_PRODUCTS_DIR; 657 | }; 658 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 659 | isa = PBXReferenceProxy; 660 | fileType = archive.ar; 661 | path = libRCTSettings.a; 662 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 663 | sourceTree = BUILT_PRODUCTS_DIR; 664 | }; 665 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 666 | isa = PBXReferenceProxy; 667 | fileType = archive.ar; 668 | path = libRCTWebSocket.a; 669 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 670 | sourceTree = BUILT_PRODUCTS_DIR; 671 | }; 672 | 146834041AC3E56700842450 /* libReact.a */ = { 673 | isa = PBXReferenceProxy; 674 | fileType = archive.ar; 675 | path = libReact.a; 676 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 677 | sourceTree = BUILT_PRODUCTS_DIR; 678 | }; 679 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 680 | isa = PBXReferenceProxy; 681 | fileType = archive.ar; 682 | path = "libRCTImage-tvOS.a"; 683 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 684 | sourceTree = BUILT_PRODUCTS_DIR; 685 | }; 686 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 687 | isa = PBXReferenceProxy; 688 | fileType = archive.ar; 689 | path = "libRCTLinking-tvOS.a"; 690 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 691 | sourceTree = BUILT_PRODUCTS_DIR; 692 | }; 693 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 694 | isa = PBXReferenceProxy; 695 | fileType = archive.ar; 696 | path = "libRCTNetwork-tvOS.a"; 697 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 698 | sourceTree = BUILT_PRODUCTS_DIR; 699 | }; 700 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 701 | isa = PBXReferenceProxy; 702 | fileType = archive.ar; 703 | path = "libRCTSettings-tvOS.a"; 704 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 705 | sourceTree = BUILT_PRODUCTS_DIR; 706 | }; 707 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 708 | isa = PBXReferenceProxy; 709 | fileType = archive.ar; 710 | path = "libRCTText-tvOS.a"; 711 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 712 | sourceTree = BUILT_PRODUCTS_DIR; 713 | }; 714 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 715 | isa = PBXReferenceProxy; 716 | fileType = archive.ar; 717 | path = "libRCTWebSocket-tvOS.a"; 718 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 719 | sourceTree = BUILT_PRODUCTS_DIR; 720 | }; 721 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 722 | isa = PBXReferenceProxy; 723 | fileType = archive.ar; 724 | path = libReact.a; 725 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 726 | sourceTree = BUILT_PRODUCTS_DIR; 727 | }; 728 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 729 | isa = PBXReferenceProxy; 730 | fileType = archive.ar; 731 | path = libyoga.a; 732 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 733 | sourceTree = BUILT_PRODUCTS_DIR; 734 | }; 735 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 736 | isa = PBXReferenceProxy; 737 | fileType = archive.ar; 738 | path = libyoga.a; 739 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 740 | sourceTree = BUILT_PRODUCTS_DIR; 741 | }; 742 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 743 | isa = PBXReferenceProxy; 744 | fileType = archive.ar; 745 | path = libcxxreact.a; 746 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 747 | sourceTree = BUILT_PRODUCTS_DIR; 748 | }; 749 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 750 | isa = PBXReferenceProxy; 751 | fileType = archive.ar; 752 | path = libcxxreact.a; 753 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 754 | sourceTree = BUILT_PRODUCTS_DIR; 755 | }; 756 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 757 | isa = PBXReferenceProxy; 758 | fileType = archive.ar; 759 | path = libjschelpers.a; 760 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 761 | sourceTree = BUILT_PRODUCTS_DIR; 762 | }; 763 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 764 | isa = PBXReferenceProxy; 765 | fileType = archive.ar; 766 | path = libjschelpers.a; 767 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 768 | sourceTree = BUILT_PRODUCTS_DIR; 769 | }; 770 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 771 | isa = PBXReferenceProxy; 772 | fileType = archive.ar; 773 | path = libRCTAnimation.a; 774 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 775 | sourceTree = BUILT_PRODUCTS_DIR; 776 | }; 777 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 778 | isa = PBXReferenceProxy; 779 | fileType = archive.ar; 780 | path = "libRCTAnimation-tvOS.a"; 781 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 782 | sourceTree = BUILT_PRODUCTS_DIR; 783 | }; 784 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 785 | isa = PBXReferenceProxy; 786 | fileType = archive.ar; 787 | path = libRCTLinking.a; 788 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 789 | sourceTree = BUILT_PRODUCTS_DIR; 790 | }; 791 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 792 | isa = PBXReferenceProxy; 793 | fileType = archive.ar; 794 | path = libRCTText.a; 795 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 796 | sourceTree = BUILT_PRODUCTS_DIR; 797 | }; 798 | AC95E4D11E45EF680020EFF3 /* libRNVectorIcons.a */ = { 799 | isa = PBXReferenceProxy; 800 | fileType = archive.ar; 801 | path = libRNVectorIcons.a; 802 | remoteRef = AC95E4D01E45EF680020EFF3 /* PBXContainerItemProxy */; 803 | sourceTree = BUILT_PRODUCTS_DIR; 804 | }; 805 | /* End PBXReferenceProxy section */ 806 | 807 | /* Begin PBXResourcesBuildPhase section */ 808 | 00E356EC1AD99517003FC87E /* Resources */ = { 809 | isa = PBXResourcesBuildPhase; 810 | buildActionMask = 2147483647; 811 | files = ( 812 | ); 813 | runOnlyForDeploymentPostprocessing = 0; 814 | }; 815 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 816 | isa = PBXResourcesBuildPhase; 817 | buildActionMask = 2147483647; 818 | files = ( 819 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 820 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 821 | AA6CE987EF714359A93E58BA /* Entypo.ttf in Resources */, 822 | 852FFB527A874B1BB78DB260 /* EvilIcons.ttf in Resources */, 823 | E71A37EA18384499A1FB8669 /* FontAwesome.ttf in Resources */, 824 | 4123C9C756B3411EA078D308 /* Foundation.ttf in Resources */, 825 | 542D08E7768C433E97743922 /* Ionicons.ttf in Resources */, 826 | 2AFDAB44310541B2AC71B128 /* MaterialCommunityIcons.ttf in Resources */, 827 | E13EB86ECCEF4E00A09ACFB2 /* MaterialIcons.ttf in Resources */, 828 | 8EBFE740EF67412D9E9BE4AD /* Octicons.ttf in Resources */, 829 | 151FE9CA6D7F4EE9A881D756 /* SimpleLineIcons.ttf in Resources */, 830 | AC88F6D14203411986CCF692 /* Zocial.ttf in Resources */, 831 | ); 832 | runOnlyForDeploymentPostprocessing = 0; 833 | }; 834 | /* End PBXResourcesBuildPhase section */ 835 | 836 | /* Begin PBXShellScriptBuildPhase section */ 837 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 838 | isa = PBXShellScriptBuildPhase; 839 | buildActionMask = 2147483647; 840 | files = ( 841 | ); 842 | inputPaths = ( 843 | ); 844 | name = "Bundle React Native code and images"; 845 | outputPaths = ( 846 | ); 847 | runOnlyForDeploymentPostprocessing = 0; 848 | shellPath = /bin/sh; 849 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 850 | }; 851 | /* End PBXShellScriptBuildPhase section */ 852 | 853 | /* Begin PBXSourcesBuildPhase section */ 854 | 00E356EA1AD99517003FC87E /* Sources */ = { 855 | isa = PBXSourcesBuildPhase; 856 | buildActionMask = 2147483647; 857 | files = ( 858 | 00E356F31AD99517003FC87E /* rottenTests.m in Sources */, 859 | ); 860 | runOnlyForDeploymentPostprocessing = 0; 861 | }; 862 | 13B07F871A680F5B00A75B9A /* Sources */ = { 863 | isa = PBXSourcesBuildPhase; 864 | buildActionMask = 2147483647; 865 | files = ( 866 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 867 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 868 | ); 869 | runOnlyForDeploymentPostprocessing = 0; 870 | }; 871 | /* End PBXSourcesBuildPhase section */ 872 | 873 | /* Begin PBXTargetDependency section */ 874 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 875 | isa = PBXTargetDependency; 876 | target = 13B07F861A680F5B00A75B9A /* rotten */; 877 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 878 | }; 879 | /* End PBXTargetDependency section */ 880 | 881 | /* Begin PBXVariantGroup section */ 882 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 883 | isa = PBXVariantGroup; 884 | children = ( 885 | 13B07FB21A68108700A75B9A /* Base */, 886 | ); 887 | name = LaunchScreen.xib; 888 | path = rotten; 889 | sourceTree = ""; 890 | }; 891 | /* End PBXVariantGroup section */ 892 | 893 | /* Begin XCBuildConfiguration section */ 894 | 00E356F61AD99517003FC87E /* Debug */ = { 895 | isa = XCBuildConfiguration; 896 | buildSettings = { 897 | BUNDLE_LOADER = "$(TEST_HOST)"; 898 | GCC_PREPROCESSOR_DEFINITIONS = ( 899 | "DEBUG=1", 900 | "$(inherited)", 901 | ); 902 | INFOPLIST_FILE = rottenTests/Info.plist; 903 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 904 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 905 | LIBRARY_SEARCH_PATHS = ( 906 | "$(inherited)", 907 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 908 | ); 909 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 910 | PRODUCT_NAME = "$(TARGET_NAME)"; 911 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rotten.app/rotten"; 912 | }; 913 | name = Debug; 914 | }; 915 | 00E356F71AD99517003FC87E /* Release */ = { 916 | isa = XCBuildConfiguration; 917 | buildSettings = { 918 | BUNDLE_LOADER = "$(TEST_HOST)"; 919 | COPY_PHASE_STRIP = NO; 920 | INFOPLIST_FILE = rottenTests/Info.plist; 921 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 922 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 923 | LIBRARY_SEARCH_PATHS = ( 924 | "$(inherited)", 925 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 926 | ); 927 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 928 | PRODUCT_NAME = "$(TARGET_NAME)"; 929 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/rotten.app/rotten"; 930 | }; 931 | name = Release; 932 | }; 933 | 13B07F941A680F5B00A75B9A /* Debug */ = { 934 | isa = XCBuildConfiguration; 935 | buildSettings = { 936 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 937 | CURRENT_PROJECT_VERSION = 1; 938 | DEAD_CODE_STRIPPING = NO; 939 | INFOPLIST_FILE = rotten/Info.plist; 940 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 941 | OTHER_LDFLAGS = ( 942 | "$(inherited)", 943 | "-ObjC", 944 | "-lc++", 945 | ); 946 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 947 | PRODUCT_NAME = rotten; 948 | VERSIONING_SYSTEM = "apple-generic"; 949 | }; 950 | name = Debug; 951 | }; 952 | 13B07F951A680F5B00A75B9A /* Release */ = { 953 | isa = XCBuildConfiguration; 954 | buildSettings = { 955 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 956 | CURRENT_PROJECT_VERSION = 1; 957 | INFOPLIST_FILE = rotten/Info.plist; 958 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 959 | OTHER_LDFLAGS = ( 960 | "$(inherited)", 961 | "-ObjC", 962 | "-lc++", 963 | ); 964 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 965 | PRODUCT_NAME = rotten; 966 | VERSIONING_SYSTEM = "apple-generic"; 967 | }; 968 | name = Release; 969 | }; 970 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 971 | isa = XCBuildConfiguration; 972 | buildSettings = { 973 | ALWAYS_SEARCH_USER_PATHS = NO; 974 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 975 | CLANG_CXX_LIBRARY = "libc++"; 976 | CLANG_ENABLE_MODULES = YES; 977 | CLANG_ENABLE_OBJC_ARC = YES; 978 | CLANG_WARN_BOOL_CONVERSION = YES; 979 | CLANG_WARN_CONSTANT_CONVERSION = YES; 980 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 981 | CLANG_WARN_EMPTY_BODY = YES; 982 | CLANG_WARN_ENUM_CONVERSION = YES; 983 | CLANG_WARN_INFINITE_RECURSION = YES; 984 | CLANG_WARN_INT_CONVERSION = YES; 985 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 986 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 987 | CLANG_WARN_UNREACHABLE_CODE = YES; 988 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 989 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 990 | COPY_PHASE_STRIP = NO; 991 | ENABLE_STRICT_OBJC_MSGSEND = YES; 992 | ENABLE_TESTABILITY = YES; 993 | GCC_C_LANGUAGE_STANDARD = gnu99; 994 | GCC_DYNAMIC_NO_PIC = NO; 995 | GCC_NO_COMMON_BLOCKS = YES; 996 | GCC_OPTIMIZATION_LEVEL = 0; 997 | GCC_PREPROCESSOR_DEFINITIONS = ( 998 | "DEBUG=1", 999 | "$(inherited)", 1000 | ); 1001 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1002 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1003 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1004 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1005 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1006 | GCC_WARN_UNUSED_FUNCTION = YES; 1007 | GCC_WARN_UNUSED_VARIABLE = YES; 1008 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1009 | MTL_ENABLE_DEBUG_INFO = YES; 1010 | ONLY_ACTIVE_ARCH = YES; 1011 | SDKROOT = iphoneos; 1012 | }; 1013 | name = Debug; 1014 | }; 1015 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1016 | isa = XCBuildConfiguration; 1017 | buildSettings = { 1018 | ALWAYS_SEARCH_USER_PATHS = NO; 1019 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1020 | CLANG_CXX_LIBRARY = "libc++"; 1021 | CLANG_ENABLE_MODULES = YES; 1022 | CLANG_ENABLE_OBJC_ARC = YES; 1023 | CLANG_WARN_BOOL_CONVERSION = YES; 1024 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1025 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1026 | CLANG_WARN_EMPTY_BODY = YES; 1027 | CLANG_WARN_ENUM_CONVERSION = YES; 1028 | CLANG_WARN_INFINITE_RECURSION = YES; 1029 | CLANG_WARN_INT_CONVERSION = YES; 1030 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1031 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1032 | CLANG_WARN_UNREACHABLE_CODE = YES; 1033 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1034 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1035 | COPY_PHASE_STRIP = YES; 1036 | ENABLE_NS_ASSERTIONS = NO; 1037 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1038 | GCC_C_LANGUAGE_STANDARD = gnu99; 1039 | GCC_NO_COMMON_BLOCKS = YES; 1040 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1041 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1042 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1043 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1044 | GCC_WARN_UNUSED_FUNCTION = YES; 1045 | GCC_WARN_UNUSED_VARIABLE = YES; 1046 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1047 | MTL_ENABLE_DEBUG_INFO = NO; 1048 | SDKROOT = iphoneos; 1049 | VALIDATE_PRODUCT = YES; 1050 | }; 1051 | name = Release; 1052 | }; 1053 | /* End XCBuildConfiguration section */ 1054 | 1055 | /* Begin XCConfigurationList section */ 1056 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "rottenTests" */ = { 1057 | isa = XCConfigurationList; 1058 | buildConfigurations = ( 1059 | 00E356F61AD99517003FC87E /* Debug */, 1060 | 00E356F71AD99517003FC87E /* Release */, 1061 | ); 1062 | defaultConfigurationIsVisible = 0; 1063 | defaultConfigurationName = Release; 1064 | }; 1065 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rotten" */ = { 1066 | isa = XCConfigurationList; 1067 | buildConfigurations = ( 1068 | 13B07F941A680F5B00A75B9A /* Debug */, 1069 | 13B07F951A680F5B00A75B9A /* Release */, 1070 | ); 1071 | defaultConfigurationIsVisible = 0; 1072 | defaultConfigurationName = Release; 1073 | }; 1074 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "rotten" */ = { 1075 | isa = XCConfigurationList; 1076 | buildConfigurations = ( 1077 | 83CBBA201A601CBA00E9B192 /* Debug */, 1078 | 83CBBA211A601CBA00E9B192 /* Release */, 1079 | ); 1080 | defaultConfigurationIsVisible = 0; 1081 | defaultConfigurationName = Release; 1082 | }; 1083 | /* End XCConfigurationList section */ 1084 | }; 1085 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1086 | } 1087 | -------------------------------------------------------------------------------- /ios/rotten.xcodeproj/xcshareddata/xcschemes/rotten.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/rotten/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/rotten/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"rotten" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /ios/rotten/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 | -------------------------------------------------------------------------------- /ios/rotten/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 | } -------------------------------------------------------------------------------- /ios/rotten/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIAppFonts 6 | 7 | FontAwesome.ttf 8 | Entypo.ttf 9 | EvilIcons.ttf 10 | FontAwesome.ttf 11 | Foundation.ttf 12 | Ionicons.ttf 13 | MaterialCommunityIcons.ttf 14 | MaterialIcons.ttf 15 | Octicons.ttf 16 | SimpleLineIcons.ttf 17 | Zocial.ttf 18 | 19 | CFBundleDevelopmentRegion 20 | en 21 | CFBundleExecutable 22 | $(EXECUTABLE_NAME) 23 | CFBundleIdentifier 24 | $(PRODUCT_BUNDLE_IDENTIFIER) 25 | CFBundleInfoDictionaryVersion 26 | 6.0 27 | CFBundleName 28 | $(PRODUCT_NAME) 29 | CFBundlePackageType 30 | APPL 31 | CFBundleShortVersionString 32 | 1.0 33 | CFBundleSignature 34 | ???? 35 | CFBundleVersion 36 | 1 37 | LSRequiresIPhoneOS 38 | 39 | NSAppTransportSecurity 40 | 41 | NSExceptionDomains 42 | 43 | localhost 44 | 45 | NSExceptionAllowsInsecureHTTPLoads 46 | 47 | 48 | 49 | 50 | NSLocationWhenInUseUsageDescription 51 | 52 | UILaunchStoryboardName 53 | LaunchScreen 54 | UIRequiredDeviceCapabilities 55 | 56 | armv7 57 | 58 | UISupportedInterfaceOrientations 59 | 60 | UIInterfaceOrientationPortrait 61 | UIInterfaceOrientationLandscapeLeft 62 | UIInterfaceOrientationLandscapeRight 63 | 64 | UIViewControllerBasedStatusBarAppearance 65 | 66 | 67 | -------------------------------------------------------------------------------- /ios/rotten/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ios/rottenTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/rottenTests/rottenTests.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 rottenTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation rottenTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rotten", 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": "15.4.1", 11 | "react-native": "0.40.0", 12 | "react-native-vector-icons": "4.0.0" 13 | }, 14 | "devDependencies": { 15 | "babel-jest": "18.0.0", 16 | "babel-preset-react-native": "1.9.1", 17 | "jest": "18.1.0", 18 | "react-test-renderer": "15.4.1" 19 | }, 20 | "jest": { 21 | "preset": "react-native" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "allowSyntheticDefaultImports": true 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /typings/react-native.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | /// 5 | /// 6 | /// 7 | /// 8 | /// 9 | /// 10 | /// 11 | /// 12 | --------------------------------------------------------------------------------