├── .watchmanconfig ├── .gitattributes ├── .babelrc ├── app.json ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── Feather.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── toastandhuddemo │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── ios ├── ToastAndHudDemo │ ├── Images.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.h │ ├── main.m │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── ToastAndHudDemoTests │ ├── Info.plist │ └── ToastAndHudDemoTests.m ├── ToastAndHudDemo-tvOSTests │ └── Info.plist ├── ToastAndHudDemo-tvOS │ └── Info.plist └── ToastAndHudDemo.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── ToastAndHudDemo.xcscheme │ │ └── ToastAndHudDemo-tvOS.xcscheme │ └── project.pbxproj ├── .buckconfig ├── index.js ├── __tests__ └── App.js ├── package.json ├── .gitignore ├── LICENSE ├── Loading.js ├── .flowconfig ├── Toast.js ├── App.js └── README.md /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToastAndHudDemo", 3 | "displayName": "ToastAndHudDemo" 4 | } -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ToastAndHudDemo 3 | 4 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('ToastAndHudDemo', () => App); 5 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guangqiang-liu/react-native-toastAndLoading/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /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/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ToastAndHudDemo' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/toastandhuddemo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.toastandhuddemo; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "ToastAndHudDemo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/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/ToastAndHudDemo/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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ToastAndHudDemo", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.0.0", 11 | "react-native": "0.51.0", 12 | "react-native-root-siblings": "^2.2.0", 13 | "react-native-root-toast": "^2.2.1", 14 | "react-native-vector-icons": "^4.4.2" 15 | }, 16 | "devDependencies": { 17 | "babel-jest": "21.2.0", 18 | "babel-preset-react-native": "4.0.0", 19 | "jest": "21.2.1", 20 | "react-test-renderer": "16.0.0" 21 | }, 22 | "jest": { 23 | "preset": "react-native" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/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/ToastAndHudDemoTests/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/ToastAndHudDemo-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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 guangqiang-liu 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Loading.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by guangqiang on 2017/12/12. 3 | */ 4 | import React, {Component} from 'react' 5 | import {View, StyleSheet, ActivityIndicator, Dimensions} from 'react-native' 6 | import RootSiblings from 'react-native-root-siblings' 7 | const width = Dimensions.get('window').width 8 | const height = Dimensions.get('window').height 9 | 10 | let sibling = undefined 11 | 12 | const Loading = { 13 | 14 | show: () => { 15 | sibling = new RootSiblings( 16 | 17 | 18 | 19 | 20 | 21 | ) 22 | }, 23 | 24 | hidden: ()=> { 25 | if (sibling instanceof RootSiblings) { 26 | sibling.destroy() 27 | } 28 | } 29 | 30 | } 31 | 32 | const styles = StyleSheet.create({ 33 | maskStyle: { 34 | position: 'absolute', 35 | backgroundColor: 'rgba(0, 0, 0, 0.3)', 36 | width: width, 37 | height: height, 38 | alignItems: 'center', 39 | justifyContent: 'center' 40 | }, 41 | backViewStyle: { 42 | backgroundColor: '#111', 43 | width: 120, 44 | height: 100, 45 | justifyContent: 'center', 46 | alignItems: 'center', 47 | borderRadius: 5, 48 | } 49 | } 50 | ) 51 | 52 | export {Loading} -------------------------------------------------------------------------------- /android/app/src/main/java/com/toastandhuddemo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.toastandhuddemo; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.oblador.vectoricons.VectorIconsPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | 12 | import java.util.Arrays; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 18 | @Override 19 | public boolean getUseDeveloperSupport() { 20 | return BuildConfig.DEBUG; 21 | } 22 | 23 | @Override 24 | protected List getPackages() { 25 | return Arrays.asList( 26 | new MainReactPackage(), 27 | new VectorIconsPackage() 28 | ); 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"ToastAndHudDemo" 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 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-7]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-7]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.57.0 49 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo-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 | -------------------------------------------------------------------------------- /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.toastandhuddemo", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.toastandhuddemo", 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 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ToastAndHudDemo 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 | Feather.ttf 59 | FontAwesome.ttf 60 | Foundation.ttf 61 | Ionicons.ttf 62 | MaterialCommunityIcons.ttf 63 | MaterialIcons.ttf 64 | Octicons.ttf 65 | SimpleLineIcons.ttf 66 | Zocial.ttf 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemoTests/ToastAndHudDemoTests.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 ToastAndHudDemoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ToastAndHudDemoTests 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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /Toast.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by guangqiang on 2017/12/12. 3 | */ 4 | import React, {Component} from 'react' 5 | import RootToast from 'react-native-root-toast' 6 | import {View, Text, Platform, StyleSheet} from 'react-native' 7 | import Icon from 'react-native-vector-icons/FontAwesome' 8 | 9 | const Toast = { 10 | 11 | toast: null, 12 | 13 | show: msg => { 14 | this.toast = RootToast.show(msg, { 15 | position: 0, 16 | duration: 1500 17 | }) 18 | }, 19 | 20 | showLong: msg => { 21 | this.toast = RootToast.show(msg, { 22 | position: 0, 23 | duration: 2000 24 | }) 25 | }, 26 | 27 | showSuccess: (msg, options) => { 28 | let toast = RootToast.show( 29 | Platform.OS === 'ios' ? 30 | 31 | 32 | {msg} 33 | : msg, { 34 | duration: 1500, 35 | position: RootToast.positions.CENTER, 36 | ...options, 37 | }) 38 | setTimeout(function () { 39 | RootToast.hide(toast) 40 | typeof options === 'function' ? options && options(): null 41 | }, 2000) 42 | }, 43 | 44 | showLongSuccess: (msg, options) => { 45 | let toast = RootToast.show( 46 | Platform.OS === 'ios' ? 47 | 48 | 49 | {msg} 50 | : msg, { 51 | duration: 2000, 52 | position: RootToast.positions.CENTER, 53 | ...options, 54 | }) 55 | setTimeout(function () { 56 | RootToast.hide(toast) 57 | typeof options === 'function' ? options && options(): null 58 | }, 2500) 59 | }, 60 | 61 | showWarning: (msg, options) => { 62 | let toast = RootToast.show( 63 | Platform.OS === 'ios' ? 64 | 65 | 66 | {msg} 67 | : msg, { 68 | duration: RootToast.durations.SHORT, 69 | position: RootToast.positions.CENTER, 70 | ...options, 71 | }) 72 | setTimeout(function () { 73 | RootToast.hide(toast) 74 | }, RootToast.durations.SHORT + 500) 75 | }, 76 | 77 | showError: (msg, options) => { 78 | let toast = RootToast.show( 79 | Platform.OS === 'ios' ? 80 | 81 | 82 | {msg} 83 | : msg, { 84 | duration: RootToast.durations.SHORT, 85 | position: RootToast.positions.CENTER, 86 | ...options, 87 | }) 88 | setTimeout(function () { 89 | RootToast.hide(toast) 90 | }, RootToast.durations.SHORT + 500) 91 | } 92 | 93 | } 94 | 95 | var styles = StyleSheet.create({ 96 | container: { 97 | width: 140, 98 | height: 120, 99 | alignItems: 'center', 100 | justifyContent: 'center', 101 | }, 102 | message: { 103 | color: '#fff', 104 | marginTop: 10, 105 | textAlign: 'center', 106 | lineHeight: 20, 107 | } 108 | }) 109 | 110 | export {Toast} -------------------------------------------------------------------------------- /ios/ToastAndHudDemo/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 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by guangqiang on 2017/12/12. 3 | */ 4 | import React, { Component } from 'react' 5 | import { 6 | StyleSheet, 7 | Text, 8 | View, 9 | TouchableOpacity, 10 | Dimensions 11 | } from 'react-native' 12 | import {Toast} from './Toast' 13 | import {Loading} from './Loading' 14 | const width = Dimensions.get('window').width 15 | 16 | export default class App extends Component { 17 | 18 | toast(type) { 19 | switch (type) { 20 | case 'show': 21 | Toast.show('这是show类型') 22 | break 23 | case 'showLong': 24 | Toast.showLong('这是showLong类型') 25 | break 26 | case 'showSuccess': 27 | Toast.showSuccess('这是showSuccess类型') 28 | break 29 | case 'showSuccessCallback': 30 | Toast.showSuccess('这是showSuccessCallback类型', () => alert('回调成功!')) 31 | break 32 | case 'showLongSuccess': 33 | Toast.showLongSuccess('这是showLongSuccess类型') 34 | break 35 | case 'showLongSuccessCallback': 36 | Toast.showLongSuccess('这是showLongSuccessCallback类型', () => alert('回调成功!')) 37 | break 38 | case 'showWarning': 39 | Toast.showWarning('这是showWarning类型') 40 | break 41 | case 'showError': 42 | Toast.showError('这是showError类型') 43 | break 44 | } 45 | } 46 | 47 | hud(type) { 48 | if (type === 'show') { 49 | Loading.show() 50 | setTimeout(function () { 51 | Loading.hidden() 52 | }, 5000) 53 | } else { 54 | Loading.hidden() 55 | } 56 | } 57 | 58 | render() { 59 | return ( 60 | 61 | Toast 62 | this.toast('show')} 65 | > 66 | show 67 | 68 | this.toast('showLong')} 71 | > 72 | showLong 73 | 74 | this.toast('showSuccess')} 77 | > 78 | showSuccess 79 | 80 | this.toast('showSuccessCallback')} 83 | > 84 | showSuccess带函数回调 85 | 86 | this.toast('showLongSuccess')} 89 | > 90 | showLongSuccess 91 | 92 | this.toast('showLongSuccessCallback')} 95 | > 96 | showLongSuccess带函数回调 97 | 98 | this.toast('showWarning')} 101 | > 102 | showWarning 103 | 104 | this.toast('showError')} 107 | > 108 | showError 109 | 110 | HUD 111 | this.hud('show')} 114 | > 115 | showHud 116 | 117 | 118 | this.hud('hidden')} 121 | > 122 | hiddenHud 123 | 124 | 125 | 126 | ) 127 | } 128 | } 129 | 130 | const styles = StyleSheet.create({ 131 | container: { 132 | flex: 1, 133 | justifyContent: 'center', 134 | alignItems: 'center', 135 | backgroundColor: '#F5FCFF', 136 | }, 137 | welcome: { 138 | fontSize: 20, 139 | textAlign: 'center', 140 | margin: 10, 141 | }, 142 | text: { 143 | width: width - 40, 144 | paddingVertical: 6, 145 | backgroundColor: '#ccc', 146 | marginVertical: 10, 147 | justifyContent: 'center', 148 | alignItems: 'center' 149 | } 150 | }) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-toastAndLoading 2 | 封装一个基于iOS与Android双平台的Toast组件和加载Loading组件 3 | 4 | # React Native开发封装Toast与加载Loading组件 5 | 在App开发中,我们避免不了使用的两个组件,一个Toast,一个网络加载Loading,在RN开发中,也是一样,React Native官方并没有提供者这两个常用组件,需要开发者自己根据需求来自定义。作者就在其他组件的基础上在进行二次封装,使用起来更加简单,更具扩展性,同学们只需将Toast与Loading文件拖到项目中,install对应的组件库即可 6 | 7 | # 效果图 8 | ![gif](http://ovyjkveav.bkt.clouddn.com/17-12-12/81345232.jpg) 9 | 10 | # 简书地址 11 | [http://www.jianshu.com/p/38e51e7de7e3](http://www.jianshu.com/p/38e51e7de7e3) 12 | 13 | # Demo使用使用到的三方组件 14 | * react-native-root-toast:用来显示toast 15 | * react-native-root-siblings:用来Loading在App最上层添加视图 16 | * react-native-vector-icons:IconFont 17 | 18 | # 注意 19 | `react-native-vector-icons` 需要link 才能使用,同学们需要注意 20 | 21 | # Toast组件 22 | toast组件这里作者分类8种不同的使用场景,目前能想到的就这多场景了,后面同学们有其他场景,可以自行添加即可,Toast组件中使用到的Icon图标,同学们也可以自行修改 23 | 24 | * 只显示最简单的文本的toast 25 | * 只显示最简单的文本的长toast,显示时长 + 500毫秒 26 | * 显示success的toast,success的Toast带有一个成功的对号icon 27 | * 显示success的toast,支持回调,使用场景类似于登录成功,显示1500毫秒toast,然后在回调函数中跳转到其他页面 28 | * 显示success的长toast,显示时长 + 500毫秒 29 | * 显示success的长toast,显示时长 + 500毫秒,支持回调,使用场景类似于登录成功,显示1000毫秒toast,然后跳转到其他页面 30 | * 显示warning的toast,使用场景类似于登录表单,手机号填写错误 31 | * 显示报错的toast,使用场景类似于登录表单,提交表单失败 32 | 33 | # Loading组件 34 | Loading组件最常用的使用场景就是网络请求时,数据还没有请求回来之前,页面最上层显示一个正在加载的loading框,一来能够防止用户在网络请求时又做其他的操作,二来可以给用户一个更好的体验,不至于页面空白,显得突兀 35 | 36 | * loading支持手动调用显示:show() 37 | * 支持手动关闭显示:hidden() 38 | 39 | 这里作者建议使用redux来控制Loading的显示与隐藏,这样不用在每一个需要网络请求的页面都手动去调用显示与隐藏,更高端的Loading使用技巧可以参照作者的[React Native开发项目:OneM](https://github.com/guangqiang-liu/OneM) 40 | 41 | # Toast核心源码 42 | 43 | ``` 44 | const Toast = { 45 | 46 | toast: null, 47 | 48 | show: msg => { 49 | this.toast = RootToast.show(msg, { 50 | position: 0, 51 | duration: 1500 52 | }) 53 | }, 54 | 55 | showLong: msg => { 56 | this.toast = RootToast.show(msg, { 57 | position: 0, 58 | duration: 2000 59 | }) 60 | }, 61 | 62 | showSuccess: (msg, options) => { 63 | let toast = RootToast.show( 64 | Platform.OS === 'ios' ? 65 | 66 | 67 | {msg} 68 | : msg, { 69 | duration: 1500, 70 | position: RootToast.positions.CENTER, 71 | ...options, 72 | }) 73 | setTimeout(function () { 74 | RootToast.hide(toast) 75 | typeof options === 'function' ? options && options(): null 76 | }, 2000) 77 | }, 78 | 79 | showLongSuccess: (msg, options) => { 80 | let toast = RootToast.show( 81 | Platform.OS === 'ios' ? 82 | 83 | 84 | {msg} 85 | : msg, { 86 | duration: 2000, 87 | position: RootToast.positions.CENTER, 88 | ...options, 89 | }) 90 | setTimeout(function () { 91 | RootToast.hide(toast) 92 | typeof options === 'function' ? options && options(): null 93 | }, 2500) 94 | }, 95 | 96 | showWarning: (msg, options) => { 97 | let toast = RootToast.show( 98 | Platform.OS === 'ios' ? 99 | 100 | 101 | {msg} 102 | : msg, { 103 | duration: RootToast.durations.SHORT, 104 | position: RootToast.positions.CENTER, 105 | ...options, 106 | }) 107 | setTimeout(function () { 108 | RootToast.hide(toast) 109 | }, RootToast.durations.SHORT + 500) 110 | }, 111 | 112 | showError: (msg, options) => { 113 | let toast = RootToast.show( 114 | Platform.OS === 'ios' ? 115 | 116 | 117 | {msg} 118 | : msg, { 119 | duration: RootToast.durations.SHORT, 120 | position: RootToast.positions.CENTER, 121 | ...options, 122 | }) 123 | setTimeout(function () { 124 | RootToast.hide(toast) 125 | }, RootToast.durations.SHORT + 500) 126 | } 127 | 128 | } 129 | ``` 130 | 131 | # Loading核心源码 132 | 133 | ``` 134 | const HUD = { 135 | 136 | show: () => { 137 | sibling = new RootSiblings( 138 | 139 | 140 | 141 | 142 | 143 | ) 144 | }, 145 | 146 | hidden: ()=> { 147 | if (sibling instanceof RootSiblings) { 148 | sibling.destroy() 149 | } 150 | } 151 | 152 | } 153 | ``` 154 | 155 | # 福利时间 156 | * 作者React Native开源项目OneM地址(按照企业开发标准搭建框架完成开发的):**[https://github.com/guangqiang-liu/OneM](https://github.com/guangqiang-liu/OneM)**:欢迎小伙伴们 **star** 157 | * 作者简书主页:包含50多篇RN开发相关的技术文章[http://www.jianshu.com/u/023338566ca5](http://www.jianshu.com/u/023338566ca5) 欢迎小伙伴们:**多多关注**,**多多点赞** 158 | * 作者React Native QQ技术交流群:**620792950** 欢迎小伙伴进群交流学习 159 | * 作者整理的React Native 学习视频大礼包:https://pan.baidu.com/s/1kVcgUzl 提取码:**ina5** 有需要的小伙伴请拿走不谢 160 | * 友情提示:**开发中有遇到RN相关的技术问题,欢迎小伙伴加入交流群,在群里提问、互相交流学习。交流群也定期更新最新的RN学习资料给大家,谢谢大家支持!** -------------------------------------------------------------------------------- /ios/ToastAndHudDemo.xcodeproj/xcshareddata/xcschemes/ToastAndHudDemo.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/ToastAndHudDemo.xcodeproj/xcshareddata/xcschemes/ToastAndHudDemo-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 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.toastandhuddemo" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | compile project(':react-native-vector-icons') 141 | compile fileTree(dir: "libs", include: ["*.jar"]) 142 | compile "com.android.support:appcompat-v7:23.0.1" 143 | compile "com.facebook.react:react-native:+" // From node_modules 144 | } 145 | 146 | // Run this once to be able to run the application with BUCK 147 | // puts all compile dependencies into folder libs for BUCK to use 148 | task copyDownloadableDepsToLibs(type: Copy) { 149 | from configurations.compile 150 | into 'libs' 151 | } 152 | -------------------------------------------------------------------------------- /ios/ToastAndHudDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 00E356F31AD99517003FC87E /* ToastAndHudDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ToastAndHudDemoTests.m */; }; 16 | 03A58A6E41E241CFA049736E /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7C2F5C710DAD4300B0C07A86 /* Feather.ttf */; }; 17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 26 | 2005FD864C794315963E400F /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B0CFF7D1B0F3435DB2652D8D /* Foundation.ttf */; }; 27 | 24E3F89458B04DF48AEAF661 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6B0DD65ADC1340A684B17604 /* MaterialCommunityIcons.ttf */; }; 28 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 29 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 30 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 31 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 32 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 33 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 34 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 35 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 36 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 37 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 38 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; }; 39 | 2DCD954D1E0B4F2C00145EB5 /* ToastAndHudDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ToastAndHudDemoTests.m */; }; 40 | 3F86C7F8CB2D4C5EA9A21A21 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3580BF2B9BCA4ACF922C8BA1 /* EvilIcons.ttf */; }; 41 | 51595CEB3B1E44C0B52A0CE0 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 812609C16CDE4563A991162A /* Ionicons.ttf */; }; 42 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 43 | 6091ABF3DF5048E59420BFAE /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B96E79064AD4460BB5333F03 /* Entypo.ttf */; }; 44 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 45 | 873C3A0D23D042F4AB9FF5A1 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A085697E7CA547BC9737FCFB /* Zocial.ttf */; }; 46 | 8A6A99D867494A878FBBF148 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C57F87FE25FE4F31B98A0774 /* Octicons.ttf */; }; 47 | 96D31E8441EA42CABD56118A /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EE97033BB46E43DFB2969D73 /* FontAwesome.ttf */; }; 48 | A1C370CCF9054D9EA5618676 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 22AC38CA57EB407DB25E25AA /* MaterialIcons.ttf */; }; 49 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 50 | D67153078D274270B9595D5D /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A4C923347C1456BA214B2F5 /* libRNVectorIcons.a */; }; 51 | EFBB2BB2CCAF4560A9E45185 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5441A5473E33497A9AD5317B /* SimpleLineIcons.ttf */; }; 52 | /* End PBXBuildFile section */ 53 | 54 | /* Begin PBXContainerItemProxy section */ 55 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 56 | isa = PBXContainerItemProxy; 57 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 58 | proxyType = 2; 59 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 60 | remoteInfo = RCTActionSheet; 61 | }; 62 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 63 | isa = PBXContainerItemProxy; 64 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 65 | proxyType = 2; 66 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 67 | remoteInfo = RCTGeolocation; 68 | }; 69 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 70 | isa = PBXContainerItemProxy; 71 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 72 | proxyType = 2; 73 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 74 | remoteInfo = RCTImage; 75 | }; 76 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 77 | isa = PBXContainerItemProxy; 78 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 79 | proxyType = 2; 80 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 81 | remoteInfo = RCTNetwork; 82 | }; 83 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 84 | isa = PBXContainerItemProxy; 85 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 86 | proxyType = 2; 87 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 88 | remoteInfo = RCTVibration; 89 | }; 90 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 91 | isa = PBXContainerItemProxy; 92 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 93 | proxyType = 1; 94 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 95 | remoteInfo = ToastAndHudDemo; 96 | }; 97 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 98 | isa = PBXContainerItemProxy; 99 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 100 | proxyType = 2; 101 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 102 | remoteInfo = RCTSettings; 103 | }; 104 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 105 | isa = PBXContainerItemProxy; 106 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 107 | proxyType = 2; 108 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 109 | remoteInfo = RCTWebSocket; 110 | }; 111 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 112 | isa = PBXContainerItemProxy; 113 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 114 | proxyType = 2; 115 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 116 | remoteInfo = React; 117 | }; 118 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 119 | isa = PBXContainerItemProxy; 120 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 121 | proxyType = 1; 122 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 123 | remoteInfo = "ToastAndHudDemo-tvOS"; 124 | }; 125 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 126 | isa = PBXContainerItemProxy; 127 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 128 | proxyType = 2; 129 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 130 | remoteInfo = "RCTImage-tvOS"; 131 | }; 132 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 133 | isa = PBXContainerItemProxy; 134 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 135 | proxyType = 2; 136 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 137 | remoteInfo = "RCTLinking-tvOS"; 138 | }; 139 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 140 | isa = PBXContainerItemProxy; 141 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 142 | proxyType = 2; 143 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 144 | remoteInfo = "RCTNetwork-tvOS"; 145 | }; 146 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 147 | isa = PBXContainerItemProxy; 148 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 149 | proxyType = 2; 150 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 151 | remoteInfo = "RCTSettings-tvOS"; 152 | }; 153 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 154 | isa = PBXContainerItemProxy; 155 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 156 | proxyType = 2; 157 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 158 | remoteInfo = "RCTText-tvOS"; 159 | }; 160 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 161 | isa = PBXContainerItemProxy; 162 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 163 | proxyType = 2; 164 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 165 | remoteInfo = "RCTWebSocket-tvOS"; 166 | }; 167 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 168 | isa = PBXContainerItemProxy; 169 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 170 | proxyType = 2; 171 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 172 | remoteInfo = "React-tvOS"; 173 | }; 174 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 175 | isa = PBXContainerItemProxy; 176 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 177 | proxyType = 2; 178 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 179 | remoteInfo = yoga; 180 | }; 181 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 182 | isa = PBXContainerItemProxy; 183 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 184 | proxyType = 2; 185 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 186 | remoteInfo = "yoga-tvOS"; 187 | }; 188 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 189 | isa = PBXContainerItemProxy; 190 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 191 | proxyType = 2; 192 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 193 | remoteInfo = cxxreact; 194 | }; 195 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 196 | isa = PBXContainerItemProxy; 197 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 198 | proxyType = 2; 199 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 200 | remoteInfo = "cxxreact-tvOS"; 201 | }; 202 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 203 | isa = PBXContainerItemProxy; 204 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 205 | proxyType = 2; 206 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 207 | remoteInfo = jschelpers; 208 | }; 209 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 210 | isa = PBXContainerItemProxy; 211 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 212 | proxyType = 2; 213 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 214 | remoteInfo = "jschelpers-tvOS"; 215 | }; 216 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 217 | isa = PBXContainerItemProxy; 218 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 219 | proxyType = 2; 220 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 221 | remoteInfo = RCTAnimation; 222 | }; 223 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 224 | isa = PBXContainerItemProxy; 225 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 226 | proxyType = 2; 227 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 228 | remoteInfo = "RCTAnimation-tvOS"; 229 | }; 230 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 231 | isa = PBXContainerItemProxy; 232 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 233 | proxyType = 2; 234 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 235 | remoteInfo = RCTLinking; 236 | }; 237 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 238 | isa = PBXContainerItemProxy; 239 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 240 | proxyType = 2; 241 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 242 | remoteInfo = RCTText; 243 | }; 244 | 8DA84DF91FDFBD2F00DCC01D /* PBXContainerItemProxy */ = { 245 | isa = PBXContainerItemProxy; 246 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 247 | proxyType = 2; 248 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 249 | remoteInfo = "RCTBlob-tvOS"; 250 | }; 251 | 8DA84E0B1FDFBD2F00DCC01D /* PBXContainerItemProxy */ = { 252 | isa = PBXContainerItemProxy; 253 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 254 | proxyType = 2; 255 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 256 | remoteInfo = fishhook; 257 | }; 258 | 8DA84E0D1FDFBD2F00DCC01D /* PBXContainerItemProxy */ = { 259 | isa = PBXContainerItemProxy; 260 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 261 | proxyType = 2; 262 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 263 | remoteInfo = "fishhook-tvOS"; 264 | }; 265 | 8DA84E101FDFBD2F00DCC01D /* PBXContainerItemProxy */ = { 266 | isa = PBXContainerItemProxy; 267 | containerPortal = 0F49CB6DCB514AE98AF093F4 /* RNVectorIcons.xcodeproj */; 268 | proxyType = 2; 269 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 270 | remoteInfo = RNVectorIcons; 271 | }; 272 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 273 | isa = PBXContainerItemProxy; 274 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 275 | proxyType = 2; 276 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 277 | remoteInfo = RCTBlob; 278 | }; 279 | /* End PBXContainerItemProxy section */ 280 | 281 | /* Begin PBXFileReference section */ 282 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 283 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 284 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 285 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 286 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 287 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 288 | 00E356EE1AD99517003FC87E /* ToastAndHudDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ToastAndHudDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 289 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 290 | 00E356F21AD99517003FC87E /* ToastAndHudDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ToastAndHudDemoTests.m; sourceTree = ""; }; 291 | 0F49CB6DCB514AE98AF093F4 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 292 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 293 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 294 | 13B07F961A680F5B00A75B9A /* ToastAndHudDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ToastAndHudDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 295 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ToastAndHudDemo/AppDelegate.h; sourceTree = ""; }; 296 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ToastAndHudDemo/AppDelegate.m; sourceTree = ""; }; 297 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 298 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ToastAndHudDemo/Images.xcassets; sourceTree = ""; }; 299 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ToastAndHudDemo/Info.plist; sourceTree = ""; }; 300 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ToastAndHudDemo/main.m; sourceTree = ""; }; 301 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 302 | 22AC38CA57EB407DB25E25AA /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 303 | 2D02E47B1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ToastAndHudDemo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 304 | 2D02E4901E0B4A5D006451C7 /* ToastAndHudDemo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ToastAndHudDemo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 305 | 3580BF2B9BCA4ACF922C8BA1 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 306 | 5441A5473E33497A9AD5317B /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 307 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 308 | 6A4C923347C1456BA214B2F5 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 309 | 6B0DD65ADC1340A684B17604 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 310 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 311 | 7C2F5C710DAD4300B0C07A86 /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; }; 312 | 812609C16CDE4563A991162A /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 313 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 314 | A085697E7CA547BC9737FCFB /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 315 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 316 | B0CFF7D1B0F3435DB2652D8D /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 317 | B96E79064AD4460BB5333F03 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 318 | C57F87FE25FE4F31B98A0774 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 319 | EE97033BB46E43DFB2969D73 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 320 | /* End PBXFileReference section */ 321 | 322 | /* Begin PBXFrameworksBuildPhase section */ 323 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 324 | isa = PBXFrameworksBuildPhase; 325 | buildActionMask = 2147483647; 326 | files = ( 327 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 328 | ); 329 | runOnlyForDeploymentPostprocessing = 0; 330 | }; 331 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 332 | isa = PBXFrameworksBuildPhase; 333 | buildActionMask = 2147483647; 334 | files = ( 335 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 336 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 337 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 338 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 339 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 340 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 341 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 342 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 343 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 344 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 345 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 346 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 347 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 348 | D67153078D274270B9595D5D /* libRNVectorIcons.a in Frameworks */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 353 | isa = PBXFrameworksBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | 2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */, 357 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 358 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 359 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 360 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 361 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 362 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 363 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | }; 367 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 368 | isa = PBXFrameworksBuildPhase; 369 | buildActionMask = 2147483647; 370 | files = ( 371 | ); 372 | runOnlyForDeploymentPostprocessing = 0; 373 | }; 374 | /* End PBXFrameworksBuildPhase section */ 375 | 376 | /* Begin PBXGroup section */ 377 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 378 | isa = PBXGroup; 379 | children = ( 380 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 381 | ); 382 | name = Products; 383 | sourceTree = ""; 384 | }; 385 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 386 | isa = PBXGroup; 387 | children = ( 388 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 389 | ); 390 | name = Products; 391 | sourceTree = ""; 392 | }; 393 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 394 | isa = PBXGroup; 395 | children = ( 396 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 397 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 398 | ); 399 | name = Products; 400 | sourceTree = ""; 401 | }; 402 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 403 | isa = PBXGroup; 404 | children = ( 405 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 406 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 407 | ); 408 | name = Products; 409 | sourceTree = ""; 410 | }; 411 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 412 | isa = PBXGroup; 413 | children = ( 414 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 415 | ); 416 | name = Products; 417 | sourceTree = ""; 418 | }; 419 | 00E356EF1AD99517003FC87E /* ToastAndHudDemoTests */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 00E356F21AD99517003FC87E /* ToastAndHudDemoTests.m */, 423 | 00E356F01AD99517003FC87E /* Supporting Files */, 424 | ); 425 | path = ToastAndHudDemoTests; 426 | sourceTree = ""; 427 | }; 428 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 429 | isa = PBXGroup; 430 | children = ( 431 | 00E356F11AD99517003FC87E /* Info.plist */, 432 | ); 433 | name = "Supporting Files"; 434 | sourceTree = ""; 435 | }; 436 | 07DF6B78524349A2B8001875 /* Resources */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | B96E79064AD4460BB5333F03 /* Entypo.ttf */, 440 | 3580BF2B9BCA4ACF922C8BA1 /* EvilIcons.ttf */, 441 | 7C2F5C710DAD4300B0C07A86 /* Feather.ttf */, 442 | EE97033BB46E43DFB2969D73 /* FontAwesome.ttf */, 443 | B0CFF7D1B0F3435DB2652D8D /* Foundation.ttf */, 444 | 812609C16CDE4563A991162A /* Ionicons.ttf */, 445 | 6B0DD65ADC1340A684B17604 /* MaterialCommunityIcons.ttf */, 446 | 22AC38CA57EB407DB25E25AA /* MaterialIcons.ttf */, 447 | C57F87FE25FE4F31B98A0774 /* Octicons.ttf */, 448 | 5441A5473E33497A9AD5317B /* SimpleLineIcons.ttf */, 449 | A085697E7CA547BC9737FCFB /* Zocial.ttf */, 450 | ); 451 | name = Resources; 452 | sourceTree = ""; 453 | }; 454 | 139105B71AF99BAD00B5F7CC /* Products */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 458 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 459 | ); 460 | name = Products; 461 | sourceTree = ""; 462 | }; 463 | 139FDEE71B06529A00C62182 /* Products */ = { 464 | isa = PBXGroup; 465 | children = ( 466 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 467 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 468 | 8DA84E0C1FDFBD2F00DCC01D /* libfishhook.a */, 469 | 8DA84E0E1FDFBD2F00DCC01D /* libfishhook-tvOS.a */, 470 | ); 471 | name = Products; 472 | sourceTree = ""; 473 | }; 474 | 13B07FAE1A68108700A75B9A /* ToastAndHudDemo */ = { 475 | isa = PBXGroup; 476 | children = ( 477 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 478 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 479 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 480 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 481 | 13B07FB61A68108700A75B9A /* Info.plist */, 482 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 483 | 13B07FB71A68108700A75B9A /* main.m */, 484 | ); 485 | name = ToastAndHudDemo; 486 | sourceTree = ""; 487 | }; 488 | 146834001AC3E56700842450 /* Products */ = { 489 | isa = PBXGroup; 490 | children = ( 491 | 146834041AC3E56700842450 /* libReact.a */, 492 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 493 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 494 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 495 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 496 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 497 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 498 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 499 | ); 500 | name = Products; 501 | sourceTree = ""; 502 | }; 503 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 504 | isa = PBXGroup; 505 | children = ( 506 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 507 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 508 | ); 509 | name = Products; 510 | sourceTree = ""; 511 | }; 512 | 78C398B11ACF4ADC00677621 /* Products */ = { 513 | isa = PBXGroup; 514 | children = ( 515 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 516 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 517 | ); 518 | name = Products; 519 | sourceTree = ""; 520 | }; 521 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 522 | isa = PBXGroup; 523 | children = ( 524 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 525 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 526 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 527 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 528 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 529 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 530 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 531 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 532 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 533 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 534 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 535 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 536 | 0F49CB6DCB514AE98AF093F4 /* RNVectorIcons.xcodeproj */, 537 | ); 538 | name = Libraries; 539 | sourceTree = ""; 540 | }; 541 | 832341B11AAA6A8300B99B32 /* Products */ = { 542 | isa = PBXGroup; 543 | children = ( 544 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 545 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 546 | ); 547 | name = Products; 548 | sourceTree = ""; 549 | }; 550 | 83CBB9F61A601CBA00E9B192 = { 551 | isa = PBXGroup; 552 | children = ( 553 | 13B07FAE1A68108700A75B9A /* ToastAndHudDemo */, 554 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 555 | 00E356EF1AD99517003FC87E /* ToastAndHudDemoTests */, 556 | 83CBBA001A601CBA00E9B192 /* Products */, 557 | 07DF6B78524349A2B8001875 /* Resources */, 558 | ); 559 | indentWidth = 2; 560 | sourceTree = ""; 561 | tabWidth = 2; 562 | usesTabs = 0; 563 | }; 564 | 83CBBA001A601CBA00E9B192 /* Products */ = { 565 | isa = PBXGroup; 566 | children = ( 567 | 13B07F961A680F5B00A75B9A /* ToastAndHudDemo.app */, 568 | 00E356EE1AD99517003FC87E /* ToastAndHudDemoTests.xctest */, 569 | 2D02E47B1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS.app */, 570 | 2D02E4901E0B4A5D006451C7 /* ToastAndHudDemo-tvOSTests.xctest */, 571 | ); 572 | name = Products; 573 | sourceTree = ""; 574 | }; 575 | 8DA84DF21FDFBD2F00DCC01D /* Products */ = { 576 | isa = PBXGroup; 577 | children = ( 578 | 8DA84E111FDFBD2F00DCC01D /* libRNVectorIcons.a */, 579 | ); 580 | name = Products; 581 | sourceTree = ""; 582 | }; 583 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 584 | isa = PBXGroup; 585 | children = ( 586 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 587 | 8DA84DFA1FDFBD2F00DCC01D /* libRCTBlob-tvOS.a */, 588 | ); 589 | name = Products; 590 | sourceTree = ""; 591 | }; 592 | /* End PBXGroup section */ 593 | 594 | /* Begin PBXNativeTarget section */ 595 | 00E356ED1AD99517003FC87E /* ToastAndHudDemoTests */ = { 596 | isa = PBXNativeTarget; 597 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ToastAndHudDemoTests" */; 598 | buildPhases = ( 599 | 00E356EA1AD99517003FC87E /* Sources */, 600 | 00E356EB1AD99517003FC87E /* Frameworks */, 601 | 00E356EC1AD99517003FC87E /* Resources */, 602 | ); 603 | buildRules = ( 604 | ); 605 | dependencies = ( 606 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 607 | ); 608 | name = ToastAndHudDemoTests; 609 | productName = ToastAndHudDemoTests; 610 | productReference = 00E356EE1AD99517003FC87E /* ToastAndHudDemoTests.xctest */; 611 | productType = "com.apple.product-type.bundle.unit-test"; 612 | }; 613 | 13B07F861A680F5B00A75B9A /* ToastAndHudDemo */ = { 614 | isa = PBXNativeTarget; 615 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ToastAndHudDemo" */; 616 | buildPhases = ( 617 | 13B07F871A680F5B00A75B9A /* Sources */, 618 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 619 | 13B07F8E1A680F5B00A75B9A /* Resources */, 620 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 621 | ); 622 | buildRules = ( 623 | ); 624 | dependencies = ( 625 | ); 626 | name = ToastAndHudDemo; 627 | productName = "Hello World"; 628 | productReference = 13B07F961A680F5B00A75B9A /* ToastAndHudDemo.app */; 629 | productType = "com.apple.product-type.application"; 630 | }; 631 | 2D02E47A1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS */ = { 632 | isa = PBXNativeTarget; 633 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ToastAndHudDemo-tvOS" */; 634 | buildPhases = ( 635 | 2D02E4771E0B4A5D006451C7 /* Sources */, 636 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 637 | 2D02E4791E0B4A5D006451C7 /* Resources */, 638 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 639 | ); 640 | buildRules = ( 641 | ); 642 | dependencies = ( 643 | ); 644 | name = "ToastAndHudDemo-tvOS"; 645 | productName = "ToastAndHudDemo-tvOS"; 646 | productReference = 2D02E47B1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS.app */; 647 | productType = "com.apple.product-type.application"; 648 | }; 649 | 2D02E48F1E0B4A5D006451C7 /* ToastAndHudDemo-tvOSTests */ = { 650 | isa = PBXNativeTarget; 651 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ToastAndHudDemo-tvOSTests" */; 652 | buildPhases = ( 653 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 654 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 655 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 656 | ); 657 | buildRules = ( 658 | ); 659 | dependencies = ( 660 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 661 | ); 662 | name = "ToastAndHudDemo-tvOSTests"; 663 | productName = "ToastAndHudDemo-tvOSTests"; 664 | productReference = 2D02E4901E0B4A5D006451C7 /* ToastAndHudDemo-tvOSTests.xctest */; 665 | productType = "com.apple.product-type.bundle.unit-test"; 666 | }; 667 | /* End PBXNativeTarget section */ 668 | 669 | /* Begin PBXProject section */ 670 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 671 | isa = PBXProject; 672 | attributes = { 673 | LastUpgradeCheck = 610; 674 | ORGANIZATIONNAME = Facebook; 675 | TargetAttributes = { 676 | 00E356ED1AD99517003FC87E = { 677 | CreatedOnToolsVersion = 6.2; 678 | TestTargetID = 13B07F861A680F5B00A75B9A; 679 | }; 680 | 2D02E47A1E0B4A5D006451C7 = { 681 | CreatedOnToolsVersion = 8.2.1; 682 | ProvisioningStyle = Automatic; 683 | }; 684 | 2D02E48F1E0B4A5D006451C7 = { 685 | CreatedOnToolsVersion = 8.2.1; 686 | ProvisioningStyle = Automatic; 687 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 688 | }; 689 | }; 690 | }; 691 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ToastAndHudDemo" */; 692 | compatibilityVersion = "Xcode 3.2"; 693 | developmentRegion = English; 694 | hasScannedForEncodings = 0; 695 | knownRegions = ( 696 | en, 697 | Base, 698 | ); 699 | mainGroup = 83CBB9F61A601CBA00E9B192; 700 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 701 | projectDirPath = ""; 702 | projectReferences = ( 703 | { 704 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 705 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 706 | }, 707 | { 708 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 709 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 710 | }, 711 | { 712 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 713 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 714 | }, 715 | { 716 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 717 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 718 | }, 719 | { 720 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 721 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 722 | }, 723 | { 724 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 725 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 726 | }, 727 | { 728 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 729 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 730 | }, 731 | { 732 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 733 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 734 | }, 735 | { 736 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 737 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 738 | }, 739 | { 740 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 741 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 742 | }, 743 | { 744 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 745 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 746 | }, 747 | { 748 | ProductGroup = 146834001AC3E56700842450 /* Products */; 749 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 750 | }, 751 | { 752 | ProductGroup = 8DA84DF21FDFBD2F00DCC01D /* Products */; 753 | ProjectRef = 0F49CB6DCB514AE98AF093F4 /* RNVectorIcons.xcodeproj */; 754 | }, 755 | ); 756 | projectRoot = ""; 757 | targets = ( 758 | 13B07F861A680F5B00A75B9A /* ToastAndHudDemo */, 759 | 00E356ED1AD99517003FC87E /* ToastAndHudDemoTests */, 760 | 2D02E47A1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS */, 761 | 2D02E48F1E0B4A5D006451C7 /* ToastAndHudDemo-tvOSTests */, 762 | ); 763 | }; 764 | /* End PBXProject section */ 765 | 766 | /* Begin PBXReferenceProxy section */ 767 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 768 | isa = PBXReferenceProxy; 769 | fileType = archive.ar; 770 | path = libRCTActionSheet.a; 771 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 772 | sourceTree = BUILT_PRODUCTS_DIR; 773 | }; 774 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 775 | isa = PBXReferenceProxy; 776 | fileType = archive.ar; 777 | path = libRCTGeolocation.a; 778 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 779 | sourceTree = BUILT_PRODUCTS_DIR; 780 | }; 781 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 782 | isa = PBXReferenceProxy; 783 | fileType = archive.ar; 784 | path = libRCTImage.a; 785 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 786 | sourceTree = BUILT_PRODUCTS_DIR; 787 | }; 788 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 789 | isa = PBXReferenceProxy; 790 | fileType = archive.ar; 791 | path = libRCTNetwork.a; 792 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 793 | sourceTree = BUILT_PRODUCTS_DIR; 794 | }; 795 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 796 | isa = PBXReferenceProxy; 797 | fileType = archive.ar; 798 | path = libRCTVibration.a; 799 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 800 | sourceTree = BUILT_PRODUCTS_DIR; 801 | }; 802 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 803 | isa = PBXReferenceProxy; 804 | fileType = archive.ar; 805 | path = libRCTSettings.a; 806 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 807 | sourceTree = BUILT_PRODUCTS_DIR; 808 | }; 809 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 810 | isa = PBXReferenceProxy; 811 | fileType = archive.ar; 812 | path = libRCTWebSocket.a; 813 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 814 | sourceTree = BUILT_PRODUCTS_DIR; 815 | }; 816 | 146834041AC3E56700842450 /* libReact.a */ = { 817 | isa = PBXReferenceProxy; 818 | fileType = archive.ar; 819 | path = libReact.a; 820 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 821 | sourceTree = BUILT_PRODUCTS_DIR; 822 | }; 823 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 824 | isa = PBXReferenceProxy; 825 | fileType = archive.ar; 826 | path = "libRCTImage-tvOS.a"; 827 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 828 | sourceTree = BUILT_PRODUCTS_DIR; 829 | }; 830 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 831 | isa = PBXReferenceProxy; 832 | fileType = archive.ar; 833 | path = "libRCTLinking-tvOS.a"; 834 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 835 | sourceTree = BUILT_PRODUCTS_DIR; 836 | }; 837 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 838 | isa = PBXReferenceProxy; 839 | fileType = archive.ar; 840 | path = "libRCTNetwork-tvOS.a"; 841 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 842 | sourceTree = BUILT_PRODUCTS_DIR; 843 | }; 844 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 845 | isa = PBXReferenceProxy; 846 | fileType = archive.ar; 847 | path = "libRCTSettings-tvOS.a"; 848 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 849 | sourceTree = BUILT_PRODUCTS_DIR; 850 | }; 851 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 852 | isa = PBXReferenceProxy; 853 | fileType = archive.ar; 854 | path = "libRCTText-tvOS.a"; 855 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 856 | sourceTree = BUILT_PRODUCTS_DIR; 857 | }; 858 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 859 | isa = PBXReferenceProxy; 860 | fileType = archive.ar; 861 | path = "libRCTWebSocket-tvOS.a"; 862 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 863 | sourceTree = BUILT_PRODUCTS_DIR; 864 | }; 865 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 866 | isa = PBXReferenceProxy; 867 | fileType = archive.ar; 868 | path = "libReact-tvOS.a"; 869 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 870 | sourceTree = BUILT_PRODUCTS_DIR; 871 | }; 872 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 873 | isa = PBXReferenceProxy; 874 | fileType = archive.ar; 875 | path = libyoga.a; 876 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 877 | sourceTree = BUILT_PRODUCTS_DIR; 878 | }; 879 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 880 | isa = PBXReferenceProxy; 881 | fileType = archive.ar; 882 | path = libyoga.a; 883 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 884 | sourceTree = BUILT_PRODUCTS_DIR; 885 | }; 886 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 887 | isa = PBXReferenceProxy; 888 | fileType = archive.ar; 889 | path = libcxxreact.a; 890 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 891 | sourceTree = BUILT_PRODUCTS_DIR; 892 | }; 893 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 894 | isa = PBXReferenceProxy; 895 | fileType = archive.ar; 896 | path = libcxxreact.a; 897 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 898 | sourceTree = BUILT_PRODUCTS_DIR; 899 | }; 900 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 901 | isa = PBXReferenceProxy; 902 | fileType = archive.ar; 903 | path = libjschelpers.a; 904 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 905 | sourceTree = BUILT_PRODUCTS_DIR; 906 | }; 907 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 908 | isa = PBXReferenceProxy; 909 | fileType = archive.ar; 910 | path = libjschelpers.a; 911 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 912 | sourceTree = BUILT_PRODUCTS_DIR; 913 | }; 914 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 915 | isa = PBXReferenceProxy; 916 | fileType = archive.ar; 917 | path = libRCTAnimation.a; 918 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 919 | sourceTree = BUILT_PRODUCTS_DIR; 920 | }; 921 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 922 | isa = PBXReferenceProxy; 923 | fileType = archive.ar; 924 | path = libRCTAnimation.a; 925 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 926 | sourceTree = BUILT_PRODUCTS_DIR; 927 | }; 928 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 929 | isa = PBXReferenceProxy; 930 | fileType = archive.ar; 931 | path = libRCTLinking.a; 932 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 933 | sourceTree = BUILT_PRODUCTS_DIR; 934 | }; 935 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 936 | isa = PBXReferenceProxy; 937 | fileType = archive.ar; 938 | path = libRCTText.a; 939 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 940 | sourceTree = BUILT_PRODUCTS_DIR; 941 | }; 942 | 8DA84DFA1FDFBD2F00DCC01D /* libRCTBlob-tvOS.a */ = { 943 | isa = PBXReferenceProxy; 944 | fileType = archive.ar; 945 | path = "libRCTBlob-tvOS.a"; 946 | remoteRef = 8DA84DF91FDFBD2F00DCC01D /* PBXContainerItemProxy */; 947 | sourceTree = BUILT_PRODUCTS_DIR; 948 | }; 949 | 8DA84E0C1FDFBD2F00DCC01D /* libfishhook.a */ = { 950 | isa = PBXReferenceProxy; 951 | fileType = archive.ar; 952 | path = libfishhook.a; 953 | remoteRef = 8DA84E0B1FDFBD2F00DCC01D /* PBXContainerItemProxy */; 954 | sourceTree = BUILT_PRODUCTS_DIR; 955 | }; 956 | 8DA84E0E1FDFBD2F00DCC01D /* libfishhook-tvOS.a */ = { 957 | isa = PBXReferenceProxy; 958 | fileType = archive.ar; 959 | path = "libfishhook-tvOS.a"; 960 | remoteRef = 8DA84E0D1FDFBD2F00DCC01D /* PBXContainerItemProxy */; 961 | sourceTree = BUILT_PRODUCTS_DIR; 962 | }; 963 | 8DA84E111FDFBD2F00DCC01D /* libRNVectorIcons.a */ = { 964 | isa = PBXReferenceProxy; 965 | fileType = archive.ar; 966 | path = libRNVectorIcons.a; 967 | remoteRef = 8DA84E101FDFBD2F00DCC01D /* PBXContainerItemProxy */; 968 | sourceTree = BUILT_PRODUCTS_DIR; 969 | }; 970 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 971 | isa = PBXReferenceProxy; 972 | fileType = archive.ar; 973 | path = libRCTBlob.a; 974 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 975 | sourceTree = BUILT_PRODUCTS_DIR; 976 | }; 977 | /* End PBXReferenceProxy section */ 978 | 979 | /* Begin PBXResourcesBuildPhase section */ 980 | 00E356EC1AD99517003FC87E /* Resources */ = { 981 | isa = PBXResourcesBuildPhase; 982 | buildActionMask = 2147483647; 983 | files = ( 984 | ); 985 | runOnlyForDeploymentPostprocessing = 0; 986 | }; 987 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 988 | isa = PBXResourcesBuildPhase; 989 | buildActionMask = 2147483647; 990 | files = ( 991 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 992 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 993 | 6091ABF3DF5048E59420BFAE /* Entypo.ttf in Resources */, 994 | 3F86C7F8CB2D4C5EA9A21A21 /* EvilIcons.ttf in Resources */, 995 | 03A58A6E41E241CFA049736E /* Feather.ttf in Resources */, 996 | 96D31E8441EA42CABD56118A /* FontAwesome.ttf in Resources */, 997 | 2005FD864C794315963E400F /* Foundation.ttf in Resources */, 998 | 51595CEB3B1E44C0B52A0CE0 /* Ionicons.ttf in Resources */, 999 | 24E3F89458B04DF48AEAF661 /* MaterialCommunityIcons.ttf in Resources */, 1000 | A1C370CCF9054D9EA5618676 /* MaterialIcons.ttf in Resources */, 1001 | 8A6A99D867494A878FBBF148 /* Octicons.ttf in Resources */, 1002 | EFBB2BB2CCAF4560A9E45185 /* SimpleLineIcons.ttf in Resources */, 1003 | 873C3A0D23D042F4AB9FF5A1 /* Zocial.ttf in Resources */, 1004 | ); 1005 | runOnlyForDeploymentPostprocessing = 0; 1006 | }; 1007 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1008 | isa = PBXResourcesBuildPhase; 1009 | buildActionMask = 2147483647; 1010 | files = ( 1011 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1012 | ); 1013 | runOnlyForDeploymentPostprocessing = 0; 1014 | }; 1015 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1016 | isa = PBXResourcesBuildPhase; 1017 | buildActionMask = 2147483647; 1018 | files = ( 1019 | ); 1020 | runOnlyForDeploymentPostprocessing = 0; 1021 | }; 1022 | /* End PBXResourcesBuildPhase section */ 1023 | 1024 | /* Begin PBXShellScriptBuildPhase section */ 1025 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1026 | isa = PBXShellScriptBuildPhase; 1027 | buildActionMask = 2147483647; 1028 | files = ( 1029 | ); 1030 | inputPaths = ( 1031 | ); 1032 | name = "Bundle React Native code and images"; 1033 | outputPaths = ( 1034 | ); 1035 | runOnlyForDeploymentPostprocessing = 0; 1036 | shellPath = /bin/sh; 1037 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1038 | }; 1039 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1040 | isa = PBXShellScriptBuildPhase; 1041 | buildActionMask = 2147483647; 1042 | files = ( 1043 | ); 1044 | inputPaths = ( 1045 | ); 1046 | name = "Bundle React Native Code And Images"; 1047 | outputPaths = ( 1048 | ); 1049 | runOnlyForDeploymentPostprocessing = 0; 1050 | shellPath = /bin/sh; 1051 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1052 | }; 1053 | /* End PBXShellScriptBuildPhase section */ 1054 | 1055 | /* Begin PBXSourcesBuildPhase section */ 1056 | 00E356EA1AD99517003FC87E /* Sources */ = { 1057 | isa = PBXSourcesBuildPhase; 1058 | buildActionMask = 2147483647; 1059 | files = ( 1060 | 00E356F31AD99517003FC87E /* ToastAndHudDemoTests.m in Sources */, 1061 | ); 1062 | runOnlyForDeploymentPostprocessing = 0; 1063 | }; 1064 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1065 | isa = PBXSourcesBuildPhase; 1066 | buildActionMask = 2147483647; 1067 | files = ( 1068 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1069 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1070 | ); 1071 | runOnlyForDeploymentPostprocessing = 0; 1072 | }; 1073 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1074 | isa = PBXSourcesBuildPhase; 1075 | buildActionMask = 2147483647; 1076 | files = ( 1077 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1078 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1079 | ); 1080 | runOnlyForDeploymentPostprocessing = 0; 1081 | }; 1082 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1083 | isa = PBXSourcesBuildPhase; 1084 | buildActionMask = 2147483647; 1085 | files = ( 1086 | 2DCD954D1E0B4F2C00145EB5 /* ToastAndHudDemoTests.m in Sources */, 1087 | ); 1088 | runOnlyForDeploymentPostprocessing = 0; 1089 | }; 1090 | /* End PBXSourcesBuildPhase section */ 1091 | 1092 | /* Begin PBXTargetDependency section */ 1093 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1094 | isa = PBXTargetDependency; 1095 | target = 13B07F861A680F5B00A75B9A /* ToastAndHudDemo */; 1096 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1097 | }; 1098 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1099 | isa = PBXTargetDependency; 1100 | target = 2D02E47A1E0B4A5D006451C7 /* ToastAndHudDemo-tvOS */; 1101 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1102 | }; 1103 | /* End PBXTargetDependency section */ 1104 | 1105 | /* Begin PBXVariantGroup section */ 1106 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1107 | isa = PBXVariantGroup; 1108 | children = ( 1109 | 13B07FB21A68108700A75B9A /* Base */, 1110 | ); 1111 | name = LaunchScreen.xib; 1112 | path = ToastAndHudDemo; 1113 | sourceTree = ""; 1114 | }; 1115 | /* End PBXVariantGroup section */ 1116 | 1117 | /* Begin XCBuildConfiguration section */ 1118 | 00E356F61AD99517003FC87E /* Debug */ = { 1119 | isa = XCBuildConfiguration; 1120 | buildSettings = { 1121 | BUNDLE_LOADER = "$(TEST_HOST)"; 1122 | GCC_PREPROCESSOR_DEFINITIONS = ( 1123 | "DEBUG=1", 1124 | "$(inherited)", 1125 | ); 1126 | HEADER_SEARCH_PATHS = ( 1127 | "$(inherited)", 1128 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1129 | ); 1130 | INFOPLIST_FILE = ToastAndHudDemoTests/Info.plist; 1131 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1132 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1133 | LIBRARY_SEARCH_PATHS = ( 1134 | "$(inherited)", 1135 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1136 | ); 1137 | OTHER_LDFLAGS = ( 1138 | "-ObjC", 1139 | "-lc++", 1140 | ); 1141 | PRODUCT_NAME = "$(TARGET_NAME)"; 1142 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ToastAndHudDemo.app/ToastAndHudDemo"; 1143 | }; 1144 | name = Debug; 1145 | }; 1146 | 00E356F71AD99517003FC87E /* Release */ = { 1147 | isa = XCBuildConfiguration; 1148 | buildSettings = { 1149 | BUNDLE_LOADER = "$(TEST_HOST)"; 1150 | COPY_PHASE_STRIP = NO; 1151 | HEADER_SEARCH_PATHS = ( 1152 | "$(inherited)", 1153 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1154 | ); 1155 | INFOPLIST_FILE = ToastAndHudDemoTests/Info.plist; 1156 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1157 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1158 | LIBRARY_SEARCH_PATHS = ( 1159 | "$(inherited)", 1160 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1161 | ); 1162 | OTHER_LDFLAGS = ( 1163 | "-ObjC", 1164 | "-lc++", 1165 | ); 1166 | PRODUCT_NAME = "$(TARGET_NAME)"; 1167 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ToastAndHudDemo.app/ToastAndHudDemo"; 1168 | }; 1169 | name = Release; 1170 | }; 1171 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1172 | isa = XCBuildConfiguration; 1173 | buildSettings = { 1174 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1175 | CURRENT_PROJECT_VERSION = 1; 1176 | DEAD_CODE_STRIPPING = NO; 1177 | HEADER_SEARCH_PATHS = ( 1178 | "$(inherited)", 1179 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1180 | ); 1181 | INFOPLIST_FILE = ToastAndHudDemo/Info.plist; 1182 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1183 | OTHER_LDFLAGS = ( 1184 | "$(inherited)", 1185 | "-ObjC", 1186 | "-lc++", 1187 | ); 1188 | PRODUCT_NAME = ToastAndHudDemo; 1189 | VERSIONING_SYSTEM = "apple-generic"; 1190 | }; 1191 | name = Debug; 1192 | }; 1193 | 13B07F951A680F5B00A75B9A /* Release */ = { 1194 | isa = XCBuildConfiguration; 1195 | buildSettings = { 1196 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1197 | CURRENT_PROJECT_VERSION = 1; 1198 | HEADER_SEARCH_PATHS = ( 1199 | "$(inherited)", 1200 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1201 | ); 1202 | INFOPLIST_FILE = ToastAndHudDemo/Info.plist; 1203 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1204 | OTHER_LDFLAGS = ( 1205 | "$(inherited)", 1206 | "-ObjC", 1207 | "-lc++", 1208 | ); 1209 | PRODUCT_NAME = ToastAndHudDemo; 1210 | VERSIONING_SYSTEM = "apple-generic"; 1211 | }; 1212 | name = Release; 1213 | }; 1214 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1215 | isa = XCBuildConfiguration; 1216 | buildSettings = { 1217 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1218 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1219 | CLANG_ANALYZER_NONNULL = YES; 1220 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1221 | CLANG_WARN_INFINITE_RECURSION = YES; 1222 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1223 | DEBUG_INFORMATION_FORMAT = dwarf; 1224 | ENABLE_TESTABILITY = YES; 1225 | GCC_NO_COMMON_BLOCKS = YES; 1226 | HEADER_SEARCH_PATHS = ( 1227 | "$(inherited)", 1228 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1229 | ); 1230 | INFOPLIST_FILE = "ToastAndHudDemo-tvOS/Info.plist"; 1231 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1232 | LIBRARY_SEARCH_PATHS = ( 1233 | "$(inherited)", 1234 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1235 | ); 1236 | OTHER_LDFLAGS = ( 1237 | "-ObjC", 1238 | "-lc++", 1239 | ); 1240 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ToastAndHudDemo-tvOS"; 1241 | PRODUCT_NAME = "$(TARGET_NAME)"; 1242 | SDKROOT = appletvos; 1243 | TARGETED_DEVICE_FAMILY = 3; 1244 | TVOS_DEPLOYMENT_TARGET = 9.2; 1245 | }; 1246 | name = Debug; 1247 | }; 1248 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1249 | isa = XCBuildConfiguration; 1250 | buildSettings = { 1251 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1252 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1253 | CLANG_ANALYZER_NONNULL = YES; 1254 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1255 | CLANG_WARN_INFINITE_RECURSION = YES; 1256 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1257 | COPY_PHASE_STRIP = NO; 1258 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1259 | GCC_NO_COMMON_BLOCKS = YES; 1260 | HEADER_SEARCH_PATHS = ( 1261 | "$(inherited)", 1262 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1263 | ); 1264 | INFOPLIST_FILE = "ToastAndHudDemo-tvOS/Info.plist"; 1265 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1266 | LIBRARY_SEARCH_PATHS = ( 1267 | "$(inherited)", 1268 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1269 | ); 1270 | OTHER_LDFLAGS = ( 1271 | "-ObjC", 1272 | "-lc++", 1273 | ); 1274 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ToastAndHudDemo-tvOS"; 1275 | PRODUCT_NAME = "$(TARGET_NAME)"; 1276 | SDKROOT = appletvos; 1277 | TARGETED_DEVICE_FAMILY = 3; 1278 | TVOS_DEPLOYMENT_TARGET = 9.2; 1279 | }; 1280 | name = Release; 1281 | }; 1282 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1283 | isa = XCBuildConfiguration; 1284 | buildSettings = { 1285 | BUNDLE_LOADER = "$(TEST_HOST)"; 1286 | CLANG_ANALYZER_NONNULL = YES; 1287 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1288 | CLANG_WARN_INFINITE_RECURSION = YES; 1289 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1290 | DEBUG_INFORMATION_FORMAT = dwarf; 1291 | ENABLE_TESTABILITY = YES; 1292 | GCC_NO_COMMON_BLOCKS = YES; 1293 | INFOPLIST_FILE = "ToastAndHudDemo-tvOSTests/Info.plist"; 1294 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1295 | LIBRARY_SEARCH_PATHS = ( 1296 | "$(inherited)", 1297 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1298 | ); 1299 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ToastAndHudDemo-tvOSTests"; 1300 | PRODUCT_NAME = "$(TARGET_NAME)"; 1301 | SDKROOT = appletvos; 1302 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ToastAndHudDemo-tvOS.app/ToastAndHudDemo-tvOS"; 1303 | TVOS_DEPLOYMENT_TARGET = 10.1; 1304 | }; 1305 | name = Debug; 1306 | }; 1307 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1308 | isa = XCBuildConfiguration; 1309 | buildSettings = { 1310 | BUNDLE_LOADER = "$(TEST_HOST)"; 1311 | CLANG_ANALYZER_NONNULL = YES; 1312 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1313 | CLANG_WARN_INFINITE_RECURSION = YES; 1314 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1315 | COPY_PHASE_STRIP = NO; 1316 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1317 | GCC_NO_COMMON_BLOCKS = YES; 1318 | INFOPLIST_FILE = "ToastAndHudDemo-tvOSTests/Info.plist"; 1319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1320 | LIBRARY_SEARCH_PATHS = ( 1321 | "$(inherited)", 1322 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1323 | ); 1324 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ToastAndHudDemo-tvOSTests"; 1325 | PRODUCT_NAME = "$(TARGET_NAME)"; 1326 | SDKROOT = appletvos; 1327 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ToastAndHudDemo-tvOS.app/ToastAndHudDemo-tvOS"; 1328 | TVOS_DEPLOYMENT_TARGET = 10.1; 1329 | }; 1330 | name = Release; 1331 | }; 1332 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1333 | isa = XCBuildConfiguration; 1334 | buildSettings = { 1335 | ALWAYS_SEARCH_USER_PATHS = NO; 1336 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1337 | CLANG_CXX_LIBRARY = "libc++"; 1338 | CLANG_ENABLE_MODULES = YES; 1339 | CLANG_ENABLE_OBJC_ARC = YES; 1340 | CLANG_WARN_BOOL_CONVERSION = YES; 1341 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1342 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1343 | CLANG_WARN_EMPTY_BODY = YES; 1344 | CLANG_WARN_ENUM_CONVERSION = YES; 1345 | CLANG_WARN_INT_CONVERSION = YES; 1346 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1347 | CLANG_WARN_UNREACHABLE_CODE = YES; 1348 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1349 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1350 | COPY_PHASE_STRIP = NO; 1351 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1352 | GCC_C_LANGUAGE_STANDARD = gnu99; 1353 | GCC_DYNAMIC_NO_PIC = NO; 1354 | GCC_OPTIMIZATION_LEVEL = 0; 1355 | GCC_PREPROCESSOR_DEFINITIONS = ( 1356 | "DEBUG=1", 1357 | "$(inherited)", 1358 | ); 1359 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1360 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1361 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1362 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1363 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1364 | GCC_WARN_UNUSED_FUNCTION = YES; 1365 | GCC_WARN_UNUSED_VARIABLE = YES; 1366 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1367 | MTL_ENABLE_DEBUG_INFO = YES; 1368 | ONLY_ACTIVE_ARCH = YES; 1369 | SDKROOT = iphoneos; 1370 | }; 1371 | name = Debug; 1372 | }; 1373 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1374 | isa = XCBuildConfiguration; 1375 | buildSettings = { 1376 | ALWAYS_SEARCH_USER_PATHS = NO; 1377 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1378 | CLANG_CXX_LIBRARY = "libc++"; 1379 | CLANG_ENABLE_MODULES = YES; 1380 | CLANG_ENABLE_OBJC_ARC = YES; 1381 | CLANG_WARN_BOOL_CONVERSION = YES; 1382 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1383 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1384 | CLANG_WARN_EMPTY_BODY = YES; 1385 | CLANG_WARN_ENUM_CONVERSION = YES; 1386 | CLANG_WARN_INT_CONVERSION = YES; 1387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1388 | CLANG_WARN_UNREACHABLE_CODE = YES; 1389 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1390 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1391 | COPY_PHASE_STRIP = YES; 1392 | ENABLE_NS_ASSERTIONS = NO; 1393 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1394 | GCC_C_LANGUAGE_STANDARD = gnu99; 1395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1396 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1397 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1398 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1399 | GCC_WARN_UNUSED_FUNCTION = YES; 1400 | GCC_WARN_UNUSED_VARIABLE = YES; 1401 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1402 | MTL_ENABLE_DEBUG_INFO = NO; 1403 | SDKROOT = iphoneos; 1404 | VALIDATE_PRODUCT = YES; 1405 | }; 1406 | name = Release; 1407 | }; 1408 | /* End XCBuildConfiguration section */ 1409 | 1410 | /* Begin XCConfigurationList section */ 1411 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ToastAndHudDemoTests" */ = { 1412 | isa = XCConfigurationList; 1413 | buildConfigurations = ( 1414 | 00E356F61AD99517003FC87E /* Debug */, 1415 | 00E356F71AD99517003FC87E /* Release */, 1416 | ); 1417 | defaultConfigurationIsVisible = 0; 1418 | defaultConfigurationName = Release; 1419 | }; 1420 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ToastAndHudDemo" */ = { 1421 | isa = XCConfigurationList; 1422 | buildConfigurations = ( 1423 | 13B07F941A680F5B00A75B9A /* Debug */, 1424 | 13B07F951A680F5B00A75B9A /* Release */, 1425 | ); 1426 | defaultConfigurationIsVisible = 0; 1427 | defaultConfigurationName = Release; 1428 | }; 1429 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ToastAndHudDemo-tvOS" */ = { 1430 | isa = XCConfigurationList; 1431 | buildConfigurations = ( 1432 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1433 | 2D02E4981E0B4A5E006451C7 /* Release */, 1434 | ); 1435 | defaultConfigurationIsVisible = 0; 1436 | defaultConfigurationName = Release; 1437 | }; 1438 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ToastAndHudDemo-tvOSTests" */ = { 1439 | isa = XCConfigurationList; 1440 | buildConfigurations = ( 1441 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1442 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1443 | ); 1444 | defaultConfigurationIsVisible = 0; 1445 | defaultConfigurationName = Release; 1446 | }; 1447 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ToastAndHudDemo" */ = { 1448 | isa = XCConfigurationList; 1449 | buildConfigurations = ( 1450 | 83CBBA201A601CBA00E9B192 /* Debug */, 1451 | 83CBBA211A601CBA00E9B192 /* Release */, 1452 | ); 1453 | defaultConfigurationIsVisible = 0; 1454 | defaultConfigurationName = Release; 1455 | }; 1456 | /* End XCConfigurationList section */ 1457 | }; 1458 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1459 | } 1460 | --------------------------------------------------------------------------------