├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Andale Mono.ttf │ │ │ ├── Arial Black.ttf │ │ │ ├── Arial.ttf │ │ │ ├── Comic Sans MS.ttf │ │ │ ├── Courier New.ttf │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Georgia.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Microsoft Sans Serif.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── Roboto.ttf │ │ │ ├── Roboto_medium.ttf │ │ │ ├── Rubik-Black.ttf │ │ │ ├── Rubik-BlackItalic.ttf │ │ │ ├── Rubik-Bold.ttf │ │ │ ├── Rubik-BoldItalic.ttf │ │ │ ├── Rubik-Italic.ttf │ │ │ ├── Rubik-Light.ttf │ │ │ ├── Rubik-LightItalic.ttf │ │ │ ├── Rubik-Medium.ttf │ │ │ ├── Rubik-MediumItalic.ttf │ │ │ ├── Rubik-Regular.ttf │ │ │ ├── SF-UI-Text-Regular.otf │ │ │ ├── SanFrancisco.ttf │ │ │ ├── SanFranciscoBold.ttf │ │ │ ├── SanFranciscoThin.ttf │ │ │ ├── Skia.ttf │ │ │ ├── Times New Roman.ttf │ │ │ ├── Zocial.ttf │ │ │ └── rubicon-icon-font.ttf │ │ ├── java │ │ └── com │ │ │ └── rnofo │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── app ├── components │ ├── ImageButton.js │ ├── ProfileItem.js │ ├── QRScannerView.js │ ├── TitleBar.js │ └── index.js ├── index.js ├── lib │ └── amap.html ├── resource │ ├── Colors.js │ ├── CommonStyles.js │ ├── Constants.js │ ├── Images.js │ ├── imgs │ │ ├── activities.png │ │ ├── avatar.jpg │ │ ├── back.png │ │ ├── badgeRealGray.png │ │ ├── badgeRealYellow.png │ │ ├── defaultAvatar.png │ │ ├── emptyCoupons.png │ │ ├── help.png │ │ ├── info.png │ │ ├── launcher.png │ │ ├── lightOff.png │ │ ├── lightOn.png │ │ ├── locate.png │ │ ├── manualInput.png │ │ ├── menu.png │ │ ├── nearbyCarBigPoint.png │ │ ├── nearbyCarPoint.png │ │ ├── notifications.png │ │ ├── notificationsActive.png │ │ ├── overtime.png │ │ ├── receipt.png │ │ ├── redeem.png │ │ ├── report.png │ │ ├── ridenow.png │ │ ├── scanBar.png │ │ ├── scanLightOn.png │ │ ├── scanLigtOff.png │ │ ├── share.png │ │ ├── startCenterPoint.png │ │ ├── wallet.png │ │ └── wheel.png │ └── index.js ├── screens │ ├── drawer │ │ ├── DrawerScreen.js │ │ └── styles │ │ │ └── DrawerScreenStyles.js │ ├── home │ │ ├── HomeScreen.js │ │ └── styles │ │ │ └── HomeScreenStyles.js │ ├── notification │ │ └── NotificationScreen.js │ └── scanner │ │ ├── QRScannerScreen.js │ │ └── styles │ │ └── QRScannerScreenStyles.js └── utils │ └── ToastUtil.js ├── index.android.js ├── index.ios.js ├── ios ├── RNofo-tvOS │ └── Info.plist ├── RNofo-tvOSTests │ └── Info.plist ├── RNofo.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── RNofo-tvOS.xcscheme │ │ └── RNofo.xcscheme ├── RNofo │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── RNofoTests │ ├── Info.plist │ └── RNofoTests.m ├── package.json └── yarn.lock /.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 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 43 | 44 | unsafe.enable_getters_and_setters=true 45 | 46 | [version] 47 | ^0.40.0 48 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | >- **本文为 Marno 原创,转载必须保留出处!** 2 | >- **公众号【 aMarno 】,关注后回复 RN 加入交流群** 3 | >- **React Native 优秀开源项目大全:http://www.marno.cn** 4 | 5 | ------- 6 | 7 | ## 一、前言 8 | 9 | 并没有实现 ofo 所有功能,只完成了主要的界面和逻辑,感觉其中也就【**地图**】和【**扫码**】两个比较核心的功能还需要花点时间以外,其他的就都比较简单了,而且由于没有API,模拟数据也没啥意思,所以就没有写那么完整。 10 | 11 | **地图:** 用的是高德的 JS 地图,我在之前的一片文章中[**《Android快速实现地图功能(不仅快!而且小!)》**](http://www.jianshu.com/p/b1f87c660fa9)有提到过这样的实现方式,感兴趣的朋友可以点过去看一下,只不过这一次用到了更多的功能而已。使用 JS 地图代替原生地图的好处就是不用再处理麻烦的依赖包关系,但是缺点就是性能要比原生地图差。但是实际使用下来,也还是能达到正常使用的级别,不至于完全没法用。 12 | 13 | **扫码:** 的功能是基于 react-native-camera 开源库进行的二次开发,前段时间我也将其封装成了开源组件,上传到了 NPM 服务器,可以直接通过 `npm install ac-qrcode --save` 进行安装使用,有需要的朋友可以到我 github 主页进行查看,或者在我博客之前的文章里找下,**传送门 >>> https://juejin.im/post/590740e544d904006931f0c6** 14 | 15 | ## 二、截图预览 16 | 17 | |首页|个人中心|扫码| 18 | |:--:|:--:|:--:| 19 | |![](http://upload-images.jianshu.io/upload_images/960283-bfaf3888dace630c.gif?imageMogr2/auto-orient/strip)|![](http://upload-images.jianshu.io/upload_images/960283-f7963ab461001442.gif?imageMogr2/auto-orient/strip)|![](http://upload-images.jianshu.io/upload_images/960283-3a6c5bc745964818.gif?imageMogr2/auto-orient/strip)| 20 | 21 | ## 三、技术框架 22 | 23 | - **"react": "16.0.0-alpha.6"** 24 | - **"react-native": "0.43.1"** 25 | - **"native-base": "^2.1.1"**(综合框架) 26 | - **"react-navigation": "^1.0.0-beta.7"**(导航) 27 | - **"ac-qrcode": "^1.0.0"**(扫码组件) 28 | - **"react-native-simple-toast": "0.0.5"**(吐司) 29 | 30 | 31 | ## 四、仓库地址:[react-native-ofo](https://github.com/MarnoDev/react-native-ofo) 32 | 33 | >项目运行步骤如下: 34 | >- 第一步:npm install 35 | >- 第二步:react-native link 36 | >- 第三步:react-native run-android(或 run-ios) 37 | > 38 | >**理论兼容 Andorid / iOS,但没在 iOS 真机上试过,只在虚拟机上试了下。** 39 | 40 | 需要特别声明一下,因为用到了 “react-navigation”,在 RN 0.43 上会报错,虽然在 RN 0.44 中已经进行了修复,但是我还没有升级版本。暂时的解决办法可以到这里看下:https://github.com/react-community/react-navigation/issues/923 41 | 42 | ## 五、项目心得 43 | 44 | >按照惯例,每完成一个仿写项目,我还是喜欢进行一下总结。 45 | 46 | 这个是我开源的第二个用 RN 仿写的的项目了,所以无论是对 RN 的理解还是使用上,相对之前开源 [react-native-eyepetizer](https://github.com/MarnoDev/react-native-eyepetizer) 的时候有了一些进步,而且中间还在不断学习一些 React 的知识,去深入理解组件生命周期,并以此作为着手点进行性能的优化,这部分内容后面我也会整理成文章分享出来。 47 | 48 | 回到这次开源的项目上来,最明显的就是关于分包结构的调整,之前在仿写开眼的时候,并没有考虑那么多,想的就是先入门再说。但是随着学习的深入,需要处理的逻辑逐渐复杂,合理清晰的管理代码是十分有必要的。 49 | 50 | |仿开眼项目包结构|仿ofo项目包结构| 51 | |:--:|:--:| 52 | |![](http://upload-images.jianshu.io/upload_images/960283-c32916e904f53ac2.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)|![](http://upload-images.jianshu.io/upload_images/960283-ee4f876d1683aca5.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)| 53 | 54 | **直接用上面的两张图做了个简单的对比,总结下就是:** 55 | 56 | - 存放页面的文件夹命名从 pages 改为 screens 57 | - 页面中组件的样式用单独文件进行管理,采用 **”页面名+Styles“方式命名,如:HomeScreenStyles** ,方便样式的复用和管理。 58 | - 需要复用的组件抽取成单独一个类,存放到 components 包中。 59 | - 图片、常量、颜色、公共样式等资源,分别用一个入口类管理,就和 Android 中管理资源的做法类似,这样更易维护。 60 | 61 | **最后说一下为啥没有用 Redux** 62 | 63 | - 一、觉得项目还不算复杂,没有必要使用 Redux 64 | - 二、如果只是管理状态,Mobx 使用要简单点 65 | - 三、好吧,我说实话,因为我还不太会。 66 | 67 | ----- 68 | 69 | ![](http://upload-images.jianshu.io/upload_images/960283-7b9bfe97c18a32ab.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 70 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.rnofo", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.rnofo", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 23 87 | buildToolsVersion "23.0.1" 88 | 89 | defaultConfig { 90 | applicationId "com.rnofo" 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-camera') 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 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 24 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Andale Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Andale Mono.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Arial Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Arial Black.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Arial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Comic Sans MS.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Comic Sans MS.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Courier New.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Courier New.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Georgia.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Georgia.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Microsoft Sans Serif.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Microsoft Sans Serif.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Roboto.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto_medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Roboto_medium.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Black.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-BlackItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-BoldItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Medium.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-MediumItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Rubik-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SF-UI-Text-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/SF-UI-Text-Regular.otf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SanFrancisco.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/SanFrancisco.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SanFranciscoBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/SanFranciscoBold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SanFranciscoThin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/SanFranciscoThin.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Skia.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Skia.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Times New Roman.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Times New Roman.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/rubicon-icon-font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/assets/fonts/rubicon-icon-font.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnofo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.rnofo; 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 "RNofo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/rnofo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.rnofo; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.lwansbrough.RCTCamera.RCTCameraPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new RCTCameraPackage() 28 | ); 29 | } 30 | }; 31 | 32 | @Override 33 | public ReactNativeHost getReactNativeHost() { 34 | return mReactNativeHost; 35 | } 36 | 37 | @Override 38 | public void onCreate() { 39 | super.onCreate(); 40 | SoLoader.init(this, /* native exopackage */ false); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RNofo 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RNofo' 2 | include ':react-native-camera' 3 | project(':react-native-camera').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-camera/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNofo", 3 | "displayName": "RNofo" 4 | } -------------------------------------------------------------------------------- /app/components/ImageButton.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function: 可点击的 Image 组件 4 | * Desc: 5 | */ 6 | import React, {Component} from 'react'; 7 | import {Image, TouchableWithoutFeedback} from 'react-native'; 8 | 9 | export default class ImageButton extends Component { 10 | render() { 11 | return ( 12 | 13 | 17 | {this.props.children} 18 | 19 | 20 | ) 21 | } 22 | } -------------------------------------------------------------------------------- /app/components/ProfileItem.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/10 3 | * Function:侧滑菜单中的条目组件 4 | * Desc: 5 | */ 6 | import React, {Component} from 'react'; 7 | import {TouchableWithoutFeedback, View, Text, Image, StyleSheet} from 'react-native'; 8 | 9 | export default class ProfileItem extends Component { 10 | render() { 11 | return ( 12 | 13 | 14 | 17 | {this.props.title} 20 | {this.props.content} 23 | 24 | 25 | ) 26 | } 27 | } 28 | 29 | const styles = StyleSheet.create({ 30 | view_container: { 31 | flex: 1, 32 | flexDirection:'row', 33 | padding:16, 34 | }, 35 | text_title: { 36 | color: '#433C2C', 37 | 38 | }, 39 | text_content: { 40 | color: '#433C2C', 41 | flexGrow:1, 42 | textAlign:'right' 43 | }, 44 | image_icon: { 45 | height: 24, 46 | width: 24, 47 | marginRight:30, 48 | } 49 | }) -------------------------------------------------------------------------------- /app/components/QRScannerView.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/13 3 | * Function: 4 | * Desc: 5 | */ 6 | import React, {Component} from 'react'; 7 | import Camera from 'react-native-camera'; 8 | import 9 | { 10 | ActivityIndicator, 11 | StyleSheet, 12 | View, 13 | Animated, 14 | Easing, 15 | Text, 16 | Image 17 | } from 'react-native'; 18 | 19 | /** 20 | * 扫描界面遮罩 21 | * 单独写一个类,方便拷贝使用 22 | */ 23 | class QRScannerRectView extends Component { 24 | static defaultProps = { 25 | maskColor: '#ffffff4C', 26 | cornerColor: '#22ff00', 27 | borderColor: '#000000', 28 | rectHeight: 200, 29 | rectWidth: 200, 30 | borderWidth: 0.5, 31 | cornerBorderWidth: 4, 32 | cornerBorderLength: 20, 33 | isLoading: false, 34 | cornerOffsetSize: 8, 35 | isCornerOffset: true, 36 | bottomMenuHeight: 100, 37 | scanBarAnimateTime: 2000, 38 | scanBarColor: '#22ff00', 39 | scanBarImage: null, 40 | scanBarHeight: 1.5, 41 | scanBarMargin: 6, 42 | hintText: '将二维码/条码放入框内,即可自动扫描', 43 | hintTextStyle: {color: '#fff', fontSize: 14}, 44 | hintTextPosition: 130, 45 | isShowScanBar:true, 46 | }; 47 | 48 | constructor(props) { 49 | super(props); 50 | 51 | this.getBackgroundColor = this.getBackgroundColor.bind(this); 52 | this.getRectSize = this.getRectSize.bind(this); 53 | this.getCornerSize = this.getCornerSize.bind(this); 54 | this.renderLoadingIndicator = this.renderLoadingIndicator.bind(this); 55 | 56 | this.state = { 57 | topWidth: 0, 58 | topHeight: 0, 59 | leftWidth: 0, 60 | animatedValue: new Animated.Value(0), 61 | } 62 | } 63 | 64 | //获取背景颜色 65 | getBackgroundColor() { 66 | return ({ 67 | backgroundColor: this.props.maskColor, 68 | }); 69 | } 70 | 71 | //获取扫描框背景大小 72 | getRectSize() { 73 | return ({ 74 | height: this.props.rectHeight, 75 | width: this.props.rectWidth, 76 | }); 77 | } 78 | 79 | //获取扫描框边框大小 80 | getBorderSize() { 81 | if (this.props.isCornerOffset) { 82 | return ({ 83 | height: this.props.rectHeight - this.props.cornerOffsetSize * 2, 84 | width: this.props.rectWidth - this.props.cornerOffsetSize * 2, 85 | }); 86 | } else { 87 | return ({ 88 | height: this.props.rectHeight, 89 | width: this.props.rectWidth, 90 | }); 91 | } 92 | } 93 | 94 | //获取扫描框转角的颜色 95 | getCornerColor() { 96 | return ({ 97 | borderColor: this.props.cornerColor, 98 | }); 99 | } 100 | 101 | //获取扫描框转角的大小 102 | getCornerSize() { 103 | return ({ 104 | height: this.props.cornerBorderLength, 105 | width: this.props.cornerBorderLength, 106 | }); 107 | } 108 | 109 | //获取扫描框大小 110 | getBorderWidth() { 111 | return ({ 112 | borderWidth: this.props.borderWidth, 113 | }); 114 | } 115 | 116 | //获取扫描框颜色 117 | getBorderColor() { 118 | return ({ 119 | borderColor: this.props.borderColor, 120 | }); 121 | } 122 | 123 | //渲染加载动画 124 | renderLoadingIndicator() { 125 | if (!this.props.isLoading) { 126 | return null; 127 | } 128 | 129 | return ( 130 | 135 | ); 136 | } 137 | 138 | //测量整个扫描组件的大小 139 | measureTotalSize(e) { 140 | let totalSize = e.layout; 141 | this.setState({ 142 | topWidth: totalSize.width, 143 | }) 144 | } 145 | 146 | //测量扫描框的位置 147 | measureRectPosition(e) { 148 | let rectSize = e.layout; 149 | this.setState({ 150 | topHeight: rectSize.y, 151 | leftWidth: rectSize.x, 152 | }) 153 | } 154 | 155 | //获取顶部遮罩高度 156 | getTopMaskHeight() { 157 | if (this.props.isCornerOffset) { 158 | return this.state.topHeight + this.props.rectHeight - this.props.cornerOffsetSize; 159 | } else { 160 | return this.state.topHeight + this.props.rectHeight; 161 | } 162 | } 163 | 164 | //获取底部遮罩高度 165 | getBottomMaskHeight() { 166 | if (this.props.isCornerOffset) { 167 | return this.props.rectHeight + this.state.topHeight - this.props.cornerOffsetSize; 168 | } else { 169 | return this.state.topHeight + this.props.rectHeight; 170 | } 171 | } 172 | 173 | //获取左右两边遮罩高度 174 | getSideMaskHeight() { 175 | if (this.props.isCornerOffset) { 176 | return this.props.rectHeight - this.props.cornerOffsetSize * 2; 177 | } else { 178 | return this.props.rectHeight; 179 | } 180 | } 181 | 182 | //获取左右两边遮罩宽度 183 | getSideMaskWidth() { 184 | if (this.props.isCornerOffset) { 185 | return this.state.leftWidth + this.props.cornerOffsetSize; 186 | } else { 187 | return this.state.leftWidth; 188 | } 189 | } 190 | 191 | getBottomMenuHeight() { 192 | return ({ 193 | bottom: this.props.bottomMenuHeight, 194 | }); 195 | } 196 | 197 | getScanBarMargin() { 198 | return ({ 199 | marginRight: this.props.scanBarMargin, 200 | marginLeft: this.props.scanBarMargin, 201 | }) 202 | } 203 | 204 | getScanImageWidth() { 205 | return this.props.rectWidth - this.props.scanBarMargin * 2 206 | } 207 | 208 | //绘制扫描线 209 | _renderScanBar() { 210 | if (!this.props.scanBarImage) { 211 | return 213 | } else { 214 | return 218 | } 219 | } 220 | 221 | render() { 222 | const animatedStyle = { 223 | transform: [ 224 | {translateY: this.state.animatedValue} 225 | ] 226 | }; 227 | 228 | return ( 229 | this.measureTotalSize(e)} 231 | style={[styles.container, this.getBottomMenuHeight()]}> 232 | 233 | this.measureRectPosition(e)} 235 | > 236 | 237 | {/*扫描框边线*/} 238 | 243 | 244 | 247 | {this._renderScanBar()} 248 | 249 | 250 | 251 | 252 | {/*扫描框转角-左上角*/} 253 | 262 | 263 | {/*扫描框转角-右上角*/} 264 | 273 | 274 | {/*加载动画*/} 275 | {this.renderLoadingIndicator()} 276 | 277 | {/*扫描框转角-左下角*/} 278 | 287 | 288 | {/*扫描框转角-右下角*/} 289 | 298 | 299 | 300 | 308 | 309 | 317 | 318 | 325 | 326 | 333 | 334 | 335 | {this.props.hintText} 336 | 337 | 338 | 339 | ); 340 | } 341 | 342 | componentDidMount() { 343 | this.scannerLineMove(); 344 | } 345 | 346 | scannerLineMove() { 347 | this.state.animatedValue.setValue(0); //重置Rotate动画值为0 348 | Animated.timing(this.state.animatedValue, { 349 | toValue: this.props.rectHeight, 350 | duration: this.props.scanBarAnimateTime, 351 | easing: Easing.linear 352 | }).start(() => this.scannerLineMove()); 353 | } 354 | } 355 | 356 | /** 357 | * 扫描界面 358 | */ 359 | export default class QRScannerView extends Component { 360 | static propTypes = { 361 | maskColor: React.PropTypes.string, 362 | borderColor: React.PropTypes.string, 363 | cornerColor: React.PropTypes.string, 364 | borderWidth: React.PropTypes.number, 365 | cornerBorderWidth: React.PropTypes.number, 366 | cornerBorderLength: React.PropTypes.number, 367 | rectHeight: React.PropTypes.number, 368 | rectWidth: React.PropTypes.number, 369 | isLoading: React.PropTypes.bool, 370 | isCornerOffset: React.PropTypes.bool,//边角是否偏移 371 | cornerOffsetSize: React.PropTypes.number, 372 | bottomMenuHeight: React.PropTypes.number, 373 | bottomMenuStyle:React.PropTypes.object, 374 | scanBarAnimateTime: React.PropTypes.number, 375 | scanBarColor: React.PropTypes.string, 376 | scanBarImage: React.PropTypes.any, 377 | scanBarHeight: React.PropTypes.number, 378 | scanBarMargin: React.PropTypes.number, 379 | hintText: React.PropTypes.string, 380 | hintTextStyle: React.PropTypes.object, 381 | hintTextPosition:React.PropTypes.number, 382 | renderTopBarView:React.PropTypes.func, 383 | renderBottomMenuView:React.PropTypes.func, 384 | isShowScanBar:React.PropTypes.bool, 385 | }; 386 | 387 | constructor(props) { 388 | super(props); 389 | //通过这句代码屏蔽 YellowBox 390 | console.disableYellowBox = true; 391 | } 392 | 393 | render() { 394 | return ( 395 | 396 | 400 | {/*绘制顶部标题栏组件*/} 401 | {this.props.renderTopBarView()} 402 | 403 | {/*绘制扫描遮罩*/} 404 | 427 | 428 | {/*绘制底部操作栏*/} 429 | 430 | {this.props.renderBottomMenuView()} 431 | 432 | 433 | 434 | 435 | ); 436 | } 437 | } 438 | 439 | 440 | const styles = StyleSheet.create({ 441 | buttonsContainer: { 442 | position: 'absolute', 443 | height: 100, 444 | bottom: 0, 445 | left: 0, 446 | right: 0, 447 | }, 448 | container: { 449 | alignItems: 'center', 450 | justifyContent: 'center', 451 | position: 'absolute', 452 | top: 0, 453 | right: 0, 454 | left: 0, 455 | }, 456 | viewfinder: { 457 | alignItems: 'center', 458 | justifyContent: 'center', 459 | }, 460 | topLeftCorner: { 461 | position: 'absolute', 462 | top: 0, 463 | left: 0, 464 | }, 465 | topRightCorner: { 466 | position: 'absolute', 467 | top: 0, 468 | right: 0, 469 | }, 470 | bottomLeftCorner: { 471 | position: 'absolute', 472 | bottom: 0, 473 | left: 0, 474 | }, 475 | bottomRightCorner: { 476 | position: 'absolute', 477 | bottom: 0, 478 | right: 0, 479 | }, 480 | topMask: { 481 | position: 'absolute', 482 | top: 0, 483 | }, 484 | leftMask: { 485 | position: 'absolute', 486 | left: 0, 487 | }, 488 | rightMask: { 489 | position: 'absolute', 490 | right: 0, 491 | }, 492 | bottomMask: { 493 | position: 'absolute', 494 | bottom: 0, 495 | } 496 | }); -------------------------------------------------------------------------------- /app/components/TitleBar.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Func: 顶部标题栏 4 | * Desc: 5 | */ 6 | import React, {Component} from "react"; 7 | import {StyleSheet, Text} from 'react-native'; 8 | 9 | import {Body, Header, Left, Right, Title} from "native-base"; 10 | 11 | import {Images} from '../resource/' 12 | import ImageButton from "./ImageButton"; 13 | 14 | 15 | export default class TitleBar extends Component { 16 | 17 | static propTypes = { 18 | leftIcon: React.PropTypes.number, 19 | rightIcon: React.PropTypes.number, 20 | rightTitle: React.PropTypes.string, 21 | leftIconPress: React.PropTypes.func, 22 | rightIconPress: React.PropTypes.func, 23 | }; 24 | 25 | static defaultProps = { 26 | leftIcon: Images.ic_back, 27 | }; 28 | 29 | render() { 30 | return ( 31 |
32 | 33 | 38 | 39 | 40 | {this.props.title} 43 | 44 | 45 | {this._renderRight()} 46 | 47 |
48 | ) 49 | } 50 | 51 | /** 52 | * 根据传入值判断右边渲染文字还是图标 53 | */ 54 | _renderRight() { 55 | if (this.props.rightIcon) { 56 | return ( ) 61 | } else if (this.props.rightTitle) { 62 | return ( 63 | 64 | {this.props.rightTitle} 65 | 66 | ) 67 | } 68 | } 69 | 70 | } 71 | 72 | const styles = StyleSheet.create({ 73 | image_header_left: { 74 | height: 24, 75 | width: 24, 76 | marginLeft: 8, 77 | }, 78 | image_header_right: { 79 | height: 24, 80 | width: 24, 81 | marginRight: 8, 82 | }, 83 | text_right_title:{ 84 | color:'#000', 85 | } 86 | }) -------------------------------------------------------------------------------- /app/components/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/10 3 | * Function: 所有自定义组件类的入口类(此类勿删) 4 | * Desc: 名字默认为 index.js ,修改后会报错。 5 | * 所有组件必须通过这个类导出一遍才能在其他类中调用 6 | */ 7 | import ImageButton from './ImageButton' 8 | import TitleBar from './TitleBar' 9 | import ProfileItem from './ProfileItem'; 10 | import QRScannerView from './QRScannerView'; 11 | 12 | export {ImageButton, TitleBar, ProfileItem,QRScannerView} 13 | -------------------------------------------------------------------------------- /app/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/3/30 3 | * Function: 程序主入口 4 | * Desc: 在这里做一些全局配置,比如全局 Navigator配置,全局变量初始化等。 5 | */ 6 | import {AppRegistry} from 'react-native'; 7 | import {StackNavigator} from 'react-navigation'; 8 | 9 | import HomeScreen from './screens/home/HomeScreen'; 10 | import DrawerScreen from './screens/drawer/DrawerScreen'; 11 | import NotificationScreen from './screens/notification/NotificationScreen'; 12 | import QRScannerScreen from "./screens/scanner/QRScannerScreen"; 13 | 14 | const App = StackNavigator({ 15 | Main: {screen: HomeScreen}, 16 | Drawer: {screen: DrawerScreen}, 17 | Notification: {screen: NotificationScreen}, 18 | Scanner:{screen:QRScannerScreen} 19 | }, { 20 | headerMode: 'none', 21 | } 22 | ); 23 | 24 | 25 | //如果使用template 创建,需要将‘MarnoRN’替换成你自己项目的名称 26 | AppRegistry.registerComponent('RNofo', () => App); -------------------------------------------------------------------------------- /app/lib/amap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 基本地图展示 8 | 9 | 10 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 230 | 231 | -------------------------------------------------------------------------------- /app/resource/Colors.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/6 3 | * Function:存放常用颜色值 4 | * Desc: 5 | */ 6 | const colors = { 7 | //通用颜色 8 | white_fff: '#fff', 9 | black_000:'#000', 10 | gray_e9e9e9:'#e9e9e9', 11 | 12 | //App 主色调 13 | yellow_FFD900: '#FFD900', 14 | blue_1a7fff: '#1A7FFF', 15 | brown_40320D:'#40320D', 16 | black_0000004D:'#0000004D', 17 | } 18 | 19 | export default colors; -------------------------------------------------------------------------------- /app/resource/CommonStyles.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function:存放一些通用的样式 4 | * Desc: 5 | */ 6 | const commonStyles = { 7 | 8 | } 9 | 10 | export default commonStyles; -------------------------------------------------------------------------------- /app/resource/Constants.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function:存放一些常量 4 | * Desc:如:接口地址,字符串常量等 5 | */ 6 | const constants = { 7 | /** 8 | * 资源路径 9 | */ 10 | amap_path: require('../lib/amap.html'), 11 | 12 | /** 13 | * 接口地址 14 | */ 15 | url_share:'https://common.ofo.so/about/new_invitation/invite.html?update=&refcode=18780101875&utm_source=app_activity&utm_medium=drawer&utm_campaign=810_1486477644413', 16 | 17 | /** 18 | * 字符串常量 19 | */ 20 | string_title_homeScreen: 'ofo 共享单车', 21 | string_title_notificationScreen: '活动中心', 22 | string_title_scanner_qrcode:'扫码用车', 23 | string_profile_item_receipt:'我的行程', 24 | string_profile_item_wallet:'我的钱包', 25 | string_profile_item_redeem:'输入优惠码', 26 | string_profile_item_share:'邀请赢奖', 27 | string_profile_item_help:'使用指南', 28 | string_profile_item_about:'关于', 29 | string_already_verify:'已认证', 30 | string_help:'帮助', 31 | } 32 | 33 | export default constants; -------------------------------------------------------------------------------- /app/resource/Images.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/6 3 | * Function:所有图片入口 4 | * Desc:将图片统一管理,避免因改变路径后导致图片引用维护困难 5 | */ 6 | const images = { 7 | /** 8 | * 通用图标 9 | */ 10 | ic_logo: require('./imgs/launcher.png'), 11 | ic_avatar: require('./imgs/avatar.jpg'), 12 | ic_back:require('./imgs/back.png'), 13 | 14 | /** 15 | * 主页图标 16 | */ 17 | ic_menu: require('./imgs/menu.png'), 18 | ic_notification: require('./imgs/notifications.png'), 19 | ic_locate: require('./imgs/locate.png'), 20 | ic_ridenow: require('./imgs/ridenow.png'), 21 | ic_report: require('./imgs/report.png'), 22 | 23 | /** 24 | * 个人中心 25 | */ 26 | ic_receipt: require('./imgs/receipt.png'), 27 | ic_wallet: require('./imgs/wallet.png'), 28 | ic_redeem: require('./imgs/redeem.png'), 29 | ic_share: require('./imgs/share.png'), 30 | ic_help: require('./imgs/help.png'), 31 | ic_about: require('./imgs/info.png'), 32 | ic_label: require('./imgs/badgeRealYellow.png'), 33 | img_activities:require('./imgs/activities.png'), 34 | 35 | /** 36 | * 扫码页面 37 | */ 38 | ic_light_off:require('./imgs/scanLigtOff.png'), 39 | ic_light_on:require('./imgs/scanLightOn.png'), 40 | ic_manual_input:require('./imgs/manualInput.png'), 41 | ic_scan_bar: require('./imgs/scanBar.png'), 42 | }; 43 | 44 | export default images; -------------------------------------------------------------------------------- /app/resource/imgs/activities.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/activities.png -------------------------------------------------------------------------------- /app/resource/imgs/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/avatar.jpg -------------------------------------------------------------------------------- /app/resource/imgs/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/back.png -------------------------------------------------------------------------------- /app/resource/imgs/badgeRealGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/badgeRealGray.png -------------------------------------------------------------------------------- /app/resource/imgs/badgeRealYellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/badgeRealYellow.png -------------------------------------------------------------------------------- /app/resource/imgs/defaultAvatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/defaultAvatar.png -------------------------------------------------------------------------------- /app/resource/imgs/emptyCoupons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/emptyCoupons.png -------------------------------------------------------------------------------- /app/resource/imgs/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/help.png -------------------------------------------------------------------------------- /app/resource/imgs/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/info.png -------------------------------------------------------------------------------- /app/resource/imgs/launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/launcher.png -------------------------------------------------------------------------------- /app/resource/imgs/lightOff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/lightOff.png -------------------------------------------------------------------------------- /app/resource/imgs/lightOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/lightOn.png -------------------------------------------------------------------------------- /app/resource/imgs/locate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/locate.png -------------------------------------------------------------------------------- /app/resource/imgs/manualInput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/manualInput.png -------------------------------------------------------------------------------- /app/resource/imgs/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/menu.png -------------------------------------------------------------------------------- /app/resource/imgs/nearbyCarBigPoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/nearbyCarBigPoint.png -------------------------------------------------------------------------------- /app/resource/imgs/nearbyCarPoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/nearbyCarPoint.png -------------------------------------------------------------------------------- /app/resource/imgs/notifications.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/notifications.png -------------------------------------------------------------------------------- /app/resource/imgs/notificationsActive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/notificationsActive.png -------------------------------------------------------------------------------- /app/resource/imgs/overtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/overtime.png -------------------------------------------------------------------------------- /app/resource/imgs/receipt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/receipt.png -------------------------------------------------------------------------------- /app/resource/imgs/redeem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/redeem.png -------------------------------------------------------------------------------- /app/resource/imgs/report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/report.png -------------------------------------------------------------------------------- /app/resource/imgs/ridenow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/ridenow.png -------------------------------------------------------------------------------- /app/resource/imgs/scanBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/scanBar.png -------------------------------------------------------------------------------- /app/resource/imgs/scanLightOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/scanLightOn.png -------------------------------------------------------------------------------- /app/resource/imgs/scanLigtOff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/scanLigtOff.png -------------------------------------------------------------------------------- /app/resource/imgs/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/share.png -------------------------------------------------------------------------------- /app/resource/imgs/startCenterPoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/startCenterPoint.png -------------------------------------------------------------------------------- /app/resource/imgs/wallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/wallet.png -------------------------------------------------------------------------------- /app/resource/imgs/wheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarnoDev/react-native-ofo/83afcc09d438af1da2edb99cd2a1e3d48f57e450/app/resource/imgs/wheel.png -------------------------------------------------------------------------------- /app/resource/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function: 所有资源管理类的入口类(此类勿删) 4 | * Desc: 名字默认为 index.js ,修改后会报错。 5 | * 所有资源必须通过这个类导出一遍才能在其他类中调用 6 | */ 7 | import Colors from './Colors' 8 | import Images from './Images' 9 | import CommonStyles from './CommonStyles'; 10 | import Constants from './Constants'; 11 | 12 | export {Colors, Images, CommonStyles,Constants} 13 | -------------------------------------------------------------------------------- /app/screens/drawer/DrawerScreen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/7 3 | * Function:侧滑菜单视图 4 | * Desc: 5 | */ 6 | import React, {Component} from 'react'; 7 | import {View, Text, Image, ScrollView, TouchableWithoutFeedback} from "react-native"; 8 | 9 | import {Colors, Images, Constants} from '../../resource/' 10 | import {ProfileItem,ImageButton}from "../../components/"; 11 | import Styles from "./styles/DrawerScreenStyles"; 12 | 13 | export default class DrawerScreen extends Component { 14 | render() { 15 | return ( 16 | 17 | 18 | 19 | 20 | 21 | 25 | 29 | {Constants.string_already_verify} 32 | 33 | 34 | 35 | Marno 38 | 公众号 aMarno 41 | 42 | 43 | 44 | 48 | 53 | 57 | 61 | 65 | 69 | 72 | 73 | 74 | ) 75 | } 76 | 77 | 78 | } -------------------------------------------------------------------------------- /app/screens/drawer/styles/DrawerScreenStyles.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/10 3 | * Function:侧滑菜单样式 4 | * Desc: 5 | */ 6 | import {StyleSheet} from 'react-native'; 7 | import {Colors} from '../../../resource/' 8 | 9 | export default StyleSheet.create({ 10 | view_drawer_header: { 11 | flex: 1, 12 | flexDirection: 'row', 13 | borderBottomWidth: 0.5, 14 | borderBottomColor: Colors.gray_e9e9e9, 15 | margin: 16, 16 | paddingBottom: 16, 17 | }, 18 | view_avatar: { 19 | alignItems: 'center', 20 | }, 21 | view_name: { 22 | justifyContent:'center', 23 | marginLeft:16, 24 | }, 25 | image_label: { 26 | width: 66, 27 | resizeMode: 'contain', 28 | position: 'absolute', 29 | bottom: -18 30 | }, 31 | image_avatar: { 32 | height: 70, 33 | width: 70, 34 | borderRadius: 50, 35 | }, 36 | text_label: { 37 | position: 'absolute', 38 | bottom: 21, 39 | right: 8, 40 | fontSize: 10, 41 | }, 42 | text_nickname: { 43 | fontSize: 16, 44 | }, 45 | text_account: { 46 | fontSize:14, 47 | }, 48 | image_activities:{ 49 | resizeMode:'contain', 50 | width:280, 51 | height:160, 52 | } 53 | 54 | }); 55 | -------------------------------------------------------------------------------- /app/screens/home/HomeScreen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function:主页视图 4 | * Desc: 5 | */ 6 | import React, {Component} from "react"; 7 | import {Image, Text, TouchableWithoutFeedback, View, WebView} from "react-native"; 8 | 9 | import {Container, Drawer} from "native-base"; 10 | import Toast from 'react-native-simple-toast'; 11 | 12 | import {Constants, Images} from "../../resource/"; 13 | import Styles from "./styles/HomeScreenStyles"; 14 | 15 | import {TitleBar, ImageButton} from '../../components/' 16 | import DrawerScreen from "../drawer/DrawerScreen"; 17 | 18 | export default class HomeScreen extends Component { 19 | render() { 20 | return ( 21 | this._drawer = ref} 23 | content={} 24 | > 25 | 26 | { 31 | this._openDrawer(); 32 | }} 33 | rightIconPress={() => { 34 | this._navigateToScreen('Notification'); 35 | }} 36 | /> 37 | 38 | 45 | 46 | 47 | 52 | 53 | 54 | 59 | 立即用车 62 | 63 | 64 | 68 | 69 | 70 | 71 | 72 | ); 73 | } 74 | 75 | _getLocation() { 76 | Toast.show('点击了定位'); 77 | } 78 | 79 | _navigateToScreen(screen) { 80 | const {navigate} = this.props.navigation; 81 | navigate(screen); 82 | } 83 | 84 | _openDrawer() { 85 | this._drawer._root.open(); 86 | } 87 | 88 | _navigateToScanner() { 89 | this._navigateToScreen('Scanner') 90 | } 91 | 92 | } 93 | 94 | -------------------------------------------------------------------------------- /app/screens/home/styles/HomeScreenStyles.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function: 主页面 HomeScreen 中用到的样式 4 | * Desc: 5 | */ 6 | import {StyleSheet} from 'react-native'; 7 | import {Colors} from '../../../resource/'; 8 | 9 | export default StyleSheet.create({ 10 | image_header_left: { 11 | height: 24, 12 | width: 24, 13 | marginLeft: 8, 14 | }, 15 | image_header_right: { 16 | height: 24, 17 | width: 24, 18 | marginRight: 8, 19 | }, 20 | view_container: { 21 | flex: 1, 22 | flexDirection: 'column', 23 | }, 24 | view_bottom_menu_container: { 25 | flexDirection: 'row', 26 | position: 'absolute', 27 | left: 0, 28 | bottom: 0, 29 | right: 0, 30 | justifyContent: 'space-between', 31 | alignItems: 'center', 32 | height: 116, 33 | paddingBottom: 16, 34 | }, 35 | view_locate_button_bg: { 36 | backgroundColor: Colors.white_fff, 37 | height: 48, 38 | width: 48, 39 | marginLeft: 20, 40 | justifyContent: 'center', 41 | alignItems: 'center', 42 | borderRadius: 28, 43 | elevation: 3, 44 | }, 45 | image_locate_button: { 46 | height: 24, 47 | width: 24, 48 | }, 49 | image_ridenow_button: { 50 | height: 100, 51 | width: 100, 52 | justifyContent: 'center', 53 | alignItems: 'center' 54 | }, 55 | text_ridenow_title: { 56 | color: Colors.yellow_FFD900, 57 | fontSize: 16, 58 | fontWeight: 'bold' 59 | }, 60 | image_report_button: { 61 | height: 56, 62 | width: 56, 63 | marginRight: 16 64 | } 65 | 66 | }); -------------------------------------------------------------------------------- /app/screens/notification/NotificationScreen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function: 4 | * Desc: 5 | */ 6 | import React, {Component} from "react"; 7 | import {Text} from "react-native"; 8 | 9 | import {Container, Content} from "native-base"; 10 | 11 | import {Constants, Images} from "../../resource/"; 12 | 13 | import {TitleBar} from "../../components/"; 14 | 15 | 16 | export default class NotificationScreen extends Component { 17 | render() { 18 | return ( 19 | 20 | this.props.navigation.goBack()} 23 | /> 24 | 25 | 26 | 这里显示内容 27 | 28 | 29 | /> 30 | 31 | ) 32 | } 33 | } -------------------------------------------------------------------------------- /app/screens/scanner/QRScannerScreen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/13 3 | * Function: 4 | * Desc: 5 | */ 6 | import React, {Component} from "react"; 7 | import {Text, View} from "react-native"; 8 | 9 | import {Constants, Images, Colors} from "../../resource/"; 10 | 11 | import {TitleBar, QRScannerView, ImageButton} from "../../components/"; 12 | import Styles from './styles/QRScannerScreenStyles'; 13 | 14 | export default class QRScannerScreen extends Component { 15 | constructor(props) { 16 | super(props); 17 | } 18 | 19 | render() { 20 | return ( 21 | < QRScannerView 22 | bottomMenuStyle={{height: 120, backgroundColor: '#000000', opacity: 1}} 23 | isShowScanBar={true} 24 | scanBarImage={Images.ic_scan_bar} 25 | cornerColor={Colors.yellow_FFD900} 26 | cornerOffsetSize={0} 27 | borderWidth={0} 28 | hintText={'请对准车牌上的二维码'} 29 | hintTextStyle={{color: Colors.yellow_FFD900, fontSize: 16, fontWeight: 'bold'}} 30 | hintTextPosition={110} 31 | maskColor={Colors.black_0000004D} 32 | onScanResultReceived={this.barcodeReceived.bind(this)} 33 | bottomMenuHeight={120} 34 | 35 | renderTopBarView={() => { 36 | return ( 37 | this.props.navigation.goBack()} 41 | /> 42 | ) 43 | }} 44 | 45 | renderBottomMenuView={() => this._renderMenu()} 46 | /> 47 | ) 48 | } 49 | 50 | _renderMenu() { 51 | return ( 52 | 53 | 54 | 58 | 手动输入车牌号 61 | 62 | 63 | 64 | 68 | 手电筒 71 | 72 | 73 | ) 74 | } 75 | 76 | barcodeReceived(e) { 77 | 78 | console.log(e); 79 | 80 | // if (this.state.parsingResult ) return; 81 | // 82 | // this.setState({ 83 | // parsingResult: e.data, 84 | // }); 85 | 86 | } 87 | } -------------------------------------------------------------------------------- /app/screens/scanner/styles/QRScannerScreenStyles.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/18 3 | * Function: ScannerScreen 的样式 4 | * Desc: 5 | */ 6 | import {StyleSheet} from 'react-native'; 7 | import {Colors} from '../../../resource/'; 8 | 9 | export default StyleSheet.create({ 10 | image_bottom_menu:{ 11 | height:50, 12 | width:50, 13 | marginBottom:10, 14 | }, 15 | view_menu_container:{ 16 | flexDirection:'row', 17 | justifyContent:'space-around', 18 | paddingTop:16 19 | }, 20 | text_menu_title:{ 21 | color:'white', 22 | fontSize:14 23 | }, 24 | view_menu_item_container:{ 25 | justifyContent:'center', 26 | alignItems:'center', 27 | } 28 | }) -------------------------------------------------------------------------------- /app/utils/ToastUtil.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by marno on 2017/4/9 3 | * Function: 4 | * Desc: 5 | */ 6 | import React, {Component} from 'react'; 7 | import {} from 'react-native'; 8 | 9 | export default class ToastUtil extends Component { 10 | 11 | } -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Marno on 2017/4/1. 3 | * Desc:Android 程序入口 4 | */ 5 | import './app/index'; 6 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by Marno on 2017/4/1. 3 | * Desc:iOS 程序入口 4 | */ 5 | import './app/index'; 6 | -------------------------------------------------------------------------------- /ios/RNofo-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/RNofo-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/RNofo.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 /* RNofoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNofoTests.m */; }; 16 | 037C7B4A5AFD4DA68F1DC520 /* Arial Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 31B58C3136624A6088D62DC0 /* Arial Black.ttf */; }; 17 | 06917D78094A4E539DE1C471 /* Roboto_medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 06000A3FAC0E4B37BC825B7F /* Roboto_medium.ttf */; }; 18 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 19 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 20 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 21 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 22 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 23 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 24 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 25 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 27 | 20A86CC72B914D65A93FBE67 /* Skia.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2617743BFB53406A959C87E4 /* Skia.ttf */; }; 28 | 21B097E3C2C7466F81912F35 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ECF652A715314EEF82369EBA /* MaterialIcons.ttf */; }; 29 | 224CC781CF064983976410FF /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = DE804DBE0B754EE8B789097C /* SF-UI-Text-Regular.otf */; }; 30 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 31 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 32 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 33 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 34 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 35 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 36 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 37 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 38 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 39 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 40 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 41 | 2DCD954D1E0B4F2C00145EB5 /* RNofoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNofoTests.m */; }; 42 | 385F43A3E3F5483280649C65 /* Microsoft Sans Serif.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 07A4C8B0AB244FAB9973F19B /* Microsoft Sans Serif.ttf */; }; 43 | 50A47EBA68D14E2196225858 /* Courier New.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FDAC3B50DEDD4D1BA83F46BD /* Courier New.ttf */; }; 44 | 56B2A3FFA6B641C687E2DE0B /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B93497BD36644C2F820C609E /* Octicons.ttf */; }; 45 | 584CCBDBF308423F8A9AE5EA /* Rubik-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 12A019B9CD6645D3BBBEE67B /* Rubik-MediumItalic.ttf */; }; 46 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 47 | 636844893A2A4B3BBDA16A95 /* SanFranciscoThin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A0393104A85149529BD1DECB /* SanFranciscoThin.ttf */; }; 48 | 65C9153735154D0394FC2E06 /* Rubik-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E02E307231B34D74BFD481DE /* Rubik-BlackItalic.ttf */; }; 49 | 66149425D6B84CBA8790B403 /* Arial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AA5AC6AE9D7C445784D7B69F /* Arial.ttf */; }; 50 | 6EC3636AF77242458DF197AF /* SanFranciscoBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F8597DEFB5EF4B4984E0D2C8 /* SanFranciscoBold.ttf */; }; 51 | 712D45BE82474B78BA5F9369 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 48A9AADE31B549E1BF6A5393 /* Entypo.ttf */; }; 52 | 79A24C163D5C485B8663F0B0 /* rubicon-icon-font.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 692608351CF14EB892FEC4E1 /* rubicon-icon-font.ttf */; }; 53 | 7D7351522B1B46AB9E2F7E03 /* Rubik-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C3826F91FFA3426EBCA024ED /* Rubik-Black.ttf */; }; 54 | 7E2CF961A7D94E53B670E45A /* Comic Sans MS.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5AAE04D7710C4E16B87CED51 /* Comic Sans MS.ttf */; }; 55 | 7FF8D49FAAC44168B9466A0B /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F767C519F2D741579E14FE24 /* Foundation.ttf */; }; 56 | 81FF2D3AB0AE4D6E9E10E209 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 09FBA01221AE48B88FC92985 /* Zocial.ttf */; }; 57 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 58 | 8325F188788140F69CA049F7 /* Rubik-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BB1AB48EC2FD47B98B6FF296 /* Rubik-Bold.ttf */; }; 59 | 841EFA446D2D46599469FBBB /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6760A685881D4FC394236638 /* Ionicons.ttf */; }; 60 | 84AD677C4FD0440098020C2D /* libRCTCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AF7379173FC3484396BD26E9 /* libRCTCamera.a */; }; 61 | 86146EB2FC7A4A3898EA35BF /* Rubik-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6520B51FFDF940579FEF20B4 /* Rubik-Regular.ttf */; }; 62 | 8F7456A19F5E491D8BA1D7F7 /* SanFrancisco.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F8269F55AA6B47F590C4C54D /* SanFrancisco.ttf */; }; 63 | 991C4F58EDA3482BA9CFE2CE /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0EA1C5DC34DC4FF8967B8DA5 /* EvilIcons.ttf */; }; 64 | 9CF4274EA4D543EC89A3E23E /* Georgia.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E78931382C264377B3737EC9 /* Georgia.ttf */; }; 65 | A62A2C202E7E4C83908BB9E4 /* Times New Roman.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BFC56311B4E14F2AA78244C3 /* Times New Roman.ttf */; }; 66 | BB2B7F23A1E04138813C2F69 /* Roboto.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 13B1AF71022B40D4B1F0A1D0 /* Roboto.ttf */; }; 67 | BFAA01604B8741809B022183 /* Rubik-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D256658B014242D7A57ADC65 /* Rubik-Medium.ttf */; }; 68 | C19B361DBB264F2D928B9296 /* libLRDRCTSimpleToast.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15EF8D45E88B4CEE958DD456 /* libLRDRCTSimpleToast.a */; }; 69 | C2033A64BE75400F92D76C08 /* Rubik-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3AD85777FF27495EB766C7B8 /* Rubik-Italic.ttf */; }; 70 | CEAE92E7A21C4B1FB605A1D2 /* Rubik-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E2F48B17F1284D509BAF8AFE /* Rubik-LightItalic.ttf */; }; 71 | D20CFCC18191441B9CE3C971 /* Andale Mono.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4E3A3D3B5B904107BCA3BA9C /* Andale Mono.ttf */; }; 72 | D520D1B327524C30BDD15F45 /* Rubik-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3FAFCCCE2AEB4E6EA61C12A3 /* Rubik-BoldItalic.ttf */; }; 73 | F6F21709E3C34E17A746C60F /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 473E61A640CB45C8AC1B833E /* FontAwesome.ttf */; }; 74 | F77305CF1C8F4149B60BC72D /* Rubik-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 380C27FBBA3E42F28669A310 /* Rubik-Light.ttf */; }; 75 | /* End PBXBuildFile section */ 76 | 77 | /* Begin PBXContainerItemProxy section */ 78 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 79 | isa = PBXContainerItemProxy; 80 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 81 | proxyType = 2; 82 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 83 | remoteInfo = RCTActionSheet; 84 | }; 85 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 86 | isa = PBXContainerItemProxy; 87 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 88 | proxyType = 2; 89 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 90 | remoteInfo = RCTGeolocation; 91 | }; 92 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 93 | isa = PBXContainerItemProxy; 94 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 95 | proxyType = 2; 96 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 97 | remoteInfo = RCTImage; 98 | }; 99 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 100 | isa = PBXContainerItemProxy; 101 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 102 | proxyType = 2; 103 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 104 | remoteInfo = RCTNetwork; 105 | }; 106 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 107 | isa = PBXContainerItemProxy; 108 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 109 | proxyType = 2; 110 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 111 | remoteInfo = RCTVibration; 112 | }; 113 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 114 | isa = PBXContainerItemProxy; 115 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 116 | proxyType = 1; 117 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 118 | remoteInfo = RNofo; 119 | }; 120 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 121 | isa = PBXContainerItemProxy; 122 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 123 | proxyType = 2; 124 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 125 | remoteInfo = RCTSettings; 126 | }; 127 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 128 | isa = PBXContainerItemProxy; 129 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 130 | proxyType = 2; 131 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 132 | remoteInfo = RCTWebSocket; 133 | }; 134 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 135 | isa = PBXContainerItemProxy; 136 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 137 | proxyType = 2; 138 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 139 | remoteInfo = React; 140 | }; 141 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 142 | isa = PBXContainerItemProxy; 143 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 144 | proxyType = 1; 145 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 146 | remoteInfo = "RNofo-tvOS"; 147 | }; 148 | 2E78ACE51EAE03E500574CB7 /* PBXContainerItemProxy */ = { 149 | isa = PBXContainerItemProxy; 150 | containerPortal = C8466595088B4028A38CA135 /* LRDRCTSimpleToast.xcodeproj */; 151 | proxyType = 2; 152 | remoteGlobalIDString = 15209BEF1D250F63000D0F44; 153 | remoteInfo = LRDRCTSimpleToast; 154 | }; 155 | 2E78ACEB1EAE03E500574CB7 /* PBXContainerItemProxy */ = { 156 | isa = PBXContainerItemProxy; 157 | containerPortal = CF1A1E272A3642CFB5930AEF /* RCTCamera.xcodeproj */; 158 | proxyType = 2; 159 | remoteGlobalIDString = 4107012F1ACB723B00C6AA39; 160 | remoteInfo = RCTCamera; 161 | }; 162 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 163 | isa = PBXContainerItemProxy; 164 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 165 | proxyType = 2; 166 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 167 | remoteInfo = "RCTImage-tvOS"; 168 | }; 169 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 170 | isa = PBXContainerItemProxy; 171 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 172 | proxyType = 2; 173 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 174 | remoteInfo = "RCTLinking-tvOS"; 175 | }; 176 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 177 | isa = PBXContainerItemProxy; 178 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 179 | proxyType = 2; 180 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 181 | remoteInfo = "RCTNetwork-tvOS"; 182 | }; 183 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 184 | isa = PBXContainerItemProxy; 185 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 186 | proxyType = 2; 187 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 188 | remoteInfo = "RCTSettings-tvOS"; 189 | }; 190 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 191 | isa = PBXContainerItemProxy; 192 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 193 | proxyType = 2; 194 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 195 | remoteInfo = "RCTText-tvOS"; 196 | }; 197 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 198 | isa = PBXContainerItemProxy; 199 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 200 | proxyType = 2; 201 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 202 | remoteInfo = "RCTWebSocket-tvOS"; 203 | }; 204 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 205 | isa = PBXContainerItemProxy; 206 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 207 | proxyType = 2; 208 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 209 | remoteInfo = "React-tvOS"; 210 | }; 211 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 212 | isa = PBXContainerItemProxy; 213 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 214 | proxyType = 2; 215 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 216 | remoteInfo = yoga; 217 | }; 218 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 219 | isa = PBXContainerItemProxy; 220 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 221 | proxyType = 2; 222 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 223 | remoteInfo = "yoga-tvOS"; 224 | }; 225 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 226 | isa = PBXContainerItemProxy; 227 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 228 | proxyType = 2; 229 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 230 | remoteInfo = cxxreact; 231 | }; 232 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 233 | isa = PBXContainerItemProxy; 234 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 235 | proxyType = 2; 236 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 237 | remoteInfo = "cxxreact-tvOS"; 238 | }; 239 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 240 | isa = PBXContainerItemProxy; 241 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 242 | proxyType = 2; 243 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 244 | remoteInfo = jschelpers; 245 | }; 246 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 247 | isa = PBXContainerItemProxy; 248 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 249 | proxyType = 2; 250 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 251 | remoteInfo = "jschelpers-tvOS"; 252 | }; 253 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 254 | isa = PBXContainerItemProxy; 255 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 256 | proxyType = 2; 257 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 258 | remoteInfo = RCTAnimation; 259 | }; 260 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 261 | isa = PBXContainerItemProxy; 262 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 263 | proxyType = 2; 264 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 265 | remoteInfo = "RCTAnimation-tvOS"; 266 | }; 267 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 268 | isa = PBXContainerItemProxy; 269 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 270 | proxyType = 2; 271 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 272 | remoteInfo = RCTLinking; 273 | }; 274 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 275 | isa = PBXContainerItemProxy; 276 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 277 | proxyType = 2; 278 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 279 | remoteInfo = RCTText; 280 | }; 281 | /* End PBXContainerItemProxy section */ 282 | 283 | /* Begin PBXFileReference section */ 284 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 285 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 286 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 287 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 288 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 289 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 290 | 00E356EE1AD99517003FC87E /* RNofoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNofoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 291 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 292 | 00E356F21AD99517003FC87E /* RNofoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNofoTests.m; sourceTree = ""; }; 293 | 06000A3FAC0E4B37BC825B7F /* Roboto_medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Roboto_medium.ttf; path = "../node_modules/native-base/Fonts/Roboto_medium.ttf"; sourceTree = ""; }; 294 | 07A4C8B0AB244FAB9973F19B /* Microsoft Sans Serif.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Microsoft Sans Serif.ttf"; path = "../node_modules/native-base/Fonts/Microsoft Sans Serif.ttf"; sourceTree = ""; }; 295 | 09FBA01221AE48B88FC92985 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/native-base/Fonts/Zocial.ttf"; sourceTree = ""; }; 296 | 0EA1C5DC34DC4FF8967B8DA5 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/native-base/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 297 | 12A019B9CD6645D3BBBEE67B /* Rubik-MediumItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-MediumItalic.ttf"; path = "../node_modules/native-base/Fonts/Rubik-MediumItalic.ttf"; sourceTree = ""; }; 298 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 299 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 300 | 13B07F961A680F5B00A75B9A /* RNofo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNofo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 301 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNofo/AppDelegate.h; sourceTree = ""; }; 302 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNofo/AppDelegate.m; sourceTree = ""; }; 303 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 304 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNofo/Images.xcassets; sourceTree = ""; }; 305 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNofo/Info.plist; sourceTree = ""; }; 306 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNofo/main.m; sourceTree = ""; }; 307 | 13B1AF71022B40D4B1F0A1D0 /* Roboto.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Roboto.ttf; path = "../node_modules/native-base/Fonts/Roboto.ttf"; sourceTree = ""; }; 308 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 309 | 15EF8D45E88B4CEE958DD456 /* libLRDRCTSimpleToast.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libLRDRCTSimpleToast.a; sourceTree = ""; }; 310 | 2617743BFB53406A959C87E4 /* Skia.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Skia.ttf; path = "../node_modules/native-base/Fonts/Skia.ttf"; sourceTree = ""; }; 311 | 2D02E47B1E0B4A5D006451C7 /* RNofo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNofo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 312 | 2D02E4901E0B4A5D006451C7 /* RNofo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RNofo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 313 | 31B58C3136624A6088D62DC0 /* Arial Black.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Arial Black.ttf"; path = "../node_modules/native-base/Fonts/Arial Black.ttf"; sourceTree = ""; }; 314 | 380C27FBBA3E42F28669A310 /* Rubik-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Light.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Light.ttf"; sourceTree = ""; }; 315 | 3AD85777FF27495EB766C7B8 /* Rubik-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Italic.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Italic.ttf"; sourceTree = ""; }; 316 | 3FAFCCCE2AEB4E6EA61C12A3 /* Rubik-BoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-BoldItalic.ttf"; path = "../node_modules/native-base/Fonts/Rubik-BoldItalic.ttf"; sourceTree = ""; }; 317 | 473E61A640CB45C8AC1B833E /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/native-base/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 318 | 48A9AADE31B549E1BF6A5393 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/native-base/Fonts/Entypo.ttf"; sourceTree = ""; }; 319 | 4E3A3D3B5B904107BCA3BA9C /* Andale Mono.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Andale Mono.ttf"; path = "../node_modules/native-base/Fonts/Andale Mono.ttf"; sourceTree = ""; }; 320 | 5AAE04D7710C4E16B87CED51 /* Comic Sans MS.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Comic Sans MS.ttf"; path = "../node_modules/native-base/Fonts/Comic Sans MS.ttf"; sourceTree = ""; }; 321 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 322 | 6520B51FFDF940579FEF20B4 /* Rubik-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Regular.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Regular.ttf"; sourceTree = ""; }; 323 | 6760A685881D4FC394236638 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/native-base/Fonts/Ionicons.ttf"; sourceTree = ""; }; 324 | 692608351CF14EB892FEC4E1 /* rubicon-icon-font.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "rubicon-icon-font.ttf"; path = "../node_modules/native-base/Fonts/rubicon-icon-font.ttf"; sourceTree = ""; }; 325 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 326 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 327 | A0393104A85149529BD1DECB /* SanFranciscoThin.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SanFranciscoThin.ttf; path = "../node_modules/native-base/Fonts/SanFranciscoThin.ttf"; sourceTree = ""; }; 328 | AA5AC6AE9D7C445784D7B69F /* Arial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Arial.ttf; path = "../node_modules/native-base/Fonts/Arial.ttf"; sourceTree = ""; }; 329 | AF7379173FC3484396BD26E9 /* libRCTCamera.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTCamera.a; sourceTree = ""; }; 330 | B93497BD36644C2F820C609E /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/native-base/Fonts/Octicons.ttf"; sourceTree = ""; }; 331 | BB1AB48EC2FD47B98B6FF296 /* Rubik-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Bold.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Bold.ttf"; sourceTree = ""; }; 332 | BFC56311B4E14F2AA78244C3 /* Times New Roman.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Times New Roman.ttf"; path = "../node_modules/native-base/Fonts/Times New Roman.ttf"; sourceTree = ""; }; 333 | C3826F91FFA3426EBCA024ED /* Rubik-Black.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Black.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Black.ttf"; sourceTree = ""; }; 334 | C8466595088B4028A38CA135 /* LRDRCTSimpleToast.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = LRDRCTSimpleToast.xcodeproj; path = "../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast.xcodeproj"; sourceTree = ""; }; 335 | CF1A1E272A3642CFB5930AEF /* RCTCamera.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTCamera.xcodeproj; path = "../node_modules/react-native-camera/ios/RCTCamera.xcodeproj"; sourceTree = ""; }; 336 | D256658B014242D7A57ADC65 /* Rubik-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Medium.ttf"; path = "../node_modules/native-base/Fonts/Rubik-Medium.ttf"; sourceTree = ""; }; 337 | DE804DBE0B754EE8B789097C /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "SF-UI-Text-Regular.otf"; path = "../node_modules/native-base/Fonts/SF-UI-Text-Regular.otf"; sourceTree = ""; }; 338 | E02E307231B34D74BFD481DE /* Rubik-BlackItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-BlackItalic.ttf"; path = "../node_modules/native-base/Fonts/Rubik-BlackItalic.ttf"; sourceTree = ""; }; 339 | E2F48B17F1284D509BAF8AFE /* Rubik-LightItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-LightItalic.ttf"; path = "../node_modules/native-base/Fonts/Rubik-LightItalic.ttf"; sourceTree = ""; }; 340 | E78931382C264377B3737EC9 /* Georgia.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Georgia.ttf; path = "../node_modules/native-base/Fonts/Georgia.ttf"; sourceTree = ""; }; 341 | ECF652A715314EEF82369EBA /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/native-base/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 342 | F767C519F2D741579E14FE24 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/native-base/Fonts/Foundation.ttf"; sourceTree = ""; }; 343 | F8269F55AA6B47F590C4C54D /* SanFrancisco.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SanFrancisco.ttf; path = "../node_modules/native-base/Fonts/SanFrancisco.ttf"; sourceTree = ""; }; 344 | F8597DEFB5EF4B4984E0D2C8 /* SanFranciscoBold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SanFranciscoBold.ttf; path = "../node_modules/native-base/Fonts/SanFranciscoBold.ttf"; sourceTree = ""; }; 345 | FDAC3B50DEDD4D1BA83F46BD /* Courier New.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Courier New.ttf"; path = "../node_modules/native-base/Fonts/Courier New.ttf"; sourceTree = ""; }; 346 | /* End PBXFileReference section */ 347 | 348 | /* Begin PBXFrameworksBuildPhase section */ 349 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 350 | isa = PBXFrameworksBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 358 | isa = PBXFrameworksBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 362 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 363 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 364 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 365 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 366 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 367 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 368 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 369 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 370 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 371 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 372 | 84AD677C4FD0440098020C2D /* libRCTCamera.a in Frameworks */, 373 | C19B361DBB264F2D928B9296 /* libLRDRCTSimpleToast.a in Frameworks */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 378 | isa = PBXFrameworksBuildPhase; 379 | buildActionMask = 2147483647; 380 | files = ( 381 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 382 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 383 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 384 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 385 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 386 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 387 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 388 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 393 | isa = PBXFrameworksBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | ); 397 | runOnlyForDeploymentPostprocessing = 0; 398 | }; 399 | /* End PBXFrameworksBuildPhase section */ 400 | 401 | /* Begin PBXGroup section */ 402 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 403 | isa = PBXGroup; 404 | children = ( 405 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 406 | ); 407 | name = Products; 408 | sourceTree = ""; 409 | }; 410 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 411 | isa = PBXGroup; 412 | children = ( 413 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 414 | ); 415 | name = Products; 416 | sourceTree = ""; 417 | }; 418 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 419 | isa = PBXGroup; 420 | children = ( 421 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 422 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 423 | ); 424 | name = Products; 425 | sourceTree = ""; 426 | }; 427 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 428 | isa = PBXGroup; 429 | children = ( 430 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 431 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 432 | ); 433 | name = Products; 434 | sourceTree = ""; 435 | }; 436 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 440 | ); 441 | name = Products; 442 | sourceTree = ""; 443 | }; 444 | 00E356EF1AD99517003FC87E /* RNofoTests */ = { 445 | isa = PBXGroup; 446 | children = ( 447 | 00E356F21AD99517003FC87E /* RNofoTests.m */, 448 | 00E356F01AD99517003FC87E /* Supporting Files */, 449 | ); 450 | path = RNofoTests; 451 | sourceTree = ""; 452 | }; 453 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 454 | isa = PBXGroup; 455 | children = ( 456 | 00E356F11AD99517003FC87E /* Info.plist */, 457 | ); 458 | name = "Supporting Files"; 459 | sourceTree = ""; 460 | }; 461 | 139105B71AF99BAD00B5F7CC /* Products */ = { 462 | isa = PBXGroup; 463 | children = ( 464 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 465 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 466 | ); 467 | name = Products; 468 | sourceTree = ""; 469 | }; 470 | 139FDEE71B06529A00C62182 /* Products */ = { 471 | isa = PBXGroup; 472 | children = ( 473 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 474 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 475 | ); 476 | name = Products; 477 | sourceTree = ""; 478 | }; 479 | 13B07FAE1A68108700A75B9A /* RNofo */ = { 480 | isa = PBXGroup; 481 | children = ( 482 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 483 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 484 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 485 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 486 | 13B07FB61A68108700A75B9A /* Info.plist */, 487 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 488 | 13B07FB71A68108700A75B9A /* main.m */, 489 | ); 490 | name = RNofo; 491 | sourceTree = ""; 492 | }; 493 | 146834001AC3E56700842450 /* Products */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 146834041AC3E56700842450 /* libReact.a */, 497 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 498 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 499 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 500 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 501 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 502 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 503 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 504 | ); 505 | name = Products; 506 | sourceTree = ""; 507 | }; 508 | 2E78ACE01EAE03E400574CB7 /* Products */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | 2E78ACE61EAE03E500574CB7 /* libLRDRCTSimpleToast.a */, 512 | ); 513 | name = Products; 514 | sourceTree = ""; 515 | }; 516 | 2E78ACE21EAE03E400574CB7 /* Products */ = { 517 | isa = PBXGroup; 518 | children = ( 519 | 2E78ACEC1EAE03E500574CB7 /* libRCTCamera.a */, 520 | ); 521 | name = Products; 522 | sourceTree = ""; 523 | }; 524 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 525 | isa = PBXGroup; 526 | children = ( 527 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 528 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 529 | ); 530 | name = Products; 531 | sourceTree = ""; 532 | }; 533 | 78C398B11ACF4ADC00677621 /* Products */ = { 534 | isa = PBXGroup; 535 | children = ( 536 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 537 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 538 | ); 539 | name = Products; 540 | sourceTree = ""; 541 | }; 542 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 543 | isa = PBXGroup; 544 | children = ( 545 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 546 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 547 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 548 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 549 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 550 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 551 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 552 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 553 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 554 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 555 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 556 | CF1A1E272A3642CFB5930AEF /* RCTCamera.xcodeproj */, 557 | C8466595088B4028A38CA135 /* LRDRCTSimpleToast.xcodeproj */, 558 | ); 559 | name = Libraries; 560 | sourceTree = ""; 561 | }; 562 | 832341B11AAA6A8300B99B32 /* Products */ = { 563 | isa = PBXGroup; 564 | children = ( 565 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 566 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 567 | ); 568 | name = Products; 569 | sourceTree = ""; 570 | }; 571 | 83CBB9F61A601CBA00E9B192 = { 572 | isa = PBXGroup; 573 | children = ( 574 | 13B07FAE1A68108700A75B9A /* RNofo */, 575 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 576 | 00E356EF1AD99517003FC87E /* RNofoTests */, 577 | 83CBBA001A601CBA00E9B192 /* Products */, 578 | FF2ADBFC5A454FA3A7618969 /* Resources */, 579 | ); 580 | indentWidth = 2; 581 | sourceTree = ""; 582 | tabWidth = 2; 583 | }; 584 | 83CBBA001A601CBA00E9B192 /* Products */ = { 585 | isa = PBXGroup; 586 | children = ( 587 | 13B07F961A680F5B00A75B9A /* RNofo.app */, 588 | 00E356EE1AD99517003FC87E /* RNofoTests.xctest */, 589 | 2D02E47B1E0B4A5D006451C7 /* RNofo-tvOS.app */, 590 | 2D02E4901E0B4A5D006451C7 /* RNofo-tvOSTests.xctest */, 591 | ); 592 | name = Products; 593 | sourceTree = ""; 594 | }; 595 | FF2ADBFC5A454FA3A7618969 /* Resources */ = { 596 | isa = PBXGroup; 597 | children = ( 598 | 4E3A3D3B5B904107BCA3BA9C /* Andale Mono.ttf */, 599 | 31B58C3136624A6088D62DC0 /* Arial Black.ttf */, 600 | AA5AC6AE9D7C445784D7B69F /* Arial.ttf */, 601 | 5AAE04D7710C4E16B87CED51 /* Comic Sans MS.ttf */, 602 | FDAC3B50DEDD4D1BA83F46BD /* Courier New.ttf */, 603 | 48A9AADE31B549E1BF6A5393 /* Entypo.ttf */, 604 | 0EA1C5DC34DC4FF8967B8DA5 /* EvilIcons.ttf */, 605 | 473E61A640CB45C8AC1B833E /* FontAwesome.ttf */, 606 | F767C519F2D741579E14FE24 /* Foundation.ttf */, 607 | E78931382C264377B3737EC9 /* Georgia.ttf */, 608 | 6760A685881D4FC394236638 /* Ionicons.ttf */, 609 | ECF652A715314EEF82369EBA /* MaterialIcons.ttf */, 610 | 07A4C8B0AB244FAB9973F19B /* Microsoft Sans Serif.ttf */, 611 | B93497BD36644C2F820C609E /* Octicons.ttf */, 612 | 06000A3FAC0E4B37BC825B7F /* Roboto_medium.ttf */, 613 | 13B1AF71022B40D4B1F0A1D0 /* Roboto.ttf */, 614 | 692608351CF14EB892FEC4E1 /* rubicon-icon-font.ttf */, 615 | C3826F91FFA3426EBCA024ED /* Rubik-Black.ttf */, 616 | E02E307231B34D74BFD481DE /* Rubik-BlackItalic.ttf */, 617 | BB1AB48EC2FD47B98B6FF296 /* Rubik-Bold.ttf */, 618 | 3FAFCCCE2AEB4E6EA61C12A3 /* Rubik-BoldItalic.ttf */, 619 | 3AD85777FF27495EB766C7B8 /* Rubik-Italic.ttf */, 620 | 380C27FBBA3E42F28669A310 /* Rubik-Light.ttf */, 621 | E2F48B17F1284D509BAF8AFE /* Rubik-LightItalic.ttf */, 622 | D256658B014242D7A57ADC65 /* Rubik-Medium.ttf */, 623 | 12A019B9CD6645D3BBBEE67B /* Rubik-MediumItalic.ttf */, 624 | 6520B51FFDF940579FEF20B4 /* Rubik-Regular.ttf */, 625 | F8269F55AA6B47F590C4C54D /* SanFrancisco.ttf */, 626 | F8597DEFB5EF4B4984E0D2C8 /* SanFranciscoBold.ttf */, 627 | A0393104A85149529BD1DECB /* SanFranciscoThin.ttf */, 628 | DE804DBE0B754EE8B789097C /* SF-UI-Text-Regular.otf */, 629 | 2617743BFB53406A959C87E4 /* Skia.ttf */, 630 | BFC56311B4E14F2AA78244C3 /* Times New Roman.ttf */, 631 | 09FBA01221AE48B88FC92985 /* Zocial.ttf */, 632 | ); 633 | name = Resources; 634 | sourceTree = ""; 635 | }; 636 | /* End PBXGroup section */ 637 | 638 | /* Begin PBXNativeTarget section */ 639 | 00E356ED1AD99517003FC87E /* RNofoTests */ = { 640 | isa = PBXNativeTarget; 641 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNofoTests" */; 642 | buildPhases = ( 643 | 00E356EA1AD99517003FC87E /* Sources */, 644 | 00E356EB1AD99517003FC87E /* Frameworks */, 645 | 00E356EC1AD99517003FC87E /* Resources */, 646 | ); 647 | buildRules = ( 648 | ); 649 | dependencies = ( 650 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 651 | ); 652 | name = RNofoTests; 653 | productName = RNofoTests; 654 | productReference = 00E356EE1AD99517003FC87E /* RNofoTests.xctest */; 655 | productType = "com.apple.product-type.bundle.unit-test"; 656 | }; 657 | 13B07F861A680F5B00A75B9A /* RNofo */ = { 658 | isa = PBXNativeTarget; 659 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNofo" */; 660 | buildPhases = ( 661 | 13B07F871A680F5B00A75B9A /* Sources */, 662 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 663 | 13B07F8E1A680F5B00A75B9A /* Resources */, 664 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 665 | ); 666 | buildRules = ( 667 | ); 668 | dependencies = ( 669 | ); 670 | name = RNofo; 671 | productName = "Hello World"; 672 | productReference = 13B07F961A680F5B00A75B9A /* RNofo.app */; 673 | productType = "com.apple.product-type.application"; 674 | }; 675 | 2D02E47A1E0B4A5D006451C7 /* RNofo-tvOS */ = { 676 | isa = PBXNativeTarget; 677 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNofo-tvOS" */; 678 | buildPhases = ( 679 | 2D02E4771E0B4A5D006451C7 /* Sources */, 680 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 681 | 2D02E4791E0B4A5D006451C7 /* Resources */, 682 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 683 | ); 684 | buildRules = ( 685 | ); 686 | dependencies = ( 687 | ); 688 | name = "RNofo-tvOS"; 689 | productName = "RNofo-tvOS"; 690 | productReference = 2D02E47B1E0B4A5D006451C7 /* RNofo-tvOS.app */; 691 | productType = "com.apple.product-type.application"; 692 | }; 693 | 2D02E48F1E0B4A5D006451C7 /* RNofo-tvOSTests */ = { 694 | isa = PBXNativeTarget; 695 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNofo-tvOSTests" */; 696 | buildPhases = ( 697 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 698 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 699 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 700 | ); 701 | buildRules = ( 702 | ); 703 | dependencies = ( 704 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 705 | ); 706 | name = "RNofo-tvOSTests"; 707 | productName = "RNofo-tvOSTests"; 708 | productReference = 2D02E4901E0B4A5D006451C7 /* RNofo-tvOSTests.xctest */; 709 | productType = "com.apple.product-type.bundle.unit-test"; 710 | }; 711 | /* End PBXNativeTarget section */ 712 | 713 | /* Begin PBXProject section */ 714 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 715 | isa = PBXProject; 716 | attributes = { 717 | LastUpgradeCheck = 0830; 718 | ORGANIZATIONNAME = Facebook; 719 | TargetAttributes = { 720 | 00E356ED1AD99517003FC87E = { 721 | CreatedOnToolsVersion = 6.2; 722 | TestTargetID = 13B07F861A680F5B00A75B9A; 723 | }; 724 | 2D02E47A1E0B4A5D006451C7 = { 725 | CreatedOnToolsVersion = 8.2.1; 726 | ProvisioningStyle = Automatic; 727 | }; 728 | 2D02E48F1E0B4A5D006451C7 = { 729 | CreatedOnToolsVersion = 8.2.1; 730 | ProvisioningStyle = Automatic; 731 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 732 | }; 733 | }; 734 | }; 735 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNofo" */; 736 | compatibilityVersion = "Xcode 3.2"; 737 | developmentRegion = English; 738 | hasScannedForEncodings = 0; 739 | knownRegions = ( 740 | en, 741 | Base, 742 | ); 743 | mainGroup = 83CBB9F61A601CBA00E9B192; 744 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 745 | projectDirPath = ""; 746 | projectReferences = ( 747 | { 748 | ProductGroup = 2E78ACE01EAE03E400574CB7 /* Products */; 749 | ProjectRef = C8466595088B4028A38CA135 /* LRDRCTSimpleToast.xcodeproj */; 750 | }, 751 | { 752 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 753 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 754 | }, 755 | { 756 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 757 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 758 | }, 759 | { 760 | ProductGroup = 2E78ACE21EAE03E400574CB7 /* Products */; 761 | ProjectRef = CF1A1E272A3642CFB5930AEF /* RCTCamera.xcodeproj */; 762 | }, 763 | { 764 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 765 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 766 | }, 767 | { 768 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 769 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 770 | }, 771 | { 772 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 773 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 774 | }, 775 | { 776 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 777 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 778 | }, 779 | { 780 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 781 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 782 | }, 783 | { 784 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 785 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 786 | }, 787 | { 788 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 789 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 790 | }, 791 | { 792 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 793 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 794 | }, 795 | { 796 | ProductGroup = 146834001AC3E56700842450 /* Products */; 797 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 798 | }, 799 | ); 800 | projectRoot = ""; 801 | targets = ( 802 | 13B07F861A680F5B00A75B9A /* RNofo */, 803 | 00E356ED1AD99517003FC87E /* RNofoTests */, 804 | 2D02E47A1E0B4A5D006451C7 /* RNofo-tvOS */, 805 | 2D02E48F1E0B4A5D006451C7 /* RNofo-tvOSTests */, 806 | ); 807 | }; 808 | /* End PBXProject section */ 809 | 810 | /* Begin PBXReferenceProxy section */ 811 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 812 | isa = PBXReferenceProxy; 813 | fileType = archive.ar; 814 | path = libRCTActionSheet.a; 815 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 816 | sourceTree = BUILT_PRODUCTS_DIR; 817 | }; 818 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = libRCTGeolocation.a; 822 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = libRCTImage.a; 829 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = libRCTNetwork.a; 836 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = libRCTVibration.a; 843 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = libRCTSettings.a; 850 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = libRCTWebSocket.a; 857 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | 146834041AC3E56700842450 /* libReact.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = libReact.a; 864 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | 2E78ACE61EAE03E500574CB7 /* libLRDRCTSimpleToast.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = libLRDRCTSimpleToast.a; 871 | remoteRef = 2E78ACE51EAE03E500574CB7 /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | 2E78ACEC1EAE03E500574CB7 /* libRCTCamera.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = libRCTCamera.a; 878 | remoteRef = 2E78ACEB1EAE03E500574CB7 /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = "libRCTImage-tvOS.a"; 885 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = "libRCTLinking-tvOS.a"; 892 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 896 | isa = PBXReferenceProxy; 897 | fileType = archive.ar; 898 | path = "libRCTNetwork-tvOS.a"; 899 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 900 | sourceTree = BUILT_PRODUCTS_DIR; 901 | }; 902 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 903 | isa = PBXReferenceProxy; 904 | fileType = archive.ar; 905 | path = "libRCTSettings-tvOS.a"; 906 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 907 | sourceTree = BUILT_PRODUCTS_DIR; 908 | }; 909 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 910 | isa = PBXReferenceProxy; 911 | fileType = archive.ar; 912 | path = "libRCTText-tvOS.a"; 913 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 914 | sourceTree = BUILT_PRODUCTS_DIR; 915 | }; 916 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 917 | isa = PBXReferenceProxy; 918 | fileType = archive.ar; 919 | path = "libRCTWebSocket-tvOS.a"; 920 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 921 | sourceTree = BUILT_PRODUCTS_DIR; 922 | }; 923 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 924 | isa = PBXReferenceProxy; 925 | fileType = archive.ar; 926 | path = libReact.a; 927 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 928 | sourceTree = BUILT_PRODUCTS_DIR; 929 | }; 930 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 931 | isa = PBXReferenceProxy; 932 | fileType = archive.ar; 933 | path = libyoga.a; 934 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 935 | sourceTree = BUILT_PRODUCTS_DIR; 936 | }; 937 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 938 | isa = PBXReferenceProxy; 939 | fileType = archive.ar; 940 | path = libyoga.a; 941 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 942 | sourceTree = BUILT_PRODUCTS_DIR; 943 | }; 944 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 945 | isa = PBXReferenceProxy; 946 | fileType = archive.ar; 947 | path = libcxxreact.a; 948 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 949 | sourceTree = BUILT_PRODUCTS_DIR; 950 | }; 951 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 952 | isa = PBXReferenceProxy; 953 | fileType = archive.ar; 954 | path = libcxxreact.a; 955 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 956 | sourceTree = BUILT_PRODUCTS_DIR; 957 | }; 958 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 959 | isa = PBXReferenceProxy; 960 | fileType = archive.ar; 961 | path = libjschelpers.a; 962 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 963 | sourceTree = BUILT_PRODUCTS_DIR; 964 | }; 965 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 966 | isa = PBXReferenceProxy; 967 | fileType = archive.ar; 968 | path = libjschelpers.a; 969 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 970 | sourceTree = BUILT_PRODUCTS_DIR; 971 | }; 972 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 973 | isa = PBXReferenceProxy; 974 | fileType = archive.ar; 975 | path = libRCTAnimation.a; 976 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 977 | sourceTree = BUILT_PRODUCTS_DIR; 978 | }; 979 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 980 | isa = PBXReferenceProxy; 981 | fileType = archive.ar; 982 | path = "libRCTAnimation-tvOS.a"; 983 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 984 | sourceTree = BUILT_PRODUCTS_DIR; 985 | }; 986 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 987 | isa = PBXReferenceProxy; 988 | fileType = archive.ar; 989 | path = libRCTLinking.a; 990 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 991 | sourceTree = BUILT_PRODUCTS_DIR; 992 | }; 993 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 994 | isa = PBXReferenceProxy; 995 | fileType = archive.ar; 996 | path = libRCTText.a; 997 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 998 | sourceTree = BUILT_PRODUCTS_DIR; 999 | }; 1000 | /* End PBXReferenceProxy section */ 1001 | 1002 | /* Begin PBXResourcesBuildPhase section */ 1003 | 00E356EC1AD99517003FC87E /* Resources */ = { 1004 | isa = PBXResourcesBuildPhase; 1005 | buildActionMask = 2147483647; 1006 | files = ( 1007 | ); 1008 | runOnlyForDeploymentPostprocessing = 0; 1009 | }; 1010 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1011 | isa = PBXResourcesBuildPhase; 1012 | buildActionMask = 2147483647; 1013 | files = ( 1014 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1015 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1016 | D20CFCC18191441B9CE3C971 /* Andale Mono.ttf in Resources */, 1017 | 037C7B4A5AFD4DA68F1DC520 /* Arial Black.ttf in Resources */, 1018 | 66149425D6B84CBA8790B403 /* Arial.ttf in Resources */, 1019 | 7E2CF961A7D94E53B670E45A /* Comic Sans MS.ttf in Resources */, 1020 | 50A47EBA68D14E2196225858 /* Courier New.ttf in Resources */, 1021 | 712D45BE82474B78BA5F9369 /* Entypo.ttf in Resources */, 1022 | 991C4F58EDA3482BA9CFE2CE /* EvilIcons.ttf in Resources */, 1023 | F6F21709E3C34E17A746C60F /* FontAwesome.ttf in Resources */, 1024 | 7FF8D49FAAC44168B9466A0B /* Foundation.ttf in Resources */, 1025 | 9CF4274EA4D543EC89A3E23E /* Georgia.ttf in Resources */, 1026 | 841EFA446D2D46599469FBBB /* Ionicons.ttf in Resources */, 1027 | 21B097E3C2C7466F81912F35 /* MaterialIcons.ttf in Resources */, 1028 | 385F43A3E3F5483280649C65 /* Microsoft Sans Serif.ttf in Resources */, 1029 | 56B2A3FFA6B641C687E2DE0B /* Octicons.ttf in Resources */, 1030 | 06917D78094A4E539DE1C471 /* Roboto_medium.ttf in Resources */, 1031 | BB2B7F23A1E04138813C2F69 /* Roboto.ttf in Resources */, 1032 | 79A24C163D5C485B8663F0B0 /* rubicon-icon-font.ttf in Resources */, 1033 | 7D7351522B1B46AB9E2F7E03 /* Rubik-Black.ttf in Resources */, 1034 | 65C9153735154D0394FC2E06 /* Rubik-BlackItalic.ttf in Resources */, 1035 | 8325F188788140F69CA049F7 /* Rubik-Bold.ttf in Resources */, 1036 | D520D1B327524C30BDD15F45 /* Rubik-BoldItalic.ttf in Resources */, 1037 | C2033A64BE75400F92D76C08 /* Rubik-Italic.ttf in Resources */, 1038 | F77305CF1C8F4149B60BC72D /* Rubik-Light.ttf in Resources */, 1039 | CEAE92E7A21C4B1FB605A1D2 /* Rubik-LightItalic.ttf in Resources */, 1040 | BFAA01604B8741809B022183 /* Rubik-Medium.ttf in Resources */, 1041 | 584CCBDBF308423F8A9AE5EA /* Rubik-MediumItalic.ttf in Resources */, 1042 | 86146EB2FC7A4A3898EA35BF /* Rubik-Regular.ttf in Resources */, 1043 | 8F7456A19F5E491D8BA1D7F7 /* SanFrancisco.ttf in Resources */, 1044 | 6EC3636AF77242458DF197AF /* SanFranciscoBold.ttf in Resources */, 1045 | 636844893A2A4B3BBDA16A95 /* SanFranciscoThin.ttf in Resources */, 1046 | 224CC781CF064983976410FF /* SF-UI-Text-Regular.otf in Resources */, 1047 | 20A86CC72B914D65A93FBE67 /* Skia.ttf in Resources */, 1048 | A62A2C202E7E4C83908BB9E4 /* Times New Roman.ttf in Resources */, 1049 | 81FF2D3AB0AE4D6E9E10E209 /* Zocial.ttf in Resources */, 1050 | ); 1051 | runOnlyForDeploymentPostprocessing = 0; 1052 | }; 1053 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1054 | isa = PBXResourcesBuildPhase; 1055 | buildActionMask = 2147483647; 1056 | files = ( 1057 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1058 | ); 1059 | runOnlyForDeploymentPostprocessing = 0; 1060 | }; 1061 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1062 | isa = PBXResourcesBuildPhase; 1063 | buildActionMask = 2147483647; 1064 | files = ( 1065 | ); 1066 | runOnlyForDeploymentPostprocessing = 0; 1067 | }; 1068 | /* End PBXResourcesBuildPhase section */ 1069 | 1070 | /* Begin PBXShellScriptBuildPhase section */ 1071 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1072 | isa = PBXShellScriptBuildPhase; 1073 | buildActionMask = 2147483647; 1074 | files = ( 1075 | ); 1076 | inputPaths = ( 1077 | ); 1078 | name = "Bundle React Native code and images"; 1079 | outputPaths = ( 1080 | ); 1081 | runOnlyForDeploymentPostprocessing = 0; 1082 | shellPath = /bin/sh; 1083 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1084 | }; 1085 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1086 | isa = PBXShellScriptBuildPhase; 1087 | buildActionMask = 2147483647; 1088 | files = ( 1089 | ); 1090 | inputPaths = ( 1091 | ); 1092 | name = "Bundle React Native Code And Images"; 1093 | outputPaths = ( 1094 | ); 1095 | runOnlyForDeploymentPostprocessing = 0; 1096 | shellPath = /bin/sh; 1097 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1098 | }; 1099 | /* End PBXShellScriptBuildPhase section */ 1100 | 1101 | /* Begin PBXSourcesBuildPhase section */ 1102 | 00E356EA1AD99517003FC87E /* Sources */ = { 1103 | isa = PBXSourcesBuildPhase; 1104 | buildActionMask = 2147483647; 1105 | files = ( 1106 | 00E356F31AD99517003FC87E /* RNofoTests.m in Sources */, 1107 | ); 1108 | runOnlyForDeploymentPostprocessing = 0; 1109 | }; 1110 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1111 | isa = PBXSourcesBuildPhase; 1112 | buildActionMask = 2147483647; 1113 | files = ( 1114 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1115 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1116 | ); 1117 | runOnlyForDeploymentPostprocessing = 0; 1118 | }; 1119 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1120 | isa = PBXSourcesBuildPhase; 1121 | buildActionMask = 2147483647; 1122 | files = ( 1123 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1124 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1125 | ); 1126 | runOnlyForDeploymentPostprocessing = 0; 1127 | }; 1128 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1129 | isa = PBXSourcesBuildPhase; 1130 | buildActionMask = 2147483647; 1131 | files = ( 1132 | 2DCD954D1E0B4F2C00145EB5 /* RNofoTests.m in Sources */, 1133 | ); 1134 | runOnlyForDeploymentPostprocessing = 0; 1135 | }; 1136 | /* End PBXSourcesBuildPhase section */ 1137 | 1138 | /* Begin PBXTargetDependency section */ 1139 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1140 | isa = PBXTargetDependency; 1141 | target = 13B07F861A680F5B00A75B9A /* RNofo */; 1142 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1143 | }; 1144 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1145 | isa = PBXTargetDependency; 1146 | target = 2D02E47A1E0B4A5D006451C7 /* RNofo-tvOS */; 1147 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1148 | }; 1149 | /* End PBXTargetDependency section */ 1150 | 1151 | /* Begin PBXVariantGroup section */ 1152 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1153 | isa = PBXVariantGroup; 1154 | children = ( 1155 | 13B07FB21A68108700A75B9A /* Base */, 1156 | ); 1157 | name = LaunchScreen.xib; 1158 | path = RNofo; 1159 | sourceTree = ""; 1160 | }; 1161 | /* End PBXVariantGroup section */ 1162 | 1163 | /* Begin XCBuildConfiguration section */ 1164 | 00E356F61AD99517003FC87E /* Debug */ = { 1165 | isa = XCBuildConfiguration; 1166 | buildSettings = { 1167 | BUNDLE_LOADER = "$(TEST_HOST)"; 1168 | GCC_PREPROCESSOR_DEFINITIONS = ( 1169 | "DEBUG=1", 1170 | "$(inherited)", 1171 | ); 1172 | HEADER_SEARCH_PATHS = ( 1173 | "$(inherited)", 1174 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1175 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1176 | ); 1177 | INFOPLIST_FILE = RNofoTests/Info.plist; 1178 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1179 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1180 | LIBRARY_SEARCH_PATHS = ( 1181 | "$(inherited)", 1182 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1183 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1184 | ); 1185 | OTHER_LDFLAGS = ( 1186 | "-ObjC", 1187 | "-lc++", 1188 | ); 1189 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1190 | PRODUCT_NAME = "$(TARGET_NAME)"; 1191 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNofo.app/RNofo"; 1192 | }; 1193 | name = Debug; 1194 | }; 1195 | 00E356F71AD99517003FC87E /* Release */ = { 1196 | isa = XCBuildConfiguration; 1197 | buildSettings = { 1198 | BUNDLE_LOADER = "$(TEST_HOST)"; 1199 | COPY_PHASE_STRIP = NO; 1200 | HEADER_SEARCH_PATHS = ( 1201 | "$(inherited)", 1202 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1203 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1204 | ); 1205 | INFOPLIST_FILE = RNofoTests/Info.plist; 1206 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1207 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1208 | LIBRARY_SEARCH_PATHS = ( 1209 | "$(inherited)", 1210 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1211 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1212 | ); 1213 | OTHER_LDFLAGS = ( 1214 | "-ObjC", 1215 | "-lc++", 1216 | ); 1217 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1218 | PRODUCT_NAME = "$(TARGET_NAME)"; 1219 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNofo.app/RNofo"; 1220 | }; 1221 | name = Release; 1222 | }; 1223 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1224 | isa = XCBuildConfiguration; 1225 | buildSettings = { 1226 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1227 | CURRENT_PROJECT_VERSION = 1; 1228 | DEAD_CODE_STRIPPING = NO; 1229 | HEADER_SEARCH_PATHS = ( 1230 | "$(inherited)", 1231 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1232 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1233 | ); 1234 | INFOPLIST_FILE = RNofo/Info.plist; 1235 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1236 | OTHER_LDFLAGS = ( 1237 | "$(inherited)", 1238 | "-ObjC", 1239 | "-lc++", 1240 | ); 1241 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1242 | PRODUCT_NAME = RNofo; 1243 | VERSIONING_SYSTEM = "apple-generic"; 1244 | }; 1245 | name = Debug; 1246 | }; 1247 | 13B07F951A680F5B00A75B9A /* Release */ = { 1248 | isa = XCBuildConfiguration; 1249 | buildSettings = { 1250 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1251 | CURRENT_PROJECT_VERSION = 1; 1252 | HEADER_SEARCH_PATHS = ( 1253 | "$(inherited)", 1254 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1255 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1256 | ); 1257 | INFOPLIST_FILE = RNofo/Info.plist; 1258 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1259 | OTHER_LDFLAGS = ( 1260 | "$(inherited)", 1261 | "-ObjC", 1262 | "-lc++", 1263 | ); 1264 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1265 | PRODUCT_NAME = RNofo; 1266 | VERSIONING_SYSTEM = "apple-generic"; 1267 | }; 1268 | name = Release; 1269 | }; 1270 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1271 | isa = XCBuildConfiguration; 1272 | buildSettings = { 1273 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1274 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1275 | CLANG_ANALYZER_NONNULL = YES; 1276 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1277 | CLANG_WARN_INFINITE_RECURSION = YES; 1278 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1279 | DEBUG_INFORMATION_FORMAT = dwarf; 1280 | ENABLE_TESTABILITY = YES; 1281 | GCC_NO_COMMON_BLOCKS = YES; 1282 | HEADER_SEARCH_PATHS = ( 1283 | "$(inherited)", 1284 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1285 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1286 | ); 1287 | INFOPLIST_FILE = "RNofo-tvOS/Info.plist"; 1288 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1289 | LIBRARY_SEARCH_PATHS = ( 1290 | "$(inherited)", 1291 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1292 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1293 | ); 1294 | OTHER_LDFLAGS = ( 1295 | "-ObjC", 1296 | "-lc++", 1297 | ); 1298 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNofo-tvOS"; 1299 | PRODUCT_NAME = "$(TARGET_NAME)"; 1300 | SDKROOT = appletvos; 1301 | TARGETED_DEVICE_FAMILY = 3; 1302 | TVOS_DEPLOYMENT_TARGET = 9.2; 1303 | }; 1304 | name = Debug; 1305 | }; 1306 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1307 | isa = XCBuildConfiguration; 1308 | buildSettings = { 1309 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1310 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1311 | CLANG_ANALYZER_NONNULL = YES; 1312 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1313 | CLANG_WARN_INFINITE_RECURSION = YES; 1314 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1315 | COPY_PHASE_STRIP = NO; 1316 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1317 | GCC_NO_COMMON_BLOCKS = YES; 1318 | HEADER_SEARCH_PATHS = ( 1319 | "$(inherited)", 1320 | "$(SRCROOT)..\node_modules\neact-native-cameraios", 1321 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1322 | ); 1323 | INFOPLIST_FILE = "RNofo-tvOS/Info.plist"; 1324 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1325 | LIBRARY_SEARCH_PATHS = ( 1326 | "$(inherited)", 1327 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1328 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1329 | ); 1330 | OTHER_LDFLAGS = ( 1331 | "-ObjC", 1332 | "-lc++", 1333 | ); 1334 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNofo-tvOS"; 1335 | PRODUCT_NAME = "$(TARGET_NAME)"; 1336 | SDKROOT = appletvos; 1337 | TARGETED_DEVICE_FAMILY = 3; 1338 | TVOS_DEPLOYMENT_TARGET = 9.2; 1339 | }; 1340 | name = Release; 1341 | }; 1342 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1343 | isa = XCBuildConfiguration; 1344 | buildSettings = { 1345 | BUNDLE_LOADER = "$(TEST_HOST)"; 1346 | CLANG_ANALYZER_NONNULL = YES; 1347 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1348 | CLANG_WARN_INFINITE_RECURSION = YES; 1349 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1350 | DEBUG_INFORMATION_FORMAT = dwarf; 1351 | ENABLE_TESTABILITY = YES; 1352 | GCC_NO_COMMON_BLOCKS = YES; 1353 | INFOPLIST_FILE = "RNofo-tvOSTests/Info.plist"; 1354 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1355 | LIBRARY_SEARCH_PATHS = ( 1356 | "$(inherited)", 1357 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1358 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1359 | ); 1360 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNofo-tvOSTests"; 1361 | PRODUCT_NAME = "$(TARGET_NAME)"; 1362 | SDKROOT = appletvos; 1363 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNofo-tvOS.app/RNofo-tvOS"; 1364 | TVOS_DEPLOYMENT_TARGET = 10.1; 1365 | }; 1366 | name = Debug; 1367 | }; 1368 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1369 | isa = XCBuildConfiguration; 1370 | buildSettings = { 1371 | BUNDLE_LOADER = "$(TEST_HOST)"; 1372 | CLANG_ANALYZER_NONNULL = YES; 1373 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1374 | CLANG_WARN_INFINITE_RECURSION = YES; 1375 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1376 | COPY_PHASE_STRIP = NO; 1377 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1378 | GCC_NO_COMMON_BLOCKS = YES; 1379 | INFOPLIST_FILE = "RNofo-tvOSTests/Info.plist"; 1380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1381 | LIBRARY_SEARCH_PATHS = ( 1382 | "$(inherited)", 1383 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1384 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1385 | ); 1386 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNofo-tvOSTests"; 1387 | PRODUCT_NAME = "$(TARGET_NAME)"; 1388 | SDKROOT = appletvos; 1389 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNofo-tvOS.app/RNofo-tvOS"; 1390 | TVOS_DEPLOYMENT_TARGET = 10.1; 1391 | }; 1392 | name = Release; 1393 | }; 1394 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1395 | isa = XCBuildConfiguration; 1396 | buildSettings = { 1397 | ALWAYS_SEARCH_USER_PATHS = NO; 1398 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1399 | CLANG_CXX_LIBRARY = "libc++"; 1400 | CLANG_ENABLE_MODULES = YES; 1401 | CLANG_ENABLE_OBJC_ARC = YES; 1402 | CLANG_WARN_BOOL_CONVERSION = YES; 1403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1405 | CLANG_WARN_EMPTY_BODY = YES; 1406 | CLANG_WARN_ENUM_CONVERSION = YES; 1407 | CLANG_WARN_INFINITE_RECURSION = YES; 1408 | CLANG_WARN_INT_CONVERSION = YES; 1409 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1410 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1411 | CLANG_WARN_UNREACHABLE_CODE = YES; 1412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1414 | COPY_PHASE_STRIP = NO; 1415 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1416 | ENABLE_TESTABILITY = YES; 1417 | GCC_C_LANGUAGE_STANDARD = gnu99; 1418 | GCC_DYNAMIC_NO_PIC = NO; 1419 | GCC_NO_COMMON_BLOCKS = YES; 1420 | GCC_OPTIMIZATION_LEVEL = 0; 1421 | GCC_PREPROCESSOR_DEFINITIONS = ( 1422 | "DEBUG=1", 1423 | "$(inherited)", 1424 | ); 1425 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1426 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1427 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1428 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1429 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1430 | GCC_WARN_UNUSED_FUNCTION = YES; 1431 | GCC_WARN_UNUSED_VARIABLE = YES; 1432 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1433 | MTL_ENABLE_DEBUG_INFO = YES; 1434 | ONLY_ACTIVE_ARCH = YES; 1435 | SDKROOT = iphoneos; 1436 | }; 1437 | name = Debug; 1438 | }; 1439 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1440 | isa = XCBuildConfiguration; 1441 | buildSettings = { 1442 | ALWAYS_SEARCH_USER_PATHS = NO; 1443 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1444 | CLANG_CXX_LIBRARY = "libc++"; 1445 | CLANG_ENABLE_MODULES = YES; 1446 | CLANG_ENABLE_OBJC_ARC = YES; 1447 | CLANG_WARN_BOOL_CONVERSION = YES; 1448 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1449 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1450 | CLANG_WARN_EMPTY_BODY = YES; 1451 | CLANG_WARN_ENUM_CONVERSION = YES; 1452 | CLANG_WARN_INFINITE_RECURSION = YES; 1453 | CLANG_WARN_INT_CONVERSION = YES; 1454 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1455 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1456 | CLANG_WARN_UNREACHABLE_CODE = YES; 1457 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1458 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1459 | COPY_PHASE_STRIP = YES; 1460 | ENABLE_NS_ASSERTIONS = NO; 1461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1462 | GCC_C_LANGUAGE_STANDARD = gnu99; 1463 | GCC_NO_COMMON_BLOCKS = YES; 1464 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1465 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1466 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1467 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1468 | GCC_WARN_UNUSED_FUNCTION = YES; 1469 | GCC_WARN_UNUSED_VARIABLE = YES; 1470 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1471 | MTL_ENABLE_DEBUG_INFO = NO; 1472 | SDKROOT = iphoneos; 1473 | VALIDATE_PRODUCT = YES; 1474 | }; 1475 | name = Release; 1476 | }; 1477 | /* End XCBuildConfiguration section */ 1478 | 1479 | /* Begin XCConfigurationList section */ 1480 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNofoTests" */ = { 1481 | isa = XCConfigurationList; 1482 | buildConfigurations = ( 1483 | 00E356F61AD99517003FC87E /* Debug */, 1484 | 00E356F71AD99517003FC87E /* Release */, 1485 | ); 1486 | defaultConfigurationIsVisible = 0; 1487 | defaultConfigurationName = Release; 1488 | }; 1489 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNofo" */ = { 1490 | isa = XCConfigurationList; 1491 | buildConfigurations = ( 1492 | 13B07F941A680F5B00A75B9A /* Debug */, 1493 | 13B07F951A680F5B00A75B9A /* Release */, 1494 | ); 1495 | defaultConfigurationIsVisible = 0; 1496 | defaultConfigurationName = Release; 1497 | }; 1498 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNofo-tvOS" */ = { 1499 | isa = XCConfigurationList; 1500 | buildConfigurations = ( 1501 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1502 | 2D02E4981E0B4A5E006451C7 /* Release */, 1503 | ); 1504 | defaultConfigurationIsVisible = 0; 1505 | defaultConfigurationName = Release; 1506 | }; 1507 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNofo-tvOSTests" */ = { 1508 | isa = XCConfigurationList; 1509 | buildConfigurations = ( 1510 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1511 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1512 | ); 1513 | defaultConfigurationIsVisible = 0; 1514 | defaultConfigurationName = Release; 1515 | }; 1516 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNofo" */ = { 1517 | isa = XCConfigurationList; 1518 | buildConfigurations = ( 1519 | 83CBBA201A601CBA00E9B192 /* Debug */, 1520 | 83CBBA211A601CBA00E9B192 /* Release */, 1521 | ); 1522 | defaultConfigurationIsVisible = 0; 1523 | defaultConfigurationName = Release; 1524 | }; 1525 | /* End XCConfigurationList section */ 1526 | }; 1527 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1528 | } 1529 | -------------------------------------------------------------------------------- /ios/RNofo.xcodeproj/xcshareddata/xcschemes/RNofo-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/RNofo.xcodeproj/xcshareddata/xcschemes/RNofo.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/RNofo/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/RNofo/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:@"RNofo" 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/RNofo/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/RNofo/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/RNofo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RNofo 9 | NSPhotoLibraryUsageDescription 10 | 11 | NSCameraUsageDescription 12 | 13 | LSApplicationCategoryType 14 | 15 | CFBundleExecutable 16 | $(EXECUTABLE_NAME) 17 | CFBundleIdentifier 18 | $(PRODUCT_BUNDLE_IDENTIFIER) 19 | CFBundleInfoDictionaryVersion 20 | 6.0 21 | CFBundleName 22 | $(PRODUCT_NAME) 23 | CFBundlePackageType 24 | APPL 25 | CFBundleShortVersionString 26 | 1.0 27 | CFBundleSignature 28 | ???? 29 | CFBundleVersion 30 | 1 31 | LSRequiresIPhoneOS 32 | 33 | NSAppTransportSecurity 34 | 35 | NSExceptionDomains 36 | 37 | localhost 38 | 39 | NSExceptionAllowsInsecureHTTPLoads 40 | 41 | 42 | 43 | 44 | NSLocationWhenInUseUsageDescription 45 | 46 | UIAppFonts 47 | 48 | Andale Mono.ttf 49 | Arial Black.ttf 50 | Arial.ttf 51 | Comic Sans MS.ttf 52 | Courier New.ttf 53 | Entypo.ttf 54 | EvilIcons.ttf 55 | FontAwesome.ttf 56 | Foundation.ttf 57 | Georgia.ttf 58 | Ionicons.ttf 59 | MaterialIcons.ttf 60 | Microsoft Sans Serif.ttf 61 | Octicons.ttf 62 | Roboto_medium.ttf 63 | Roboto.ttf 64 | rubicon-icon-font.ttf 65 | Rubik-Black.ttf 66 | Rubik-BlackItalic.ttf 67 | Rubik-Bold.ttf 68 | Rubik-BoldItalic.ttf 69 | Rubik-Italic.ttf 70 | Rubik-Light.ttf 71 | Rubik-LightItalic.ttf 72 | Rubik-Medium.ttf 73 | Rubik-MediumItalic.ttf 74 | Rubik-Regular.ttf 75 | SanFrancisco.ttf 76 | SanFranciscoBold.ttf 77 | SanFranciscoThin.ttf 78 | SF-UI-Text-Regular.otf 79 | Skia.ttf 80 | Times New Roman.ttf 81 | Zocial.ttf 82 | 83 | UILaunchStoryboardName 84 | LaunchScreen 85 | UIRequiredDeviceCapabilities 86 | 87 | armv7 88 | 89 | UISupportedInterfaceOrientations 90 | 91 | UIInterfaceOrientationPortrait 92 | UIInterfaceOrientationLandscapeLeft 93 | UIInterfaceOrientationLandscapeRight 94 | 95 | UIViewControllerBasedStatusBarAppearance 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /ios/RNofo/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/RNofoTests/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/RNofoTests/RNofoTests.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 RNofoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation RNofoTests 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": "RNofo", 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 | "native-base": "^2.1.1", 11 | "react": "16.0.0-alpha.6", 12 | "react-native": "0.43.1", 13 | "react-native-camera": "^0.6.0", 14 | "react-native-simple-toast": "0.0.5", 15 | "react-navigation": "^1.0.0-beta.7" 16 | }, 17 | "devDependencies": { 18 | "babel-jest": "19.0.0", 19 | "babel-preset-react-native": "1.9.1", 20 | "jest": "19.0.2", 21 | "react-native-qrcode": "^0.2.3", 22 | "react-test-renderer": "16.0.0-alpha.6" 23 | }, 24 | "jest": { 25 | "preset": "react-native" 26 | } 27 | } 28 | --------------------------------------------------------------------------------