├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── LICENSE ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── index.android.bundle │ │ └── index.android.bundle.meta │ │ ├── java │ │ └── com │ │ │ └── gankioclient │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable-hdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-mdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-xhdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-xxhdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-xxxhdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── mipmap-xhdpi │ │ └── 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 ├── apk └── gankioclient_1.0.apk ├── app.json ├── gif └── gankio1.0.gif ├── index.android.js ├── index.ios.js ├── ios ├── GankioClient-tvOS │ └── Info.plist ├── GankioClient-tvOSTests │ └── Info.plist ├── GankioClient.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── GankioClient-tvOS.xcscheme │ │ └── GankioClient.xcscheme ├── GankioClient │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── GankioClientTests │ ├── GankioClientTests.m │ └── Info.plist ├── js ├── modle │ └── GankData.js ├── presenter │ └── DataPresenter.js ├── utils │ ├── DateUtils.js │ ├── GankDataFactory.js │ ├── Request.js │ └── Stroage.js └── view │ ├── ActionBar.js │ ├── DetailItem.js │ ├── GankCard.js │ ├── Home.js │ ├── Index.js │ └── Webview.js ├── jsconfig.json ├── mintty.exe.stackdump └── package.json /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | emoji=true 26 | 27 | module.system=haste 28 | 29 | experimental.strict_type_args=true 30 | 31 | munge_underscores=true 32 | 33 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 34 | 35 | suppress_type=$FlowIssue 36 | suppress_type=$FlowFixMe 37 | suppress_type=$FixMe 38 | 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 43 | 44 | unsafe.enable_getters_and_setters=true 45 | 46 | [version] 47 | ^0.42.0 48 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 50 | 51 | fastlane/report.xml 52 | fastlane/Preview.html 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Nichoool 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GankIo又一个ReactNative客户端 2 | 3 | --- 4 | 5 | ![效果图](./gif/gankio1.0.gif) 6 | 7 | 如果觉得动态图不过瘾,可以在github地址apk目录下面安装生成的离线包,目前只适配了Android版本(毕竟我没钱),顺便记得star哦。https://github.com/Nichooool/GankioClient 项目将会持续更新,如果发现问题可以直接issues,我会找时间改好的。 8 | -------------------------------------------------------------------------------- /__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.gankioclient", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.gankioclient", 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 | project.ext.vectoricons = [ 70 | iconFontNames: [ 'Ionicons.ttf'] 71 | ] 72 | apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" 73 | /** 74 | * Set this to true to create two separate APKs instead of one: 75 | * - An APK that only works on ARM devices 76 | * - An APK that only works on x86 devices 77 | * The advantage is the size of the APK is reduced by about 4MB. 78 | * Upload all the APKs to the Play Store and people will download 79 | * the correct one based on the CPU architecture of their device. 80 | */ 81 | def enableSeparateBuildPerCPUArchitecture = false 82 | 83 | /** 84 | * Run Proguard to shrink the Java bytecode in release builds. 85 | */ 86 | def enableProguardInReleaseBuilds = false 87 | 88 | android { 89 | compileSdkVersion 23 90 | buildToolsVersion "23.0.1" 91 | 92 | defaultConfig { 93 | applicationId "com.gankioclient" 94 | minSdkVersion 16 95 | targetSdkVersion 22 96 | versionCode 1 97 | versionName "1.0" 98 | ndk { 99 | abiFilters "armeabi-v7a", "x86" 100 | } 101 | } 102 | signingConfigs { 103 | release { 104 | if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) { 105 | storeFile file(MYAPP_RELEASE_STORE_FILE) 106 | storePassword MYAPP_RELEASE_STORE_PASSWORD 107 | keyAlias MYAPP_RELEASE_KEY_ALIAS 108 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 109 | } 110 | } 111 | } 112 | splits { 113 | abi { 114 | reset() 115 | enable enableSeparateBuildPerCPUArchitecture 116 | universalApk false // If true, also generate a universal APK 117 | include "armeabi-v7a", "x86" 118 | } 119 | } 120 | buildTypes { 121 | release { 122 | minifyEnabled enableProguardInReleaseBuilds 123 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 124 | signingConfig signingConfigs.release 125 | } 126 | } 127 | // applicationVariants are e.g. debug, release 128 | applicationVariants.all { variant -> 129 | variant.outputs.each { output -> 130 | // For each separate APK per architecture, set a unique version code as described here: 131 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 132 | def versionCodes = ["armeabi-v7a":1, "x86":2] 133 | def abi = output.getFilter(OutputFile.ABI) 134 | if (abi != null) { // null for the universal-debug, universal-release variants 135 | output.versionCodeOverride = 136 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 137 | } 138 | } 139 | } 140 | } 141 | 142 | dependencies { 143 | compile fileTree(dir: "libs", include: ["*.jar"]) 144 | compile "com.android.support:appcompat-v7:23.0.1" 145 | compile "com.facebook.react:react-native:+" // From node_modules 146 | compile project(':react-native-vector-icons') 147 | } 148 | 149 | // Run this once to be able to run the application with BUCK 150 | // puts all compile dependencies into folder libs for BUCK to use 151 | task copyDownloadableDepsToLibs(type: Copy) { 152 | from configurations.compile 153 | into 'libs' 154 | } 155 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/index.android.bundle.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/assets/index.android.bundle.meta -------------------------------------------------------------------------------- /android/app/src/main/java/com/gankioclient/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.gankioclient; 2 | 3 | import android.os.Bundle; 4 | import android.view.KeyEvent; 5 | 6 | import com.facebook.react.ReactActivity; 7 | import com.facebook.react.ReactInstanceManager; 8 | import com.facebook.react.ReactRootView; 9 | import com.facebook.react.common.LifecycleState; 10 | import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler; 11 | import com.facebook.react.shell.MainReactPackage; 12 | 13 | public class MainActivity extends ReactActivity implements DefaultHardwareBackBtnHandler { 14 | 15 | 16 | private ReactRootView mReactRootView; 17 | private ReactInstanceManager mReactInstanceManager; 18 | 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | mReactRootView = new ReactRootView(this); 23 | mReactInstanceManager = ReactInstanceManager 24 | .builder() 25 | .setApplication(getApplication()) 26 | .setBundleAssetName("index.android.bundle") 27 | .setJSMainModuleName("index.android") 28 | .addPackage(new MainReactPackage()) 29 | .setUseDeveloperSupport(BuildConfig.DEBUG) 30 | .setInitialLifecycleState(LifecycleState.RESUMED) 31 | .build(); 32 | mReactRootView.startReactApplication(mReactInstanceManager, "GankioClient", null); 33 | setContentView(mReactRootView); 34 | } 35 | 36 | @Override 37 | public void invokeDefaultOnBackPressed() { 38 | super.onBackPressed(); 39 | } 40 | 41 | @Override 42 | public void onBackPressed() { 43 | if (mReactInstanceManager != null) { 44 | mReactInstanceManager.onBackPressed(); 45 | } else { 46 | super.onBackPressed(); 47 | } 48 | } 49 | 50 | @Override 51 | public boolean onKeyUp(int keyCode, KeyEvent event) { 52 | if (keyCode == KeyEvent.KEYCODE_MENU && mReactInstanceManager != null) { 53 | mReactInstanceManager.showDevOptionsDialog(); 54 | return true; 55 | } 56 | return super.onKeyUp(keyCode, event); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/gankioclient/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.gankioclient; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.oblador.vectoricons.VectorIconsPackage; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.facebook.react.ReactNativeHost; 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.shell.MainReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | import com.oblador.vectoricons.VectorIconsPackage; 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new VectorIconsPackage() 29 | ); 30 | } 31 | }; 32 | 33 | @Override 34 | public ReactNativeHost getReactNativeHost() { 35 | return mReactNativeHost; 36 | } 37 | 38 | @Override 39 | public void onCreate() { 40 | super.onCreate(); 41 | SoLoader.init(this, /* native exopackage */ false); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | GankioClient 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/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/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 = 'GankioClient' 2 | 3 | include ':app' 4 | 5 | include ':react-native-vector-icons' 6 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') -------------------------------------------------------------------------------- /apk/gankioclient_1.0.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/apk/gankioclient_1.0.apk -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GankioClient", 3 | "displayName": "GankioClient" 4 | } -------------------------------------------------------------------------------- /gif/gankio1.0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nichooool/GankioClient/f71ce3fd84bb4cf2c87e4e8d25837a7146092032/gif/gankio1.0.gif -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | 2 | import GankioClient from './js/view/Index' 3 | -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | 2 | import GankioClient from './js/view/Index' 3 | -------------------------------------------------------------------------------- /ios/GankioClient-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/GankioClient-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/GankioClient.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* GankioClientTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* GankioClientTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 28 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 29 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 30 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 31 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 32 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 33 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 34 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 35 | 2DCD954D1E0B4F2C00145EB5 /* GankioClientTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* GankioClientTests.m */; }; 36 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 37 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 38 | DF89F07A4E574A29BEF36CA0 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DBC3B6D59B55408AB720923F /* libRNVectorIcons.a */; }; 39 | 358D4B0D1AC546698F70909D /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 875B8E97EE804AF594A3ED69 /* Entypo.ttf */; }; 40 | 8A1C02C7AC544C6C802002D7 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 95C0EF86FDB74B2886D6D569 /* EvilIcons.ttf */; }; 41 | 5EBD2D059393440CAF611E4E /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2D8F2960E24249859A4E7AF9 /* FontAwesome.ttf */; }; 42 | D010B4D16A614E819E1CA429 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F85E6F4A7E714AA882FD613B /* Foundation.ttf */; }; 43 | E26EDD63F9504441AB87366A /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C5F23BBBC6664F54940BC95D /* Ionicons.ttf */; }; 44 | F6DA35DCABA74DBF8D6B8982 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1132CC11489347159D2F4021 /* MaterialCommunityIcons.ttf */; }; 45 | 86A460C141DE4454897D6F36 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E8779E1064A247B9A08A38E2 /* MaterialIcons.ttf */; }; 46 | 2805C07ECF05408C90C5AD3F /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AD148684FF2E4BCE89D81808 /* Octicons.ttf */; }; 47 | 14BCEDF18E7D4614B1C41D31 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7DCBE7014E0340208E9FEBF3 /* SimpleLineIcons.ttf */; }; 48 | F5CAC9C6A4014BE690E8BB04 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7C82820E23BC4F02875AA268 /* Zocial.ttf */; }; 49 | /* End PBXBuildFile section */ 50 | 51 | /* Begin PBXContainerItemProxy section */ 52 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 53 | isa = PBXContainerItemProxy; 54 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 55 | proxyType = 2; 56 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 57 | remoteInfo = RCTActionSheet; 58 | }; 59 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 60 | isa = PBXContainerItemProxy; 61 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 62 | proxyType = 2; 63 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 64 | remoteInfo = RCTGeolocation; 65 | }; 66 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 67 | isa = PBXContainerItemProxy; 68 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 69 | proxyType = 2; 70 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 71 | remoteInfo = RCTImage; 72 | }; 73 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 74 | isa = PBXContainerItemProxy; 75 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 76 | proxyType = 2; 77 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 78 | remoteInfo = RCTNetwork; 79 | }; 80 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 81 | isa = PBXContainerItemProxy; 82 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 83 | proxyType = 2; 84 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 85 | remoteInfo = RCTVibration; 86 | }; 87 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 88 | isa = PBXContainerItemProxy; 89 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 90 | proxyType = 1; 91 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 92 | remoteInfo = GankioClient; 93 | }; 94 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 95 | isa = PBXContainerItemProxy; 96 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 97 | proxyType = 2; 98 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 99 | remoteInfo = RCTSettings; 100 | }; 101 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 102 | isa = PBXContainerItemProxy; 103 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 104 | proxyType = 2; 105 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 106 | remoteInfo = RCTWebSocket; 107 | }; 108 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 109 | isa = PBXContainerItemProxy; 110 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 111 | proxyType = 2; 112 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 113 | remoteInfo = React; 114 | }; 115 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 116 | isa = PBXContainerItemProxy; 117 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 118 | proxyType = 1; 119 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 120 | remoteInfo = "GankioClient-tvOS"; 121 | }; 122 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 123 | isa = PBXContainerItemProxy; 124 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 125 | proxyType = 2; 126 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 127 | remoteInfo = "RCTImage-tvOS"; 128 | }; 129 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 130 | isa = PBXContainerItemProxy; 131 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 132 | proxyType = 2; 133 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 134 | remoteInfo = "RCTLinking-tvOS"; 135 | }; 136 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 137 | isa = PBXContainerItemProxy; 138 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 139 | proxyType = 2; 140 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 141 | remoteInfo = "RCTNetwork-tvOS"; 142 | }; 143 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 144 | isa = PBXContainerItemProxy; 145 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 146 | proxyType = 2; 147 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 148 | remoteInfo = "RCTSettings-tvOS"; 149 | }; 150 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 151 | isa = PBXContainerItemProxy; 152 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 153 | proxyType = 2; 154 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 155 | remoteInfo = "RCTText-tvOS"; 156 | }; 157 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 158 | isa = PBXContainerItemProxy; 159 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 160 | proxyType = 2; 161 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 162 | remoteInfo = "RCTWebSocket-tvOS"; 163 | }; 164 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 165 | isa = PBXContainerItemProxy; 166 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 167 | proxyType = 2; 168 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 169 | remoteInfo = "React-tvOS"; 170 | }; 171 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 172 | isa = PBXContainerItemProxy; 173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 174 | proxyType = 2; 175 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 176 | remoteInfo = yoga; 177 | }; 178 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 179 | isa = PBXContainerItemProxy; 180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 181 | proxyType = 2; 182 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 183 | remoteInfo = "yoga-tvOS"; 184 | }; 185 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 186 | isa = PBXContainerItemProxy; 187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 188 | proxyType = 2; 189 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 190 | remoteInfo = cxxreact; 191 | }; 192 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 193 | isa = PBXContainerItemProxy; 194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 195 | proxyType = 2; 196 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 197 | remoteInfo = "cxxreact-tvOS"; 198 | }; 199 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 200 | isa = PBXContainerItemProxy; 201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 202 | proxyType = 2; 203 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 204 | remoteInfo = jschelpers; 205 | }; 206 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 207 | isa = PBXContainerItemProxy; 208 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 209 | proxyType = 2; 210 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 211 | remoteInfo = "jschelpers-tvOS"; 212 | }; 213 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 214 | isa = PBXContainerItemProxy; 215 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 216 | proxyType = 2; 217 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 218 | remoteInfo = RCTAnimation; 219 | }; 220 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 221 | isa = PBXContainerItemProxy; 222 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 223 | proxyType = 2; 224 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 225 | remoteInfo = "RCTAnimation-tvOS"; 226 | }; 227 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 228 | isa = PBXContainerItemProxy; 229 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 230 | proxyType = 2; 231 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 232 | remoteInfo = RCTLinking; 233 | }; 234 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 235 | isa = PBXContainerItemProxy; 236 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 237 | proxyType = 2; 238 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 239 | remoteInfo = RCTText; 240 | }; 241 | /* End PBXContainerItemProxy section */ 242 | 243 | /* Begin PBXFileReference section */ 244 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 245 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 246 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 247 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 248 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 249 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 250 | 00E356EE1AD99517003FC87E /* GankioClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GankioClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 251 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 252 | 00E356F21AD99517003FC87E /* GankioClientTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GankioClientTests.m; sourceTree = ""; }; 253 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 254 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 255 | 13B07F961A680F5B00A75B9A /* GankioClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GankioClient.app; sourceTree = BUILT_PRODUCTS_DIR; }; 256 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = GankioClient/AppDelegate.h; sourceTree = ""; }; 257 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = GankioClient/AppDelegate.m; sourceTree = ""; }; 258 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 259 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = GankioClient/Images.xcassets; sourceTree = ""; }; 260 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = GankioClient/Info.plist; sourceTree = ""; }; 261 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = GankioClient/main.m; sourceTree = ""; }; 262 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 263 | 2D02E47B1E0B4A5D006451C7 /* GankioClient-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "GankioClient-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 264 | 2D02E4901E0B4A5D006451C7 /* GankioClient-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "GankioClient-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 265 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 266 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 267 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 268 | 658CF43CD9AE4AF6BF68CC74 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; name = "RNVectorIcons.xcodeproj"; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 269 | DBC3B6D59B55408AB720923F /* libRNVectorIcons.a */ = {isa = PBXFileReference; name = "libRNVectorIcons.a"; path = "libRNVectorIcons.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 270 | 875B8E97EE804AF594A3ED69 /* Entypo.ttf */ = {isa = PBXFileReference; name = "Entypo.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 271 | 95C0EF86FDB74B2886D6D569 /* EvilIcons.ttf */ = {isa = PBXFileReference; name = "EvilIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 272 | 2D8F2960E24249859A4E7AF9 /* FontAwesome.ttf */ = {isa = PBXFileReference; name = "FontAwesome.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 273 | F85E6F4A7E714AA882FD613B /* Foundation.ttf */ = {isa = PBXFileReference; name = "Foundation.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 274 | C5F23BBBC6664F54940BC95D /* Ionicons.ttf */ = {isa = PBXFileReference; name = "Ionicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 275 | 1132CC11489347159D2F4021 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; name = "MaterialCommunityIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 276 | E8779E1064A247B9A08A38E2 /* MaterialIcons.ttf */ = {isa = PBXFileReference; name = "MaterialIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 277 | AD148684FF2E4BCE89D81808 /* Octicons.ttf */ = {isa = PBXFileReference; name = "Octicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 278 | 7DCBE7014E0340208E9FEBF3 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; name = "SimpleLineIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 279 | 7C82820E23BC4F02875AA268 /* Zocial.ttf */ = {isa = PBXFileReference; name = "Zocial.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 280 | /* End PBXFileReference section */ 281 | 282 | /* Begin PBXFrameworksBuildPhase section */ 283 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 284 | isa = PBXFrameworksBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 292 | isa = PBXFrameworksBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 296 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 297 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 298 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 299 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 300 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 301 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 302 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 303 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 304 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 305 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 306 | DF89F07A4E574A29BEF36CA0 /* libRNVectorIcons.a in Frameworks */, 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | }; 310 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 311 | isa = PBXFrameworksBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 315 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 316 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 317 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 318 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 319 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 320 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 321 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | }; 325 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 326 | isa = PBXFrameworksBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | }; 332 | /* End PBXFrameworksBuildPhase section */ 333 | 334 | /* Begin PBXGroup section */ 335 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 336 | isa = PBXGroup; 337 | children = ( 338 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 339 | ); 340 | name = Products; 341 | sourceTree = ""; 342 | }; 343 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 344 | isa = PBXGroup; 345 | children = ( 346 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 347 | ); 348 | name = Products; 349 | sourceTree = ""; 350 | }; 351 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 352 | isa = PBXGroup; 353 | children = ( 354 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 355 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 356 | ); 357 | name = Products; 358 | sourceTree = ""; 359 | }; 360 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 361 | isa = PBXGroup; 362 | children = ( 363 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 364 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 365 | ); 366 | name = Products; 367 | sourceTree = ""; 368 | }; 369 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 370 | isa = PBXGroup; 371 | children = ( 372 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 373 | ); 374 | name = Products; 375 | sourceTree = ""; 376 | }; 377 | 00E356EF1AD99517003FC87E /* GankioClientTests */ = { 378 | isa = PBXGroup; 379 | children = ( 380 | 00E356F21AD99517003FC87E /* GankioClientTests.m */, 381 | 00E356F01AD99517003FC87E /* Supporting Files */, 382 | ); 383 | path = GankioClientTests; 384 | sourceTree = ""; 385 | }; 386 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 387 | isa = PBXGroup; 388 | children = ( 389 | 00E356F11AD99517003FC87E /* Info.plist */, 390 | ); 391 | name = "Supporting Files"; 392 | sourceTree = ""; 393 | }; 394 | 139105B71AF99BAD00B5F7CC /* Products */ = { 395 | isa = PBXGroup; 396 | children = ( 397 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 398 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 399 | ); 400 | name = Products; 401 | sourceTree = ""; 402 | }; 403 | 139FDEE71B06529A00C62182 /* Products */ = { 404 | isa = PBXGroup; 405 | children = ( 406 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 407 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 408 | ); 409 | name = Products; 410 | sourceTree = ""; 411 | }; 412 | 13B07FAE1A68108700A75B9A /* GankioClient */ = { 413 | isa = PBXGroup; 414 | children = ( 415 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 416 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 417 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 418 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 419 | 13B07FB61A68108700A75B9A /* Info.plist */, 420 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 421 | 13B07FB71A68108700A75B9A /* main.m */, 422 | ); 423 | name = GankioClient; 424 | sourceTree = ""; 425 | }; 426 | 146834001AC3E56700842450 /* Products */ = { 427 | isa = PBXGroup; 428 | children = ( 429 | 146834041AC3E56700842450 /* libReact.a */, 430 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 431 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 432 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 433 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 434 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 435 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 436 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 437 | ); 438 | name = Products; 439 | sourceTree = ""; 440 | }; 441 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 442 | isa = PBXGroup; 443 | children = ( 444 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 445 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 446 | ); 447 | name = Products; 448 | sourceTree = ""; 449 | }; 450 | 78C398B11ACF4ADC00677621 /* Products */ = { 451 | isa = PBXGroup; 452 | children = ( 453 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 454 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 455 | ); 456 | name = Products; 457 | sourceTree = ""; 458 | }; 459 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 460 | isa = PBXGroup; 461 | children = ( 462 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 463 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 464 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 465 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 466 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 467 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 468 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 469 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 470 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 471 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 472 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 473 | 658CF43CD9AE4AF6BF68CC74 /* RNVectorIcons.xcodeproj */, 474 | ); 475 | name = Libraries; 476 | sourceTree = ""; 477 | }; 478 | 832341B11AAA6A8300B99B32 /* Products */ = { 479 | isa = PBXGroup; 480 | children = ( 481 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 482 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 483 | ); 484 | name = Products; 485 | sourceTree = ""; 486 | }; 487 | 83CBB9F61A601CBA00E9B192 = { 488 | isa = PBXGroup; 489 | children = ( 490 | 13B07FAE1A68108700A75B9A /* GankioClient */, 491 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 492 | 00E356EF1AD99517003FC87E /* GankioClientTests */, 493 | 83CBBA001A601CBA00E9B192 /* Products */, 494 | F7CA413255014FE8B764B680 /* Resources */, 495 | ); 496 | indentWidth = 2; 497 | sourceTree = ""; 498 | tabWidth = 2; 499 | }; 500 | 83CBBA001A601CBA00E9B192 /* Products */ = { 501 | isa = PBXGroup; 502 | children = ( 503 | 13B07F961A680F5B00A75B9A /* GankioClient.app */, 504 | 00E356EE1AD99517003FC87E /* GankioClientTests.xctest */, 505 | 2D02E47B1E0B4A5D006451C7 /* GankioClient-tvOS.app */, 506 | 2D02E4901E0B4A5D006451C7 /* GankioClient-tvOSTests.xctest */, 507 | ); 508 | name = Products; 509 | sourceTree = ""; 510 | }; 511 | F7CA413255014FE8B764B680 /* Resources */ = { 512 | isa = "PBXGroup"; 513 | children = ( 514 | 875B8E97EE804AF594A3ED69 /* Entypo.ttf */, 515 | 95C0EF86FDB74B2886D6D569 /* EvilIcons.ttf */, 516 | 2D8F2960E24249859A4E7AF9 /* FontAwesome.ttf */, 517 | F85E6F4A7E714AA882FD613B /* Foundation.ttf */, 518 | C5F23BBBC6664F54940BC95D /* Ionicons.ttf */, 519 | 1132CC11489347159D2F4021 /* MaterialCommunityIcons.ttf */, 520 | E8779E1064A247B9A08A38E2 /* MaterialIcons.ttf */, 521 | AD148684FF2E4BCE89D81808 /* Octicons.ttf */, 522 | 7DCBE7014E0340208E9FEBF3 /* SimpleLineIcons.ttf */, 523 | 7C82820E23BC4F02875AA268 /* Zocial.ttf */, 524 | ); 525 | name = Resources; 526 | sourceTree = ""; 527 | path = ""; 528 | }; 529 | /* End PBXGroup section */ 530 | 531 | /* Begin PBXNativeTarget section */ 532 | 00E356ED1AD99517003FC87E /* GankioClientTests */ = { 533 | isa = PBXNativeTarget; 534 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "GankioClientTests" */; 535 | buildPhases = ( 536 | 00E356EA1AD99517003FC87E /* Sources */, 537 | 00E356EB1AD99517003FC87E /* Frameworks */, 538 | 00E356EC1AD99517003FC87E /* Resources */, 539 | ); 540 | buildRules = ( 541 | ); 542 | dependencies = ( 543 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 544 | ); 545 | name = GankioClientTests; 546 | productName = GankioClientTests; 547 | productReference = 00E356EE1AD99517003FC87E /* GankioClientTests.xctest */; 548 | productType = "com.apple.product-type.bundle.unit-test"; 549 | }; 550 | 13B07F861A680F5B00A75B9A /* GankioClient */ = { 551 | isa = PBXNativeTarget; 552 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "GankioClient" */; 553 | buildPhases = ( 554 | 13B07F871A680F5B00A75B9A /* Sources */, 555 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 556 | 13B07F8E1A680F5B00A75B9A /* Resources */, 557 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 558 | ); 559 | buildRules = ( 560 | ); 561 | dependencies = ( 562 | ); 563 | name = GankioClient; 564 | productName = "Hello World"; 565 | productReference = 13B07F961A680F5B00A75B9A /* GankioClient.app */; 566 | productType = "com.apple.product-type.application"; 567 | }; 568 | 2D02E47A1E0B4A5D006451C7 /* GankioClient-tvOS */ = { 569 | isa = PBXNativeTarget; 570 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "GankioClient-tvOS" */; 571 | buildPhases = ( 572 | 2D02E4771E0B4A5D006451C7 /* Sources */, 573 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 574 | 2D02E4791E0B4A5D006451C7 /* Resources */, 575 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 576 | ); 577 | buildRules = ( 578 | ); 579 | dependencies = ( 580 | ); 581 | name = "GankioClient-tvOS"; 582 | productName = "GankioClient-tvOS"; 583 | productReference = 2D02E47B1E0B4A5D006451C7 /* GankioClient-tvOS.app */; 584 | productType = "com.apple.product-type.application"; 585 | }; 586 | 2D02E48F1E0B4A5D006451C7 /* GankioClient-tvOSTests */ = { 587 | isa = PBXNativeTarget; 588 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "GankioClient-tvOSTests" */; 589 | buildPhases = ( 590 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 591 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 592 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 593 | ); 594 | buildRules = ( 595 | ); 596 | dependencies = ( 597 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 598 | ); 599 | name = "GankioClient-tvOSTests"; 600 | productName = "GankioClient-tvOSTests"; 601 | productReference = 2D02E4901E0B4A5D006451C7 /* GankioClient-tvOSTests.xctest */; 602 | productType = "com.apple.product-type.bundle.unit-test"; 603 | }; 604 | /* End PBXNativeTarget section */ 605 | 606 | /* Begin PBXProject section */ 607 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 608 | isa = PBXProject; 609 | attributes = { 610 | LastUpgradeCheck = 610; 611 | ORGANIZATIONNAME = Facebook; 612 | TargetAttributes = { 613 | 00E356ED1AD99517003FC87E = { 614 | CreatedOnToolsVersion = 6.2; 615 | TestTargetID = 13B07F861A680F5B00A75B9A; 616 | }; 617 | 2D02E47A1E0B4A5D006451C7 = { 618 | CreatedOnToolsVersion = 8.2.1; 619 | ProvisioningStyle = Automatic; 620 | }; 621 | 2D02E48F1E0B4A5D006451C7 = { 622 | CreatedOnToolsVersion = 8.2.1; 623 | ProvisioningStyle = Automatic; 624 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 625 | }; 626 | }; 627 | }; 628 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "GankioClient" */; 629 | compatibilityVersion = "Xcode 3.2"; 630 | developmentRegion = English; 631 | hasScannedForEncodings = 0; 632 | knownRegions = ( 633 | en, 634 | Base, 635 | ); 636 | mainGroup = 83CBB9F61A601CBA00E9B192; 637 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 638 | projectDirPath = ""; 639 | projectReferences = ( 640 | { 641 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 642 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 643 | }, 644 | { 645 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 646 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 647 | }, 648 | { 649 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 650 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 651 | }, 652 | { 653 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 654 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 655 | }, 656 | { 657 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 658 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 659 | }, 660 | { 661 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 662 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 663 | }, 664 | { 665 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 666 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 667 | }, 668 | { 669 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 670 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 671 | }, 672 | { 673 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 674 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 675 | }, 676 | { 677 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 678 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 679 | }, 680 | { 681 | ProductGroup = 146834001AC3E56700842450 /* Products */; 682 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 683 | }, 684 | ); 685 | projectRoot = ""; 686 | targets = ( 687 | 13B07F861A680F5B00A75B9A /* GankioClient */, 688 | 00E356ED1AD99517003FC87E /* GankioClientTests */, 689 | 2D02E47A1E0B4A5D006451C7 /* GankioClient-tvOS */, 690 | 2D02E48F1E0B4A5D006451C7 /* GankioClient-tvOSTests */, 691 | ); 692 | }; 693 | /* End PBXProject section */ 694 | 695 | /* Begin PBXReferenceProxy section */ 696 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 697 | isa = PBXReferenceProxy; 698 | fileType = archive.ar; 699 | path = libRCTActionSheet.a; 700 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 701 | sourceTree = BUILT_PRODUCTS_DIR; 702 | }; 703 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 704 | isa = PBXReferenceProxy; 705 | fileType = archive.ar; 706 | path = libRCTGeolocation.a; 707 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 708 | sourceTree = BUILT_PRODUCTS_DIR; 709 | }; 710 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 711 | isa = PBXReferenceProxy; 712 | fileType = archive.ar; 713 | path = libRCTImage.a; 714 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 715 | sourceTree = BUILT_PRODUCTS_DIR; 716 | }; 717 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 718 | isa = PBXReferenceProxy; 719 | fileType = archive.ar; 720 | path = libRCTNetwork.a; 721 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 722 | sourceTree = BUILT_PRODUCTS_DIR; 723 | }; 724 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 725 | isa = PBXReferenceProxy; 726 | fileType = archive.ar; 727 | path = libRCTVibration.a; 728 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 729 | sourceTree = BUILT_PRODUCTS_DIR; 730 | }; 731 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 732 | isa = PBXReferenceProxy; 733 | fileType = archive.ar; 734 | path = libRCTSettings.a; 735 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 736 | sourceTree = BUILT_PRODUCTS_DIR; 737 | }; 738 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 739 | isa = PBXReferenceProxy; 740 | fileType = archive.ar; 741 | path = libRCTWebSocket.a; 742 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 743 | sourceTree = BUILT_PRODUCTS_DIR; 744 | }; 745 | 146834041AC3E56700842450 /* libReact.a */ = { 746 | isa = PBXReferenceProxy; 747 | fileType = archive.ar; 748 | path = libReact.a; 749 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 750 | sourceTree = BUILT_PRODUCTS_DIR; 751 | }; 752 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 753 | isa = PBXReferenceProxy; 754 | fileType = archive.ar; 755 | path = "libRCTImage-tvOS.a"; 756 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 757 | sourceTree = BUILT_PRODUCTS_DIR; 758 | }; 759 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 760 | isa = PBXReferenceProxy; 761 | fileType = archive.ar; 762 | path = "libRCTLinking-tvOS.a"; 763 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 764 | sourceTree = BUILT_PRODUCTS_DIR; 765 | }; 766 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 767 | isa = PBXReferenceProxy; 768 | fileType = archive.ar; 769 | path = "libRCTNetwork-tvOS.a"; 770 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 771 | sourceTree = BUILT_PRODUCTS_DIR; 772 | }; 773 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 774 | isa = PBXReferenceProxy; 775 | fileType = archive.ar; 776 | path = "libRCTSettings-tvOS.a"; 777 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 778 | sourceTree = BUILT_PRODUCTS_DIR; 779 | }; 780 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 781 | isa = PBXReferenceProxy; 782 | fileType = archive.ar; 783 | path = "libRCTText-tvOS.a"; 784 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 785 | sourceTree = BUILT_PRODUCTS_DIR; 786 | }; 787 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 788 | isa = PBXReferenceProxy; 789 | fileType = archive.ar; 790 | path = "libRCTWebSocket-tvOS.a"; 791 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 792 | sourceTree = BUILT_PRODUCTS_DIR; 793 | }; 794 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 795 | isa = PBXReferenceProxy; 796 | fileType = archive.ar; 797 | path = libReact.a; 798 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 799 | sourceTree = BUILT_PRODUCTS_DIR; 800 | }; 801 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 802 | isa = PBXReferenceProxy; 803 | fileType = archive.ar; 804 | path = libyoga.a; 805 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 806 | sourceTree = BUILT_PRODUCTS_DIR; 807 | }; 808 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 809 | isa = PBXReferenceProxy; 810 | fileType = archive.ar; 811 | path = libyoga.a; 812 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 813 | sourceTree = BUILT_PRODUCTS_DIR; 814 | }; 815 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 816 | isa = PBXReferenceProxy; 817 | fileType = archive.ar; 818 | path = libcxxreact.a; 819 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 820 | sourceTree = BUILT_PRODUCTS_DIR; 821 | }; 822 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 823 | isa = PBXReferenceProxy; 824 | fileType = archive.ar; 825 | path = libcxxreact.a; 826 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 827 | sourceTree = BUILT_PRODUCTS_DIR; 828 | }; 829 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 830 | isa = PBXReferenceProxy; 831 | fileType = archive.ar; 832 | path = libjschelpers.a; 833 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 834 | sourceTree = BUILT_PRODUCTS_DIR; 835 | }; 836 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 837 | isa = PBXReferenceProxy; 838 | fileType = archive.ar; 839 | path = libjschelpers.a; 840 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 841 | sourceTree = BUILT_PRODUCTS_DIR; 842 | }; 843 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 844 | isa = PBXReferenceProxy; 845 | fileType = archive.ar; 846 | path = libRCTAnimation.a; 847 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 848 | sourceTree = BUILT_PRODUCTS_DIR; 849 | }; 850 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 851 | isa = PBXReferenceProxy; 852 | fileType = archive.ar; 853 | path = "libRCTAnimation-tvOS.a"; 854 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 855 | sourceTree = BUILT_PRODUCTS_DIR; 856 | }; 857 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 858 | isa = PBXReferenceProxy; 859 | fileType = archive.ar; 860 | path = libRCTLinking.a; 861 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 862 | sourceTree = BUILT_PRODUCTS_DIR; 863 | }; 864 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 865 | isa = PBXReferenceProxy; 866 | fileType = archive.ar; 867 | path = libRCTText.a; 868 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 869 | sourceTree = BUILT_PRODUCTS_DIR; 870 | }; 871 | /* End PBXReferenceProxy section */ 872 | 873 | /* Begin PBXResourcesBuildPhase section */ 874 | 00E356EC1AD99517003FC87E /* Resources */ = { 875 | isa = PBXResourcesBuildPhase; 876 | buildActionMask = 2147483647; 877 | files = ( 878 | ); 879 | runOnlyForDeploymentPostprocessing = 0; 880 | }; 881 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 882 | isa = PBXResourcesBuildPhase; 883 | buildActionMask = 2147483647; 884 | files = ( 885 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 886 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 887 | 358D4B0D1AC546698F70909D /* Entypo.ttf in Resources */, 888 | 8A1C02C7AC544C6C802002D7 /* EvilIcons.ttf in Resources */, 889 | 5EBD2D059393440CAF611E4E /* FontAwesome.ttf in Resources */, 890 | D010B4D16A614E819E1CA429 /* Foundation.ttf in Resources */, 891 | E26EDD63F9504441AB87366A /* Ionicons.ttf in Resources */, 892 | F6DA35DCABA74DBF8D6B8982 /* MaterialCommunityIcons.ttf in Resources */, 893 | 86A460C141DE4454897D6F36 /* MaterialIcons.ttf in Resources */, 894 | 2805C07ECF05408C90C5AD3F /* Octicons.ttf in Resources */, 895 | 14BCEDF18E7D4614B1C41D31 /* SimpleLineIcons.ttf in Resources */, 896 | F5CAC9C6A4014BE690E8BB04 /* Zocial.ttf in Resources */, 897 | ); 898 | runOnlyForDeploymentPostprocessing = 0; 899 | }; 900 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 901 | isa = PBXResourcesBuildPhase; 902 | buildActionMask = 2147483647; 903 | files = ( 904 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 905 | ); 906 | runOnlyForDeploymentPostprocessing = 0; 907 | }; 908 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 909 | isa = PBXResourcesBuildPhase; 910 | buildActionMask = 2147483647; 911 | files = ( 912 | ); 913 | runOnlyForDeploymentPostprocessing = 0; 914 | }; 915 | /* End PBXResourcesBuildPhase section */ 916 | 917 | /* Begin PBXShellScriptBuildPhase section */ 918 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 919 | isa = PBXShellScriptBuildPhase; 920 | buildActionMask = 2147483647; 921 | files = ( 922 | ); 923 | inputPaths = ( 924 | ); 925 | name = "Bundle React Native code and images"; 926 | outputPaths = ( 927 | ); 928 | runOnlyForDeploymentPostprocessing = 0; 929 | shellPath = /bin/sh; 930 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 931 | }; 932 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 933 | isa = PBXShellScriptBuildPhase; 934 | buildActionMask = 2147483647; 935 | files = ( 936 | ); 937 | inputPaths = ( 938 | ); 939 | name = "Bundle React Native Code And Images"; 940 | outputPaths = ( 941 | ); 942 | runOnlyForDeploymentPostprocessing = 0; 943 | shellPath = /bin/sh; 944 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 945 | }; 946 | /* End PBXShellScriptBuildPhase section */ 947 | 948 | /* Begin PBXSourcesBuildPhase section */ 949 | 00E356EA1AD99517003FC87E /* Sources */ = { 950 | isa = PBXSourcesBuildPhase; 951 | buildActionMask = 2147483647; 952 | files = ( 953 | 00E356F31AD99517003FC87E /* GankioClientTests.m in Sources */, 954 | ); 955 | runOnlyForDeploymentPostprocessing = 0; 956 | }; 957 | 13B07F871A680F5B00A75B9A /* Sources */ = { 958 | isa = PBXSourcesBuildPhase; 959 | buildActionMask = 2147483647; 960 | files = ( 961 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 962 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 963 | ); 964 | runOnlyForDeploymentPostprocessing = 0; 965 | }; 966 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 967 | isa = PBXSourcesBuildPhase; 968 | buildActionMask = 2147483647; 969 | files = ( 970 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 971 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 972 | ); 973 | runOnlyForDeploymentPostprocessing = 0; 974 | }; 975 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 976 | isa = PBXSourcesBuildPhase; 977 | buildActionMask = 2147483647; 978 | files = ( 979 | 2DCD954D1E0B4F2C00145EB5 /* GankioClientTests.m in Sources */, 980 | ); 981 | runOnlyForDeploymentPostprocessing = 0; 982 | }; 983 | /* End PBXSourcesBuildPhase section */ 984 | 985 | /* Begin PBXTargetDependency section */ 986 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 987 | isa = PBXTargetDependency; 988 | target = 13B07F861A680F5B00A75B9A /* GankioClient */; 989 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 990 | }; 991 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 992 | isa = PBXTargetDependency; 993 | target = 2D02E47A1E0B4A5D006451C7 /* GankioClient-tvOS */; 994 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 995 | }; 996 | /* End PBXTargetDependency section */ 997 | 998 | /* Begin PBXVariantGroup section */ 999 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1000 | isa = PBXVariantGroup; 1001 | children = ( 1002 | 13B07FB21A68108700A75B9A /* Base */, 1003 | ); 1004 | name = LaunchScreen.xib; 1005 | path = GankioClient; 1006 | sourceTree = ""; 1007 | }; 1008 | /* End PBXVariantGroup section */ 1009 | 1010 | /* Begin XCBuildConfiguration section */ 1011 | 00E356F61AD99517003FC87E /* Debug */ = { 1012 | isa = XCBuildConfiguration; 1013 | buildSettings = { 1014 | BUNDLE_LOADER = "$(TEST_HOST)"; 1015 | GCC_PREPROCESSOR_DEFINITIONS = ( 1016 | "DEBUG=1", 1017 | "$(inherited)", 1018 | ); 1019 | INFOPLIST_FILE = GankioClientTests/Info.plist; 1020 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1021 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1022 | OTHER_LDFLAGS = ( 1023 | "-ObjC", 1024 | "-lc++", 1025 | ); 1026 | PRODUCT_NAME = "$(TARGET_NAME)"; 1027 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GankioClient.app/GankioClient"; 1028 | LIBRARY_SEARCH_PATHS = ( 1029 | "$(inherited)", 1030 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1031 | ); 1032 | HEADER_SEARCH_PATHS = ( 1033 | "$(inherited)", 1034 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1035 | ); 1036 | }; 1037 | name = Debug; 1038 | }; 1039 | 00E356F71AD99517003FC87E /* Release */ = { 1040 | isa = XCBuildConfiguration; 1041 | buildSettings = { 1042 | BUNDLE_LOADER = "$(TEST_HOST)"; 1043 | COPY_PHASE_STRIP = NO; 1044 | INFOPLIST_FILE = GankioClientTests/Info.plist; 1045 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1046 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1047 | OTHER_LDFLAGS = ( 1048 | "-ObjC", 1049 | "-lc++", 1050 | ); 1051 | PRODUCT_NAME = "$(TARGET_NAME)"; 1052 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GankioClient.app/GankioClient"; 1053 | LIBRARY_SEARCH_PATHS = ( 1054 | "$(inherited)", 1055 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1056 | ); 1057 | HEADER_SEARCH_PATHS = ( 1058 | "$(inherited)", 1059 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1060 | ); 1061 | }; 1062 | name = Release; 1063 | }; 1064 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1065 | isa = XCBuildConfiguration; 1066 | buildSettings = { 1067 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1068 | CURRENT_PROJECT_VERSION = 1; 1069 | DEAD_CODE_STRIPPING = NO; 1070 | INFOPLIST_FILE = GankioClient/Info.plist; 1071 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1072 | OTHER_LDFLAGS = ( 1073 | "$(inherited)", 1074 | "-ObjC", 1075 | "-lc++", 1076 | ); 1077 | PRODUCT_NAME = GankioClient; 1078 | VERSIONING_SYSTEM = "apple-generic"; 1079 | HEADER_SEARCH_PATHS = ( 1080 | "$(inherited)", 1081 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1082 | ); 1083 | }; 1084 | name = Debug; 1085 | }; 1086 | 13B07F951A680F5B00A75B9A /* Release */ = { 1087 | isa = XCBuildConfiguration; 1088 | buildSettings = { 1089 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1090 | CURRENT_PROJECT_VERSION = 1; 1091 | INFOPLIST_FILE = GankioClient/Info.plist; 1092 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1093 | OTHER_LDFLAGS = ( 1094 | "$(inherited)", 1095 | "-ObjC", 1096 | "-lc++", 1097 | ); 1098 | PRODUCT_NAME = GankioClient; 1099 | VERSIONING_SYSTEM = "apple-generic"; 1100 | HEADER_SEARCH_PATHS = ( 1101 | "$(inherited)", 1102 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1103 | ); 1104 | }; 1105 | name = Release; 1106 | }; 1107 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1108 | isa = XCBuildConfiguration; 1109 | buildSettings = { 1110 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1111 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1112 | CLANG_ANALYZER_NONNULL = YES; 1113 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1114 | CLANG_WARN_INFINITE_RECURSION = YES; 1115 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1116 | DEBUG_INFORMATION_FORMAT = dwarf; 1117 | ENABLE_TESTABILITY = YES; 1118 | GCC_NO_COMMON_BLOCKS = YES; 1119 | INFOPLIST_FILE = "GankioClient-tvOS/Info.plist"; 1120 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1121 | OTHER_LDFLAGS = ( 1122 | "-ObjC", 1123 | "-lc++", 1124 | ); 1125 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.GankioClient-tvOS"; 1126 | PRODUCT_NAME = "$(TARGET_NAME)"; 1127 | SDKROOT = appletvos; 1128 | TARGETED_DEVICE_FAMILY = 3; 1129 | TVOS_DEPLOYMENT_TARGET = 9.2; 1130 | LIBRARY_SEARCH_PATHS = ( 1131 | "$(inherited)", 1132 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1133 | ); 1134 | HEADER_SEARCH_PATHS = ( 1135 | "$(inherited)", 1136 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1137 | ); 1138 | }; 1139 | name = Debug; 1140 | }; 1141 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1142 | isa = XCBuildConfiguration; 1143 | buildSettings = { 1144 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1145 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1146 | CLANG_ANALYZER_NONNULL = YES; 1147 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1148 | CLANG_WARN_INFINITE_RECURSION = YES; 1149 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1150 | COPY_PHASE_STRIP = NO; 1151 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1152 | GCC_NO_COMMON_BLOCKS = YES; 1153 | INFOPLIST_FILE = "GankioClient-tvOS/Info.plist"; 1154 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1155 | OTHER_LDFLAGS = ( 1156 | "-ObjC", 1157 | "-lc++", 1158 | ); 1159 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.GankioClient-tvOS"; 1160 | PRODUCT_NAME = "$(TARGET_NAME)"; 1161 | SDKROOT = appletvos; 1162 | TARGETED_DEVICE_FAMILY = 3; 1163 | TVOS_DEPLOYMENT_TARGET = 9.2; 1164 | LIBRARY_SEARCH_PATHS = ( 1165 | "$(inherited)", 1166 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1167 | ); 1168 | HEADER_SEARCH_PATHS = ( 1169 | "$(inherited)", 1170 | "$(SRCROOT)\..\node_modules\react-native-vector-icons\RNVectorIconsManager", 1171 | ); 1172 | }; 1173 | name = Release; 1174 | }; 1175 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1176 | isa = XCBuildConfiguration; 1177 | buildSettings = { 1178 | BUNDLE_LOADER = "$(TEST_HOST)"; 1179 | CLANG_ANALYZER_NONNULL = YES; 1180 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1181 | CLANG_WARN_INFINITE_RECURSION = YES; 1182 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1183 | DEBUG_INFORMATION_FORMAT = dwarf; 1184 | ENABLE_TESTABILITY = YES; 1185 | GCC_NO_COMMON_BLOCKS = YES; 1186 | INFOPLIST_FILE = "GankioClient-tvOSTests/Info.plist"; 1187 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1188 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.GankioClient-tvOSTests"; 1189 | PRODUCT_NAME = "$(TARGET_NAME)"; 1190 | SDKROOT = appletvos; 1191 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GankioClient-tvOS.app/GankioClient-tvOS"; 1192 | TVOS_DEPLOYMENT_TARGET = 10.1; 1193 | LIBRARY_SEARCH_PATHS = ( 1194 | "$(inherited)", 1195 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1196 | ); 1197 | }; 1198 | name = Debug; 1199 | }; 1200 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1201 | isa = XCBuildConfiguration; 1202 | buildSettings = { 1203 | BUNDLE_LOADER = "$(TEST_HOST)"; 1204 | CLANG_ANALYZER_NONNULL = YES; 1205 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1206 | CLANG_WARN_INFINITE_RECURSION = YES; 1207 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1208 | COPY_PHASE_STRIP = NO; 1209 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1210 | GCC_NO_COMMON_BLOCKS = YES; 1211 | INFOPLIST_FILE = "GankioClient-tvOSTests/Info.plist"; 1212 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1213 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.GankioClient-tvOSTests"; 1214 | PRODUCT_NAME = "$(TARGET_NAME)"; 1215 | SDKROOT = appletvos; 1216 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GankioClient-tvOS.app/GankioClient-tvOS"; 1217 | TVOS_DEPLOYMENT_TARGET = 10.1; 1218 | LIBRARY_SEARCH_PATHS = ( 1219 | "$(inherited)", 1220 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1221 | ); 1222 | }; 1223 | name = Release; 1224 | }; 1225 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1226 | isa = XCBuildConfiguration; 1227 | buildSettings = { 1228 | ALWAYS_SEARCH_USER_PATHS = NO; 1229 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1230 | CLANG_CXX_LIBRARY = "libc++"; 1231 | CLANG_ENABLE_MODULES = YES; 1232 | CLANG_ENABLE_OBJC_ARC = YES; 1233 | CLANG_WARN_BOOL_CONVERSION = YES; 1234 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1235 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1236 | CLANG_WARN_EMPTY_BODY = YES; 1237 | CLANG_WARN_ENUM_CONVERSION = YES; 1238 | CLANG_WARN_INT_CONVERSION = YES; 1239 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1240 | CLANG_WARN_UNREACHABLE_CODE = YES; 1241 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1242 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1243 | COPY_PHASE_STRIP = NO; 1244 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1245 | GCC_C_LANGUAGE_STANDARD = gnu99; 1246 | GCC_DYNAMIC_NO_PIC = NO; 1247 | GCC_OPTIMIZATION_LEVEL = 0; 1248 | GCC_PREPROCESSOR_DEFINITIONS = ( 1249 | "DEBUG=1", 1250 | "$(inherited)", 1251 | ); 1252 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1253 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1254 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1255 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1256 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1257 | GCC_WARN_UNUSED_FUNCTION = YES; 1258 | GCC_WARN_UNUSED_VARIABLE = YES; 1259 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1260 | MTL_ENABLE_DEBUG_INFO = YES; 1261 | ONLY_ACTIVE_ARCH = YES; 1262 | SDKROOT = iphoneos; 1263 | }; 1264 | name = Debug; 1265 | }; 1266 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1267 | isa = XCBuildConfiguration; 1268 | buildSettings = { 1269 | ALWAYS_SEARCH_USER_PATHS = NO; 1270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1271 | CLANG_CXX_LIBRARY = "libc++"; 1272 | CLANG_ENABLE_MODULES = YES; 1273 | CLANG_ENABLE_OBJC_ARC = YES; 1274 | CLANG_WARN_BOOL_CONVERSION = YES; 1275 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1276 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1277 | CLANG_WARN_EMPTY_BODY = YES; 1278 | CLANG_WARN_ENUM_CONVERSION = YES; 1279 | CLANG_WARN_INT_CONVERSION = YES; 1280 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1281 | CLANG_WARN_UNREACHABLE_CODE = YES; 1282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1284 | COPY_PHASE_STRIP = YES; 1285 | ENABLE_NS_ASSERTIONS = NO; 1286 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1287 | GCC_C_LANGUAGE_STANDARD = gnu99; 1288 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1289 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1290 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1291 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1292 | GCC_WARN_UNUSED_FUNCTION = YES; 1293 | GCC_WARN_UNUSED_VARIABLE = YES; 1294 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1295 | MTL_ENABLE_DEBUG_INFO = NO; 1296 | SDKROOT = iphoneos; 1297 | VALIDATE_PRODUCT = YES; 1298 | }; 1299 | name = Release; 1300 | }; 1301 | /* End XCBuildConfiguration section */ 1302 | 1303 | /* Begin XCConfigurationList section */ 1304 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "GankioClientTests" */ = { 1305 | isa = XCConfigurationList; 1306 | buildConfigurations = ( 1307 | 00E356F61AD99517003FC87E /* Debug */, 1308 | 00E356F71AD99517003FC87E /* Release */, 1309 | ); 1310 | defaultConfigurationIsVisible = 0; 1311 | defaultConfigurationName = Release; 1312 | }; 1313 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "GankioClient" */ = { 1314 | isa = XCConfigurationList; 1315 | buildConfigurations = ( 1316 | 13B07F941A680F5B00A75B9A /* Debug */, 1317 | 13B07F951A680F5B00A75B9A /* Release */, 1318 | ); 1319 | defaultConfigurationIsVisible = 0; 1320 | defaultConfigurationName = Release; 1321 | }; 1322 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "GankioClient-tvOS" */ = { 1323 | isa = XCConfigurationList; 1324 | buildConfigurations = ( 1325 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1326 | 2D02E4981E0B4A5E006451C7 /* Release */, 1327 | ); 1328 | defaultConfigurationIsVisible = 0; 1329 | defaultConfigurationName = Release; 1330 | }; 1331 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "GankioClient-tvOSTests" */ = { 1332 | isa = XCConfigurationList; 1333 | buildConfigurations = ( 1334 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1335 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1336 | ); 1337 | defaultConfigurationIsVisible = 0; 1338 | defaultConfigurationName = Release; 1339 | }; 1340 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "GankioClient" */ = { 1341 | isa = XCConfigurationList; 1342 | buildConfigurations = ( 1343 | 83CBBA201A601CBA00E9B192 /* Debug */, 1344 | 83CBBA211A601CBA00E9B192 /* Release */, 1345 | ); 1346 | defaultConfigurationIsVisible = 0; 1347 | defaultConfigurationName = Release; 1348 | }; 1349 | /* End XCConfigurationList section */ 1350 | }; 1351 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1352 | } 1353 | -------------------------------------------------------------------------------- /ios/GankioClient.xcodeproj/xcshareddata/xcschemes/GankioClient-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/GankioClient.xcodeproj/xcshareddata/xcschemes/GankioClient.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/GankioClient/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/GankioClient/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:@"GankioClient" 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/GankioClient/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/GankioClient/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/GankioClient/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | GankioClient 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | NSExceptionDomains 46 | 47 | localhost 48 | 49 | NSExceptionAllowsInsecureHTTPLoads 50 | 51 | 52 | 53 | 54 | UIAppFonts 55 | 56 | Entypo.ttf 57 | EvilIcons.ttf 58 | FontAwesome.ttf 59 | Foundation.ttf 60 | Ionicons.ttf 61 | MaterialCommunityIcons.ttf 62 | MaterialIcons.ttf 63 | Octicons.ttf 64 | SimpleLineIcons.ttf 65 | Zocial.ttf 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /ios/GankioClient/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/GankioClientTests/GankioClientTests.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 GankioClientTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation GankioClientTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/GankioClientTests/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 | -------------------------------------------------------------------------------- /js/modle/GankData.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | /** 4 | * 单页面显示所需要的数据 5 | * */ 6 | export default class GankData { 7 | constructor(date, desc, url, results) { 8 | //日期 9 | this.date = date 10 | //描述文案 11 | this.desc = desc 12 | //顶部图片链接 13 | this.url = url 14 | //数据 15 | this.results = results 16 | } 17 | } -------------------------------------------------------------------------------- /js/presenter/DataPresenter.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import { 4 | request, 5 | DATA_URL 6 | } from '../utils/Request' 7 | 8 | import { 9 | getLocalCache, 10 | saveLocalCache 11 | } from '../utils/Stroage.js' 12 | 13 | import GankData from '../modle/GankData' 14 | 15 | export default class DataPresenter { 16 | constructor() { 17 | this.gankDataArray = [] 18 | this.pos = 1 19 | this.loadData = false 20 | } 21 | 22 | /** 23 | * 请求数据 24 | **/ 25 | requestGankData(callback) { 26 | let that = this 27 | if (this.loadData) { 28 | callback('已经正在努力的获取数据了,请耐心等待一会!!', null) 29 | return 30 | } 31 | this.loadData = true 32 | //第一次获取数据 也就是刚打开页面 33 | if (this.pos === 1) { 34 | console.log('先请求本地数据') 35 | //先从本地查询是否存在数据 36 | getLocalCache(DATA_URL + this.pos, function (result) { 37 | if (result !== null) { 38 | //回调数据 39 | that.gankDataArray = result 40 | callback('正在为您请求最新的数据!!', that.gankDataArray ) 41 | } 42 | //请求网络数据 43 | request(that.pos, function (response) { 44 | let gankDataArray = [] 45 | for (let i = 0; i < response.length; i++) { 46 | let id = response[i].id 47 | let date = response[i].date 48 | let imgUrl = response[i].imgUrl 49 | let author = response[i].author 50 | let results = response[i].details.results 51 | let gankData = new GankData(date, author, imgUrl, results) 52 | gankDataArray.push(gankData) 53 | } 54 | that.gankDataArray = gankDataArray 55 | that.loadData = false 56 | //再次回调数据 57 | callback('数据加载完成!!', that.gankDataArray) 58 | //保存缓存 59 | saveLocalCache(DATA_URL + that.pos, that.gankDataArray, (error) => { 60 | 61 | }) 62 | }, function (error) { 63 | callback('没有获取到数据呢,请检查下网络情况!!', null) 64 | that.loadData = false 65 | }) 66 | that.pos ++ 67 | }) 68 | } else { 69 | console.log('网络数据') 70 | //请求网络数据 71 | request(this.pos, function (response) { 72 | let gankDataArray = [] 73 | for (let i = 0; i < response.length; i++) { 74 | let id = response[i].id 75 | let date = response[i].date 76 | let imgUrl = response[i].imgUrl 77 | let author = response[i].author 78 | let results = response[i].details.results 79 | let gankData = new GankData(date, author, imgUrl, results) 80 | gankDataArray.push(gankData) 81 | } 82 | // console.log('2 >> ' + gankDataArray) 83 | that.loadData = false 84 | Array.prototype.push.apply(that.gankDataArray, gankDataArray); 85 | //回调数据 86 | callback('数据加载完成!!', that.gankDataArray) 87 | that.pos ++ 88 | }, function(error) { 89 | that.loadData = false 90 | }) 91 | } 92 | } 93 | } 94 | 95 | /** 96 | * 此处也可以使用promise链式来写 97 | * */ 98 | function getGankDataArray(pos, response, error) { 99 | if (pos === 1) { 100 | //先从本地查询是否存在数据 101 | getLocalCache(DATA_URL + pos, function (result) { 102 | if (result !== null) { 103 | //回调数据 104 | callback(result) 105 | } 106 | //请求网络数据 107 | request(pos, function (response) { 108 | let gankDataArray = [] 109 | for (let i = 0; i < response.length; i++) { 110 | let id = response[i].id 111 | let date = response[i].date 112 | let imgUrl = response[i].imgUrl 113 | let author = response[i].author 114 | let results = response[i].details.results 115 | let gankData = new GankData(date, author, imgUrl, results) 116 | gankDataArray.push(gankData) 117 | } 118 | console.log(gankDataArray) 119 | //再次回调数据 120 | callback(gankDataArray) 121 | //保存缓存 122 | saveLocalCache(DATA_URL + pos, gankDataArray) 123 | }) 124 | }, function (error) { 125 | 126 | }) 127 | } else { 128 | //请求网络数据 129 | request(pos, function (response) { 130 | let gankDataArray = [] 131 | for (let i = 0; i < response.length; i++) { 132 | let id = response[i].id 133 | let date = response[i].date 134 | let imgUrl = response[i].imgUrl 135 | let author = response[i].author 136 | let results = response[i].details.results 137 | let gankData = new GankData(date, author, imgUrl, results) 138 | gankDataArray.push(gankData) 139 | } 140 | console.log('2 >> ' + gankDataArray) 141 | //回调数据 142 | callback(result) 143 | }) 144 | } 145 | 146 | } 147 | -------------------------------------------------------------------------------- /js/utils/DateUtils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | export function date2String(date) { 4 | if (date !== null && date instanceof Date) { 5 | return date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate(); 6 | } else { 7 | return '' 8 | } 9 | } -------------------------------------------------------------------------------- /js/utils/GankDataFactory.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import GankData from '../modle/GankData' 4 | 5 | export default class GankDataFactory { 6 | /** 7 | * url : 当天数据的图片 8 | * desc : 当前数据的概述 9 | * date : 日期 10 | * json : 当天数据的详情 11 | */ 12 | static creator(url, desc, date, json) { 13 | let result = json.json() 14 | return new GankData(date, desc, url, result.results) 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /js/utils/Request.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | //数据的链接 4 | export const DATA_URL = 'http://gank.io/api/data/福利/10/' 5 | //每天数据的链接 6 | const DAY_URL = 'http://gank.io/api/day' 7 | 8 | export function request (pos, response, error) { 9 | if (response === null) { 10 | return 11 | } 12 | if (pos < 1) { 13 | return 14 | } 15 | //结果数组 16 | let resultArray = [] 17 | 18 | fetch(DATA_URL + pos) 19 | .then(response => response.json()) 20 | .then(res => { 21 | let promiseArray = [] 22 | for (let i = 0; i < res.results.length; i++) { 23 | let result = res.results[i] 24 | let date = new Date(Date.parse(result.publishedAt)) 25 | resultArray.push({ 26 | id : result._id, 27 | date : date, 28 | imgUrl : result.url, 29 | author : result.who, 30 | details : undefined 31 | }) 32 | 33 | if (date !== null && date instanceof Date) { 34 | let year = date.getFullYear() 35 | //此处需要加一 因为一月份是0 36 | let month = date.getMonth() + 1 37 | let day = date.getDate() 38 | promiseArray.push(fetch(DAY_URL + '/' + year + '/' + month + '/' + day)) 39 | } 40 | } 41 | if (promiseArray.length == 0) { 42 | throw new Error('没有数据!!') 43 | } else { 44 | return Promise.all(promiseArray) 45 | } 46 | }) 47 | .then(response => { 48 | let promiseArray = [] 49 | for (let i = 0; i < response.length; i++) { 50 | promiseArray.push(response[i].json()) 51 | } 52 | return Promise.all(promiseArray) 53 | }) 54 | .then(res => { 55 | for (let i = 0; i < resultArray.length; i++) { 56 | resultArray[i].details = res[i] 57 | } 58 | response(resultArray) 59 | }) 60 | .catch(function(e) { 61 | error(e) 62 | }); 63 | } -------------------------------------------------------------------------------- /js/utils/Stroage.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import { 4 | AsyncStorage 5 | } from 'react-native' 6 | 7 | /** 8 | * 获取本地缓存 9 | * */ 10 | export function getLocalCache(key, callBack) { 11 | AsyncStorage.getItem(key).then((cache, error) => { 12 | if (error) { 13 | //返回为空数据 14 | callBack(null); 15 | return 16 | } 17 | //返回数据 18 | callBack(JSON.parse(cache, dateReviver)) 19 | }) 20 | } 21 | 22 | /** 23 | * 将日期字符串转化成Date 24 | * */ 25 | function dateReviver(key, value) { 26 | var a; 27 | if (typeof value === 'string') { 28 | a = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); 29 | if (a) { 30 | return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], 31 | +a[5], +a[6])); 32 | } 33 | } 34 | return value; 35 | } 36 | 37 | /** 38 | * 保存缓存到本地 39 | * */ 40 | export function saveLocalCache(key, obj, callBack = never) { 41 | let result = JSON.stringify(obj) 42 | AsyncStorage.setItem(key, result, function (error) { 43 | callBack(!error); 44 | }) 45 | } -------------------------------------------------------------------------------- /js/view/ActionBar.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import React, {Component} from 'React'; 4 | import Icon from 'react-native-vector-icons/Ionicons'; 5 | import { 6 | StyleSheet, 7 | View, 8 | Text, 9 | Image, 10 | Dimensions 11 | } from 'react-native'; 12 | 13 | const {width} = Dimensions.get('window'); 14 | 15 | export default class ActionBar extends Component { 16 | constructor(props){ 17 | super(props) 18 | this.state = { 19 | title: this.props.title 20 | } 21 | } 22 | 23 | render() { 24 | return( 25 | 26 | 27 | {this.state.title} 28 | 29 | ); 30 | } 31 | } 32 | 33 | const Styles = StyleSheet.create({ 34 | bar: { 35 | width, 36 | height : 48, 37 | flexDirection: "row", 38 | alignItems: 'center' 39 | }, 40 | title : { 41 | fontSize: 14, 42 | color : "black", 43 | marginLeft: 8 44 | }, 45 | back: { 46 | marginLeft: 8 47 | } 48 | }); 49 | -------------------------------------------------------------------------------- /js/view/DetailItem.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import React, { Component } from 'react' 4 | import { View, Text, Dimensions, StyleSheet, TouchableHighlight, Image } from 'react-native' 5 | import GankData from '../modle/GankData' 6 | 7 | /** 8 | * 参数 gankData 指定内容数据 9 | * */ 10 | export default class DetailItem extends Component { 11 | constructor(props) { 12 | super(props) 13 | this.state = { 14 | title: this.props.title, 15 | dataArray: this.props.gankBaseData 16 | } 17 | } 18 | 19 | _onPressButton() { 20 | //此处的this值不是指向DetailItem 21 | console.log(this.url) 22 | console.log(this.navigation) 23 | const { navigate } = this.navigation; 24 | navigate('WebView', { url: this.url, title : this.desc}) 25 | } 26 | 27 | renderImage(images) { 28 | if (images !== undefined && images !== null && images.length > 0) { 29 | return ( 30 | 33 | ) 34 | } 35 | } 36 | 37 | renderItems() { 38 | let items = [] 39 | let that = this 40 | for (let pos = 0; pos < this.state.dataArray.length; pos++) { 41 | let element = this.state.dataArray[pos] 42 | items.push 43 | ( 44 | 45 | 46 | {' - ' + element.desc} 47 | {'(' + element.who + ')'} 48 | 49 | {that.renderImage(element.images)} 50 | 51 | ) 52 | } 53 | return items 54 | } 55 | render() { 56 | console.log('renderItems >> render') 57 | return ( 58 | 59 | {this.state.title} 60 | {this.renderItems().map((items) => items)} 61 | 62 | 63 | ) 64 | } 65 | } 66 | 67 | const Styles = StyleSheet.create({ 68 | //根布局 69 | root: { 70 | 71 | }, 72 | //标题 73 | title: { 74 | fontSize: 20, 75 | marginLeft: 6, 76 | color: '#2f4f4f' 77 | }, 78 | //正文 79 | content: { 80 | alignItems: 'center', 81 | flexDirection: 'row', 82 | flexWrap: 'wrap', 83 | color: 'white', 84 | marginLeft: 24, 85 | marginTop: 12 86 | }, 87 | contentLink: { 88 | fontSize: 12, 89 | color: 'white', 90 | marginRight: 2 91 | }, 92 | itemImg: { 93 | width: 90, 94 | height: 90, 95 | resizeMode: 'cover', 96 | marginLeft: 40 97 | }, 98 | //描述 99 | contentDesc: { 100 | fontSize: 14, 101 | color: '#f5f5f5' 102 | }, 103 | //作者 104 | contentAuthor: { 105 | marginLeft: 2, 106 | fontSize: 10, 107 | color: '#666666' 108 | } 109 | }) -------------------------------------------------------------------------------- /js/view/GankCard.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import React, { Component } from 'react' 4 | import { View, Image, Text, ScrollView, Dimensions, StyleSheet, Animated } from 'react-native' 5 | import GankData from '../modle/GankData' 6 | import GankDataFactory from '../utils/GankDataFactory' 7 | import { date2String } from '../utils/DateUtils' 8 | import DetailItem from '../view/DetailItem' 9 | 10 | //屏幕参数 11 | const { width, height } = Dimensions.get('window'); 12 | //统一对于左边的边距 13 | const MARGIN_LEFT = 10 14 | //图片的高度 15 | const IMG_HEIGHT = (2 / 3) * height; 16 | 17 | /** 18 | * 参数 gankData 指定内容数据 19 | * */ 20 | export default class GankCard extends Component { 21 | constructor(props) { 22 | super(props) 23 | this.gankData = this.props.gankData; 24 | this.state = { 25 | date: this.gankData.date, 26 | imgUrl: this.gankData.url, 27 | desc: this.gankData.desc, 28 | detailData: this.gankData.results, 29 | headOpacity: 1 30 | } 31 | } 32 | 33 | renderDetails() { 34 | let details = [] 35 | let that = this 36 | for (let variable in this.state.detailData) { 37 | details.push() 38 | } 39 | return details 40 | } 41 | 42 | _onScorll(event) { 43 | const { nativeEvent } = event; 44 | let y = nativeEvent.contentOffset.y 45 | if (y > IMG_HEIGHT) { 46 | y = IMG_HEIGHT; 47 | } 48 | //图片的高度 49 | let rate = (IMG_HEIGHT - y) / IMG_HEIGHT; 50 | // console.log(this.state.headOpacity) 51 | if (rate > 0.9) { 52 | rate = 1 53 | } else if (rate < 0.1) { 54 | rate = 0 55 | } 56 | this.setState({ 57 | headOpacity: rate 58 | }) 59 | } 60 | 61 | render() { 62 | return ( 63 | 64 | 65 | 66 | 67 | {this.state.desc} 68 | {date2String(this.state.date)} 69 | 70 | 71 | 72 | 73 | {this.renderDetails().map((item) => item)} 74 | 75 | 76 | 77 | ); 78 | } 79 | } 80 | 81 | const Styles = StyleSheet.create({ 82 | root: { 83 | width: width, 84 | height: height 85 | }, 86 | headdetail: { 87 | position: "absolute", 88 | left: 0, 89 | top: 0, 90 | right: 0, 91 | bottom: 0, 92 | height: IMG_HEIGHT 93 | }, 94 | scrollView: { 95 | position: "absolute", 96 | left: 0, 97 | top: 0, 98 | right: 0, 99 | bottom: 0, 100 | flex: 1 101 | }, 102 | scrollViewTop : { 103 | width: width, 104 | height: IMG_HEIGHT 105 | }, 106 | scrollViewItem: { 107 | flex: 1, 108 | backgroundColor: '#ff6347' 109 | }, 110 | //顶部图片 111 | headImg: { 112 | width: width, 113 | height: IMG_HEIGHT, 114 | resizeMode: 'cover' 115 | }, 116 | //顶部描述 117 | headDesc: { 118 | fontSize: 30, 119 | color: 'white', 120 | left: MARGIN_LEFT 121 | }, 122 | //顶部日期 123 | headDate: { 124 | fontSize: 30, 125 | color: 'white', 126 | marginLeft: MARGIN_LEFT 127 | }, 128 | //数据间隔 129 | detailItem: { 130 | marginTop: 30 131 | } 132 | }); -------------------------------------------------------------------------------- /js/view/Home.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import React, { Component } from 'react' 4 | import GankCard from './GankCard' 5 | import Swiper from 'react-native-swiper' 6 | import Webview from '../view/Webview' 7 | import ActionBar from '../view/ActionBar' 8 | import DataPresenter from '../presenter/DataPresenter' 9 | import { 10 | View, 11 | StyleSheet, 12 | Text, 13 | Dimensions, 14 | StatusBar 15 | } from 'react-native'; 16 | //屏幕参数 17 | const { width, height } = Dimensions.get('window'); 18 | 19 | export default class Home extends Component { 20 | constructor(props) { 21 | super(props) 22 | this.dataPresenter = new DataPresenter() 23 | this.state = { 24 | gankDataArray: [] 25 | } 26 | } 27 | 28 | componentDidMount() { 29 | console.log('componentDidMount') 30 | this.dataPresenter.requestGankData((tip, result) => { 31 | console.log("result >> " + tip); 32 | console.log(result); 33 | this.setState({ 34 | gankDataArray: result 35 | }) 36 | }); 37 | } 38 | 39 | renderSegment() { 40 | let segments = [] 41 | let that = this 42 | this.state.gankDataArray.forEach(function (element) { 43 | segments.push() 44 | }) 45 | return segments 46 | } 47 | //滑动到最后 48 | _onMomentumScrollEnd(e, state, context) { 49 | //到达 50 | if (state.index == this.state.gankDataArray.length - 1) { 51 | console.log('到达最右面') 52 | this.dataPresenter.requestGankData((tip, result) => { 53 | console.log(tip) 54 | this.setState({ 55 | gankDataArray: result 56 | }) 57 | }); 58 | } 59 | } 60 | 61 | renderState() { 62 | if (this.state.gankDataArray.length == 0) { 63 | return (正在加载数据中... ) 64 | } else { 65 | return ( 66 | 67 | {this.renderSegment().map((segment) => segment)} 68 | 69 | ) 70 | } 71 | } 72 | render() { 73 | console.log('render') 74 | return ( 75 | 76 | 80 | {this.renderState()} 81 | 82 | ); 83 | } 84 | } 85 | // 86 | 87 | const Styles = StyleSheet.create({ 88 | root: { 89 | width: width, 90 | height: height 91 | }, 92 | actionBar: { 93 | position: 'absolute', 94 | left: 0, 95 | top: 0, 96 | height: 48, 97 | width: width 98 | }, 99 | swiper: { 100 | position: 'absolute', 101 | left: 0, 102 | top: 0 103 | } 104 | }); -------------------------------------------------------------------------------- /js/view/Index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React, { Component } from 'react'; 4 | import Home from '../view/Home' 5 | import Webview from '../view/Webview' 6 | import { 7 | AppRegistry, 8 | View, 9 | Text 10 | } from 'react-native' 11 | 12 | import { StackNavigator } from 'react-navigation'; 13 | 14 | export default class GankioClient extends Component { 15 | static navigationOptions = { 16 | //标题栏直接不显示了 17 | header : null 18 | } 19 | 20 | constructor(props) { 21 | super(props) 22 | } 23 | 24 | render() { 25 | return ( 26 | 27 | ) 28 | } 29 | } 30 | 31 | const GankioClientApp = StackNavigator({ 32 | Home: { screen: GankioClient }, 33 | WebView: { screen : Webview} 34 | }, { 35 | 36 | }); 37 | 38 | AppRegistry.registerComponent('GankioClient', () => GankioClientApp); -------------------------------------------------------------------------------- /js/view/Webview.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import React, { Component } from 'react'; 4 | import Icon from 'react-native-vector-icons/Ionicons'; 5 | import { 6 | WebView, 7 | TouchableHighlight, 8 | StyleSheet 9 | } from 'react-native'; 10 | 11 | 12 | export default class Webview extends Component { 13 | static navigationOptions = ({ navigation }) => ({ 14 | title: navigation.state.params.title, 15 | headerLeft: ( 16 | navigation.goBack()}> 17 | 18 | 19 | ), 20 | headerStyle: { backgroundColor: '#ff6347' }, 21 | headerTitleStyle: { color: '#f5f5f5' } 22 | }); 23 | constructor(props) { 24 | super(props) 25 | this.state = { 26 | url: this.props.navigation.state.params.url 27 | } 28 | } 29 | 30 | render() { 31 | return ( 32 | 33 | ); 34 | } 35 | } 36 | 37 | const Styles = StyleSheet.create({ 38 | back: { 39 | marginLeft: 8 40 | } 41 | }); -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "allowSyntheticDefaultImports": true 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /mintty.exe.stackdump: -------------------------------------------------------------------------------- 1 | Exception: STATUS_IN_PAGE_ERROR at rip=7FF91D60F540 2 | rax=0000000004C4000C rbx=0000000004C2C030 rcx=0000000000000000 3 | rdx=0000000004C2BD00 rsi=00000000000AE912 rdi=0000000004C2C188 4 | r8 =0000000000000000 r9 =0000000004C2BCC0 r10=00000000041FFA80 5 | r11=0000000004C2BD40 r12=0000000004C40000 r13=0000000004C40000 6 | r14=0000000004225930 r15=0000000004225930 7 | rbp=0000000004C2C060 rsp=0000000004C2BD50 8 | program=C:\Program Files\Git\usr\bin\mintty.exe, pid 20620, thread unknown (0x55A0) 9 | cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B 10 | Stack trace: 11 | Frame Function Args 12 | 00004C2C060 7FF91D60F540 (00004C2C030, 00001337953, 00004C2C060, 00004C2C030) 13 | 000000AE912 7FF91D60C002 (00004225918, 00004C40000, 00004C2C188, 00004C2C158) 14 | 00004225918 7FF91D60602D (000041FDFA8, 00004200290, 00000000000, 00000000000) 15 | 00004200290 7FF91D5C40DA (000041FDFA8, 00004200290, 0000420EB28, 00004115250) 16 | 00004200290 7FF91D5C5676 (00004C2CE00, 00004200290, 0018004428B, 00004200290) 17 | 00004200290 7FF91D5C54E5 (00180045792, 00000000000, 00000000000, 00004C2CD50) 18 | 00004200290 7FF91D7FDC53 (00004200290, 00004C2CD50, 00004200290, 7FF91D7FDC68) 19 | 00004200290 7FF91D7FDD07 (00000000000, 00000000000, 00000000000, 00000000000) 20 | 00004200290 00180045873 (00000000000, 00000000000, 00000000000, 00000000000) 21 | 00000000000 00180045924 (00000000000, 00000000000, 00000000000, 00000000000) 22 | 00000000000 7FF93F278364 (00000000000, 00000000000, 00000000000, 00000000000) 23 | 00000000000 7FF941C070D1 (00000000000, 00000000000, 00000000000, 00000000000) 24 | End of stack trace 25 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GankioClient", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "ios": "react-native run-ios", 8 | "android": "react-native run-android", 9 | "test": "jest" 10 | }, 11 | "dependencies": { 12 | "react": "16.0.0-alpha.6", 13 | "react-native": "0.44.2", 14 | "react-native-vector-icons": "^4.2.0", 15 | "react-navigation": "^1.0.0-beta.11" 16 | }, 17 | "devDependencies": { 18 | "babel-jest": "20.0.3", 19 | "babel-preset-react-native": "1.9.2", 20 | "jest": "20.0.4", 21 | "react-test-renderer": "16.0.0-alpha.6" 22 | }, 23 | "jest": { 24 | "preset": "react-native" 25 | } 26 | } 27 | --------------------------------------------------------------------------------