├── .gitattributes ├── .gitignore ├── Example ├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── __tests__ │ └── App.js ├── android │ ├── .project │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── app │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.buildship.core.prefs │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle ├── app.json ├── index.js ├── ios │ ├── Example-tvOS │ │ └── Info.plist │ ├── Example-tvOSTests │ │ └── Info.plist │ ├── Example.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Example-tvOS.xcscheme │ │ │ └── Example.xcscheme │ ├── Example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── ExampleTests │ │ ├── ExampleTests.m │ │ └── Info.plist └── package.json ├── LICENSE ├── README.md ├── RNSiriWaveView.js ├── android ├── SIRIWaveView │ └── siriwaveview │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── alex │ │ │ └── siriwaveview │ │ │ └── SiriWaveView.java │ │ └── res │ │ └── values │ │ ├── attr.xml │ │ └── strings.xml ├── build.gradle └── src │ └── main │ ├── AndroidManifest.xml │ └── java │ └── ui │ └── siriwave │ ├── RNSiriWaveView.java │ ├── RNSiriWaveViewModule.java │ └── RNSiriWaveViewPackage.java ├── assets ├── ISSUE.png └── siriwave9.gif ├── ios ├── Podfile ├── RNSiriWaveView.h ├── RNSiriWaveView.m ├── RNSiriWaveView.podspec ├── RNSiriWaveView.xcodeproj │ └── project.pbxproj ├── RNSiriWaveView.xcworkspace │ └── contents.xcworkspacedata ├── RNSiriWaveView9.h └── RNSiriWaveView9.m ├── package.json └── scripts └── installer.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # OSX 3 | # 4 | .DS_Store 5 | 6 | # node.js 7 | # 8 | node_modules/ 9 | npm-debug.log 10 | yarn-error.log 11 | 12 | 13 | # Xcode 14 | # 15 | build/ 16 | *.pbxuser 17 | !default.pbxuser 18 | *.mode1v3 19 | !default.mode1v3 20 | *.mode2v3 21 | !default.mode2v3 22 | *.perspectivev3 23 | !default.perspectivev3 24 | xcuserdata 25 | *.xccheckout 26 | *.moved-aside 27 | DerivedData 28 | *.hmap 29 | *.ipa 30 | *.xcuserstate 31 | project.xcworkspace 32 | 33 | 34 | # Android/IntelliJ 35 | # 36 | build/ 37 | .idea 38 | .gradle 39 | local.properties 40 | *.iml 41 | 42 | # BUCK 43 | buck-out/ 44 | \.buckd/ 45 | *.keystore 46 | 47 | .history/* -------------------------------------------------------------------------------- /Example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /Example/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /Example/.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 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | module.system=haste 33 | 34 | munge_underscores=true 35 | 36 | 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' 37 | 38 | module.file_ext=.js 39 | module.file_ext=.jsx 40 | module.file_ext=.json 41 | module.file_ext=.native.js 42 | 43 | suppress_type=$FlowIssue 44 | suppress_type=$FlowFixMe 45 | suppress_type=$FlowFixMeProps 46 | suppress_type=$FlowFixMeState 47 | 48 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 49 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 50 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 51 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 52 | 53 | unsafe.enable_getters_and_setters=true 54 | 55 | [version] 56 | ^0.61.0 57 | -------------------------------------------------------------------------------- /Example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /Example/.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 | -------------------------------------------------------------------------------- /Example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Example/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | Platform, 10 | StyleSheet, 11 | Text, 12 | View, 13 | TouchableOpacity 14 | } from 'react-native'; 15 | 16 | import RNSiriWaveView from 'react-native-siri-wave-view' 17 | 18 | export default class App extends Component<{}> { 19 | constructor (props) { 20 | super(props) 21 | 22 | this.state = { 23 | startAnimation: true, 24 | stopAnimation: false 25 | } 26 | } 27 | 28 | render() { 29 | return 30 | 31 | 32 | { 33 | this.setState({ 34 | startAnimation: true, 35 | stopAnimation: false 36 | }); 37 | }}> 38 | Start 39 | 40 | { 41 | this.setState({ 42 | startAnimation: false, 43 | stopAnimation: true 44 | }); 45 | }}> 46 | Stop 47 | 48 | ; 49 | } 50 | } 51 | 52 | 53 | const styles = StyleSheet.create({ 54 | container: { 55 | flex: 1, 56 | flexDirection: "row", 57 | justifyContent: "center", 58 | alignItems: "center", 59 | backgroundColor: "#F5FCFF", 60 | flexDirection: "column" 61 | }, 62 | button: { 63 | height: 40, 64 | width: 100, 65 | backgroundColor: "#add8e6", 66 | justifyContent: 'center', 67 | alignItems: 'center', 68 | marginTop: 10 69 | } 70 | }); -------------------------------------------------------------------------------- /Example/__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 | -------------------------------------------------------------------------------- /Example/android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Example 4 | Project Example created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Example/android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Mar 24 13:10:27 IST 2018 2 | connection.project.dir= 3 | -------------------------------------------------------------------------------- /Example/android/app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Example/android/app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Example/android/app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Mar 24 13:10:28 IST 2018 2 | connection.project.dir=.. 3 | -------------------------------------------------------------------------------- /Example/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.example", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.example", 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 | -------------------------------------------------------------------------------- /Example/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 27 98 | buildToolsVersion '27.0.3' 99 | 100 | defaultConfig { 101 | applicationId "com.example" 102 | minSdkVersion 16 103 | targetSdkVersion 27 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(':siriwaveview') 141 | compile project(':react-native-siri-wave-view') 142 | compile fileTree(dir: "libs", include: ["*.jar"]) 143 | compile "com.android.support:appcompat-v7:27.0.2" 144 | compile "com.facebook.react:react-native:+" // From node_modules 145 | } 146 | 147 | // Run this once to be able to run the application with BUCK 148 | // puts all compile dependencies into folder libs for BUCK to use 149 | task copyDownloadableDepsToLibs(type: Copy) { 150 | from configurations.compile 151 | into 'libs' 152 | } 153 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example; 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 "Example"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import ui.siriwave.RNSiriWaveViewPackage; 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 RNSiriWaveViewPackage() 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 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Example 3 | 4 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/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 | maven { url "https://maven.google.com" } 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.1.3' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | mavenLocal() 19 | jcenter() 20 | maven { url "https://maven.google.com" } 21 | maven { 22 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 23 | url "$rootDir/../node_modules/react-native/android" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/Example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Jun 16 11:33:46 IST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /Example/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 | -------------------------------------------------------------------------------- /Example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Example' 2 | include ':react-native-siri-wave-view' 3 | project(':react-native-siri-wave-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-siri-wave-view/android') 4 | 5 | include ':siriwaveview' 6 | project(':siriwaveview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-siri-wave-view/android/SIRIWaveView/siriwaveview') 7 | 8 | 9 | include ':app' 10 | -------------------------------------------------------------------------------- /Example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Example", 3 | "displayName": "Example" 4 | } -------------------------------------------------------------------------------- /Example/index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './App'; 3 | 4 | AppRegistry.registerComponent('Example', () => App); 5 | -------------------------------------------------------------------------------- /Example/ios/Example-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 | -------------------------------------------------------------------------------- /Example/ios/Example-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 | -------------------------------------------------------------------------------- /Example/ios/Example.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 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; }; 37 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 40 | CEB8D92620D4CE63005B0CB1 /* libRNSiriWaveView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CEE1E685201A0D1200CE4599 /* libRNSiriWaveView.a */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = Example; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 110 | proxyType = 1; 111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 112 | remoteInfo = "Example-tvOS"; 113 | }; 114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 119 | remoteInfo = "RCTBlob-tvOS"; 120 | }; 121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 126 | remoteInfo = fishhook; 127 | }; 128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 133 | remoteInfo = "fishhook-tvOS"; 134 | }; 135 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 140 | remoteInfo = "RCTImage-tvOS"; 141 | }; 142 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 147 | remoteInfo = "RCTLinking-tvOS"; 148 | }; 149 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 154 | remoteInfo = "RCTNetwork-tvOS"; 155 | }; 156 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 161 | remoteInfo = "RCTSettings-tvOS"; 162 | }; 163 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 168 | remoteInfo = "RCTText-tvOS"; 169 | }; 170 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 175 | remoteInfo = "RCTWebSocket-tvOS"; 176 | }; 177 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 182 | remoteInfo = "React-tvOS"; 183 | }; 184 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 189 | remoteInfo = yoga; 190 | }; 191 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 196 | remoteInfo = "yoga-tvOS"; 197 | }; 198 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 203 | remoteInfo = cxxreact; 204 | }; 205 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 210 | remoteInfo = "cxxreact-tvOS"; 211 | }; 212 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 217 | remoteInfo = jschelpers; 218 | }; 219 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 224 | remoteInfo = "jschelpers-tvOS"; 225 | }; 226 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 231 | remoteInfo = RCTAnimation; 232 | }; 233 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 238 | remoteInfo = "RCTAnimation-tvOS"; 239 | }; 240 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 245 | remoteInfo = RCTLinking; 246 | }; 247 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 252 | remoteInfo = RCTText; 253 | }; 254 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 259 | remoteInfo = RCTBlob; 260 | }; 261 | CEE1E670201A0D1000CE4599 /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 266 | remoteInfo = jsinspector; 267 | }; 268 | CEE1E672201A0D1000CE4599 /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 273 | remoteInfo = "jsinspector-tvOS"; 274 | }; 275 | CEE1E674201A0D1000CE4599 /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 280 | remoteInfo = "third-party"; 281 | }; 282 | CEE1E676201A0D1000CE4599 /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 287 | remoteInfo = "third-party-tvOS"; 288 | }; 289 | CEE1E678201A0D1000CE4599 /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 294 | remoteInfo = "double-conversion"; 295 | }; 296 | CEE1E67A201A0D1000CE4599 /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 301 | remoteInfo = "double-conversion-tvOS"; 302 | }; 303 | CEE1E67C201A0D1000CE4599 /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 308 | remoteInfo = privatedata; 309 | }; 310 | CEE1E67E201A0D1000CE4599 /* PBXContainerItemProxy */ = { 311 | isa = PBXContainerItemProxy; 312 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 313 | proxyType = 2; 314 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 315 | remoteInfo = "privatedata-tvOS"; 316 | }; 317 | CEE1E684201A0D1200CE4599 /* PBXContainerItemProxy */ = { 318 | isa = PBXContainerItemProxy; 319 | containerPortal = 5D41C2847C8A47B39D77DFCF /* RNSiriWaveView.xcodeproj */; 320 | proxyType = 2; 321 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 322 | remoteInfo = RNSiriWaveView; 323 | }; 324 | /* End PBXContainerItemProxy section */ 325 | 326 | /* Begin PBXFileReference section */ 327 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 328 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 329 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 330 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 331 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 332 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 333 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 334 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 335 | 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; }; 336 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 337 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 338 | 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 339 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; }; 340 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Example/AppDelegate.m; sourceTree = ""; }; 341 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 342 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; }; 343 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; }; 344 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; }; 345 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 346 | 16E8CD5367E94148837071B1 /* libRNSiriWaveView.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSiriWaveView.a; sourceTree = ""; }; 347 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 348 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 349 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 350 | 5D41C2847C8A47B39D77DFCF /* RNSiriWaveView.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSiriWaveView.xcodeproj; path = "../node_modules/react-native-siri-wave-view/ios/RNSiriWaveView.xcodeproj"; sourceTree = ""; }; 351 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 352 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 353 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 354 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 355 | /* End PBXFileReference section */ 356 | 357 | /* Begin PBXFrameworksBuildPhase section */ 358 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 359 | isa = PBXFrameworksBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | }; 366 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 367 | isa = PBXFrameworksBuildPhase; 368 | buildActionMask = 2147483647; 369 | files = ( 370 | CEB8D92620D4CE63005B0CB1 /* libRNSiriWaveView.a in Frameworks */, 371 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 372 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 373 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 374 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 375 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 376 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 377 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 378 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 379 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 380 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 381 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 382 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 383 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 388 | isa = PBXFrameworksBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 392 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 393 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 394 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 395 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 396 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 397 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 398 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 403 | isa = PBXFrameworksBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | ); 407 | runOnlyForDeploymentPostprocessing = 0; 408 | }; 409 | /* End PBXFrameworksBuildPhase section */ 410 | 411 | /* Begin PBXGroup section */ 412 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 413 | isa = PBXGroup; 414 | children = ( 415 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 416 | ); 417 | name = Products; 418 | sourceTree = ""; 419 | }; 420 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 421 | isa = PBXGroup; 422 | children = ( 423 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 424 | ); 425 | name = Products; 426 | sourceTree = ""; 427 | }; 428 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 429 | isa = PBXGroup; 430 | children = ( 431 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 432 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 433 | ); 434 | name = Products; 435 | sourceTree = ""; 436 | }; 437 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 438 | isa = PBXGroup; 439 | children = ( 440 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 441 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 442 | ); 443 | name = Products; 444 | sourceTree = ""; 445 | }; 446 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 447 | isa = PBXGroup; 448 | children = ( 449 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 450 | ); 451 | name = Products; 452 | sourceTree = ""; 453 | }; 454 | 00E356EF1AD99517003FC87E /* ExampleTests */ = { 455 | isa = PBXGroup; 456 | children = ( 457 | 00E356F21AD99517003FC87E /* ExampleTests.m */, 458 | 00E356F01AD99517003FC87E /* Supporting Files */, 459 | ); 460 | path = ExampleTests; 461 | sourceTree = ""; 462 | }; 463 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 464 | isa = PBXGroup; 465 | children = ( 466 | 00E356F11AD99517003FC87E /* Info.plist */, 467 | ); 468 | name = "Supporting Files"; 469 | sourceTree = ""; 470 | }; 471 | 139105B71AF99BAD00B5F7CC /* Products */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 475 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 476 | ); 477 | name = Products; 478 | sourceTree = ""; 479 | }; 480 | 139FDEE71B06529A00C62182 /* Products */ = { 481 | isa = PBXGroup; 482 | children = ( 483 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 484 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 485 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 486 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 487 | ); 488 | name = Products; 489 | sourceTree = ""; 490 | }; 491 | 13B07FAE1A68108700A75B9A /* Example */ = { 492 | isa = PBXGroup; 493 | children = ( 494 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 495 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 496 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 497 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 498 | 13B07FB61A68108700A75B9A /* Info.plist */, 499 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 500 | 13B07FB71A68108700A75B9A /* main.m */, 501 | ); 502 | name = Example; 503 | sourceTree = ""; 504 | }; 505 | 146834001AC3E56700842450 /* Products */ = { 506 | isa = PBXGroup; 507 | children = ( 508 | 146834041AC3E56700842450 /* libReact.a */, 509 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 510 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 511 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 512 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 513 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 514 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 515 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 516 | CEE1E671201A0D1000CE4599 /* libjsinspector.a */, 517 | CEE1E673201A0D1000CE4599 /* libjsinspector-tvOS.a */, 518 | CEE1E675201A0D1000CE4599 /* libthird-party.a */, 519 | CEE1E677201A0D1000CE4599 /* libthird-party.a */, 520 | CEE1E679201A0D1000CE4599 /* libdouble-conversion.a */, 521 | CEE1E67B201A0D1000CE4599 /* libdouble-conversion.a */, 522 | CEE1E67D201A0D1000CE4599 /* libprivatedata.a */, 523 | CEE1E67F201A0D1000CE4599 /* libprivatedata-tvOS.a */, 524 | ); 525 | name = Products; 526 | sourceTree = ""; 527 | }; 528 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 529 | isa = PBXGroup; 530 | children = ( 531 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 532 | ); 533 | name = Frameworks; 534 | sourceTree = ""; 535 | }; 536 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 537 | isa = PBXGroup; 538 | children = ( 539 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 540 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 541 | ); 542 | name = Products; 543 | sourceTree = ""; 544 | }; 545 | 78C398B11ACF4ADC00677621 /* Products */ = { 546 | isa = PBXGroup; 547 | children = ( 548 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 549 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 550 | ); 551 | name = Products; 552 | sourceTree = ""; 553 | }; 554 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 555 | isa = PBXGroup; 556 | children = ( 557 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 558 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 559 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 560 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 561 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 562 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 563 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 564 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 565 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 566 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 567 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 568 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 569 | 5D41C2847C8A47B39D77DFCF /* RNSiriWaveView.xcodeproj */, 570 | ); 571 | name = Libraries; 572 | sourceTree = ""; 573 | }; 574 | 832341B11AAA6A8300B99B32 /* Products */ = { 575 | isa = PBXGroup; 576 | children = ( 577 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 578 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 579 | ); 580 | name = Products; 581 | sourceTree = ""; 582 | }; 583 | 83CBB9F61A601CBA00E9B192 = { 584 | isa = PBXGroup; 585 | children = ( 586 | 13B07FAE1A68108700A75B9A /* Example */, 587 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 588 | 00E356EF1AD99517003FC87E /* ExampleTests */, 589 | 83CBBA001A601CBA00E9B192 /* Products */, 590 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 591 | CEE1E64A201A0D0F00CE4599 /* Recovered References */, 592 | ); 593 | indentWidth = 2; 594 | sourceTree = ""; 595 | tabWidth = 2; 596 | usesTabs = 0; 597 | }; 598 | 83CBBA001A601CBA00E9B192 /* Products */ = { 599 | isa = PBXGroup; 600 | children = ( 601 | 13B07F961A680F5B00A75B9A /* Example.app */, 602 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */, 603 | 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */, 604 | 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */, 605 | ); 606 | name = Products; 607 | sourceTree = ""; 608 | }; 609 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 610 | isa = PBXGroup; 611 | children = ( 612 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 613 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 614 | ); 615 | name = Products; 616 | sourceTree = ""; 617 | }; 618 | CEE1E64A201A0D0F00CE4599 /* Recovered References */ = { 619 | isa = PBXGroup; 620 | children = ( 621 | 16E8CD5367E94148837071B1 /* libRNSiriWaveView.a */, 622 | ); 623 | name = "Recovered References"; 624 | sourceTree = ""; 625 | }; 626 | CEE1E681201A0D1100CE4599 /* Products */ = { 627 | isa = PBXGroup; 628 | children = ( 629 | CEE1E685201A0D1200CE4599 /* libRNSiriWaveView.a */, 630 | ); 631 | name = Products; 632 | sourceTree = ""; 633 | }; 634 | /* End PBXGroup section */ 635 | 636 | /* Begin PBXNativeTarget section */ 637 | 00E356ED1AD99517003FC87E /* ExampleTests */ = { 638 | isa = PBXNativeTarget; 639 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */; 640 | buildPhases = ( 641 | 00E356EA1AD99517003FC87E /* Sources */, 642 | 00E356EB1AD99517003FC87E /* Frameworks */, 643 | 00E356EC1AD99517003FC87E /* Resources */, 644 | ); 645 | buildRules = ( 646 | ); 647 | dependencies = ( 648 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 649 | ); 650 | name = ExampleTests; 651 | productName = ExampleTests; 652 | productReference = 00E356EE1AD99517003FC87E /* ExampleTests.xctest */; 653 | productType = "com.apple.product-type.bundle.unit-test"; 654 | }; 655 | 13B07F861A680F5B00A75B9A /* Example */ = { 656 | isa = PBXNativeTarget; 657 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */; 658 | buildPhases = ( 659 | 13B07F871A680F5B00A75B9A /* Sources */, 660 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 661 | 13B07F8E1A680F5B00A75B9A /* Resources */, 662 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 663 | ); 664 | buildRules = ( 665 | ); 666 | dependencies = ( 667 | ); 668 | name = Example; 669 | productName = "Hello World"; 670 | productReference = 13B07F961A680F5B00A75B9A /* Example.app */; 671 | productType = "com.apple.product-type.application"; 672 | }; 673 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */ = { 674 | isa = PBXNativeTarget; 675 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */; 676 | buildPhases = ( 677 | 2D02E4771E0B4A5D006451C7 /* Sources */, 678 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 679 | 2D02E4791E0B4A5D006451C7 /* Resources */, 680 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 681 | ); 682 | buildRules = ( 683 | ); 684 | dependencies = ( 685 | ); 686 | name = "Example-tvOS"; 687 | productName = "Example-tvOS"; 688 | productReference = 2D02E47B1E0B4A5D006451C7 /* Example-tvOS.app */; 689 | productType = "com.apple.product-type.application"; 690 | }; 691 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */ = { 692 | isa = PBXNativeTarget; 693 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */; 694 | buildPhases = ( 695 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 696 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 697 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 698 | ); 699 | buildRules = ( 700 | ); 701 | dependencies = ( 702 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 703 | ); 704 | name = "Example-tvOSTests"; 705 | productName = "Example-tvOSTests"; 706 | productReference = 2D02E4901E0B4A5D006451C7 /* Example-tvOSTests.xctest */; 707 | productType = "com.apple.product-type.bundle.unit-test"; 708 | }; 709 | /* End PBXNativeTarget section */ 710 | 711 | /* Begin PBXProject section */ 712 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 713 | isa = PBXProject; 714 | attributes = { 715 | LastUpgradeCheck = 610; 716 | ORGANIZATIONNAME = Facebook; 717 | TargetAttributes = { 718 | 00E356ED1AD99517003FC87E = { 719 | CreatedOnToolsVersion = 6.2; 720 | TestTargetID = 13B07F861A680F5B00A75B9A; 721 | }; 722 | 2D02E47A1E0B4A5D006451C7 = { 723 | CreatedOnToolsVersion = 8.2.1; 724 | ProvisioningStyle = Automatic; 725 | }; 726 | 2D02E48F1E0B4A5D006451C7 = { 727 | CreatedOnToolsVersion = 8.2.1; 728 | ProvisioningStyle = Automatic; 729 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 730 | }; 731 | }; 732 | }; 733 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */; 734 | compatibilityVersion = "Xcode 3.2"; 735 | developmentRegion = English; 736 | hasScannedForEncodings = 0; 737 | knownRegions = ( 738 | en, 739 | Base, 740 | ); 741 | mainGroup = 83CBB9F61A601CBA00E9B192; 742 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 743 | projectDirPath = ""; 744 | projectReferences = ( 745 | { 746 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 747 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 748 | }, 749 | { 750 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 751 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 752 | }, 753 | { 754 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 755 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 756 | }, 757 | { 758 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 759 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 760 | }, 761 | { 762 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 763 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 764 | }, 765 | { 766 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 767 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 768 | }, 769 | { 770 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 771 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 772 | }, 773 | { 774 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 775 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 776 | }, 777 | { 778 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 779 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 780 | }, 781 | { 782 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 783 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 784 | }, 785 | { 786 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 787 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 788 | }, 789 | { 790 | ProductGroup = 146834001AC3E56700842450 /* Products */; 791 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 792 | }, 793 | { 794 | ProductGroup = CEE1E681201A0D1100CE4599 /* Products */; 795 | ProjectRef = 5D41C2847C8A47B39D77DFCF /* RNSiriWaveView.xcodeproj */; 796 | }, 797 | ); 798 | projectRoot = ""; 799 | targets = ( 800 | 13B07F861A680F5B00A75B9A /* Example */, 801 | 00E356ED1AD99517003FC87E /* ExampleTests */, 802 | 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */, 803 | 2D02E48F1E0B4A5D006451C7 /* Example-tvOSTests */, 804 | ); 805 | }; 806 | /* End PBXProject section */ 807 | 808 | /* Begin PBXReferenceProxy section */ 809 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 810 | isa = PBXReferenceProxy; 811 | fileType = archive.ar; 812 | path = libRCTActionSheet.a; 813 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 814 | sourceTree = BUILT_PRODUCTS_DIR; 815 | }; 816 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 817 | isa = PBXReferenceProxy; 818 | fileType = archive.ar; 819 | path = libRCTGeolocation.a; 820 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 821 | sourceTree = BUILT_PRODUCTS_DIR; 822 | }; 823 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 824 | isa = PBXReferenceProxy; 825 | fileType = archive.ar; 826 | path = libRCTImage.a; 827 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 828 | sourceTree = BUILT_PRODUCTS_DIR; 829 | }; 830 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 831 | isa = PBXReferenceProxy; 832 | fileType = archive.ar; 833 | path = libRCTNetwork.a; 834 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 835 | sourceTree = BUILT_PRODUCTS_DIR; 836 | }; 837 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 838 | isa = PBXReferenceProxy; 839 | fileType = archive.ar; 840 | path = libRCTVibration.a; 841 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 842 | sourceTree = BUILT_PRODUCTS_DIR; 843 | }; 844 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 845 | isa = PBXReferenceProxy; 846 | fileType = archive.ar; 847 | path = libRCTSettings.a; 848 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 849 | sourceTree = BUILT_PRODUCTS_DIR; 850 | }; 851 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 852 | isa = PBXReferenceProxy; 853 | fileType = archive.ar; 854 | path = libRCTWebSocket.a; 855 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 856 | sourceTree = BUILT_PRODUCTS_DIR; 857 | }; 858 | 146834041AC3E56700842450 /* libReact.a */ = { 859 | isa = PBXReferenceProxy; 860 | fileType = archive.ar; 861 | path = libReact.a; 862 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 863 | sourceTree = BUILT_PRODUCTS_DIR; 864 | }; 865 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 866 | isa = PBXReferenceProxy; 867 | fileType = archive.ar; 868 | path = "libRCTBlob-tvOS.a"; 869 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 870 | sourceTree = BUILT_PRODUCTS_DIR; 871 | }; 872 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 873 | isa = PBXReferenceProxy; 874 | fileType = archive.ar; 875 | path = libfishhook.a; 876 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 877 | sourceTree = BUILT_PRODUCTS_DIR; 878 | }; 879 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 880 | isa = PBXReferenceProxy; 881 | fileType = archive.ar; 882 | path = "libfishhook-tvOS.a"; 883 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 884 | sourceTree = BUILT_PRODUCTS_DIR; 885 | }; 886 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 887 | isa = PBXReferenceProxy; 888 | fileType = archive.ar; 889 | path = "libRCTImage-tvOS.a"; 890 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 891 | sourceTree = BUILT_PRODUCTS_DIR; 892 | }; 893 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 894 | isa = PBXReferenceProxy; 895 | fileType = archive.ar; 896 | path = "libRCTLinking-tvOS.a"; 897 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 898 | sourceTree = BUILT_PRODUCTS_DIR; 899 | }; 900 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 901 | isa = PBXReferenceProxy; 902 | fileType = archive.ar; 903 | path = "libRCTNetwork-tvOS.a"; 904 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 905 | sourceTree = BUILT_PRODUCTS_DIR; 906 | }; 907 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 908 | isa = PBXReferenceProxy; 909 | fileType = archive.ar; 910 | path = "libRCTSettings-tvOS.a"; 911 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 912 | sourceTree = BUILT_PRODUCTS_DIR; 913 | }; 914 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 915 | isa = PBXReferenceProxy; 916 | fileType = archive.ar; 917 | path = "libRCTText-tvOS.a"; 918 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 919 | sourceTree = BUILT_PRODUCTS_DIR; 920 | }; 921 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 922 | isa = PBXReferenceProxy; 923 | fileType = archive.ar; 924 | path = "libRCTWebSocket-tvOS.a"; 925 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 926 | sourceTree = BUILT_PRODUCTS_DIR; 927 | }; 928 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 929 | isa = PBXReferenceProxy; 930 | fileType = archive.ar; 931 | path = libReact.a; 932 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 933 | sourceTree = BUILT_PRODUCTS_DIR; 934 | }; 935 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 936 | isa = PBXReferenceProxy; 937 | fileType = archive.ar; 938 | path = libyoga.a; 939 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 940 | sourceTree = BUILT_PRODUCTS_DIR; 941 | }; 942 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 943 | isa = PBXReferenceProxy; 944 | fileType = archive.ar; 945 | path = libyoga.a; 946 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 947 | sourceTree = BUILT_PRODUCTS_DIR; 948 | }; 949 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 950 | isa = PBXReferenceProxy; 951 | fileType = archive.ar; 952 | path = libcxxreact.a; 953 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 954 | sourceTree = BUILT_PRODUCTS_DIR; 955 | }; 956 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 957 | isa = PBXReferenceProxy; 958 | fileType = archive.ar; 959 | path = libcxxreact.a; 960 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 961 | sourceTree = BUILT_PRODUCTS_DIR; 962 | }; 963 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 964 | isa = PBXReferenceProxy; 965 | fileType = archive.ar; 966 | path = libjschelpers.a; 967 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 968 | sourceTree = BUILT_PRODUCTS_DIR; 969 | }; 970 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 971 | isa = PBXReferenceProxy; 972 | fileType = archive.ar; 973 | path = libjschelpers.a; 974 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 975 | sourceTree = BUILT_PRODUCTS_DIR; 976 | }; 977 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 978 | isa = PBXReferenceProxy; 979 | fileType = archive.ar; 980 | path = libRCTAnimation.a; 981 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 982 | sourceTree = BUILT_PRODUCTS_DIR; 983 | }; 984 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 985 | isa = PBXReferenceProxy; 986 | fileType = archive.ar; 987 | path = libRCTAnimation.a; 988 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 989 | sourceTree = BUILT_PRODUCTS_DIR; 990 | }; 991 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 992 | isa = PBXReferenceProxy; 993 | fileType = archive.ar; 994 | path = libRCTLinking.a; 995 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 996 | sourceTree = BUILT_PRODUCTS_DIR; 997 | }; 998 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 999 | isa = PBXReferenceProxy; 1000 | fileType = archive.ar; 1001 | path = libRCTText.a; 1002 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1003 | sourceTree = BUILT_PRODUCTS_DIR; 1004 | }; 1005 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1006 | isa = PBXReferenceProxy; 1007 | fileType = archive.ar; 1008 | path = libRCTBlob.a; 1009 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1010 | sourceTree = BUILT_PRODUCTS_DIR; 1011 | }; 1012 | CEE1E671201A0D1000CE4599 /* libjsinspector.a */ = { 1013 | isa = PBXReferenceProxy; 1014 | fileType = archive.ar; 1015 | path = libjsinspector.a; 1016 | remoteRef = CEE1E670201A0D1000CE4599 /* PBXContainerItemProxy */; 1017 | sourceTree = BUILT_PRODUCTS_DIR; 1018 | }; 1019 | CEE1E673201A0D1000CE4599 /* libjsinspector-tvOS.a */ = { 1020 | isa = PBXReferenceProxy; 1021 | fileType = archive.ar; 1022 | path = "libjsinspector-tvOS.a"; 1023 | remoteRef = CEE1E672201A0D1000CE4599 /* PBXContainerItemProxy */; 1024 | sourceTree = BUILT_PRODUCTS_DIR; 1025 | }; 1026 | CEE1E675201A0D1000CE4599 /* libthird-party.a */ = { 1027 | isa = PBXReferenceProxy; 1028 | fileType = archive.ar; 1029 | path = "libthird-party.a"; 1030 | remoteRef = CEE1E674201A0D1000CE4599 /* PBXContainerItemProxy */; 1031 | sourceTree = BUILT_PRODUCTS_DIR; 1032 | }; 1033 | CEE1E677201A0D1000CE4599 /* libthird-party.a */ = { 1034 | isa = PBXReferenceProxy; 1035 | fileType = archive.ar; 1036 | path = "libthird-party.a"; 1037 | remoteRef = CEE1E676201A0D1000CE4599 /* PBXContainerItemProxy */; 1038 | sourceTree = BUILT_PRODUCTS_DIR; 1039 | }; 1040 | CEE1E679201A0D1000CE4599 /* libdouble-conversion.a */ = { 1041 | isa = PBXReferenceProxy; 1042 | fileType = archive.ar; 1043 | path = "libdouble-conversion.a"; 1044 | remoteRef = CEE1E678201A0D1000CE4599 /* PBXContainerItemProxy */; 1045 | sourceTree = BUILT_PRODUCTS_DIR; 1046 | }; 1047 | CEE1E67B201A0D1000CE4599 /* libdouble-conversion.a */ = { 1048 | isa = PBXReferenceProxy; 1049 | fileType = archive.ar; 1050 | path = "libdouble-conversion.a"; 1051 | remoteRef = CEE1E67A201A0D1000CE4599 /* PBXContainerItemProxy */; 1052 | sourceTree = BUILT_PRODUCTS_DIR; 1053 | }; 1054 | CEE1E67D201A0D1000CE4599 /* libprivatedata.a */ = { 1055 | isa = PBXReferenceProxy; 1056 | fileType = archive.ar; 1057 | path = libprivatedata.a; 1058 | remoteRef = CEE1E67C201A0D1000CE4599 /* PBXContainerItemProxy */; 1059 | sourceTree = BUILT_PRODUCTS_DIR; 1060 | }; 1061 | CEE1E67F201A0D1000CE4599 /* libprivatedata-tvOS.a */ = { 1062 | isa = PBXReferenceProxy; 1063 | fileType = archive.ar; 1064 | path = "libprivatedata-tvOS.a"; 1065 | remoteRef = CEE1E67E201A0D1000CE4599 /* PBXContainerItemProxy */; 1066 | sourceTree = BUILT_PRODUCTS_DIR; 1067 | }; 1068 | CEE1E685201A0D1200CE4599 /* libRNSiriWaveView.a */ = { 1069 | isa = PBXReferenceProxy; 1070 | fileType = archive.ar; 1071 | path = libRNSiriWaveView.a; 1072 | remoteRef = CEE1E684201A0D1200CE4599 /* PBXContainerItemProxy */; 1073 | sourceTree = BUILT_PRODUCTS_DIR; 1074 | }; 1075 | /* End PBXReferenceProxy section */ 1076 | 1077 | /* Begin PBXResourcesBuildPhase section */ 1078 | 00E356EC1AD99517003FC87E /* Resources */ = { 1079 | isa = PBXResourcesBuildPhase; 1080 | buildActionMask = 2147483647; 1081 | files = ( 1082 | ); 1083 | runOnlyForDeploymentPostprocessing = 0; 1084 | }; 1085 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1086 | isa = PBXResourcesBuildPhase; 1087 | buildActionMask = 2147483647; 1088 | files = ( 1089 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1090 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1091 | ); 1092 | runOnlyForDeploymentPostprocessing = 0; 1093 | }; 1094 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1095 | isa = PBXResourcesBuildPhase; 1096 | buildActionMask = 2147483647; 1097 | files = ( 1098 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1099 | ); 1100 | runOnlyForDeploymentPostprocessing = 0; 1101 | }; 1102 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1103 | isa = PBXResourcesBuildPhase; 1104 | buildActionMask = 2147483647; 1105 | files = ( 1106 | ); 1107 | runOnlyForDeploymentPostprocessing = 0; 1108 | }; 1109 | /* End PBXResourcesBuildPhase section */ 1110 | 1111 | /* Begin PBXShellScriptBuildPhase section */ 1112 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1113 | isa = PBXShellScriptBuildPhase; 1114 | buildActionMask = 2147483647; 1115 | files = ( 1116 | ); 1117 | inputPaths = ( 1118 | ); 1119 | name = "Bundle React Native code and images"; 1120 | outputPaths = ( 1121 | ); 1122 | runOnlyForDeploymentPostprocessing = 0; 1123 | shellPath = /bin/sh; 1124 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1125 | }; 1126 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1127 | isa = PBXShellScriptBuildPhase; 1128 | buildActionMask = 2147483647; 1129 | files = ( 1130 | ); 1131 | inputPaths = ( 1132 | ); 1133 | name = "Bundle React Native Code And Images"; 1134 | outputPaths = ( 1135 | ); 1136 | runOnlyForDeploymentPostprocessing = 0; 1137 | shellPath = /bin/sh; 1138 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1139 | }; 1140 | /* End PBXShellScriptBuildPhase section */ 1141 | 1142 | /* Begin PBXSourcesBuildPhase section */ 1143 | 00E356EA1AD99517003FC87E /* Sources */ = { 1144 | isa = PBXSourcesBuildPhase; 1145 | buildActionMask = 2147483647; 1146 | files = ( 1147 | 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */, 1148 | ); 1149 | runOnlyForDeploymentPostprocessing = 0; 1150 | }; 1151 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1152 | isa = PBXSourcesBuildPhase; 1153 | buildActionMask = 2147483647; 1154 | files = ( 1155 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1156 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1157 | ); 1158 | runOnlyForDeploymentPostprocessing = 0; 1159 | }; 1160 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1161 | isa = PBXSourcesBuildPhase; 1162 | buildActionMask = 2147483647; 1163 | files = ( 1164 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1165 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1166 | ); 1167 | runOnlyForDeploymentPostprocessing = 0; 1168 | }; 1169 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1170 | isa = PBXSourcesBuildPhase; 1171 | buildActionMask = 2147483647; 1172 | files = ( 1173 | 2DCD954D1E0B4F2C00145EB5 /* ExampleTests.m in Sources */, 1174 | ); 1175 | runOnlyForDeploymentPostprocessing = 0; 1176 | }; 1177 | /* End PBXSourcesBuildPhase section */ 1178 | 1179 | /* Begin PBXTargetDependency section */ 1180 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1181 | isa = PBXTargetDependency; 1182 | target = 13B07F861A680F5B00A75B9A /* Example */; 1183 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1184 | }; 1185 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1186 | isa = PBXTargetDependency; 1187 | target = 2D02E47A1E0B4A5D006451C7 /* Example-tvOS */; 1188 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1189 | }; 1190 | /* End PBXTargetDependency section */ 1191 | 1192 | /* Begin PBXVariantGroup section */ 1193 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1194 | isa = PBXVariantGroup; 1195 | children = ( 1196 | 13B07FB21A68108700A75B9A /* Base */, 1197 | ); 1198 | name = LaunchScreen.xib; 1199 | path = Example; 1200 | sourceTree = ""; 1201 | }; 1202 | /* End PBXVariantGroup section */ 1203 | 1204 | /* Begin XCBuildConfiguration section */ 1205 | 00E356F61AD99517003FC87E /* Debug */ = { 1206 | isa = XCBuildConfiguration; 1207 | buildSettings = { 1208 | BUNDLE_LOADER = "$(TEST_HOST)"; 1209 | GCC_PREPROCESSOR_DEFINITIONS = ( 1210 | "DEBUG=1", 1211 | "$(inherited)", 1212 | ); 1213 | HEADER_SEARCH_PATHS = ( 1214 | "$(inherited)", 1215 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1216 | ); 1217 | INFOPLIST_FILE = ExampleTests/Info.plist; 1218 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1219 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1220 | LIBRARY_SEARCH_PATHS = ( 1221 | "$(inherited)", 1222 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1223 | ); 1224 | OTHER_LDFLAGS = ( 1225 | "-ObjC", 1226 | "-lc++", 1227 | ); 1228 | PRODUCT_NAME = "$(TARGET_NAME)"; 1229 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1230 | }; 1231 | name = Debug; 1232 | }; 1233 | 00E356F71AD99517003FC87E /* Release */ = { 1234 | isa = XCBuildConfiguration; 1235 | buildSettings = { 1236 | BUNDLE_LOADER = "$(TEST_HOST)"; 1237 | COPY_PHASE_STRIP = NO; 1238 | HEADER_SEARCH_PATHS = ( 1239 | "$(inherited)", 1240 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1241 | ); 1242 | INFOPLIST_FILE = ExampleTests/Info.plist; 1243 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1244 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1245 | LIBRARY_SEARCH_PATHS = ( 1246 | "$(inherited)", 1247 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1248 | ); 1249 | OTHER_LDFLAGS = ( 1250 | "-ObjC", 1251 | "-lc++", 1252 | ); 1253 | PRODUCT_NAME = "$(TARGET_NAME)"; 1254 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 1255 | }; 1256 | name = Release; 1257 | }; 1258 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1259 | isa = XCBuildConfiguration; 1260 | buildSettings = { 1261 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1262 | CURRENT_PROJECT_VERSION = 1; 1263 | DEAD_CODE_STRIPPING = NO; 1264 | HEADER_SEARCH_PATHS = ( 1265 | "$(inherited)", 1266 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1267 | ); 1268 | INFOPLIST_FILE = Example/Info.plist; 1269 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1270 | OTHER_LDFLAGS = ( 1271 | "$(inherited)", 1272 | "-ObjC", 1273 | "-lc++", 1274 | ); 1275 | PRODUCT_NAME = Example; 1276 | TARGETED_DEVICE_FAMILY = "1,2"; 1277 | VERSIONING_SYSTEM = "apple-generic"; 1278 | }; 1279 | name = Debug; 1280 | }; 1281 | 13B07F951A680F5B00A75B9A /* Release */ = { 1282 | isa = XCBuildConfiguration; 1283 | buildSettings = { 1284 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1285 | CURRENT_PROJECT_VERSION = 1; 1286 | HEADER_SEARCH_PATHS = ( 1287 | "$(inherited)", 1288 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1289 | ); 1290 | INFOPLIST_FILE = Example/Info.plist; 1291 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1292 | OTHER_LDFLAGS = ( 1293 | "$(inherited)", 1294 | "-ObjC", 1295 | "-lc++", 1296 | ); 1297 | PRODUCT_NAME = Example; 1298 | TARGETED_DEVICE_FAMILY = "1,2"; 1299 | VERSIONING_SYSTEM = "apple-generic"; 1300 | }; 1301 | name = Release; 1302 | }; 1303 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1304 | isa = XCBuildConfiguration; 1305 | buildSettings = { 1306 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1307 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1308 | CLANG_ANALYZER_NONNULL = YES; 1309 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1310 | CLANG_WARN_INFINITE_RECURSION = YES; 1311 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1312 | DEBUG_INFORMATION_FORMAT = dwarf; 1313 | ENABLE_TESTABILITY = YES; 1314 | GCC_NO_COMMON_BLOCKS = YES; 1315 | HEADER_SEARCH_PATHS = ( 1316 | "$(inherited)", 1317 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1318 | ); 1319 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1320 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1321 | LIBRARY_SEARCH_PATHS = ( 1322 | "$(inherited)", 1323 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1324 | ); 1325 | OTHER_LDFLAGS = ( 1326 | "-ObjC", 1327 | "-lc++", 1328 | ); 1329 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1330 | PRODUCT_NAME = "$(TARGET_NAME)"; 1331 | SDKROOT = appletvos; 1332 | TARGETED_DEVICE_FAMILY = 3; 1333 | TVOS_DEPLOYMENT_TARGET = 9.2; 1334 | }; 1335 | name = Debug; 1336 | }; 1337 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1338 | isa = XCBuildConfiguration; 1339 | buildSettings = { 1340 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1341 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1342 | CLANG_ANALYZER_NONNULL = YES; 1343 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1344 | CLANG_WARN_INFINITE_RECURSION = YES; 1345 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1346 | COPY_PHASE_STRIP = NO; 1347 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1348 | GCC_NO_COMMON_BLOCKS = YES; 1349 | HEADER_SEARCH_PATHS = ( 1350 | "$(inherited)", 1351 | "$(SRCROOT)/../node_modules/react-native-siri-wave-view/ios", 1352 | ); 1353 | INFOPLIST_FILE = "Example-tvOS/Info.plist"; 1354 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1355 | LIBRARY_SEARCH_PATHS = ( 1356 | "$(inherited)", 1357 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1358 | ); 1359 | OTHER_LDFLAGS = ( 1360 | "-ObjC", 1361 | "-lc++", 1362 | ); 1363 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOS"; 1364 | PRODUCT_NAME = "$(TARGET_NAME)"; 1365 | SDKROOT = appletvos; 1366 | TARGETED_DEVICE_FAMILY = 3; 1367 | TVOS_DEPLOYMENT_TARGET = 9.2; 1368 | }; 1369 | name = Release; 1370 | }; 1371 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1372 | isa = XCBuildConfiguration; 1373 | buildSettings = { 1374 | BUNDLE_LOADER = "$(TEST_HOST)"; 1375 | CLANG_ANALYZER_NONNULL = YES; 1376 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1377 | CLANG_WARN_INFINITE_RECURSION = YES; 1378 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1379 | DEBUG_INFORMATION_FORMAT = dwarf; 1380 | ENABLE_TESTABILITY = YES; 1381 | GCC_NO_COMMON_BLOCKS = YES; 1382 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1383 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1384 | LIBRARY_SEARCH_PATHS = ( 1385 | "$(inherited)", 1386 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1387 | ); 1388 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1389 | PRODUCT_NAME = "$(TARGET_NAME)"; 1390 | SDKROOT = appletvos; 1391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1392 | TVOS_DEPLOYMENT_TARGET = 10.1; 1393 | }; 1394 | name = Debug; 1395 | }; 1396 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1397 | isa = XCBuildConfiguration; 1398 | buildSettings = { 1399 | BUNDLE_LOADER = "$(TEST_HOST)"; 1400 | CLANG_ANALYZER_NONNULL = YES; 1401 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1402 | CLANG_WARN_INFINITE_RECURSION = YES; 1403 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1404 | COPY_PHASE_STRIP = NO; 1405 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1406 | GCC_NO_COMMON_BLOCKS = YES; 1407 | INFOPLIST_FILE = "Example-tvOSTests/Info.plist"; 1408 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1409 | LIBRARY_SEARCH_PATHS = ( 1410 | "$(inherited)", 1411 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1412 | ); 1413 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Example-tvOSTests"; 1414 | PRODUCT_NAME = "$(TARGET_NAME)"; 1415 | SDKROOT = appletvos; 1416 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-tvOS.app/Example-tvOS"; 1417 | TVOS_DEPLOYMENT_TARGET = 10.1; 1418 | }; 1419 | name = Release; 1420 | }; 1421 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1422 | isa = XCBuildConfiguration; 1423 | buildSettings = { 1424 | ALWAYS_SEARCH_USER_PATHS = NO; 1425 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1426 | CLANG_CXX_LIBRARY = "libc++"; 1427 | CLANG_ENABLE_MODULES = YES; 1428 | CLANG_ENABLE_OBJC_ARC = YES; 1429 | CLANG_WARN_BOOL_CONVERSION = YES; 1430 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1431 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1432 | CLANG_WARN_EMPTY_BODY = YES; 1433 | CLANG_WARN_ENUM_CONVERSION = YES; 1434 | CLANG_WARN_INT_CONVERSION = YES; 1435 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1436 | CLANG_WARN_UNREACHABLE_CODE = YES; 1437 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1438 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1439 | COPY_PHASE_STRIP = NO; 1440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1441 | GCC_C_LANGUAGE_STANDARD = gnu99; 1442 | GCC_DYNAMIC_NO_PIC = NO; 1443 | GCC_OPTIMIZATION_LEVEL = 0; 1444 | GCC_PREPROCESSOR_DEFINITIONS = ( 1445 | "DEBUG=1", 1446 | "$(inherited)", 1447 | ); 1448 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1449 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1450 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1451 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1452 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1453 | GCC_WARN_UNUSED_FUNCTION = YES; 1454 | GCC_WARN_UNUSED_VARIABLE = YES; 1455 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1456 | MTL_ENABLE_DEBUG_INFO = YES; 1457 | ONLY_ACTIVE_ARCH = YES; 1458 | SDKROOT = iphoneos; 1459 | }; 1460 | name = Debug; 1461 | }; 1462 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1463 | isa = XCBuildConfiguration; 1464 | buildSettings = { 1465 | ALWAYS_SEARCH_USER_PATHS = NO; 1466 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1467 | CLANG_CXX_LIBRARY = "libc++"; 1468 | CLANG_ENABLE_MODULES = YES; 1469 | CLANG_ENABLE_OBJC_ARC = YES; 1470 | CLANG_WARN_BOOL_CONVERSION = YES; 1471 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1472 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1473 | CLANG_WARN_EMPTY_BODY = YES; 1474 | CLANG_WARN_ENUM_CONVERSION = YES; 1475 | CLANG_WARN_INT_CONVERSION = YES; 1476 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1477 | CLANG_WARN_UNREACHABLE_CODE = YES; 1478 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1479 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1480 | COPY_PHASE_STRIP = YES; 1481 | ENABLE_NS_ASSERTIONS = NO; 1482 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1483 | GCC_C_LANGUAGE_STANDARD = gnu99; 1484 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1485 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1486 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1487 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1488 | GCC_WARN_UNUSED_FUNCTION = YES; 1489 | GCC_WARN_UNUSED_VARIABLE = YES; 1490 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1491 | MTL_ENABLE_DEBUG_INFO = NO; 1492 | SDKROOT = iphoneos; 1493 | VALIDATE_PRODUCT = YES; 1494 | }; 1495 | name = Release; 1496 | }; 1497 | /* End XCBuildConfiguration section */ 1498 | 1499 | /* Begin XCConfigurationList section */ 1500 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */ = { 1501 | isa = XCConfigurationList; 1502 | buildConfigurations = ( 1503 | 00E356F61AD99517003FC87E /* Debug */, 1504 | 00E356F71AD99517003FC87E /* Release */, 1505 | ); 1506 | defaultConfigurationIsVisible = 0; 1507 | defaultConfigurationName = Release; 1508 | }; 1509 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */ = { 1510 | isa = XCConfigurationList; 1511 | buildConfigurations = ( 1512 | 13B07F941A680F5B00A75B9A /* Debug */, 1513 | 13B07F951A680F5B00A75B9A /* Release */, 1514 | ); 1515 | defaultConfigurationIsVisible = 0; 1516 | defaultConfigurationName = Release; 1517 | }; 1518 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOS" */ = { 1519 | isa = XCConfigurationList; 1520 | buildConfigurations = ( 1521 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1522 | 2D02E4981E0B4A5E006451C7 /* Release */, 1523 | ); 1524 | defaultConfigurationIsVisible = 0; 1525 | defaultConfigurationName = Release; 1526 | }; 1527 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Example-tvOSTests" */ = { 1528 | isa = XCConfigurationList; 1529 | buildConfigurations = ( 1530 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1531 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1532 | ); 1533 | defaultConfigurationIsVisible = 0; 1534 | defaultConfigurationName = Release; 1535 | }; 1536 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */ = { 1537 | isa = XCConfigurationList; 1538 | buildConfigurations = ( 1539 | 83CBBA201A601CBA00E9B192 /* Debug */, 1540 | 83CBBA211A601CBA00E9B192 /* Release */, 1541 | ); 1542 | defaultConfigurationIsVisible = 0; 1543 | defaultConfigurationName = Release; 1544 | }; 1545 | /* End XCConfigurationList section */ 1546 | }; 1547 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1548 | } 1549 | -------------------------------------------------------------------------------- /Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example-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 | -------------------------------------------------------------------------------- /Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.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 | -------------------------------------------------------------------------------- /Example/ios/Example/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 | -------------------------------------------------------------------------------- /Example/ios/Example/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:@"Example" 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 | -------------------------------------------------------------------------------- /Example/ios/Example/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 | -------------------------------------------------------------------------------- /Example/ios/Example/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 | } -------------------------------------------------------------------------------- /Example/ios/Example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Example/ios/Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Example 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 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/ios/Example/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 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/ExampleTests.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 ExampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ExampleTests 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 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/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 | -------------------------------------------------------------------------------- /Example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Example", 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.3.1", 11 | "react-native": "0.55.4", 12 | "react-native-siri-wave-view": "../" 13 | }, 14 | "devDependencies": { 15 | "babel-jest": "22.1.0", 16 | "babel-preset-react-native": "4.0.0", 17 | "jest": "22.1.4", 18 | "react-test-renderer": "16.2.0" 19 | }, 20 | "jest": { 21 | "preset": "react-native" 22 | } 23 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright @ [Pranav Raj Singh Chauhan] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | 4 |

5 | 6 | PRs Welcome 7 | 8 |

9 | 10 | ReactNative: Native Siri Wave View (Android/iOS): Deprecated 11 | 12 | Due to time constraint, this library is deprecated and not maintained anymore, You can still use this library. 13 | 14 | If this project has helped you out, please support us with a star 🌟 15 |

16 | 17 | This library is a React Native bridge around native libraries providing **Siri Wave** implementation 18 | 19 | > **Note:** iOS 9 Wave Form is only supported on iOS. 20 | 21 | | **[stefanceriu/SCSiriWaveformView](https://github.com/stefanceriu/SCSiriWaveformView) & [alexgomes09/SIRIWaveView](https://github.com/alexgomes09/SIRIWaveView)** | 22 | | ----------------- | 23 | | | 24 | 25 | | **[prscX/PXSiriWave9](https://github.com/prscX/PXSiriWave9)** | 26 | | ----------------- | 27 | | | 28 | 29 | 30 | ## 📖 Getting started 31 | 32 | - `$ npm install react-native-siri-wave-view --save` 33 | 34 | - `$ react-native link react-native-siri-wave-view` 35 | 36 | #### Android 37 | - Please add `react-native-siri-wave-view` & `siriwaveview` module in your app by adding below snippet in your app settings.gradle. If it already exisit please ignore: 38 | 39 | ```javascript 40 | include ':react-native-siri-wave-view' 41 | project(':react-native-siri-wave-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-siri-wave-view/android') 42 | 43 | include ':siriwaveview' 44 | project(':siriwaveview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-siri-wave-view/android/SIRIWaveView/siriwaveview') 45 | ``` 46 | 47 | - Add below `:react-native-siri-wave-view` & `:siriwaveview` in your app `build.gradle` depenencies: 48 | 49 | ``` 50 | dependencies { 51 | compile project(':siriwaveview') 52 | compile project(':react-native-siri-wave-view') 53 | compile fileTree(dir: "libs", include: ["*.jar"]) 54 | } 55 | 56 | ``` 57 | 58 | - Please add below snippet in your app build.gradle file 59 | 60 | ``` 61 | buildscript { 62 | repositories { 63 | jcenter() 64 | maven { url "https://maven.google.com" } 65 | ... 66 | } 67 | } 68 | 69 | allprojects { 70 | repositories { 71 | mavenLocal() 72 | jcenter() 73 | maven { url "https://maven.google.com" } 74 | ... 75 | } 76 | } 77 | ``` 78 | 79 | - Please make sure your Android SDK > 27 and above 80 | 81 | > **Note:** If you encounter [ISSUE - 2](https://github.com/prscX/react-native-siri-wave-view/issues/2), Please replace `import com.alex.siriwaveview.RNSiriWaveViewPackage;` with `import ui.siriwave.RNSiriWaveViewPackage;` in your app Android `MainApplication.java` class 82 | 83 | 84 | 85 | #### iOS 86 | 87 | - After `react-native link react-native-siri-wave-view`, please verify `node_modules/react-native-siri-wave-view/ios/` contains `Pods` folder. If does not exist please execute `pod install` command on `node_modules/react-native-siri-wave-view/ios/`, if any error => try `pod repo update` then `pod install` 88 | 89 | 90 | ## 💻 Usage 91 | 92 | ```javascript 93 | 94 | import RNSiriWaveView from 'react-native-siri-wave-view'; 95 | 96 | 97 | 98 | ``` 99 | 100 | ## 💡 Props 101 | 102 | 103 | - **Generic Props** 104 | 105 | | Prop | Type | Default | Note | 106 | | ----------------- | ---------- | ------- | ---------------------------------------------------------------------------------------------------------- | 107 | | `width` | `number` | 200 | Width of Siri Wave View | 108 | | `height` | `number` | 100 | Height of Siri Wave View | 109 | | `type` | `number` | 0 | Specify type of wave you need. Default: 0, SiriWave9: 1 | 110 | | `numberOfWaves` | `number` | 5 | Number of waves you want in the view | 111 | | `backgroundColor` | `string` | #FFFFFF | Background Color of Siri Wave View | | 112 | | `waveColor` | `string` | #000000 | Color of Siri Waves | | 113 | | `primaryWaveLineWidth` | `string` | iOS: 3, Android: 50 | Width of primary wave 114 | | `amplitude` | `number` | 0.5 | Amplitude of Waves | 115 | | `frequency` | `number` | 1.5 | Frequency of Waves | 116 | | `amplitude` | `number` | 0.01 | Amplitude of Waves | 117 | | `startAnimation` | `bool` | false | To Start the wave animation | 118 | | `stopAnimation` | `bool` | false | To Stop the ongoing wave animation | 119 | 120 | 121 | - **iOS Props** 122 | 123 | | Prop | Type | Default | Note | 124 | | ----------------- | ---------- | ------- | ---------------------------------------------------------------------------------------------------------- | 125 | | `secondaryWaveLineWidth` | `string` | 1 | Width of secondary wave | 126 | | `density` | `number` | 5 | Density of Waves | 127 | | `phaseShift` | `number` | -0.15 | Width of secondary wave | 128 | 129 | 130 | - **Siri Wave 9 Props** 131 | 132 | | Prop | Type | Default | Note | 133 | | ----------------- | ---------- | ------- | ---------------------------------------------------------------------------------------------------------- | 134 | | `intensity` | `number` | 0.3 | Specify intensity of wave | 135 | | `colors` | `array` | ["#2085fc", "#5efca9", "#fd4767"] | Specify colors of siri wave 9 colors | 136 | 137 | 138 | ## ✨ Credits 139 | 140 | - iOS: [stefanceriu/SCSiriWaveformView](https://github.com/stefanceriu/SCSiriWaveformView) 141 | - Android: [alexgomes09/SIRIWaveView](https://github.com/alexgomes09/SIRIWaveView) 142 | - Siri Wave 9 Implementation by: [GreatPotter](https://github.com/GreatPotter) 143 | 144 | ## 🤔 How to contribute 145 | Have an idea? Found a bug? Please raise to [ISSUES](https://github.com/prscX/react-native-bottom-action-sheet/issues). 146 | Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given. 147 | 148 | ## 💫 Where is this library used? 149 | If you are using this library in one of your projects, add it in this list below. ✨ 150 | 151 | 152 | ## 📜 License 153 | This library is provided under the Apache License. 154 | 155 | RNSiriWaveView @ [prscX](https://github.com/prscX) 156 | 157 | ## 💖 Support my projects 158 | I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it). 159 | 160 | However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it: 161 | * Starring and sharing the projects you like 🚀 162 | * If you're feeling especially charitable, please follow [prscX](https://github.com/prscX) on GitHub. 163 | 164 | Buy Me A Coffee 165 | 166 | Thanks! ❤️ 167 |
168 | [prscX.github.io](https://prscx.github.io) 169 |
170 | 171 | -------------------------------------------------------------------------------- /RNSiriWaveView.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from "react"; 2 | import { StyleSheet, ViewPropTypes, Platform } from "react-native"; 3 | import PropTypes from "prop-types"; 4 | 5 | import { requireNativeComponent } from "react-native"; 6 | 7 | class RNSiriWaveView extends Component { 8 | static propTypes = { 9 | ...ViewPropTypes, 10 | 11 | width: PropTypes.number, 12 | height: PropTypes.number, 13 | size: PropTypes.object, 14 | 15 | props: PropTypes.object, 16 | 17 | numberOfWaves: PropTypes.number, 18 | backgroundColor: PropTypes.string, 19 | waveColor: PropTypes.string, 20 | primaryWaveLineWidth: PropTypes.number, 21 | secondaryWaveLineWidth: PropTypes.number, 22 | frequency: PropTypes.number, 23 | amplitude: PropTypes.number, 24 | density: PropTypes.number, 25 | phaseShift: PropTypes.number, 26 | colors: PropTypes.array, 27 | 28 | type: PropTypes.number, 29 | 30 | startAnimation: PropTypes.bool, 31 | stopAnimation: PropTypes.bool 32 | } 33 | 34 | static defaultProps = { 35 | width: 200, 36 | height: 100, 37 | 38 | numberOfWaves: 5, 39 | backgroundColor: "#FFFFFF", 40 | waveColor: "#000000", 41 | primaryWaveLineWidth: Platform.OS === "ios" ? 3 : 50, 42 | secondaryWaveLineWidth: 1, 43 | frequency: 1.5, 44 | amplitude: 0.5, 45 | density: 5, 46 | phaseShift: -0.15, 47 | intensity: 0.3, 48 | colors: ["#2085fc", "#5efca9", "#fd4767"], 49 | 50 | type: 0, 51 | 52 | startAnimation: false, 53 | stopAnimation: false 54 | } 55 | 56 | render() { 57 | let { 58 | width, 59 | height, 60 | numberOfWaves, 61 | backgroundColor, 62 | waveColor, 63 | primaryWaveLineWidth, 64 | secondaryWaveLineWidth, 65 | frequency, 66 | amplitude, 67 | density, 68 | phaseShift, 69 | intensity, 70 | colors, 71 | type, 72 | startAnimation, 73 | stopAnimation 74 | } = this.props; 75 | 76 | let SiriWave 77 | if (type === 0) SiriWave = SiriWaveView 78 | else if (type === 1) SiriWave = SiriWaveView9 79 | 80 | 81 | return ; 101 | } 102 | } 103 | 104 | const SiriWaveView = requireNativeComponent( 105 | "RNSiriWaveView", 106 | RNSiriWaveView 107 | ); 108 | 109 | const SiriWaveView9 = requireNativeComponent( 110 | "RNSiriWaveView9", 111 | RNSiriWaveView 112 | ); 113 | 114 | export default RNSiriWaveView; 115 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion '25.0.3' 6 | 7 | defaultConfig { 8 | minSdkVersion 16 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile fileTree(dir: 'libs', include: ['*.jar']) 23 | testCompile 'junit:junit:4.12' 24 | compile 'com.android.support:appcompat-v7:25.1.1' 25 | } 26 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/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 H:\Android\android-sdk/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 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/src/main/java/com/alex/siriwaveview/SiriWaveView.java: -------------------------------------------------------------------------------- 1 | package com.alex.siriwaveview; 2 | 3 | import android.animation.ObjectAnimator; 4 | import android.content.Context; 5 | import android.content.res.TypedArray; 6 | import android.graphics.Canvas; 7 | import android.graphics.Paint; 8 | import android.graphics.Path; 9 | import android.util.AttributeSet; 10 | import android.view.View; 11 | 12 | /** 13 | * Created by Alex on 6/25/2016. 14 | */ 15 | public class SiriWaveView extends View { 16 | 17 | private Path mPath; 18 | private Paint mPaint; 19 | 20 | public float frequency = 1.5f; 21 | public float IdleAmplitude = 0.00f; 22 | public int waveNumber = 2; 23 | public float phaseShift = 0.15f; 24 | public float initialPhaseOffset = 0.0f; 25 | public float waveHeight; 26 | public float waveVerticalPosition = 2; 27 | public int waveColor; 28 | public float phase; 29 | public float amplitude; 30 | public float level = 1.0f; 31 | 32 | ObjectAnimator mAmplitudeAnimator; 33 | 34 | public SiriWaveView(Context context) { 35 | super(context); 36 | // if (!isInEditMode()) 37 | // init(context, null); 38 | } 39 | 40 | public SiriWaveView(Context context, AttributeSet attrs) { 41 | super(context, attrs); 42 | // if (!isInEditMode()) 43 | // init(context, attrs); 44 | } 45 | 46 | public SiriWaveView(Context context, AttributeSet attrs, int defStyleAttr) { 47 | super(context, attrs, defStyleAttr); 48 | // if (!isInEditMode()) 49 | // init(context, attrs); 50 | } 51 | 52 | public void init(Context context, AttributeSet attrs) { 53 | TypedArray a = context.obtainStyledAttributes(attrs, com.alex.siriwaveview.R.styleable.SiriWaveView); 54 | frequency = a.getFloat(com.alex.siriwaveview.R.styleable.SiriWaveView_waveFrequency, frequency); 55 | IdleAmplitude = a.getFloat(com.alex.siriwaveview.R.styleable.SiriWaveView_waveIdleAmplitude, IdleAmplitude); 56 | phaseShift = a.getFloat(com.alex.siriwaveview.R.styleable.SiriWaveView_wavePhaseShift, phaseShift); 57 | initialPhaseOffset = a.getFloat(com.alex.siriwaveview.R.styleable.SiriWaveView_waveInitialPhaseOffset, initialPhaseOffset); 58 | waveHeight = a.getDimension(com.alex.siriwaveview.R.styleable.SiriWaveView_waveHeight, waveHeight); 59 | waveColor = a.getColor(com.alex.siriwaveview.R.styleable.SiriWaveView_waveColor, waveColor); 60 | waveVerticalPosition = a.getFloat(com.alex.siriwaveview.R.styleable.SiriWaveView_waveVerticalPosition, waveVerticalPosition); 61 | waveNumber = a.getInteger(R.styleable.SiriWaveView_waveAmount, waveNumber); 62 | 63 | mPath = new Path(); 64 | mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 65 | mPaint.setStyle(Paint.Style.STROKE); 66 | mPaint.setStrokeWidth(2); 67 | mPaint.setColor(waveColor); 68 | 69 | a.recycle(); 70 | initAnimation(); 71 | } 72 | 73 | private void initAnimation() { 74 | if (mAmplitudeAnimator == null) { 75 | mAmplitudeAnimator = ObjectAnimator.ofFloat(this, "amplitude", 1f); 76 | mAmplitudeAnimator.setRepeatCount(ObjectAnimator.INFINITE); 77 | } 78 | // if (!mAmplitudeAnimator.isRunning()) { 79 | // mAmplitudeAnimator.start(); 80 | // } 81 | } 82 | 83 | @Override 84 | protected void onDraw(Canvas canvas) { 85 | canvas.drawPath(mPath, mPaint); 86 | updatePath(); 87 | } 88 | 89 | private void updatePath() { 90 | mPath.reset(); 91 | 92 | phase += phaseShift; 93 | amplitude = Math.max(level, IdleAmplitude); 94 | 95 | for (int i = 0; i < waveNumber; i++) { 96 | float halfHeight = getHeight() / waveVerticalPosition; 97 | float width = getWidth(); 98 | float mid = width / 2.0f; 99 | 100 | float maxAmplitude = halfHeight - (halfHeight - waveHeight); 101 | 102 | // Progress is a value between 1.0 and -0.5, determined by the current wave idx, which is used to alter the wave's amplitude. 103 | float progress = 1.0f - (float) i / waveNumber; 104 | float normedAmplitude = (1.5f * progress - 0.5f) * amplitude; 105 | 106 | float multiplier = (float) Math.min(1.0, (progress / 3.0f * 2.0f) + (1.0f / 3.0f)); 107 | 108 | for (int x = 0; x < width; x++) { 109 | float scaling = (float) (-Math.pow(1 / mid * (x - mid), 2) + 1); 110 | 111 | float y = (float) (scaling * maxAmplitude * normedAmplitude * Math.sin(2 * Math.PI * (x / width) * frequency + phase + initialPhaseOffset) + halfHeight); 112 | 113 | if (x == 0) { 114 | mPath.moveTo(x, y); 115 | } else { 116 | mPath.lineTo(x, y); 117 | } 118 | } 119 | } 120 | 121 | //mPath.close(); 122 | } 123 | 124 | private void setAmplitude(float amplitude) { 125 | this.amplitude = amplitude; 126 | invalidate(); 127 | } 128 | 129 | private float getAmplitude() { 130 | return this.amplitude; 131 | } 132 | 133 | public void stopAnimation() { 134 | if (mAmplitudeAnimator != null) { 135 | mAmplitudeAnimator.removeAllListeners(); 136 | mAmplitudeAnimator.end(); 137 | mAmplitudeAnimator.cancel(); 138 | } 139 | } 140 | 141 | public void startAnimation() { 142 | if (mAmplitudeAnimator != null) { 143 | mAmplitudeAnimator.start(); 144 | } 145 | } 146 | 147 | public void setWaveColor(int waveColor) { 148 | mPaint.setColor(waveColor); 149 | invalidate(); 150 | } 151 | 152 | public void setStrokeWidth(float strokeWidth) { 153 | mPaint.setStrokeWidth(strokeWidth); 154 | invalidate(); 155 | } 156 | } -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/src/main/res/values/attr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android/SIRIWaveView/siriwaveview/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SiriWaveView 3 | 4 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | buildscript { 3 | repositories { 4 | jcenter() 5 | google() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.0.1' 10 | } 11 | } 12 | 13 | apply plugin: 'com.android.library' 14 | 15 | android { 16 | compileSdkVersion 27 17 | buildToolsVersion '27.0.3' 18 | 19 | defaultConfig { 20 | minSdkVersion 16 21 | targetSdkVersion 27 22 | versionCode 1 23 | versionName "1.0" 24 | } 25 | lintOptions { 26 | abortOnError false 27 | } 28 | } 29 | 30 | repositories { 31 | mavenCentral() 32 | google() 33 | } 34 | 35 | dependencies { 36 | compile 'com.facebook.react:react-native:+' 37 | compile project(':siriwaveview') 38 | } -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /android/src/main/java/ui/siriwave/RNSiriWaveView.java: -------------------------------------------------------------------------------- 1 | package ui.siriwave; 2 | 3 | import android.app.Activity; 4 | import android.graphics.Color; 5 | import android.view.ViewGroup; 6 | import android.widget.FrameLayout; 7 | 8 | import com.facebook.react.bridge.ReadableMap; 9 | import com.facebook.react.uimanager.ThemedReactContext; 10 | import com.facebook.react.uimanager.ViewGroupManager; 11 | 12 | import com.alex.siriwaveview.SiriWaveView; 13 | import com.facebook.react.uimanager.annotations.ReactProp; 14 | 15 | /** 16 | * Created by user on 26/01/18. 17 | */ 18 | 19 | public class RNSiriWaveView extends ViewGroupManager { 20 | 21 | public static final String REACT_CLASS = "RNSiriWaveView"; 22 | 23 | private ThemedReactContext context; 24 | private boolean animating = false; 25 | 26 | @Override 27 | public String getName() { 28 | return REACT_CLASS; 29 | } 30 | 31 | 32 | @Override 33 | protected FrameLayout createViewInstance(final ThemedReactContext reactContext) { 34 | context = reactContext; 35 | 36 | SiriWaveView siriWaveView = new SiriWaveView(reactContext); 37 | siriWaveView.init(context, null); 38 | 39 | FrameLayout frameLayout = new FrameLayout(reactContext.getCurrentActivity()); 40 | frameLayout.addView(siriWaveView); 41 | 42 | animating = false; 43 | 44 | return frameLayout; 45 | } 46 | 47 | @ReactProp(name = "size") 48 | public void setSize(FrameLayout frame, ReadableMap size) { 49 | int width = size.getInt("width"); 50 | int height = size.getInt("height"); 51 | } 52 | 53 | @ReactProp(name = "numberOfWaves") 54 | public void setNumberOfWaves(FrameLayout frame, int numberOfWaves) { 55 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 56 | siriWaveView.waveNumber = numberOfWaves; 57 | 58 | siriWaveView.init(context, null); 59 | } 60 | 61 | @ReactProp(name = "backgroundColor") 62 | public void setBackgroundColor(FrameLayout frame, String backgroundColor) { 63 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 64 | } 65 | 66 | @ReactProp(name = "waveColor") 67 | public void setWaveColor(FrameLayout frame, String waveColor) { 68 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 69 | siriWaveView.waveColor = Color.parseColor(waveColor); 70 | 71 | siriWaveView.init(context, null); 72 | } 73 | 74 | @ReactProp(name = "primaryWaveLineWidth") 75 | public void setPrimaryWaveLineWidth(FrameLayout frame, int primaryWaveLineWidth) { 76 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 77 | siriWaveView.waveHeight = primaryWaveLineWidth; 78 | 79 | siriWaveView.init(context, null); 80 | } 81 | 82 | @ReactProp(name = "secondaryWaveLineWidth") 83 | public void setSecondaryWaveLineWidth(FrameLayout frame, int secondaryWaveLineWidth) { 84 | 85 | } 86 | 87 | @ReactProp(name = "frequency") 88 | public void setFrequency(FrameLayout frame, int frequency) { 89 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 90 | siriWaveView.frequency = frequency; 91 | 92 | siriWaveView.init(context, null); 93 | } 94 | 95 | @ReactProp(name = "amplitude") 96 | public void setAmplitude(FrameLayout frame, int amplitude) { 97 | SiriWaveView siriWaveView = (SiriWaveView) frame.getChildAt(0); 98 | siriWaveView.amplitude = amplitude; 99 | 100 | siriWaveView.init(context, null); 101 | } 102 | 103 | @ReactProp(name = "startAnimation") 104 | public void setStartAnimation(FrameLayout SiriWaveViewFrame, boolean startAnimation) { 105 | SiriWaveView siriWaveView = (SiriWaveView) SiriWaveViewFrame.getChildAt(0); 106 | if (siriWaveView != null && animating == false && startAnimation) { 107 | animating = true; 108 | 109 | siriWaveView.init(context, null); 110 | siriWaveView.startAnimation(); 111 | } 112 | } 113 | 114 | @ReactProp(name = "stopAnimation") 115 | public void setStopAnimation(FrameLayout SiriWaveViewFrame, boolean stopAnimation) { 116 | SiriWaveView siriWaveView = (SiriWaveView) SiriWaveViewFrame.getChildAt(0); 117 | if (siriWaveView != null && animating == true && stopAnimation) { 118 | animating = false; 119 | siriWaveView.stopAnimation(); 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /android/src/main/java/ui/siriwave/RNSiriWaveViewModule.java: -------------------------------------------------------------------------------- 1 | 2 | package ui.siriwave; 3 | 4 | import com.facebook.react.bridge.ReactApplicationContext; 5 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 6 | import com.facebook.react.bridge.ReactMethod; 7 | import com.facebook.react.bridge.Callback; 8 | 9 | public class RNSiriWaveViewModule extends ReactContextBaseJavaModule { 10 | 11 | public RNSiriWaveViewModule(ReactApplicationContext reactContext) { 12 | super(reactContext); 13 | } 14 | 15 | @Override 16 | public String getName() { 17 | return "RNSiriWaveView"; 18 | } 19 | } -------------------------------------------------------------------------------- /android/src/main/java/ui/siriwave/RNSiriWaveViewPackage.java: -------------------------------------------------------------------------------- 1 | 2 | package ui.siriwave; 3 | 4 | import java.util.ArrayList; 5 | import java.util.Arrays; 6 | import java.util.Collections; 7 | import java.util.List; 8 | 9 | import com.facebook.react.ReactPackage; 10 | import com.facebook.react.bridge.NativeModule; 11 | import com.facebook.react.bridge.ReactApplicationContext; 12 | import com.facebook.react.uimanager.ViewManager; 13 | import com.facebook.react.bridge.JavaScriptModule; 14 | public class RNSiriWaveViewPackage implements ReactPackage { 15 | @Override 16 | public List createNativeModules(ReactApplicationContext reactContext) { 17 | return Arrays.asList(new RNSiriWaveViewModule(reactContext)); 18 | } 19 | 20 | // Deprecated from RN 0.47 21 | public List> createJSModules() { 22 | return Collections.emptyList(); 23 | } 24 | 25 | @Override 26 | public List createViewManagers(ReactApplicationContext reactContext) { 27 | List modules = new ArrayList<>(); 28 | modules.add(new RNSiriWaveView()); 29 | 30 | return modules; 31 | } 32 | } -------------------------------------------------------------------------------- /assets/ISSUE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/assets/ISSUE.png -------------------------------------------------------------------------------- /assets/siriwave9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prscX/react-native-siri-wave-view/7838ac88d694469a2934ed51793bac55993e6d0c/assets/siriwave9.gif -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'RNSiriWaveView' do 5 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 6 | # use_frameworks! 7 | 8 | # Pods for RNSiriWaveView 9 | 10 | pod 'SCSiriWaveformView' 11 | pod 'PXSiriWave', '0.0.2' 12 | 13 | end 14 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView.h: -------------------------------------------------------------------------------- 1 | 2 | #if __has_include("RCTBridgeModule.h") 3 | #import "RCTViewManager.h" 4 | #else 5 | #import 6 | #endif 7 | 8 | #import "SCSiriWaveformView.h" 9 | 10 | @interface RNSiriWaveView : RCTViewManager 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView.m: -------------------------------------------------------------------------------- 1 | 2 | #import "RNSiriWaveView.h" 3 | 4 | @implementation RNSiriWaveView 5 | 6 | NSTimer *waveTimer; 7 | 8 | - (dispatch_queue_t)methodQueue 9 | { 10 | return dispatch_get_main_queue(); 11 | } 12 | 13 | RCT_EXPORT_MODULE() 14 | 15 | - (UIView *)view { 16 | SCSiriWaveformView *siriWave = [[SCSiriWaveformView alloc] init]; 17 | waveTimer = NULL; 18 | 19 | return siriWave; 20 | } 21 | 22 | RCT_CUSTOM_VIEW_PROPERTY(size, NSDictonary *, SCSiriWaveformView) { 23 | NSNumber *width = [json objectForKey: @"width"]; 24 | NSNumber *height = [json objectForKey: @"height"]; 25 | 26 | view.frame = CGRectMake(0, 0, [width intValue], [height intValue]); 27 | [view setNeedsDisplay]; 28 | } 29 | 30 | RCT_CUSTOM_VIEW_PROPERTY(numberOfWaves, NSNumber *, SCSiriWaveformView) { 31 | view.numberOfWaves = [json floatValue]; 32 | } 33 | 34 | RCT_CUSTOM_VIEW_PROPERTY(backgroundColor, NSString *, SCSiriWaveformView) { 35 | view.backgroundColor = [RNSiriWaveView colorFromHexCode: json]; 36 | } 37 | 38 | RCT_CUSTOM_VIEW_PROPERTY(waveColor, NSString *, SCSiriWaveformView) { 39 | view.waveColor = [RNSiriWaveView colorFromHexCode: json]; 40 | } 41 | 42 | RCT_CUSTOM_VIEW_PROPERTY(primaryWaveLineWidth, NSNumber *, SCSiriWaveformView) { 43 | view.primaryWaveLineWidth = [json floatValue]; 44 | } 45 | 46 | RCT_CUSTOM_VIEW_PROPERTY(secondaryWaveLineWidth, NSNumber *, SCSiriWaveformView) { 47 | view.secondaryWaveLineWidth = [json floatValue]; 48 | } 49 | 50 | RCT_CUSTOM_VIEW_PROPERTY(frequency, NSNumber *, SCSiriWaveformView) { 51 | view.frequency = [json floatValue]; 52 | } 53 | 54 | RCT_CUSTOM_VIEW_PROPERTY(amplitude, NSNumber *, SCSiriWaveformView) { 55 | view.idleAmplitude = [json floatValue]; 56 | } 57 | 58 | 59 | RCT_CUSTOM_VIEW_PROPERTY(density, NSNumber *, SCSiriWaveformView) { 60 | view.density = [json floatValue]; 61 | } 62 | 63 | RCT_CUSTOM_VIEW_PROPERTY(phaseShift, NSNumber *, SCSiriWaveformView) { 64 | view.phaseShift = [json floatValue]; 65 | } 66 | 67 | 68 | RCT_CUSTOM_VIEW_PROPERTY(startAnimation, bool, SCSiriWaveformView) { 69 | if ([json integerValue] == 1 && waveTimer == NULL) { 70 | SCSiriWaveformView *siriWave = view; 71 | 72 | if (siriWave != nil) { 73 | // Timer 74 | waveTimer = [NSTimer scheduledTimerWithTimeInterval: 0.02 75 | target:self 76 | selector: @selector(targetMethod:) 77 | userInfo: siriWave 78 | repeats:YES]; 79 | } 80 | } 81 | } 82 | 83 | RCT_CUSTOM_VIEW_PROPERTY(stopAnimation, bool, SCSiriWaveformView) { 84 | if ([json integerValue] == 1 && waveTimer != NULL) { 85 | [waveTimer invalidate]; 86 | waveTimer = NULL; 87 | } 88 | } 89 | 90 | -(void)targetMethod:(NSTimer *)timer { 91 | SCSiriWaveformView *siriWave = [timer userInfo]; 92 | 93 | [siriWave updateWithLevel: [self _normalizedPowerLevelFromDecibels: .1]]; 94 | } 95 | 96 | - (CGFloat)_normalizedPowerLevelFromDecibels:(CGFloat)decibels { 97 | if (decibels < -60.0f || decibels == 0.0f) { 98 | return 0.0f; 99 | } 100 | 101 | return powf((powf(10.0f, 0.05f * decibels) - powf(10.0f, 0.05f * -60.0f)) * (1.0f / (1.0f - powf(10.0f, 0.05f * -60.0f))), 1.0f / 2.0f); 102 | } 103 | 104 | 105 | + (UIColor *) colorFromHexCode:(NSString *)hexString { 106 | NSString *cleanString = [hexString stringByReplacingOccurrencesOfString:@"#" withString:@""]; 107 | if([cleanString length] == 3) { 108 | cleanString = [NSString stringWithFormat:@"%@%@%@%@%@%@", 109 | [cleanString substringWithRange:NSMakeRange(0, 1)],[cleanString substringWithRange:NSMakeRange(0, 1)], 110 | [cleanString substringWithRange:NSMakeRange(1, 1)],[cleanString substringWithRange:NSMakeRange(1, 1)], 111 | [cleanString substringWithRange:NSMakeRange(2, 1)],[cleanString substringWithRange:NSMakeRange(2, 1)]]; 112 | } 113 | if([cleanString length] == 6) { 114 | cleanString = [cleanString stringByAppendingString:@"ff"]; 115 | } 116 | 117 | unsigned int baseValue; 118 | [[NSScanner scannerWithString:cleanString] scanHexInt:&baseValue]; 119 | 120 | float red = ((baseValue >> 24) & 0xFF)/255.0f; 121 | float green = ((baseValue >> 16) & 0xFF)/255.0f; 122 | float blue = ((baseValue >> 8) & 0xFF)/255.0f; 123 | float alpha = ((baseValue >> 0) & 0xFF)/255.0f; 124 | 125 | return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; 126 | } 127 | 128 | 129 | @end 130 | 131 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = "RNSiriWaveView" 4 | s.version = "1.0.0" 5 | s.summary = "RNSiriWaveView" 6 | s.description = <<-DESC 7 | RNSiriWaveView 8 | DESC 9 | s.homepage = "" 10 | s.license = "MIT" 11 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 12 | s.author = { "author" => "author@domain.cn" } 13 | s.platform = :ios, "7.0" 14 | s.source = { :git => "https://github.com/author/RNSiriWaveView.git", :tag => "master" } 15 | s.source_files = "RNSiriWaveView/**/*.{h,m}" 16 | s.requires_arc = true 17 | 18 | 19 | s.dependency "React" 20 | #s.dependency "others" 21 | 22 | end 23 | 24 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | B3E7B58A1CC2AC0600A0062D /* RNSiriWaveView.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNSiriWaveView.m */; }; 11 | CE25A674206BE1FD0092D3DC /* libPXSiriWave.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CE25A673206BE1FD0092D3DC /* libPXSiriWave.a */; }; 12 | CEB8D8FC20D4CC3E005B0CB1 /* RNSiriWaveView9.m in Sources */ = {isa = PBXBuildFile; fileRef = CEB8D8FB20D4CC3E005B0CB1 /* RNSiriWaveView9.m */; }; 13 | CEE1E69F201A2AA200CE4599 /* libSCSiriWaveformView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CEE1E69E201A2A9B00CE4599 /* libSCSiriWaveformView.a */; }; 14 | /* End PBXBuildFile section */ 15 | 16 | /* Begin PBXContainerItemProxy section */ 17 | CE25A672206BE1FD0092D3DC /* PBXContainerItemProxy */ = { 18 | isa = PBXContainerItemProxy; 19 | containerPortal = CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */; 20 | proxyType = 2; 21 | remoteGlobalIDString = DC29D6A5D08A839D41DD7DD71F82AB02; 22 | remoteInfo = PXSiriWave; 23 | }; 24 | CEE1E639201A0CF800CE4599 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */; 27 | proxyType = 2; 28 | remoteGlobalIDString = FB2B35273B7D8204BFD8947D6C097E77; 29 | remoteInfo = "Pods-RNSiriWaveView"; 30 | }; 31 | CEE1E69D201A2A9B00CE4599 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */; 34 | proxyType = 2; 35 | remoteGlobalIDString = C434BCB06AA96085326392C5E34B179E; 36 | remoteInfo = SCSiriWaveformView; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXCopyFilesBuildPhase section */ 41 | 58B511D91A9E6C8500147676 /* CopyFiles */ = { 42 | isa = PBXCopyFilesBuildPhase; 43 | buildActionMask = 2147483647; 44 | dstPath = "include/$(PRODUCT_NAME)"; 45 | dstSubfolderSpec = 16; 46 | files = ( 47 | ); 48 | runOnlyForDeploymentPostprocessing = 0; 49 | }; 50 | /* End PBXCopyFilesBuildPhase section */ 51 | 52 | /* Begin PBXFileReference section */ 53 | 134814201AA4EA6300B7C361 /* libRNSiriWaveView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNSiriWaveView.a; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 53E2AF2149BA85793DD10F24 /* Pods-RNSiriWaveView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNSiriWaveView.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNSiriWaveView/Pods-RNSiriWaveView.debug.xcconfig"; sourceTree = ""; }; 55 | 55E0F6120D010B2C4CF632E3 /* libPods-RNSiriWaveView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNSiriWaveView.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | B3E7B5881CC2AC0600A0062D /* RNSiriWaveView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNSiriWaveView.h; sourceTree = ""; }; 57 | B3E7B5891CC2AC0600A0062D /* RNSiriWaveView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNSiriWaveView.m; sourceTree = ""; }; 58 | CA8D85C4077A8E40588A54D7 /* Pods-RNSiriWaveView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNSiriWaveView.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNSiriWaveView/Pods-RNSiriWaveView.release.xcconfig"; sourceTree = ""; }; 59 | CEB8D8FA20D4CC3E005B0CB1 /* RNSiriWaveView9.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNSiriWaveView9.h; sourceTree = ""; }; 60 | CEB8D8FB20D4CC3E005B0CB1 /* RNSiriWaveView9.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNSiriWaveView9.m; sourceTree = ""; }; 61 | CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | 58B511D81A9E6C8500147676 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | CE25A674206BE1FD0092D3DC /* libPXSiriWave.a in Frameworks */, 70 | CEE1E69F201A2AA200CE4599 /* libSCSiriWaveformView.a in Frameworks */, 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | /* End PBXFrameworksBuildPhase section */ 75 | 76 | /* Begin PBXGroup section */ 77 | 134814211AA4EA7D00B7C361 /* Products */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 134814201AA4EA6300B7C361 /* libRNSiriWaveView.a */, 81 | ); 82 | name = Products; 83 | sourceTree = ""; 84 | }; 85 | 1B5F11179D3CA7ADF8DB8773 /* Pods */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 53E2AF2149BA85793DD10F24 /* Pods-RNSiriWaveView.debug.xcconfig */, 89 | CA8D85C4077A8E40588A54D7 /* Pods-RNSiriWaveView.release.xcconfig */, 90 | ); 91 | name = Pods; 92 | sourceTree = ""; 93 | }; 94 | 58B511D21A9E6C8500147676 = { 95 | isa = PBXGroup; 96 | children = ( 97 | CEB8D8FA20D4CC3E005B0CB1 /* RNSiriWaveView9.h */, 98 | CEB8D8FB20D4CC3E005B0CB1 /* RNSiriWaveView9.m */, 99 | B3E7B5881CC2AC0600A0062D /* RNSiriWaveView.h */, 100 | B3E7B5891CC2AC0600A0062D /* RNSiriWaveView.m */, 101 | 134814211AA4EA7D00B7C361 /* Products */, 102 | 1B5F11179D3CA7ADF8DB8773 /* Pods */, 103 | 93AA35BFD524E7A562E4DCE8 /* Frameworks */, 104 | ); 105 | sourceTree = ""; 106 | }; 107 | 93AA35BFD524E7A562E4DCE8 /* Frameworks */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */, 111 | 55E0F6120D010B2C4CF632E3 /* libPods-RNSiriWaveView.a */, 112 | ); 113 | name = Frameworks; 114 | sourceTree = ""; 115 | }; 116 | CEE1E635201A0CF800CE4599 /* Products */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | CEE1E63A201A0CF800CE4599 /* libPods-RNSiriWaveView.a */, 120 | CE25A673206BE1FD0092D3DC /* libPXSiriWave.a */, 121 | CEE1E69E201A2A9B00CE4599 /* libSCSiriWaveformView.a */, 122 | ); 123 | name = Products; 124 | sourceTree = ""; 125 | }; 126 | /* End PBXGroup section */ 127 | 128 | /* Begin PBXNativeTarget section */ 129 | 58B511DA1A9E6C8500147676 /* RNSiriWaveView */ = { 130 | isa = PBXNativeTarget; 131 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNSiriWaveView" */; 132 | buildPhases = ( 133 | E4324A6271C77805B01607C1 /* [CP] Check Pods Manifest.lock */, 134 | 58B511D71A9E6C8500147676 /* Sources */, 135 | 58B511D81A9E6C8500147676 /* Frameworks */, 136 | 58B511D91A9E6C8500147676 /* CopyFiles */, 137 | ); 138 | buildRules = ( 139 | ); 140 | dependencies = ( 141 | ); 142 | name = RNSiriWaveView; 143 | productName = RCTDataManager; 144 | productReference = 134814201AA4EA6300B7C361 /* libRNSiriWaveView.a */; 145 | productType = "com.apple.product-type.library.static"; 146 | }; 147 | /* End PBXNativeTarget section */ 148 | 149 | /* Begin PBXProject section */ 150 | 58B511D31A9E6C8500147676 /* Project object */ = { 151 | isa = PBXProject; 152 | attributes = { 153 | LastUpgradeCheck = 0830; 154 | ORGANIZATIONNAME = Facebook; 155 | TargetAttributes = { 156 | 58B511DA1A9E6C8500147676 = { 157 | CreatedOnToolsVersion = 6.1.1; 158 | }; 159 | }; 160 | }; 161 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNSiriWaveView" */; 162 | compatibilityVersion = "Xcode 3.2"; 163 | developmentRegion = English; 164 | hasScannedForEncodings = 0; 165 | knownRegions = ( 166 | en, 167 | ); 168 | mainGroup = 58B511D21A9E6C8500147676; 169 | productRefGroup = 58B511D21A9E6C8500147676; 170 | projectDirPath = ""; 171 | projectReferences = ( 172 | { 173 | ProductGroup = CEE1E635201A0CF800CE4599 /* Products */; 174 | ProjectRef = CEE1E634201A0CF800CE4599 /* Pods.xcodeproj */; 175 | }, 176 | ); 177 | projectRoot = ""; 178 | targets = ( 179 | 58B511DA1A9E6C8500147676 /* RNSiriWaveView */, 180 | ); 181 | }; 182 | /* End PBXProject section */ 183 | 184 | /* Begin PBXReferenceProxy section */ 185 | CE25A673206BE1FD0092D3DC /* libPXSiriWave.a */ = { 186 | isa = PBXReferenceProxy; 187 | fileType = archive.ar; 188 | path = libPXSiriWave.a; 189 | remoteRef = CE25A672206BE1FD0092D3DC /* PBXContainerItemProxy */; 190 | sourceTree = BUILT_PRODUCTS_DIR; 191 | }; 192 | CEE1E63A201A0CF800CE4599 /* libPods-RNSiriWaveView.a */ = { 193 | isa = PBXReferenceProxy; 194 | fileType = archive.ar; 195 | path = "libPods-RNSiriWaveView.a"; 196 | remoteRef = CEE1E639201A0CF800CE4599 /* PBXContainerItemProxy */; 197 | sourceTree = BUILT_PRODUCTS_DIR; 198 | }; 199 | CEE1E69E201A2A9B00CE4599 /* libSCSiriWaveformView.a */ = { 200 | isa = PBXReferenceProxy; 201 | fileType = archive.ar; 202 | path = libSCSiriWaveformView.a; 203 | remoteRef = CEE1E69D201A2A9B00CE4599 /* PBXContainerItemProxy */; 204 | sourceTree = BUILT_PRODUCTS_DIR; 205 | }; 206 | /* End PBXReferenceProxy section */ 207 | 208 | /* Begin PBXShellScriptBuildPhase section */ 209 | E4324A6271C77805B01607C1 /* [CP] Check Pods Manifest.lock */ = { 210 | isa = PBXShellScriptBuildPhase; 211 | buildActionMask = 2147483647; 212 | files = ( 213 | ); 214 | inputPaths = ( 215 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 216 | "${PODS_ROOT}/Manifest.lock", 217 | ); 218 | name = "[CP] Check Pods Manifest.lock"; 219 | outputPaths = ( 220 | "$(DERIVED_FILE_DIR)/Pods-RNSiriWaveView-checkManifestLockResult.txt", 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | shellPath = /bin/sh; 224 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 225 | showEnvVarsInLog = 0; 226 | }; 227 | /* End PBXShellScriptBuildPhase section */ 228 | 229 | /* Begin PBXSourcesBuildPhase section */ 230 | 58B511D71A9E6C8500147676 /* Sources */ = { 231 | isa = PBXSourcesBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | CEB8D8FC20D4CC3E005B0CB1 /* RNSiriWaveView9.m in Sources */, 235 | B3E7B58A1CC2AC0600A0062D /* RNSiriWaveView.m in Sources */, 236 | ); 237 | runOnlyForDeploymentPostprocessing = 0; 238 | }; 239 | /* End PBXSourcesBuildPhase section */ 240 | 241 | /* Begin XCBuildConfiguration section */ 242 | 58B511ED1A9E6C8500147676 /* Debug */ = { 243 | isa = XCBuildConfiguration; 244 | buildSettings = { 245 | ALWAYS_SEARCH_USER_PATHS = NO; 246 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 247 | CLANG_CXX_LIBRARY = "libc++"; 248 | CLANG_ENABLE_MODULES = YES; 249 | CLANG_ENABLE_OBJC_ARC = YES; 250 | CLANG_WARN_BOOL_CONVERSION = YES; 251 | CLANG_WARN_CONSTANT_CONVERSION = YES; 252 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 253 | CLANG_WARN_EMPTY_BODY = YES; 254 | CLANG_WARN_ENUM_CONVERSION = YES; 255 | CLANG_WARN_INFINITE_RECURSION = YES; 256 | CLANG_WARN_INT_CONVERSION = YES; 257 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 258 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 259 | CLANG_WARN_UNREACHABLE_CODE = YES; 260 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 261 | COPY_PHASE_STRIP = NO; 262 | ENABLE_STRICT_OBJC_MSGSEND = YES; 263 | ENABLE_TESTABILITY = YES; 264 | GCC_C_LANGUAGE_STANDARD = gnu99; 265 | GCC_DYNAMIC_NO_PIC = NO; 266 | GCC_NO_COMMON_BLOCKS = YES; 267 | GCC_OPTIMIZATION_LEVEL = 0; 268 | GCC_PREPROCESSOR_DEFINITIONS = ( 269 | "DEBUG=1", 270 | "$(inherited)", 271 | ); 272 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 273 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 274 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 275 | GCC_WARN_UNDECLARED_SELECTOR = YES; 276 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 277 | GCC_WARN_UNUSED_FUNCTION = YES; 278 | GCC_WARN_UNUSED_VARIABLE = YES; 279 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 280 | MTL_ENABLE_DEBUG_INFO = YES; 281 | ONLY_ACTIVE_ARCH = YES; 282 | SDKROOT = iphoneos; 283 | }; 284 | name = Debug; 285 | }; 286 | 58B511EE1A9E6C8500147676 /* Release */ = { 287 | isa = XCBuildConfiguration; 288 | buildSettings = { 289 | ALWAYS_SEARCH_USER_PATHS = NO; 290 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 291 | CLANG_CXX_LIBRARY = "libc++"; 292 | CLANG_ENABLE_MODULES = YES; 293 | CLANG_ENABLE_OBJC_ARC = YES; 294 | CLANG_WARN_BOOL_CONVERSION = YES; 295 | CLANG_WARN_CONSTANT_CONVERSION = YES; 296 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 297 | CLANG_WARN_EMPTY_BODY = YES; 298 | CLANG_WARN_ENUM_CONVERSION = YES; 299 | CLANG_WARN_INFINITE_RECURSION = YES; 300 | CLANG_WARN_INT_CONVERSION = YES; 301 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 302 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 303 | CLANG_WARN_UNREACHABLE_CODE = YES; 304 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 305 | COPY_PHASE_STRIP = YES; 306 | ENABLE_NS_ASSERTIONS = NO; 307 | ENABLE_STRICT_OBJC_MSGSEND = YES; 308 | GCC_C_LANGUAGE_STANDARD = gnu99; 309 | GCC_NO_COMMON_BLOCKS = YES; 310 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 311 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 312 | GCC_WARN_UNDECLARED_SELECTOR = YES; 313 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 314 | GCC_WARN_UNUSED_FUNCTION = YES; 315 | GCC_WARN_UNUSED_VARIABLE = YES; 316 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 317 | MTL_ENABLE_DEBUG_INFO = NO; 318 | SDKROOT = iphoneos; 319 | VALIDATE_PRODUCT = YES; 320 | }; 321 | name = Release; 322 | }; 323 | 58B511F01A9E6C8500147676 /* Debug */ = { 324 | isa = XCBuildConfiguration; 325 | baseConfigurationReference = 53E2AF2149BA85793DD10F24 /* Pods-RNSiriWaveView.debug.xcconfig */; 326 | buildSettings = { 327 | HEADER_SEARCH_PATHS = ( 328 | "$(inherited)", 329 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 330 | "$(SRCROOT)/../../../React/**", 331 | "$(SRCROOT)/../../react-native/React/**", 332 | ); 333 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 334 | OTHER_LDFLAGS = "-ObjC"; 335 | PRODUCT_NAME = RNSiriWaveView; 336 | SKIP_INSTALL = YES; 337 | }; 338 | name = Debug; 339 | }; 340 | 58B511F11A9E6C8500147676 /* Release */ = { 341 | isa = XCBuildConfiguration; 342 | baseConfigurationReference = CA8D85C4077A8E40588A54D7 /* Pods-RNSiriWaveView.release.xcconfig */; 343 | buildSettings = { 344 | HEADER_SEARCH_PATHS = ( 345 | "$(inherited)", 346 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 347 | "$(SRCROOT)/../../../React/**", 348 | "$(SRCROOT)/../../react-native/React/**", 349 | ); 350 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 351 | OTHER_LDFLAGS = "-ObjC"; 352 | PRODUCT_NAME = RNSiriWaveView; 353 | SKIP_INSTALL = YES; 354 | }; 355 | name = Release; 356 | }; 357 | /* End XCBuildConfiguration section */ 358 | 359 | /* Begin XCConfigurationList section */ 360 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNSiriWaveView" */ = { 361 | isa = XCConfigurationList; 362 | buildConfigurations = ( 363 | 58B511ED1A9E6C8500147676 /* Debug */, 364 | 58B511EE1A9E6C8500147676 /* Release */, 365 | ); 366 | defaultConfigurationIsVisible = 0; 367 | defaultConfigurationName = Release; 368 | }; 369 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNSiriWaveView" */ = { 370 | isa = XCConfigurationList; 371 | buildConfigurations = ( 372 | 58B511F01A9E6C8500147676 /* Debug */, 373 | 58B511F11A9E6C8500147676 /* Release */, 374 | ); 375 | defaultConfigurationIsVisible = 0; 376 | defaultConfigurationName = Release; 377 | }; 378 | /* End XCConfigurationList section */ 379 | }; 380 | rootObject = 58B511D31A9E6C8500147676 /* Project object */; 381 | } 382 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView9.h: -------------------------------------------------------------------------------- 1 | 2 | #if __has_include("RCTBridgeModule.h") 3 | #import "RCTViewManager.h" 4 | #else 5 | #import 6 | #endif 7 | 8 | #import "PXSiriWave.h" 9 | 10 | @interface RNSiriWaveView9 : RCTViewManager 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /ios/RNSiriWaveView9.m: -------------------------------------------------------------------------------- 1 | 2 | #import "RNSiriWaveView9.h" 3 | 4 | @implementation RNSiriWaveView9 5 | 6 | NSTimer *waveTimer9; 7 | 8 | - (dispatch_queue_t)methodQueue 9 | { 10 | return dispatch_get_main_queue(); 11 | } 12 | 13 | RCT_EXPORT_MODULE() 14 | 15 | - (UIView *)view { 16 | PXSiriWave *siriWave = [[PXSiriWave alloc] init]; 17 | waveTimer9 = NULL; 18 | 19 | return siriWave; 20 | } 21 | 22 | RCT_CUSTOM_VIEW_PROPERTY(size, NSDictonary *, PXSiriWave) { 23 | NSNumber *width = [json objectForKey: @"width"]; 24 | NSNumber *height = [json objectForKey: @"height"]; 25 | 26 | view.frame = CGRectMake(0, 0, [width intValue], [height intValue]); 27 | [view configure]; 28 | [view setNeedsDisplay]; 29 | } 30 | 31 | RCT_CUSTOM_VIEW_PROPERTY(colors, NSArray *, PXSiriWave) { 32 | NSMutableArray *mutableColors = [[NSMutableArray alloc] init]; 33 | for (NSString *color in json) { 34 | [mutableColors addObject:[RNSiriWaveView9 colorFromHexCode: color]]; 35 | } 36 | 37 | view.colors = mutableColors; 38 | } 39 | 40 | 41 | RCT_CUSTOM_VIEW_PROPERTY(frequency, NSNumber *, PXSiriWave) { 42 | view.frequency = [json floatValue]; 43 | } 44 | 45 | RCT_CUSTOM_VIEW_PROPERTY(amplitude, NSNumber *, PXSiriWave) { 46 | view.amplitude = [json floatValue]; 47 | } 48 | 49 | RCT_CUSTOM_VIEW_PROPERTY(startAnimation, bool, PXSiriWave) { 50 | if ([json integerValue] == 1 && waveTimer9 == NULL) { 51 | PXSiriWave *siriWave = view; 52 | 53 | if (siriWave != nil) { 54 | // Timer 55 | waveTimer9 = [NSTimer scheduledTimerWithTimeInterval: 0.02 56 | target:self 57 | selector: @selector(targetMethod:) 58 | userInfo: siriWave 59 | repeats:YES]; 60 | } 61 | } 62 | } 63 | 64 | RCT_CUSTOM_VIEW_PROPERTY(stopAnimation, bool, PXSiriWave) { 65 | if ([json integerValue] == 1 && waveTimer9 != NULL) { 66 | [waveTimer9 invalidate]; 67 | waveTimer9 = NULL; 68 | } 69 | } 70 | 71 | -(void)targetMethod:(NSTimer *)timer9 { 72 | PXSiriWave *siriWave = [timer9 userInfo]; 73 | 74 | [siriWave updateWithLevel: [self _normalizedPowerLevelFromDecibels: .1]]; 75 | } 76 | 77 | - (CGFloat)_normalizedPowerLevelFromDecibels:(CGFloat)decibels { 78 | if (decibels < -60.0f || decibels == 0.0f) { 79 | return 0.0f; 80 | } 81 | 82 | return powf((powf(10.0f, 0.05f * decibels) - powf(10.0f, 0.05f * -60.0f)) * (1.0f / (1.0f - powf(10.0f, 0.05f * -60.0f))), 1.0f / 2.0f); 83 | } 84 | 85 | 86 | + (UIColor *) colorFromHexCode:(NSString *)hexString { 87 | NSString *cleanString = [hexString stringByReplacingOccurrencesOfString:@"#" withString:@""]; 88 | if([cleanString length] == 3) { 89 | cleanString = [NSString stringWithFormat:@"%@%@%@%@%@%@", 90 | [cleanString substringWithRange:NSMakeRange(0, 1)],[cleanString substringWithRange:NSMakeRange(0, 1)], 91 | [cleanString substringWithRange:NSMakeRange(1, 1)],[cleanString substringWithRange:NSMakeRange(1, 1)], 92 | [cleanString substringWithRange:NSMakeRange(2, 1)],[cleanString substringWithRange:NSMakeRange(2, 1)]]; 93 | } 94 | if([cleanString length] == 6) { 95 | cleanString = [cleanString stringByAppendingString:@"ff"]; 96 | } 97 | 98 | unsigned int baseValue; 99 | [[NSScanner scannerWithString:cleanString] scanHexInt:&baseValue]; 100 | 101 | float red = ((baseValue >> 24) & 0xFF)/255.0f; 102 | float green = ((baseValue >> 16) & 0xFF)/255.0f; 103 | float blue = ((baseValue >> 8) & 0xFF)/255.0f; 104 | float alpha = ((baseValue >> 0) & 0xFF)/255.0f; 105 | 106 | return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; 107 | } 108 | 109 | 110 | @end 111 | 112 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name": "react-native-siri-wave-view", 4 | "version": "0.0.9", 5 | "description": "React Native Siri Wave View", 6 | "main": "RNSiriWaveView.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1", 9 | "postinstall": "node scripts/installer.js" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/prscX/react-native-siri-wave-view.git" 14 | }, 15 | "keywords": ["react-native"], 16 | "author": "Pranav Raj Singh Chauhan", 17 | "license": "Apache License", 18 | "peerDependencies": {}, 19 | "devDependencies": { 20 | "prettier-pack": "0.0.7" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /scripts/installer.js: -------------------------------------------------------------------------------- 1 | const exec = require('child_process').exec 2 | 3 | var osvar = process.platform 4 | 5 | if (osvar !== 'darwin') return 6 | 7 | exists('pod') 8 | .then(function(command) { 9 | installPods() 10 | }) 11 | .catch(function() { 12 | installCocoaPods().then(() => { 13 | installPods() 14 | }) 15 | }) 16 | 17 | function installPods() { 18 | console.log('executing pod install command') 19 | 20 | exec('cd ./ios && pod install', (err, stdout, stderr) => { 21 | console.log(stderr) 22 | 23 | if (err === undefined || err === null) { 24 | console.log('pod install command successfull') 25 | return 26 | } 27 | 28 | if (stdout !== undefined && stdout !== null) { 29 | if (stdout.includes('could not find compatible versions for pod')) { 30 | console.log('executing pod repo update command.') 31 | 32 | exec('pod repo update', (err, stdout, stderr) => { 33 | if (err === undefined || err === null) { 34 | console.log('pod repo update successfull') 35 | 36 | exec('cd ./ios && pod install', (err, stdout, stderr) => {}) 37 | 38 | return 39 | } 40 | 41 | console.log(stdout) 42 | }) 43 | } 44 | } else { 45 | console.log('pod install sucessfull') 46 | } 47 | }) 48 | } 49 | 50 | function installCocoaPods() { 51 | console.log('installing socoapods.') 52 | 53 | return new Promise((resolve, reject) => { 54 | run('sudo gem install cocoapods') 55 | .then(() => { 56 | console.log('sudo gem install cocoapods sucessfull') 57 | resolve() 58 | }) 59 | .catch(e => { 60 | console.log(e) 61 | }) 62 | }) 63 | } 64 | 65 | // returns Promise which fulfills with true if command exists 66 | function exists(cmd) { 67 | return run(`which ${cmd}`).then(stdout => { 68 | if (stdout.trim().length === 0) { 69 | // maybe an empty command was supplied? 70 | // are we running on Windows?? 71 | return Promise.reject(new Error('No output')) 72 | } 73 | 74 | const rNotFound = /^[\w\-]+ not found/g 75 | 76 | if (rNotFound.test(cmd)) { 77 | return Promise.resolve(false) 78 | } 79 | 80 | return Promise.resolve(true) 81 | }) 82 | } 83 | 84 | function run(command) { 85 | return new Promise((fulfill, reject) => { 86 | exec(command, (err, stdout, stderr) => { 87 | if (err) { 88 | reject(err) 89 | return 90 | } 91 | 92 | if (stderr) { 93 | reject(new Error(stderr)) 94 | return 95 | } 96 | 97 | fulfill(stdout) 98 | }) 99 | }) 100 | } 101 | --------------------------------------------------------------------------------