├── .watchmanconfig
├── .gitattributes
├── .babelrc
├── app.json
├── screenshots
├── ios1.PNG
├── ios2.PNG
├── ios3.PNG
├── ios4.PNG
├── ios5.PNG
├── android_home.png
├── android_connect.png
├── gatt_char_notify.png
├── advertise_android.png
└── discovery_services_android.png
├── ios
├── BleAnalyzer
│ ├── Images.xcassets
│ │ ├── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ ├── Icon-40.png
│ │ │ ├── Icon-58.png
│ │ │ ├── Icon-60.png
│ │ │ ├── Icon-80.png
│ │ │ ├── Icon-87.png
│ │ │ ├── Icon-1024.png
│ │ │ ├── Icon-120.png
│ │ │ ├── Icon-121.png
│ │ │ ├── Icon-180.png
│ │ │ └── Contents.json
│ │ └── LaunchImage.launchimage
│ │ │ ├── LaunchImage~iphone-320x480.png
│ │ │ ├── LaunchImage~iphone_640x960.png
│ │ │ ├── LaunchImage-568h@2x~iphone_640x1136.png
│ │ │ ├── LaunchImage-568h@2x~iphone_640x1136-1.png
│ │ │ ├── LaunchImage-750@2x~iphone6-portrait_750x1334.png
│ │ │ ├── LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png
│ │ │ ├── LaunchImage-1242@3x~iphone6s-portrait_1242x2208-1.png
│ │ │ └── Contents.json
│ ├── AppDelegate.h
│ ├── main.m
│ ├── AppDelegate.m
│ ├── Info.plist
│ └── Base.lproj
│ │ └── LaunchScreen.xib
├── BleAnalyzerTests
│ ├── Info.plist
│ └── BleAnalyzerTests.m
├── BleAnalyzer-tvOSTests
│ └── Info.plist
├── BleAnalyzer-tvOS
│ └── Info.plist
└── BleAnalyzer.xcodeproj
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── BleAnalyzer.xcscheme
│ │ └── BleAnalyzer-tvOS.xcscheme
│ └── project.pbxproj
├── android
├── app
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ └── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── assets
│ │ │ └── fonts
│ │ │ │ ├── Entypo.ttf
│ │ │ │ ├── Feather.ttf
│ │ │ │ ├── Zocial.ttf
│ │ │ │ ├── EvilIcons.ttf
│ │ │ │ ├── Ionicons.ttf
│ │ │ │ ├── Octicons.ttf
│ │ │ │ ├── FontAwesome.ttf
│ │ │ │ ├── Foundation.ttf
│ │ │ │ ├── MaterialIcons.ttf
│ │ │ │ ├── SimpleLineIcons.ttf
│ │ │ │ └── MaterialCommunityIcons.ttf
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── bleanalyzer
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── AndroidManifest.xml
│ ├── BUCK
│ ├── proguard-rules.pro
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── keystores
│ ├── debug.keystore.properties
│ └── BUCK
├── settings.gradle
├── build.gradle
├── gradle.properties
├── gradlew.bat
└── gradlew
├── .buckconfig
├── index.js
├── Theme.js
├── __tests__
└── App.js
├── Components
├── NavBar.js
├── Btn.js
├── GattService.js
├── UsedLibraries.js
├── TabSetting.js
├── Peripheral.js
├── GattChar.js
├── TabConnected.js
├── ErrorMessagePanel.js
├── TabScan.js
├── TabFeatures.js
├── ConnectionPanel.js
└── GattCharProp.js
├── package.json
├── .gitignore
├── .flowconfig
├── README.md
├── BleHelper.js
└── App.js
/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native"]
3 | }
4 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "BleAnalyzer",
3 | "displayName": "BleAnalyzer"
4 | }
--------------------------------------------------------------------------------
/screenshots/ios1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/ios1.PNG
--------------------------------------------------------------------------------
/screenshots/ios2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/ios2.PNG
--------------------------------------------------------------------------------
/screenshots/ios3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/ios3.PNG
--------------------------------------------------------------------------------
/screenshots/ios4.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/ios4.PNG
--------------------------------------------------------------------------------
/screenshots/ios5.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/ios5.PNG
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/screenshots/android_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/android_home.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | BleAnalyzer
3 |
4 |
--------------------------------------------------------------------------------
/screenshots/android_connect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/android_connect.png
--------------------------------------------------------------------------------
/screenshots/gatt_char_notify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/gatt_char_notify.png
--------------------------------------------------------------------------------
/screenshots/advertise_android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/advertise_android.png
--------------------------------------------------------------------------------
/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import { AppRegistry } from 'react-native';
2 | import App from './App';
3 |
4 | AppRegistry.registerComponent('BleAnalyzer', () => App);
5 |
--------------------------------------------------------------------------------
/screenshots/discovery_services_android.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/screenshots/discovery_services_android.png
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Entypo.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Entypo.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Feather.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Feather.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Zocial.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Zocial.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/EvilIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Ionicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Octicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Octicons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/FontAwesome.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/Foundation.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/Foundation.ttf
--------------------------------------------------------------------------------
/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/MaterialIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/SimpleLineIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-40.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-58.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-60.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-80.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-87.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-1024.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-120.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-121.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-121.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Icon-180.png
--------------------------------------------------------------------------------
/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone-320x480.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone-320x480.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone_640x960.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage~iphone_640x960.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-568h@2x~iphone_640x1136-1.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-portrait_750x1334.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-750@2x~iphone6-portrait_750x1334.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/revtel/react-native-ble-analyzer/HEAD/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/LaunchImage-1242@3x~iphone6s-portrait_1242x2208-1.png
--------------------------------------------------------------------------------
/Theme.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | Platform,
4 | } from 'react-native'
5 |
6 | const Theme = {
7 | color: '#4FC3F7',
8 | navbarHeight: Platform.OS === 'ios' ? 64 : 72,
9 | navbarPaddingTop: Platform.OS === 'ios' ? 20 : 0,
10 | };
11 |
12 | export default Theme;
13 |
--------------------------------------------------------------------------------
/__tests__/App.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import App from '../App';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'BleAnalyzer'
2 | include ':react-native-vector-icons'
3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
4 | include ':react-native-ble-manager'
5 | project(':react-native-ble-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-ble-manager/android')
6 |
7 | include ':app'
8 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/bleanalyzer/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.bleanalyzer;
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 "BleAnalyzer";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/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 |
--------------------------------------------------------------------------------
/Components/NavBar.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | } from 'react-native'
5 | import Theme from '../Theme'
6 |
7 | class NavBar extends Component {
8 | render() {
9 | return (
10 |
15 | { this.props.children }
16 |
17 | )
18 | }
19 | }
20 |
21 | export default NavBar;
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$rootDir/../node_modules/react-native/android"
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Components/Btn.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | Text,
4 | TouchableOpacity,
5 | } from 'react-native'
6 | import Theme from '../Theme'
7 |
8 | class Btn extends Component {
9 | render() {
10 | let {outline=false, extraStyle={}} = this.props;
11 | return (
12 |
15 | {this.props.children}
16 |
17 | )
18 | }
19 | }
20 |
21 | export default Btn;
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "BleAnalyzer",
3 | "version": "0.0.4",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest",
8 | "ios": "react-native run-ios",
9 | "android": "react-native run-android"
10 | },
11 | "dependencies": {
12 | "lodash": "^4.17.5",
13 | "react": "16.2.0",
14 | "react-native": "0.52.0",
15 | "react-native-ble-manager": "^6.2.6",
16 | "react-native-json-tree": "^1.2.0",
17 | "react-native-tab-navigator": "^0.3.4",
18 | "react-native-vector-icons": "^4.5.0"
19 | },
20 | "devDependencies": {
21 | "babel-jest": "22.1.0",
22 | "babel-preset-react-native": "4.0.0",
23 | "jest": "22.1.4",
24 | "react-test-renderer": "16.2.0"
25 | },
26 | "jest": {
27 | "preset": "react-native"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/ios/BleAnalyzerTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
--------------------------------------------------------------------------------
/Components/GattService.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | TouchableOpacity
6 | } from 'react-native'
7 | import GattChar from './GattChar'
8 |
9 | class GattService extends Component {
10 | render() {
11 | let {service: {uuid, chars=[]}, peripheral, extraStyle={}} = this.props;
12 |
13 | return (
14 |
15 | {uuid}
16 |
17 | {
18 | chars.map(
19 | c => (
20 |
27 | )
28 | )
29 | }
30 |
31 |
32 | )
33 | }
34 | }
35 |
36 | export default GattService;
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
22 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/bleanalyzer/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.bleanalyzer;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.oblador.vectoricons.VectorIconsPackage;
7 | import it.innove.BleManagerPackage;
8 | import com.facebook.react.ReactNativeHost;
9 | import com.facebook.react.ReactPackage;
10 | import com.facebook.react.shell.MainReactPackage;
11 | import com.facebook.soloader.SoLoader;
12 |
13 | import java.util.Arrays;
14 | import java.util.List;
15 |
16 | public class MainApplication extends Application implements ReactApplication {
17 |
18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19 | @Override
20 | public boolean getUseDeveloperSupport() {
21 | return BuildConfig.DEBUG;
22 | }
23 |
24 | @Override
25 | protected List getPackages() {
26 | return Arrays.asList(
27 | new MainReactPackage(),
28 | new VectorIconsPackage(),
29 | new BleManagerPackage()
30 | );
31 | }
32 |
33 | @Override
34 | protected String getJSMainModuleName() {
35 | return "index";
36 | }
37 | };
38 |
39 | @Override
40 | public ReactNativeHost getReactNativeHost() {
41 | return mReactNativeHost;
42 | }
43 |
44 | @Override
45 | public void onCreate() {
46 | super.onCreate();
47 | SoLoader.init(this, /* native exopackage */ false);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-40.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-60.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-58.png",
19 | "scale" : "2x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-87.png",
25 | "scale" : "3x"
26 | },
27 | {
28 | "size" : "40x40",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-80.png",
31 | "scale" : "2x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-121.png",
37 | "scale" : "3x"
38 | },
39 | {
40 | "size" : "60x60",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-120.png",
43 | "scale" : "2x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-180.png",
49 | "scale" : "3x"
50 | },
51 | {
52 | "size" : "1024x1024",
53 | "idiom" : "ios-marketing",
54 | "filename" : "Icon-1024.png",
55 | "scale" : "1x"
56 | }
57 | ],
58 | "info" : {
59 | "version" : 1,
60 | "author" : "xcode"
61 | }
62 | }
--------------------------------------------------------------------------------
/ios/BleAnalyzer/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:@"BleAnalyzer"
25 | initialProperties:nil
26 | launchOptions:launchOptions];
27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28 |
29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30 | UIViewController *rootViewController = [UIViewController new];
31 | rootViewController.view = rootView;
32 | self.window.rootViewController = rootViewController;
33 | [self.window makeKeyAndVisible];
34 | return YES;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; 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 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.bleanalyzer",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.bleanalyzer",
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 |
--------------------------------------------------------------------------------
/Components/UsedLibraries.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react';
2 | import {
3 | View,
4 | Text,
5 | StatusBar,
6 | ScrollView,
7 | TouchableOpacity,
8 | ActivityIndicator,
9 | Linking
10 | } from 'react-native';
11 |
12 | const libraries = [
13 | { name: 'react-native-ble-manager', link: 'https://github.com/innoveit/react-native-ble-manager'},
14 | { name: 'react-native-json-tree', link: 'https://github.com/Dean177/react-native-json-tree'},
15 | { name: 'react-native-tab-navigator', link: 'https://github.com/happypancake/react-native-tab-navigator'},
16 | { name: 'react-native-vector-icons', link: 'https://github.com/oblador/react-native-vector-icons'},
17 | ];
18 |
19 | class UsedLibrary extends Component {
20 | render() {
21 | let {lib: {name, link}} = this.props;
22 | return (
23 |
24 | {name}
25 | this._openLink(link)}>
26 | Visit
27 |
28 |
29 | )
30 | }
31 |
32 | _openLink = url => {
33 | Linking.openURL(url).catch(err => console.error('An error occurred', err));
34 | }
35 | }
36 |
37 | class UsedLibraries extends Component {
38 | render() {
39 | let {extraStyle} = this.props;
40 | return (
41 |
42 | {
43 | libraries.map(
44 | lib => (
45 |
46 | )
47 | )
48 | }
49 |
50 | )
51 | }
52 | }
53 |
54 | export default UsedLibraries;
--------------------------------------------------------------------------------
/Components/TabSetting.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react';
2 | import {
3 | View,
4 | Text,
5 | StatusBar,
6 | ScrollView,
7 | TouchableOpacity,
8 | ActivityIndicator,
9 | Linking
10 | } from 'react-native';
11 | import BleManager from 'react-native-ble-manager';
12 | import Theme from '../Theme'
13 | import NavBar from './NavBar'
14 | import Btn from './Btn'
15 | import pkg from '../package.json'
16 | import UsedLibraries from './UsedLibraries'
17 |
18 | class TabSetting extends Component {
19 | render() {
20 | return (
21 |
22 |
26 |
27 |
28 | Setting
29 |
30 |
31 | {
32 |
33 |
34 | Version
35 | {`${pkg.version}`}
36 |
37 | Repository
38 | this._openLink('https://github.com/revtel/react-native-ble-analyzer')}>
39 | Visit
40 |
41 | Contributions are welcome!
42 |
43 | OSS Libraries
44 |
45 |
46 |
47 | }
48 |
49 | )
50 | }
51 |
52 | _openLink = url => {
53 | Linking.openURL(url).catch(err => console.error('An error occurred', err));
54 | }
55 | }
56 |
57 | export default TabSetting;
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # react-native-ble-analyzer
2 |
3 | Open source BLE analysis app for iOS and Android, built with React Native.
4 |
5 | **Contributions are super welcome!**
6 |
7 | ## Why
8 |
9 | Since we love both **React Native** and **BLE** technologies, we like to build an **general purpose tool** combining them. We also think we can learn more **BLE** stuff by building an app like this!
10 |
11 | ## How
12 |
13 | ### Minimal dependencies
14 | We try to limit the dependencies and focus on **React Native** and **BLE** themself, so in this app we don't use any UI component library as well as state management library (that's right, I'm talking about even `redux`).
15 |
16 | ### Respect BLE tech
17 | Besides, we also try to split our components according to `BLE`'s terminology, which means we have corresponding `GattService`, `GattChar` (for characteristic), `GattCharProp` (for characteristic properties), by respecting that we can have better understanding of `BLE` technology.
18 |
19 | > You can think characteristic properties are somthing like the operations you can perform on some characteristic
20 |
21 | ### BLE Library
22 |
23 | By the way, in this app we use [**react-native-ble-manager**](https://github.com/innoveit/react-native-ble-manager) as our core BLE library, since we're also contributing to it. In this way, we can **eat our own dog food**, and also easier to spot whether some bugs belong to library or app. It's pretty good, please go to the reop and check it out!
24 |
25 | ## Features
26 |
27 | * Scan peripherals
28 | * Connect to peripherals
29 | * Read, write, subscribe to notifications
30 | * Switch formats for characteristic value, including decimal, hex, and ascii.
31 | * List current connected BLE devices
32 |
33 | ## Sceenshots
34 |
35 |
36 |

37 |

38 |

39 |

40 |

41 |
42 |
43 |
44 | ## Conclusion
45 |
46 | That's it. Thanks for checking this repo, looking forward to your contributions!
47 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | BleAnalyzer
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 0.0.4
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSAppTransportSecurity
28 |
29 | NSExceptionDomains
30 |
31 | localhost
32 |
33 | NSExceptionAllowsInsecureHTTPLoads
34 |
35 |
36 |
37 |
38 | NSBluetoothPeripheralUsageDescription
39 | $(PRODUCT_NAME) needs to use Bluetooth
40 | NSLocationWhenInUseUsageDescription
41 |
42 | UIAppFonts
43 |
44 | Entypo.ttf
45 | EvilIcons.ttf
46 | Feather.ttf
47 | FontAwesome.ttf
48 | Foundation.ttf
49 | Ionicons.ttf
50 | MaterialCommunityIcons.ttf
51 | MaterialIcons.ttf
52 | Octicons.ttf
53 | SimpleLineIcons.ttf
54 | Zocial.ttf
55 |
56 | UILaunchStoryboardName
57 | LaunchScreen
58 | UIRequiredDeviceCapabilities
59 |
60 | armv7
61 |
62 | UISupportedInterfaceOrientations
63 |
64 | UIInterfaceOrientationPortrait
65 | UIInterfaceOrientationLandscapeLeft
66 | UIInterfaceOrientationLandscapeRight
67 |
68 | UIViewControllerBasedStatusBarAppearance
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/ios/BleAnalyzerTests/BleAnalyzerTests.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 BleAnalyzerTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation BleAnalyzerTests
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 |
--------------------------------------------------------------------------------
/Components/Peripheral.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | Platform,
6 | TouchableOpacity,
7 | StatusBar,
8 | ScrollView,
9 | ActivityIndicator,
10 | PermissionsAndroid,
11 | NativeModules,
12 | NativeEventEmitter,
13 | } from 'react-native'
14 | import JSONTree from 'react-native-json-tree'
15 | import Btn from './Btn'
16 |
17 | class Peripheral extends Component {
18 | constructor(props) {
19 | super(props);
20 | this.state = {
21 | expanded: false
22 | }
23 | }
24 |
25 | render() {
26 | let {expanded} = this.state;
27 | let {peripheral, onConnect=(() => 0)} = this.props;
28 | return (
29 |
30 |
31 |
32 | {`${peripheral.name || 'N/A'}`}
33 | {`${peripheral.rssi || '---'} dBm`}
34 |
35 |
36 | this.setState({expanded: !expanded})}
38 | extraStyle={{width: 72, justifyContent: 'center', alignItems: 'center'}}
39 | outline
40 | >
41 | {`${expanded ? 'LESS' : 'MORE'}`}
42 |
43 |
44 |
45 | {
46 | expanded && (
47 |
48 |
49 | Raw Data
50 |
53 |
54 |
55 |
56 | onConnect(peripheral)}>
57 | {`CONNECT`}
58 |
59 |
60 |
61 | )
62 | }
63 |
64 | )
65 | }
66 | }
67 |
68 | export default Peripheral;
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "orientation" : "portrait",
5 | "idiom" : "iphone",
6 | "extent" : "full-screen",
7 | "minimum-system-version" : "11.0",
8 | "subtype" : "2436h",
9 | "scale" : "3x"
10 | },
11 | {
12 | "orientation" : "landscape",
13 | "idiom" : "iphone",
14 | "extent" : "full-screen",
15 | "minimum-system-version" : "11.0",
16 | "subtype" : "2436h",
17 | "scale" : "3x"
18 | },
19 | {
20 | "extent" : "full-screen",
21 | "idiom" : "iphone",
22 | "subtype" : "736h",
23 | "filename" : "LaunchImage-568h@2x~iphone_640x1136.png",
24 | "minimum-system-version" : "8.0",
25 | "orientation" : "portrait",
26 | "scale" : "3x"
27 | },
28 | {
29 | "orientation" : "landscape",
30 | "idiom" : "iphone",
31 | "extent" : "full-screen",
32 | "minimum-system-version" : "8.0",
33 | "subtype" : "736h",
34 | "scale" : "3x"
35 | },
36 | {
37 | "extent" : "full-screen",
38 | "idiom" : "iphone",
39 | "subtype" : "667h",
40 | "filename" : "LaunchImage-1242@3x~iphone6s-portrait_1242x2208-1.png",
41 | "minimum-system-version" : "8.0",
42 | "orientation" : "portrait",
43 | "scale" : "2x"
44 | },
45 | {
46 | "orientation" : "portrait",
47 | "idiom" : "iphone",
48 | "filename" : "LaunchImage-568h@2x~iphone_640x1136-1.png",
49 | "extent" : "full-screen",
50 | "minimum-system-version" : "7.0",
51 | "scale" : "2x"
52 | },
53 | {
54 | "extent" : "full-screen",
55 | "idiom" : "iphone",
56 | "subtype" : "retina4",
57 | "filename" : "LaunchImage-1242@3x~iphone6s-portrait_1242x2208.png",
58 | "minimum-system-version" : "7.0",
59 | "orientation" : "portrait",
60 | "scale" : "2x"
61 | },
62 | {
63 | "orientation" : "portrait",
64 | "idiom" : "iphone",
65 | "filename" : "LaunchImage~iphone-320x480.png",
66 | "extent" : "full-screen",
67 | "scale" : "1x"
68 | },
69 | {
70 | "orientation" : "portrait",
71 | "idiom" : "iphone",
72 | "filename" : "LaunchImage-750@2x~iphone6-portrait_750x1334.png",
73 | "extent" : "full-screen",
74 | "scale" : "2x"
75 | },
76 | {
77 | "orientation" : "portrait",
78 | "idiom" : "iphone",
79 | "filename" : "LaunchImage~iphone_640x960.png",
80 | "extent" : "full-screen",
81 | "subtype" : "retina4",
82 | "scale" : "2x"
83 | }
84 | ],
85 | "info" : {
86 | "version" : 1,
87 | "author" : "xcode"
88 | }
89 | }
--------------------------------------------------------------------------------
/Components/GattChar.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | TouchableOpacity,
6 | Platform,
7 | TextInput
8 | } from 'react-native'
9 | import BleHelper from '../BleHelper'
10 | import BleManager from 'react-native-ble-manager'
11 | import Btn from './Btn'
12 | import GattCharProp from './GattCharProp'
13 |
14 | const UiFormat = {
15 | ARRAY_OF_DEC: 'DEC',
16 | ARRAY_OF_HEX: 'HEX',
17 | ASCII: 'ASCII',
18 | }
19 |
20 | class GattChar extends Component {
21 | constructor(props) {
22 | super(props);
23 | this.state = {
24 | format: UiFormat.ARRAY_OF_DEC
25 | }
26 | }
27 |
28 | render() {
29 | let {peripheral, serviceUuid, char, extraStyle={}} = this.props;
30 | let {format} = this.state;
31 | let properties = char.properties;
32 |
33 | if (Platform.OS === 'android') {
34 | // in android, properties is an object rather than array
35 | properties = Object.keys(char.properties);
36 | }
37 |
38 | return (
39 |
40 | {char.characteristic}
41 |
42 | {
43 | Object.keys(UiFormat).map(
44 | k => (
45 | this.setState({format: UiFormat[k]})}>
46 | {UiFormat[k]}
47 |
48 | )
49 | )
50 | }
51 |
52 |
53 | {
54 | properties.map(
55 | property => (
56 |
64 | )
65 | )
66 | }
67 |
68 |
69 | )
70 | }
71 | }
72 |
73 | export default GattChar;
74 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30 |
31 | # Do not strip any method/class that is annotated with @DoNotStrip
32 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
33 | -keep @com.facebook.common.internal.DoNotStrip class *
34 | -keepclassmembers class * {
35 | @com.facebook.proguard.annotations.DoNotStrip *;
36 | @com.facebook.common.internal.DoNotStrip *;
37 | }
38 |
39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40 | void set*(***);
41 | *** get*();
42 | }
43 |
44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
46 | -keepclassmembers,includedescriptorclasses class * { native ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
50 |
51 | -dontwarn com.facebook.react.**
52 |
53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/BleHelper.js:
--------------------------------------------------------------------------------
1 | import {
2 | NativeModules,
3 | NativeEventEmitter,
4 | Platform,
5 | PermissionsAndroid,
6 | } from 'react-native'
7 | import BleManager from 'react-native-ble-manager';
8 | import {throttle} from 'lodash';
9 |
10 | const bleManagerEmitter = new NativeEventEmitter(NativeModules.BleManager);
11 |
12 | class BleHelper {
13 | requestPermission() {
14 | return new Promise(
15 | (resolve, reject) => {
16 | if (Platform.OS === 'android' && Platform.Version >= 23) {
17 | PermissionsAndroid.check(PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION).then((result) => {
18 | if (result) {
19 | resolve();
20 | } else {
21 | PermissionsAndroid.requestPermission(PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION).then((result) => {
22 | if (result) {
23 | resolve();
24 | } else {
25 | reject()
26 | }
27 | });
28 | }
29 | });
30 | } else {
31 | resolve();
32 | }
33 | }
34 | )
35 | }
36 |
37 | registerNotification(peripheralId, serviceId, charId, callback) {
38 | return new Promise(
39 | (resolve, reject) => {
40 | BleManager.startNotification(peripheralId, serviceId, charId)
41 | .then(() => {
42 | resolve(bleManagerEmitter.addListener('BleManagerDidUpdateValueForCharacteristic', callback));
43 | })
44 | .catch(err => {
45 | console.warn('BleHelper registerNotification', err);
46 | reject(err)
47 | })
48 | }
49 | )
50 | }
51 |
52 | unregisterNotification(handle) {
53 | handle.remove();
54 | }
55 |
56 | registerListener({onDiscovery=null, onStopScan=null}) {
57 | if (onDiscovery) {
58 | if (this.onDiscoveryHandler) {
59 | throw new Error('you should only register one listener using this helper method at a time');
60 | }
61 | onDiscovery = throttle(onDiscovery, 250);
62 | this.onDiscoveryHandler = bleManagerEmitter.addListener('BleManagerDiscoverPeripheral', onDiscovery);
63 | }
64 |
65 | if (onStopScan) {
66 | if (this.onStopScanHandler) {
67 | throw new Error('you should only register one listener using this helper method at a time');
68 | }
69 | this.onStopScanHandler = bleManagerEmitter.addListener('BleManagerStopScan', onStopScan);
70 | }
71 | }
72 |
73 | unregisterListeners() {
74 | this.onDiscoveryHandler && this.onDiscoveryHandler.remove();
75 | this.onStopScanHandler && this.onStopScanHandler.remove();
76 | }
77 | }
78 |
79 | export default new BleHelper();
--------------------------------------------------------------------------------
/App.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | Platform,
6 | TouchableOpacity,
7 | StatusBar,
8 | } from 'react-native'
9 | import TabNavigator from 'react-native-tab-navigator';
10 | import Theme from './Theme'
11 | import TabScan from './Components/TabScan'
12 | import TabFeatures from './Components/TabFeatures'
13 | import TabSetting from './Components/TabSetting'
14 | import ConnectionPanel from './Components/ConnectionPanel'
15 | import ErrorMessagePanel, {ErrorRegistry} from './Components/ErrorMessagePanel'
16 |
17 | const Tabs = {
18 | scan: 0,
19 | features: 1,
20 | setting: 2,
21 | }
22 |
23 | class App extends Component {
24 | constructor(props) {
25 | super(props);
26 | this.state = {
27 | selectedTab: Tabs.scan,
28 | connectTo: null,
29 | };
30 | }
31 |
32 | render() {
33 | let {selectedTab, connectTo} = this.state;
34 |
35 | return (
36 |
37 |
38 | SCAN}
41 | renderSelectedIcon={() => SCAN}
42 | onPress={() => this.setState({ selectedTab: Tabs.scan })}>
43 | this.setState({connectTo})}/>
44 |
45 | FEATURES}
48 | renderSelectedIcon={() => FEATURES}
49 | onPress={() => this.setState({ selectedTab: Tabs.features })}>
50 | this.setState({connectTo})}/>
51 |
52 | SETTING}
55 | renderSelectedIcon={() => SETTING}
56 | onPress={() => this.setState({ selectedTab: Tabs.setting })}>
57 |
58 |
59 |
60 |
61 | {
62 | connectTo && (
63 | this.setState({connectTo: null})}
66 | />
67 | )
68 | }
69 |
70 | {
71 |
72 | }
73 |
74 | )
75 | }
76 | }
77 |
78 | export default App;
79 |
--------------------------------------------------------------------------------
/Components/TabConnected.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react';
2 | import {
3 | View,
4 | Text,
5 | StatusBar,
6 | ScrollView,
7 | TouchableOpacity,
8 | ActivityIndicator,
9 | } from 'react-native';
10 | import BleManager from 'react-native-ble-manager';
11 | import Theme from '../Theme'
12 | import NavBar from './NavBar'
13 | import Btn from './Btn'
14 | import Peripheral from './Peripheral'
15 |
16 | const UiState = {
17 | idle: 0,
18 | refreshing: 1,
19 | }
20 |
21 | class TabConnected extends Component {
22 | constructor(props) {
23 | super(props);
24 | this.state = {
25 | uiState: UiState.idle,
26 | peripherals: [],
27 | };
28 | }
29 |
30 | render() {
31 | let { onConnect } = this.props;
32 | let { uiState, peripherals } = this.state;
33 |
34 | return (
35 |
36 |
40 |
41 |
42 | Connected Devices
43 | { this._renderRefreshButton() }
44 |
45 |
46 | {
47 | Object.keys(peripherals).length === 0 ? (
48 |
49 | { uiState === UiState.refreshing && }
50 |
51 | Currently no connected peripherals found
52 |
53 | { uiState === UiState.idle && Refresh Now }
54 |
55 | ) : (
56 |
57 | {
58 | Object.keys(peripherals).map(key => peripherals[key]).map(
59 | peripheral => (
60 |
65 | )
66 | )
67 | }
68 |
69 | )
70 | }
71 |
72 | )
73 | }
74 |
75 | _renderRefreshButton = () => {
76 | let {uiState} = this.state;
77 | if (uiState === UiState.refreshing) {
78 | return
79 | }
80 | return (
81 |
82 | Refresh
83 |
84 | )
85 | }
86 |
87 | _doRefresh = () => {
88 | this.setState({uiState: UiState.refreshing});
89 | BleManager.getConnectedPeripherals([])
90 | .then(peripherals => {
91 | this.setState({
92 | uiState: UiState.idle,
93 | peripherals,
94 | })
95 | })
96 | .catch(() => {
97 | this.setState({
98 | uiState: UiState.idle,
99 | })
100 | })
101 | }
102 | }
103 |
104 | export default TabConnected;
--------------------------------------------------------------------------------
/ios/BleAnalyzer/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Components/ErrorMessagePanel.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | ScrollView,
6 | TouchableOpacity
7 | } from 'react-native'
8 | import JSONTree from 'react-native-json-tree'
9 | import Theme from '../Theme'
10 |
11 | let ErrorRegistry = function() {
12 | let errors = [];
13 | let callback = null;
14 |
15 | return {
16 | setCallback: cb => {
17 | callback = cb;
18 | },
19 |
20 | listErrors: () => {
21 | return errors;
22 | },
23 |
24 | putError: (key, error) => {
25 | errors.push({ key, value: error});
26 | callback && callback(errors);
27 | },
28 |
29 | clearErrors: () => {
30 | errors = [];
31 | callback && callback(errors);
32 | },
33 | }
34 | }();
35 |
36 | class ErrorMessagePanel extends Component {
37 | constructor(props) {
38 | super(props);
39 | this.state = {
40 | expand: false
41 | }
42 |
43 | ErrorRegistry.setCallback(() => this.forceUpdate());
44 | }
45 |
46 | render() {
47 | let {expand} = this.state;
48 | let errors = ErrorRegistry.listErrors();
49 |
50 | if (!expand) {
51 | return (
52 |
53 | 0 ? 'red': Theme.color}}
55 | onPress={() => this.setState({expand: true})}
56 | >
57 | {errors.length}
58 |
59 |
60 | )
61 | }
62 |
63 | return (
64 | 0 ? 'red': Theme.color }}>
65 | {errors.length > 0 ? 'Errors' : 'No Errors'}
66 |
67 |
68 |
69 | {
70 | errors.map(
71 | (error, idx) => (
72 |
73 | {error.key}
74 |
75 |
76 | )
77 | )
78 | }
79 |
80 |
81 |
82 |
83 | this.setState({expand: false})}
86 | >
87 | Close
88 |
89 |
90 | {
93 | ErrorRegistry.clearErrors();
94 | this.setState({expand: false});
95 | }}
96 | >
97 | Clear & Close
98 |
99 |
100 |
101 | )
102 | }
103 | }
104 |
105 | export default ErrorMessagePanel;
106 |
107 | export {
108 | ErrorRegistry
109 | }
110 |
--------------------------------------------------------------------------------
/Components/TabScan.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | Platform,
6 | TouchableOpacity,
7 | StatusBar,
8 | ScrollView,
9 | ActivityIndicator,
10 | PermissionsAndroid,
11 | NativeModules,
12 | NativeEventEmitter,
13 | } from 'react-native'
14 | import BleManager from 'react-native-ble-manager';
15 | import _BleHelper from '../BleHelper'
16 | import Theme from '../Theme'
17 | import NavBar from './NavBar'
18 | import Btn from './Btn'
19 | import Peripheral from './Peripheral'
20 |
21 | const UiState = {
22 | idle: 0,
23 | scanning: 1
24 | }
25 |
26 | class TabScan extends Component {
27 | constructor(props) {
28 | super(props);
29 | this.state = {
30 | peripherals: {},
31 | uiState: UiState.idle,
32 | };
33 | }
34 |
35 | componentDidMount() {
36 | _BleHelper.requestPermission()
37 | .then(() => {
38 | _BleHelper.registerListener({
39 | onDiscovery: peripheral => {
40 | this.setState({
41 | peripherals: {
42 | ...this.state.peripherals,
43 | [peripheral.id]: peripheral
44 | }
45 | })
46 | },
47 |
48 | onStopScan: () => {
49 | this.setState({ uiState: UiState.idle })
50 | }
51 | })
52 |
53 | BleManager.start({ showAlert: false });
54 | })
55 | }
56 |
57 | componentWillUnmount() {
58 | _BleHelper.unregisterListeners();
59 | }
60 |
61 | render() {
62 | let {onConnect} = this.props;
63 | let {peripherals, uiState} = this.state;
64 |
65 | return (
66 |
67 |
71 |
72 |
73 | React Native BLE Analyzer
74 | { this._renderScanButton() }
75 |
76 |
77 | {
78 | Object.keys(peripherals).length === 0 ? (
79 |
80 | { uiState === UiState.scanning && }
81 |
82 | No Result
83 |
84 | { uiState === UiState.idle && Scan Now }
85 |
86 | ) : (
87 |
88 | {
89 | Object.keys(peripherals).map(key => peripherals[key]).map(
90 | peripheral => (
91 |
96 | )
97 | )
98 | }
99 |
100 | )
101 | }
102 |
103 | )
104 | }
105 |
106 | _renderScanButton = () => {
107 | let {uiState} = this.state;
108 | if (uiState === UiState.scanning) {
109 | return
110 | }
111 | return (
112 |
113 | Scan
114 |
115 | )
116 | }
117 |
118 | _doScan = () => {
119 | if (this.state.uiState !== UiState.idle) {
120 | return;
121 | }
122 |
123 | this.setState({ uiState: UiState.scanning, peripherals: {} });
124 | BleManager.scan([], 20, true)
125 | .then(results => {
126 | console.log('Scanning...');
127 | })
128 | .catch(() => {
129 | this.setState({ uiState: UiState.idle })
130 | })
131 | }
132 | }
133 |
134 | export default TabScan;
135 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer.xcodeproj/xcshareddata/xcschemes/BleAnalyzer.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/ios/BleAnalyzer.xcodeproj/xcshareddata/xcschemes/BleAnalyzer-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion 23
98 | buildToolsVersion "23.0.1"
99 |
100 | defaultConfig {
101 | applicationId "com.bleanalyzer"
102 | minSdkVersion 16
103 | targetSdkVersion 22
104 | versionCode 1
105 | versionName "1.0"
106 | ndk {
107 | abiFilters "armeabi-v7a", "x86"
108 | }
109 | }
110 | splits {
111 | abi {
112 | reset()
113 | enable enableSeparateBuildPerCPUArchitecture
114 | universalApk false // If true, also generate a universal APK
115 | include "armeabi-v7a", "x86"
116 | }
117 | }
118 | buildTypes {
119 | release {
120 | minifyEnabled enableProguardInReleaseBuilds
121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
122 | }
123 | }
124 | // applicationVariants are e.g. debug, release
125 | applicationVariants.all { variant ->
126 | variant.outputs.each { output ->
127 | // For each separate APK per architecture, set a unique version code as described here:
128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
129 | def versionCodes = ["armeabi-v7a":1, "x86":2]
130 | def abi = output.getFilter(OutputFile.ABI)
131 | if (abi != null) { // null for the universal-debug, universal-release variants
132 | output.versionCodeOverride =
133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
134 | }
135 | }
136 | }
137 | }
138 |
139 | dependencies {
140 | compile project(':react-native-vector-icons')
141 | compile project(':react-native-ble-manager')
142 | compile fileTree(dir: "libs", include: ["*.jar"])
143 | compile "com.android.support:appcompat-v7:23.0.1"
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 |
--------------------------------------------------------------------------------
/Components/TabFeatures.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react';
2 | import {
3 | View,
4 | Text,
5 | StatusBar,
6 | ScrollView,
7 | TouchableOpacity,
8 | ActivityIndicator,
9 | Platform,
10 | } from 'react-native';
11 | import BleManager from 'react-native-ble-manager';
12 | import Theme from '../Theme'
13 | import NavBar from './NavBar'
14 | import Btn from './Btn'
15 | import Peripheral from './Peripheral'
16 |
17 | const UiState = {
18 | idle: 0,
19 | refreshing: 1,
20 | }
21 |
22 | const UiFeatures = {
23 | list_connected: 0,
24 | list_bonded: 1,
25 | }
26 |
27 | const Features = [
28 | { id: UiFeatures.list_connected, name: 'List connected peripherals', },
29 | { id: UiFeatures.list_bonded, name: 'List bonded peripherals', },
30 | ]
31 |
32 | class FeatureList extends Component {
33 | render() {
34 | let {selected, onSelect, extraStyle={}} = this.props;
35 |
36 | return (
37 |
38 | {
39 | Features.map(
40 | f => (
41 | onSelect(f.id)}
44 | style={{padding: 10, backgroundColor: '#f0f0f0', borderBottomWidth: 1, borderBottomColor: '#ccc'}}
45 | >
46 | {f.name}
47 |
48 | )
49 | )
50 | }
51 |
52 | )
53 |
54 | }
55 | }
56 |
57 | class TabFeatures extends Component {
58 | constructor(props) {
59 | super(props);
60 | this.state = {
61 | uiState: UiState.idle,
62 | peripherals: [],
63 | feature: UiFeatures.list_connected,
64 | };
65 | }
66 |
67 | render() {
68 | let { uiState, feature, } = this.state;
69 |
70 | return (
71 |
72 |
76 |
77 |
78 | Features
79 |
80 |
81 |
82 | this.setState({feature})}
85 | />
86 |
87 | { this._renderFeature() }
88 |
89 |
90 | )
91 | }
92 |
93 | _renderFeature = () => {
94 | let {onConnect} = this.props;
95 | let {feature, peripherals, uiState} = this.state;
96 | switch (feature) {
97 | case UiFeatures.list_connected:
98 | return (
99 |
100 | {
101 | Object.keys(peripherals).map(key => peripherals[key]).map(
102 | peripheral => (
103 |
108 | )
109 | )
110 | }
111 |
112 |
113 | {
114 | uiState === UiState.refreshing ? (
115 |
116 | ) : (
117 | List Connected Peripherals
118 | )
119 | }
120 |
121 |
122 | );
123 |
124 | case UiFeatures.list_bonded:
125 | if (Platform.OS === 'ios') {
126 | return (
127 |
128 |
129 | iOS doesn't support listing bonded devices
130 |
131 |
132 | )
133 | }
134 |
135 | return (
136 |
137 | {
138 | Object.keys(peripherals).map(key => peripherals[key]).map(
139 | peripheral => (
140 |
145 | )
146 | )
147 | }
148 |
149 |
150 | {
151 | uiState === UiState.refreshing ? (
152 |
153 | ) : (
154 | List Bonded Peripherals
155 | )
156 | }
157 |
158 |
159 | )
160 | }
161 | return null;
162 | }
163 |
164 | _listConnected = () => {
165 | this.setState({uiState: UiState.refreshing});
166 | // manually wait for a whole, let the spinner shows up
167 | setTimeout(
168 | () => {
169 | BleManager.getConnectedPeripherals([])
170 | .then(peripherals => {
171 | this.setState({
172 | uiState: UiState.idle,
173 | peripherals,
174 | })
175 | })
176 | .catch(() => {
177 | this.setState({
178 | uiState: UiState.idle,
179 | })
180 | })
181 |
182 | }, 1500
183 | )
184 | }
185 |
186 | _listBonded = () => {
187 | this.setState({uiState: UiState.refreshing});
188 | BleManager.getBondedPeripherals()
189 | .then(peripherals => {
190 | this.setState({
191 | uiState: UiState.idle,
192 | peripherals,
193 | })
194 | })
195 | .catch(() => {
196 | this.setState({
197 | uiState: UiState.idle,
198 | })
199 | })
200 | }
201 | }
202 |
203 | export default TabFeatures;
--------------------------------------------------------------------------------
/Components/ConnectionPanel.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | ScrollView,
6 | ActivityIndicator,
7 | Platform,
8 | } from 'react-native'
9 | import BleManager from 'react-native-ble-manager';
10 | import JSONTree from 'react-native-json-tree'
11 | import Btn from './Btn'
12 | import GattService from './GattService'
13 | import Theme from '../Theme';
14 | import {ErrorRegistry} from './ErrorMessagePanel'
15 |
16 | class ConnectionPanel extends Component {
17 | constructor(props) {
18 | super(props);
19 | this.initialState = {
20 | connecting: false,
21 | connected: false,
22 | hint: null,
23 | serviceInfo: null,
24 | };
25 |
26 | this.state = {
27 | ...this.initialState,
28 | }
29 | }
30 |
31 | componentDidMount() {
32 | this._tryConnect();
33 | }
34 |
35 | render() {
36 | let {onClose, peripheral} = this.props;
37 | let {connected, connecting, hint, serviceInfo} = this.state;
38 | let gattServices = this._restructureServices(serviceInfo);
39 | console.log('gattServices', gattServices);
40 |
41 | let kbViewProps = Platform.OS === 'ios' ? {behavior: 'position'} : {};
42 |
43 | return (
44 |
45 |
46 | {
47 | connecting && (
48 |
49 |
50 | {hint}
51 |
52 | )
53 | }
54 |
55 | {
56 | connected && (
57 |
58 | {hint && {hint}}
59 |
60 |
61 | {peripheral.name || 'N/A'}
62 | id: {peripheral.id}
63 |
64 |
65 | {gattServices && (
66 |
67 | GATT Services
68 | {
69 | gattServices.map(
70 | s => (
71 |
76 | )
77 | )
78 |
79 | }
80 |
81 | )}
82 |
83 | {serviceInfo && (
84 |
85 | (Raw JSON) Services
86 |
87 |
88 | (Raw JSON) Characteristics
89 |
90 |
91 | )}
92 |
93 | )
94 | }
95 |
96 | {
97 |
98 |
99 | {`${(connected || connecting) ? 'Disconnect & Close' : 'Connect'}`}
100 |
101 |
102 |
103 |
104 |
105 | Close
106 |
107 |
108 | }
109 |
110 |
111 | )
112 | }
113 |
114 | _tryConnect = () => {
115 | let { peripheral } = this.props;
116 |
117 | console.log('conneting to ', peripheral);
118 |
119 | this.setState({
120 | ...this.initialState,
121 | connecting: true,
122 | hint: 'Connecting...',
123 | });
124 |
125 | BleManager.connect(peripheral.id)
126 | .then(() => {
127 | this.setState({hint: 'Retrieving GATT services...'})
128 | return BleManager.retrieveServices(peripheral.id)
129 | })
130 | .then(serviceInfo => {
131 | console.log(serviceInfo);
132 | this.setState({
133 | connecting: false,
134 | connected: true,
135 | hint: null,
136 | serviceInfo
137 | });
138 | })
139 | .catch(err => {
140 | ErrorRegistry.putError('BLE Connect', err);
141 | this.setState({
142 | connected: false,
143 | connecting: false,
144 | hint: `Err: ${JSON.stringify(err)}`
145 | })
146 | BleManager.disconnect(peripheral.id); // ignore failure
147 | })
148 | }
149 |
150 | _restructureServices = (serviceInfo) => {
151 | if (!serviceInfo) {
152 | return null;
153 | }
154 |
155 | let {characteristics, services} = serviceInfo;
156 | if (Platform.OS === 'ios') {
157 | // in ios, the services array is just a array of string
158 | // and each string is the uuid of that service, not an object
159 | return services.reduce(
160 | (acc, service) => {
161 | acc.push({
162 | uuid: service,
163 | chars: characteristics.filter(c => c.service === service)
164 | });
165 | return acc;
166 | },
167 | []
168 | );
169 | } else { // android
170 | return services.reduce(
171 | (acc, service) => {
172 | acc.push({
173 | ...service,
174 | chars: characteristics.filter(c => c.service === service.uuid)
175 | });
176 | return acc;
177 | },
178 | []
179 | );
180 | }
181 | }
182 |
183 | _tryDisconnectAndClose = () => {
184 | let {peripheral, onClose} = this.props;
185 | this.setState({
186 | ...this.initialState,
187 | hint: 'Not connected'
188 | });
189 | BleManager.disconnect(peripheral.id)
190 | .catch(err => {
191 | ErrorRegistry.putError('BLE Disconnect', err);
192 | })
193 | .then(onClose);
194 | }
195 | }
196 |
197 | export default ConnectionPanel;
--------------------------------------------------------------------------------
/Components/GattCharProp.js:
--------------------------------------------------------------------------------
1 | import React, {Component} from 'react'
2 | import {
3 | View,
4 | Text,
5 | TouchableOpacity,
6 | Platform,
7 | TextInput
8 | } from 'react-native'
9 | import BleHelper from '../BleHelper'
10 | import BleManager from 'react-native-ble-manager'
11 | import Btn from './Btn'
12 | import {ErrorRegistry} from './ErrorMessagePanel'
13 |
14 | /**
15 | common
16 | ---------------------------------------------------------
17 | Broadcast
18 | Read
19 | Write
20 | WriteWithoutResponse
21 | Notify
22 | Indicate
23 | ExtendedProperties
24 | AuthenticateSignedWrites
25 | * ios has a typo on this (AutheticateSignedWrites)
26 |
27 | ios only
28 | ---------------------------------------------------------
29 | NotifyEncryptionRequired
30 | IndicateEncryptionRequired
31 | */
32 |
33 | class GattCharProp extends Component {
34 | constructor(props) {
35 | super(props);
36 | this.notifyHandle = null;
37 | this.notifyValue = '---';
38 | this.charValue = '---';
39 | this.state = {
40 | valueToWrite: null
41 | };
42 | }
43 |
44 | componentWillUnmount() {
45 | if (this.notifyHandle) {
46 | BleHelper.unregisterNotification(this.notifyHandle);
47 | }
48 | }
49 |
50 | render() {
51 | let {property} = this.props;
52 | let displayCharValue = this._formatValue(this.charValue);
53 | let displayNotifyValue = this._formatValue(this.notifyValue);
54 |
55 | if (property === 'Read') {
56 | return (
57 |
58 |
59 | {property}
60 |
61 | {displayCharValue}
62 |
63 | )
64 | } else if (property.indexOf('Notify') === 0 || property.indexOf('Indicate') === 0) {
65 | return (
66 |
67 |
68 |
69 | {property}
70 |
71 | {displayNotifyValue}
72 |
73 |
74 | {!!this.notifyHandle && (
75 |
76 | Unsubscribe
77 |
78 | )}
79 |
80 | )
81 | } else if (property.indexOf('Write') === 0) {
82 | let {valueToWrite} = this.state;
83 |
84 | return (
85 |
86 |
87 | {property}
88 |
89 |
90 | this.setState({valueToWrite})}
93 | style={{ borderWidth: 1, borderColor: 'lightblue', marginBottom: 5, height: 30 }}
94 | />
95 |
96 | Send
97 | this.setState({valueToWrite: null})} extraStyle={{marginRight: 5}} outline>Clear
98 |
99 |
100 |
101 | )
102 | } else {
103 | return (
104 |
105 |
106 | {property}
107 |
108 |
109 | )
110 | }
111 | }
112 |
113 | _doOperation = () => {
114 | let {peripheral, serviceUuid, char, property, format} = this.props;
115 |
116 | if (property === 'Read') {
117 | BleManager.read(peripheral.id, serviceUuid, char.characteristic)
118 | .then(data => {
119 | console.log(data);
120 | this.charValue = data;
121 | this.forceUpdate();
122 | })
123 | .catch(err => {
124 | console.warn(err);
125 | ErrorRegistry.putError('GATT Read', err);
126 | })
127 | } else if (property.indexOf('Notify') === 0 || property.indexOf('Indicate') === 0) {
128 | if (!this.notifyHandle) {
129 | BleHelper.registerNotification(peripheral.id, serviceUuid, char.characteristic, this._onCharValueUpdate)
130 | .then(handle => {
131 | this.notifyHandle = handle;
132 | this.forceUpdate();
133 | })
134 | .catch(err => {
135 | console.warn(err)
136 | ErrorRegistry.putError('GATT Register Notification', err);
137 | });
138 | } else {
139 | BleHelper.unregisterNotification(this.notifyHandle)
140 | .catch(err => {
141 | console.warn(err)
142 | ErrorRegistry.putError('GATT Unregister Notification', err);
143 | })
144 | this.notifyHandle = null;
145 | this.forceUpdate();
146 | }
147 | } else if (property.indexOf('Write') === 0) {
148 | let bytes = this._formatValueToWrite();
149 | if (property === 'Write') {
150 | BleManager.write(peripheral.id, serviceUuid, char.characteristic, bytes, bytes.length)
151 | .then(result => 0)
152 | .catch(err => {
153 | console.warn(err);
154 | ErrorRegistry.putError('GATT Write', err);
155 | })
156 | } else { // without response
157 | BleManager.writeWithoutResponse(peripheral.id, serviceUuid, char.characteristic, bytes, bytes.length)
158 | .then(result => 0)
159 | .catch(err => {
160 | console.warn(err);
161 | ErrorRegistry.putError('GATT WriteWithourResponse', err);
162 | })
163 | }
164 | }
165 | }
166 |
167 | _formatValueToWrite = () => {
168 | let {format} = this.props;
169 | let {valueToWrite} = this.state;
170 | let bytes = [];
171 |
172 | if (!valueToWrite) {
173 | return null;
174 | }
175 |
176 | try {
177 | if (format === 'ASCII') {
178 | for (let i = 0; i < valueToWrite.length; i++) {
179 | bytes.push(valueToWrite.charCodeAt(i));
180 | }
181 | } else if (format === 'DEC') {
182 | bytes = valueToWrite.split().map(v => parseInt(v, 10));
183 | } else if (format === 'HEX') {
184 | bytes = valueToWrite.split().map(v => parseInt(v, 16));
185 | }
186 | } catch (ex) {
187 | console.warn(ex);
188 | return null;
189 | }
190 |
191 | return bytes;
192 | }
193 |
194 | _formatValue = data => {
195 | // TODO: this is bad, remove it later
196 | if (data === '---') {
197 | return data;
198 | }
199 |
200 | let {format} = this.props;
201 | try {
202 | switch (format) {
203 | case 'DEC':
204 | return (
205 | data && data.map(v => v.toString(10)).reduce((acc, v) => `${acc} ${v}`, '')
206 | ) || '???';
207 | case 'HEX':
208 | return (
209 | data && data.map(v => v.toString(16)).reduce((acc, v) => `${acc} ${v}`, '')
210 | ) || '???';
211 | case 'ASCII':
212 | return (
213 | data && data.map(v => String.fromCharCode(v)).reduce((acc, v) => `${acc}${v}`, '')
214 | ) || '???';
215 | }
216 | } catch (ex) {
217 | return JSON.stringify(data) + '(fail to parse)';
218 | }
219 | return JSON.stringify(data);
220 | }
221 |
222 | _onCharValueUpdate = ({value}) => {
223 | let valueToDisplay = '???';
224 |
225 | try {
226 | valueToDisplay = JSON.stringify(value);
227 | } catch (ex) {
228 | console.warn(ex);
229 | }
230 |
231 | this.notifyValue = valueToDisplay;
232 | this.forceUpdate();
233 | }
234 | }
235 |
236 | export default GattCharProp;
--------------------------------------------------------------------------------
/ios/BleAnalyzer.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 /* BleAnalyzerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* BleAnalyzerTests.m */; };
16 | 06619267238C4BF892000304 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5CAC486556D642B8B79B54EB /* Zocial.ttf */; };
17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
26 | 1B9609A7E3B44F7D87F91BBB /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A1296275B41542FDA116993E /* FontAwesome.ttf */; };
27 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
28 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
29 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
30 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
31 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
32 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
33 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
34 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
35 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
36 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
37 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
38 | 2DCD954D1E0B4F2C00145EB5 /* BleAnalyzerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* BleAnalyzerTests.m */; };
39 | 3683970C35094A6D8094753D /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D1E324E57DF0416F90B326BF /* Ionicons.ttf */; };
40 | 46919516FA29411B8F162BEA /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C2EF4C017B284CD9837E0B36 /* Foundation.ttf */; };
41 | 46EF95621ADD4503BBBAA1BF /* libBleManager.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0907A6CD7A7C42699D422380 /* libBleManager.a */; };
42 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
43 | 624C5F6AA81B4C12960C7CFE /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 292420C2CEB3446AB54E23DB /* Feather.ttf */; };
44 | 7A5CADFFD47742AFA9711F21 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2FB76F027E1B479CAA059CCA /* MaterialIcons.ttf */; };
45 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
46 | 94475F424CC34F14A8960AA0 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 855B2B23A46D404083C627DB /* Octicons.ttf */; };
47 | 99D2F74DF0DC44B2B4A1006F /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8B244DC93D7948B3805B3175 /* EvilIcons.ttf */; };
48 | A8745A525EA147ACA11D4E29 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3C12854B6D1F41E7B420C688 /* Entypo.ttf */; };
49 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
50 | D04EFD35C2204A6BBFBC5CE8 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 693CCA2002DB4339B96F1ABC /* libRNVectorIcons.a */; };
51 | D8CD5667BD3D48F99B7D1155 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E650002C9D94DC6A42BD9DD /* MaterialCommunityIcons.ttf */; };
52 | DA17C443F8FC40CAA333C26D /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2A552456BE2D443681B3CE8C /* SimpleLineIcons.ttf */; };
53 | /* End PBXBuildFile section */
54 |
55 | /* Begin PBXContainerItemProxy section */
56 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
57 | isa = PBXContainerItemProxy;
58 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
59 | proxyType = 2;
60 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
61 | remoteInfo = RCTActionSheet;
62 | };
63 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
64 | isa = PBXContainerItemProxy;
65 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
66 | proxyType = 2;
67 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
68 | remoteInfo = RCTGeolocation;
69 | };
70 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
71 | isa = PBXContainerItemProxy;
72 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
73 | proxyType = 2;
74 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
75 | remoteInfo = RCTImage;
76 | };
77 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
78 | isa = PBXContainerItemProxy;
79 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
80 | proxyType = 2;
81 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
82 | remoteInfo = RCTNetwork;
83 | };
84 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
85 | isa = PBXContainerItemProxy;
86 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
87 | proxyType = 2;
88 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
89 | remoteInfo = RCTVibration;
90 | };
91 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
92 | isa = PBXContainerItemProxy;
93 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
94 | proxyType = 1;
95 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
96 | remoteInfo = BleAnalyzer;
97 | };
98 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
99 | isa = PBXContainerItemProxy;
100 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
101 | proxyType = 2;
102 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
103 | remoteInfo = RCTSettings;
104 | };
105 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
106 | isa = PBXContainerItemProxy;
107 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
108 | proxyType = 2;
109 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
110 | remoteInfo = RCTWebSocket;
111 | };
112 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
113 | isa = PBXContainerItemProxy;
114 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
115 | proxyType = 2;
116 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
117 | remoteInfo = React;
118 | };
119 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
120 | isa = PBXContainerItemProxy;
121 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
122 | proxyType = 1;
123 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
124 | remoteInfo = "BleAnalyzer-tvOS";
125 | };
126 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
127 | isa = PBXContainerItemProxy;
128 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
129 | proxyType = 2;
130 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
131 | remoteInfo = "RCTBlob-tvOS";
132 | };
133 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
134 | isa = PBXContainerItemProxy;
135 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
136 | proxyType = 2;
137 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
138 | remoteInfo = fishhook;
139 | };
140 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
141 | isa = PBXContainerItemProxy;
142 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
143 | proxyType = 2;
144 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
145 | remoteInfo = "fishhook-tvOS";
146 | };
147 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
148 | isa = PBXContainerItemProxy;
149 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
150 | proxyType = 2;
151 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
152 | remoteInfo = "RCTImage-tvOS";
153 | };
154 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
155 | isa = PBXContainerItemProxy;
156 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
157 | proxyType = 2;
158 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
159 | remoteInfo = "RCTLinking-tvOS";
160 | };
161 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
162 | isa = PBXContainerItemProxy;
163 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
164 | proxyType = 2;
165 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
166 | remoteInfo = "RCTNetwork-tvOS";
167 | };
168 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
169 | isa = PBXContainerItemProxy;
170 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
171 | proxyType = 2;
172 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
173 | remoteInfo = "RCTSettings-tvOS";
174 | };
175 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
176 | isa = PBXContainerItemProxy;
177 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
178 | proxyType = 2;
179 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
180 | remoteInfo = "RCTText-tvOS";
181 | };
182 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
183 | isa = PBXContainerItemProxy;
184 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
185 | proxyType = 2;
186 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
187 | remoteInfo = "RCTWebSocket-tvOS";
188 | };
189 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
190 | isa = PBXContainerItemProxy;
191 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
192 | proxyType = 2;
193 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
194 | remoteInfo = "React-tvOS";
195 | };
196 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
197 | isa = PBXContainerItemProxy;
198 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
199 | proxyType = 2;
200 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
201 | remoteInfo = yoga;
202 | };
203 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
204 | isa = PBXContainerItemProxy;
205 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
206 | proxyType = 2;
207 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
208 | remoteInfo = "yoga-tvOS";
209 | };
210 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
211 | isa = PBXContainerItemProxy;
212 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
213 | proxyType = 2;
214 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
215 | remoteInfo = cxxreact;
216 | };
217 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
218 | isa = PBXContainerItemProxy;
219 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
220 | proxyType = 2;
221 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
222 | remoteInfo = "cxxreact-tvOS";
223 | };
224 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
225 | isa = PBXContainerItemProxy;
226 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
227 | proxyType = 2;
228 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
229 | remoteInfo = jschelpers;
230 | };
231 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
232 | isa = PBXContainerItemProxy;
233 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
234 | proxyType = 2;
235 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
236 | remoteInfo = "jschelpers-tvOS";
237 | };
238 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
239 | isa = PBXContainerItemProxy;
240 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
241 | proxyType = 2;
242 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
243 | remoteInfo = RCTAnimation;
244 | };
245 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
246 | isa = PBXContainerItemProxy;
247 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
248 | proxyType = 2;
249 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
250 | remoteInfo = "RCTAnimation-tvOS";
251 | };
252 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
253 | isa = PBXContainerItemProxy;
254 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
255 | proxyType = 2;
256 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
257 | remoteInfo = RCTLinking;
258 | };
259 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
260 | isa = PBXContainerItemProxy;
261 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
262 | proxyType = 2;
263 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
264 | remoteInfo = RCTText;
265 | };
266 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
267 | isa = PBXContainerItemProxy;
268 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
269 | proxyType = 2;
270 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
271 | remoteInfo = RCTBlob;
272 | };
273 | D674241920158D92001CA679 /* PBXContainerItemProxy */ = {
274 | isa = PBXContainerItemProxy;
275 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
276 | proxyType = 2;
277 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
278 | remoteInfo = jsinspector;
279 | };
280 | D674241B20158D92001CA679 /* PBXContainerItemProxy */ = {
281 | isa = PBXContainerItemProxy;
282 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
283 | proxyType = 2;
284 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
285 | remoteInfo = "jsinspector-tvOS";
286 | };
287 | D674241D20158D92001CA679 /* PBXContainerItemProxy */ = {
288 | isa = PBXContainerItemProxy;
289 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
290 | proxyType = 2;
291 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
292 | remoteInfo = "third-party";
293 | };
294 | D674241F20158D92001CA679 /* PBXContainerItemProxy */ = {
295 | isa = PBXContainerItemProxy;
296 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
297 | proxyType = 2;
298 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
299 | remoteInfo = "third-party-tvOS";
300 | };
301 | D674242120158D92001CA679 /* PBXContainerItemProxy */ = {
302 | isa = PBXContainerItemProxy;
303 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
304 | proxyType = 2;
305 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
306 | remoteInfo = "double-conversion";
307 | };
308 | D674242320158D92001CA679 /* PBXContainerItemProxy */ = {
309 | isa = PBXContainerItemProxy;
310 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
311 | proxyType = 2;
312 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
313 | remoteInfo = "double-conversion-tvOS";
314 | };
315 | D674242520158D92001CA679 /* PBXContainerItemProxy */ = {
316 | isa = PBXContainerItemProxy;
317 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
318 | proxyType = 2;
319 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
320 | remoteInfo = privatedata;
321 | };
322 | D674242720158D92001CA679 /* PBXContainerItemProxy */ = {
323 | isa = PBXContainerItemProxy;
324 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
325 | proxyType = 2;
326 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
327 | remoteInfo = "privatedata-tvOS";
328 | };
329 | D674242C20158D93001CA679 /* PBXContainerItemProxy */ = {
330 | isa = PBXContainerItemProxy;
331 | containerPortal = 78C01A68B8FB42DD97D46AA2 /* BleManager.xcodeproj */;
332 | proxyType = 2;
333 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
334 | remoteInfo = BleManager;
335 | };
336 | D6990F3F201EFB770079725E /* PBXContainerItemProxy */ = {
337 | isa = PBXContainerItemProxy;
338 | containerPortal = 3D34C8739ACB40A097342804 /* RNVectorIcons.xcodeproj */;
339 | proxyType = 2;
340 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395;
341 | remoteInfo = RNVectorIcons;
342 | };
343 | /* End PBXContainerItemProxy section */
344 |
345 | /* Begin PBXFileReference section */
346 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
347 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
348 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
349 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
350 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
351 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
352 | 00E356EE1AD99517003FC87E /* BleAnalyzerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BleAnalyzerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
353 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
354 | 00E356F21AD99517003FC87E /* BleAnalyzerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BleAnalyzerTests.m; sourceTree = ""; };
355 | 0907A6CD7A7C42699D422380 /* libBleManager.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBleManager.a; sourceTree = ""; };
356 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
357 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
358 | 13B07F961A680F5B00A75B9A /* BleAnalyzer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BleAnalyzer.app; sourceTree = BUILT_PRODUCTS_DIR; };
359 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = BleAnalyzer/AppDelegate.h; sourceTree = ""; };
360 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = BleAnalyzer/AppDelegate.m; sourceTree = ""; };
361 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
362 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = BleAnalyzer/Images.xcassets; sourceTree = ""; };
363 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = BleAnalyzer/Info.plist; sourceTree = ""; };
364 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = BleAnalyzer/main.m; sourceTree = ""; };
365 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
366 | 292420C2CEB3446AB54E23DB /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; };
367 | 2A552456BE2D443681B3CE8C /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; };
368 | 2D02E47B1E0B4A5D006451C7 /* BleAnalyzer-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BleAnalyzer-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
369 | 2D02E4901E0B4A5D006451C7 /* BleAnalyzer-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BleAnalyzer-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
370 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
371 | 2FB76F027E1B479CAA059CCA /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; };
372 | 3C12854B6D1F41E7B420C688 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; };
373 | 3D34C8739ACB40A097342804 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; };
374 | 3E650002C9D94DC6A42BD9DD /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; };
375 | 5CAC486556D642B8B79B54EB /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; };
376 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
377 | 693CCA2002DB4339B96F1ABC /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; };
378 | 78C01A68B8FB42DD97D46AA2 /* BleManager.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BleManager.xcodeproj; path = "../node_modules/react-native-ble-manager/ios/BleManager.xcodeproj"; sourceTree = ""; };
379 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
380 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
381 | 855B2B23A46D404083C627DB /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; };
382 | 8B244DC93D7948B3805B3175 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; };
383 | A1296275B41542FDA116993E /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; };
384 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
385 | C2EF4C017B284CD9837E0B36 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; };
386 | D1E324E57DF0416F90B326BF /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; };
387 | /* End PBXFileReference section */
388 |
389 | /* Begin PBXFrameworksBuildPhase section */
390 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
391 | isa = PBXFrameworksBuildPhase;
392 | buildActionMask = 2147483647;
393 | files = (
394 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
395 | );
396 | runOnlyForDeploymentPostprocessing = 0;
397 | };
398 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
399 | isa = PBXFrameworksBuildPhase;
400 | buildActionMask = 2147483647;
401 | files = (
402 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
403 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
404 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
405 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
406 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
407 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
408 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
409 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
410 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
411 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
412 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
413 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
414 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
415 | 46EF95621ADD4503BBBAA1BF /* libBleManager.a in Frameworks */,
416 | D04EFD35C2204A6BBFBC5CE8 /* libRNVectorIcons.a in Frameworks */,
417 | );
418 | runOnlyForDeploymentPostprocessing = 0;
419 | };
420 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
421 | isa = PBXFrameworksBuildPhase;
422 | buildActionMask = 2147483647;
423 | files = (
424 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
425 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
426 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
427 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
428 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
429 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
430 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
431 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
432 | );
433 | runOnlyForDeploymentPostprocessing = 0;
434 | };
435 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
436 | isa = PBXFrameworksBuildPhase;
437 | buildActionMask = 2147483647;
438 | files = (
439 | );
440 | runOnlyForDeploymentPostprocessing = 0;
441 | };
442 | /* End PBXFrameworksBuildPhase section */
443 |
444 | /* Begin PBXGroup section */
445 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
446 | isa = PBXGroup;
447 | children = (
448 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
449 | );
450 | name = Products;
451 | sourceTree = "";
452 | };
453 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
454 | isa = PBXGroup;
455 | children = (
456 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
457 | );
458 | name = Products;
459 | sourceTree = "";
460 | };
461 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
462 | isa = PBXGroup;
463 | children = (
464 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
465 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
466 | );
467 | name = Products;
468 | sourceTree = "";
469 | };
470 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
471 | isa = PBXGroup;
472 | children = (
473 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
474 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
475 | );
476 | name = Products;
477 | sourceTree = "";
478 | };
479 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
480 | isa = PBXGroup;
481 | children = (
482 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
483 | );
484 | name = Products;
485 | sourceTree = "";
486 | };
487 | 00E356EF1AD99517003FC87E /* BleAnalyzerTests */ = {
488 | isa = PBXGroup;
489 | children = (
490 | 00E356F21AD99517003FC87E /* BleAnalyzerTests.m */,
491 | 00E356F01AD99517003FC87E /* Supporting Files */,
492 | );
493 | path = BleAnalyzerTests;
494 | sourceTree = "";
495 | };
496 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
497 | isa = PBXGroup;
498 | children = (
499 | 00E356F11AD99517003FC87E /* Info.plist */,
500 | );
501 | name = "Supporting Files";
502 | sourceTree = "";
503 | };
504 | 139105B71AF99BAD00B5F7CC /* Products */ = {
505 | isa = PBXGroup;
506 | children = (
507 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
508 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
509 | );
510 | name = Products;
511 | sourceTree = "";
512 | };
513 | 139FDEE71B06529A00C62182 /* Products */ = {
514 | isa = PBXGroup;
515 | children = (
516 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
517 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
518 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
519 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
520 | );
521 | name = Products;
522 | sourceTree = "";
523 | };
524 | 13B07FAE1A68108700A75B9A /* BleAnalyzer */ = {
525 | isa = PBXGroup;
526 | children = (
527 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
528 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
529 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
530 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
531 | 13B07FB61A68108700A75B9A /* Info.plist */,
532 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
533 | 13B07FB71A68108700A75B9A /* main.m */,
534 | );
535 | name = BleAnalyzer;
536 | sourceTree = "";
537 | };
538 | 146834001AC3E56700842450 /* Products */ = {
539 | isa = PBXGroup;
540 | children = (
541 | 146834041AC3E56700842450 /* libReact.a */,
542 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
543 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
544 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
545 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
546 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
547 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
548 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
549 | D674241A20158D92001CA679 /* libjsinspector.a */,
550 | D674241C20158D92001CA679 /* libjsinspector-tvOS.a */,
551 | D674241E20158D92001CA679 /* libthird-party.a */,
552 | D674242020158D92001CA679 /* libthird-party.a */,
553 | D674242220158D92001CA679 /* libdouble-conversion.a */,
554 | D674242420158D92001CA679 /* libdouble-conversion.a */,
555 | D674242620158D92001CA679 /* libprivatedata.a */,
556 | D674242820158D92001CA679 /* libprivatedata-tvOS.a */,
557 | );
558 | name = Products;
559 | sourceTree = "";
560 | };
561 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
562 | isa = PBXGroup;
563 | children = (
564 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
565 | );
566 | name = Frameworks;
567 | sourceTree = "";
568 | };
569 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
570 | isa = PBXGroup;
571 | children = (
572 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
573 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
574 | );
575 | name = Products;
576 | sourceTree = "";
577 | };
578 | 78C398B11ACF4ADC00677621 /* Products */ = {
579 | isa = PBXGroup;
580 | children = (
581 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
582 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
583 | );
584 | name = Products;
585 | sourceTree = "";
586 | };
587 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
588 | isa = PBXGroup;
589 | children = (
590 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
591 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
592 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
593 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
594 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
595 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
596 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
597 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
598 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
599 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
600 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
601 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
602 | 78C01A68B8FB42DD97D46AA2 /* BleManager.xcodeproj */,
603 | 3D34C8739ACB40A097342804 /* RNVectorIcons.xcodeproj */,
604 | );
605 | name = Libraries;
606 | sourceTree = "";
607 | };
608 | 832341B11AAA6A8300B99B32 /* Products */ = {
609 | isa = PBXGroup;
610 | children = (
611 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
612 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
613 | );
614 | name = Products;
615 | sourceTree = "";
616 | };
617 | 83CBB9F61A601CBA00E9B192 = {
618 | isa = PBXGroup;
619 | children = (
620 | 13B07FAE1A68108700A75B9A /* BleAnalyzer */,
621 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
622 | 00E356EF1AD99517003FC87E /* BleAnalyzerTests */,
623 | 83CBBA001A601CBA00E9B192 /* Products */,
624 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
625 | D67423F320158D8D001CA679 /* Recovered References */,
626 | 9A1495AE2EAA457EA0D5FA05 /* Resources */,
627 | );
628 | indentWidth = 2;
629 | sourceTree = "";
630 | tabWidth = 2;
631 | usesTabs = 0;
632 | };
633 | 83CBBA001A601CBA00E9B192 /* Products */ = {
634 | isa = PBXGroup;
635 | children = (
636 | 13B07F961A680F5B00A75B9A /* BleAnalyzer.app */,
637 | 00E356EE1AD99517003FC87E /* BleAnalyzerTests.xctest */,
638 | 2D02E47B1E0B4A5D006451C7 /* BleAnalyzer-tvOS.app */,
639 | 2D02E4901E0B4A5D006451C7 /* BleAnalyzer-tvOSTests.xctest */,
640 | );
641 | name = Products;
642 | sourceTree = "";
643 | };
644 | 9A1495AE2EAA457EA0D5FA05 /* Resources */ = {
645 | isa = PBXGroup;
646 | children = (
647 | 3C12854B6D1F41E7B420C688 /* Entypo.ttf */,
648 | 8B244DC93D7948B3805B3175 /* EvilIcons.ttf */,
649 | 292420C2CEB3446AB54E23DB /* Feather.ttf */,
650 | A1296275B41542FDA116993E /* FontAwesome.ttf */,
651 | C2EF4C017B284CD9837E0B36 /* Foundation.ttf */,
652 | D1E324E57DF0416F90B326BF /* Ionicons.ttf */,
653 | 3E650002C9D94DC6A42BD9DD /* MaterialCommunityIcons.ttf */,
654 | 2FB76F027E1B479CAA059CCA /* MaterialIcons.ttf */,
655 | 855B2B23A46D404083C627DB /* Octicons.ttf */,
656 | 2A552456BE2D443681B3CE8C /* SimpleLineIcons.ttf */,
657 | 5CAC486556D642B8B79B54EB /* Zocial.ttf */,
658 | );
659 | name = Resources;
660 | sourceTree = "";
661 | };
662 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
663 | isa = PBXGroup;
664 | children = (
665 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
666 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
667 | );
668 | name = Products;
669 | sourceTree = "";
670 | };
671 | D67423F320158D8D001CA679 /* Recovered References */ = {
672 | isa = PBXGroup;
673 | children = (
674 | 0907A6CD7A7C42699D422380 /* libBleManager.a */,
675 | 693CCA2002DB4339B96F1ABC /* libRNVectorIcons.a */,
676 | );
677 | name = "Recovered References";
678 | sourceTree = "";
679 | };
680 | D674242920158D92001CA679 /* Products */ = {
681 | isa = PBXGroup;
682 | children = (
683 | D674242D20158D93001CA679 /* libBleManager.a */,
684 | );
685 | name = Products;
686 | sourceTree = "";
687 | };
688 | D6990F3C201EFB770079725E /* Products */ = {
689 | isa = PBXGroup;
690 | children = (
691 | D6990F40201EFB770079725E /* libRNVectorIcons.a */,
692 | );
693 | name = Products;
694 | sourceTree = "";
695 | };
696 | /* End PBXGroup section */
697 |
698 | /* Begin PBXNativeTarget section */
699 | 00E356ED1AD99517003FC87E /* BleAnalyzerTests */ = {
700 | isa = PBXNativeTarget;
701 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "BleAnalyzerTests" */;
702 | buildPhases = (
703 | 00E356EA1AD99517003FC87E /* Sources */,
704 | 00E356EB1AD99517003FC87E /* Frameworks */,
705 | 00E356EC1AD99517003FC87E /* Resources */,
706 | );
707 | buildRules = (
708 | );
709 | dependencies = (
710 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
711 | );
712 | name = BleAnalyzerTests;
713 | productName = BleAnalyzerTests;
714 | productReference = 00E356EE1AD99517003FC87E /* BleAnalyzerTests.xctest */;
715 | productType = "com.apple.product-type.bundle.unit-test";
716 | };
717 | 13B07F861A680F5B00A75B9A /* BleAnalyzer */ = {
718 | isa = PBXNativeTarget;
719 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "BleAnalyzer" */;
720 | buildPhases = (
721 | 13B07F871A680F5B00A75B9A /* Sources */,
722 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
723 | 13B07F8E1A680F5B00A75B9A /* Resources */,
724 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
725 | );
726 | buildRules = (
727 | );
728 | dependencies = (
729 | );
730 | name = BleAnalyzer;
731 | productName = "Hello World";
732 | productReference = 13B07F961A680F5B00A75B9A /* BleAnalyzer.app */;
733 | productType = "com.apple.product-type.application";
734 | };
735 | 2D02E47A1E0B4A5D006451C7 /* BleAnalyzer-tvOS */ = {
736 | isa = PBXNativeTarget;
737 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "BleAnalyzer-tvOS" */;
738 | buildPhases = (
739 | 2D02E4771E0B4A5D006451C7 /* Sources */,
740 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
741 | 2D02E4791E0B4A5D006451C7 /* Resources */,
742 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
743 | );
744 | buildRules = (
745 | );
746 | dependencies = (
747 | );
748 | name = "BleAnalyzer-tvOS";
749 | productName = "BleAnalyzer-tvOS";
750 | productReference = 2D02E47B1E0B4A5D006451C7 /* BleAnalyzer-tvOS.app */;
751 | productType = "com.apple.product-type.application";
752 | };
753 | 2D02E48F1E0B4A5D006451C7 /* BleAnalyzer-tvOSTests */ = {
754 | isa = PBXNativeTarget;
755 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "BleAnalyzer-tvOSTests" */;
756 | buildPhases = (
757 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
758 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
759 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
760 | );
761 | buildRules = (
762 | );
763 | dependencies = (
764 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
765 | );
766 | name = "BleAnalyzer-tvOSTests";
767 | productName = "BleAnalyzer-tvOSTests";
768 | productReference = 2D02E4901E0B4A5D006451C7 /* BleAnalyzer-tvOSTests.xctest */;
769 | productType = "com.apple.product-type.bundle.unit-test";
770 | };
771 | /* End PBXNativeTarget section */
772 |
773 | /* Begin PBXProject section */
774 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
775 | isa = PBXProject;
776 | attributes = {
777 | LastUpgradeCheck = 610;
778 | ORGANIZATIONNAME = Facebook;
779 | TargetAttributes = {
780 | 00E356ED1AD99517003FC87E = {
781 | CreatedOnToolsVersion = 6.2;
782 | DevelopmentTeam = HE7MCCDHL4;
783 | TestTargetID = 13B07F861A680F5B00A75B9A;
784 | };
785 | 13B07F861A680F5B00A75B9A = {
786 | DevelopmentTeam = HE7MCCDHL4;
787 | };
788 | 2D02E47A1E0B4A5D006451C7 = {
789 | CreatedOnToolsVersion = 8.2.1;
790 | ProvisioningStyle = Automatic;
791 | };
792 | 2D02E48F1E0B4A5D006451C7 = {
793 | CreatedOnToolsVersion = 8.2.1;
794 | ProvisioningStyle = Automatic;
795 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
796 | };
797 | };
798 | };
799 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "BleAnalyzer" */;
800 | compatibilityVersion = "Xcode 3.2";
801 | developmentRegion = English;
802 | hasScannedForEncodings = 0;
803 | knownRegions = (
804 | en,
805 | Base,
806 | );
807 | mainGroup = 83CBB9F61A601CBA00E9B192;
808 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
809 | projectDirPath = "";
810 | projectReferences = (
811 | {
812 | ProductGroup = D674242920158D92001CA679 /* Products */;
813 | ProjectRef = 78C01A68B8FB42DD97D46AA2 /* BleManager.xcodeproj */;
814 | },
815 | {
816 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
817 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
818 | },
819 | {
820 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
821 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
822 | },
823 | {
824 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
825 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
826 | },
827 | {
828 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
829 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
830 | },
831 | {
832 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
833 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
834 | },
835 | {
836 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
837 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
838 | },
839 | {
840 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
841 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
842 | },
843 | {
844 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
845 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
846 | },
847 | {
848 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
849 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
850 | },
851 | {
852 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
853 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
854 | },
855 | {
856 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
857 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
858 | },
859 | {
860 | ProductGroup = 146834001AC3E56700842450 /* Products */;
861 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
862 | },
863 | {
864 | ProductGroup = D6990F3C201EFB770079725E /* Products */;
865 | ProjectRef = 3D34C8739ACB40A097342804 /* RNVectorIcons.xcodeproj */;
866 | },
867 | );
868 | projectRoot = "";
869 | targets = (
870 | 13B07F861A680F5B00A75B9A /* BleAnalyzer */,
871 | 00E356ED1AD99517003FC87E /* BleAnalyzerTests */,
872 | 2D02E47A1E0B4A5D006451C7 /* BleAnalyzer-tvOS */,
873 | 2D02E48F1E0B4A5D006451C7 /* BleAnalyzer-tvOSTests */,
874 | );
875 | };
876 | /* End PBXProject section */
877 |
878 | /* Begin PBXReferenceProxy section */
879 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
880 | isa = PBXReferenceProxy;
881 | fileType = archive.ar;
882 | path = libRCTActionSheet.a;
883 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
884 | sourceTree = BUILT_PRODUCTS_DIR;
885 | };
886 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
887 | isa = PBXReferenceProxy;
888 | fileType = archive.ar;
889 | path = libRCTGeolocation.a;
890 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
891 | sourceTree = BUILT_PRODUCTS_DIR;
892 | };
893 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
894 | isa = PBXReferenceProxy;
895 | fileType = archive.ar;
896 | path = libRCTImage.a;
897 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
898 | sourceTree = BUILT_PRODUCTS_DIR;
899 | };
900 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
901 | isa = PBXReferenceProxy;
902 | fileType = archive.ar;
903 | path = libRCTNetwork.a;
904 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
905 | sourceTree = BUILT_PRODUCTS_DIR;
906 | };
907 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
908 | isa = PBXReferenceProxy;
909 | fileType = archive.ar;
910 | path = libRCTVibration.a;
911 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
912 | sourceTree = BUILT_PRODUCTS_DIR;
913 | };
914 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
915 | isa = PBXReferenceProxy;
916 | fileType = archive.ar;
917 | path = libRCTSettings.a;
918 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
919 | sourceTree = BUILT_PRODUCTS_DIR;
920 | };
921 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
922 | isa = PBXReferenceProxy;
923 | fileType = archive.ar;
924 | path = libRCTWebSocket.a;
925 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
926 | sourceTree = BUILT_PRODUCTS_DIR;
927 | };
928 | 146834041AC3E56700842450 /* libReact.a */ = {
929 | isa = PBXReferenceProxy;
930 | fileType = archive.ar;
931 | path = libReact.a;
932 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
933 | sourceTree = BUILT_PRODUCTS_DIR;
934 | };
935 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
936 | isa = PBXReferenceProxy;
937 | fileType = archive.ar;
938 | path = "libRCTBlob-tvOS.a";
939 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
940 | sourceTree = BUILT_PRODUCTS_DIR;
941 | };
942 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
943 | isa = PBXReferenceProxy;
944 | fileType = archive.ar;
945 | path = libfishhook.a;
946 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
947 | sourceTree = BUILT_PRODUCTS_DIR;
948 | };
949 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
950 | isa = PBXReferenceProxy;
951 | fileType = archive.ar;
952 | path = "libfishhook-tvOS.a";
953 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
954 | sourceTree = BUILT_PRODUCTS_DIR;
955 | };
956 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
957 | isa = PBXReferenceProxy;
958 | fileType = archive.ar;
959 | path = "libRCTImage-tvOS.a";
960 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
961 | sourceTree = BUILT_PRODUCTS_DIR;
962 | };
963 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
964 | isa = PBXReferenceProxy;
965 | fileType = archive.ar;
966 | path = "libRCTLinking-tvOS.a";
967 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
968 | sourceTree = BUILT_PRODUCTS_DIR;
969 | };
970 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
971 | isa = PBXReferenceProxy;
972 | fileType = archive.ar;
973 | path = "libRCTNetwork-tvOS.a";
974 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
975 | sourceTree = BUILT_PRODUCTS_DIR;
976 | };
977 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
978 | isa = PBXReferenceProxy;
979 | fileType = archive.ar;
980 | path = "libRCTSettings-tvOS.a";
981 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
982 | sourceTree = BUILT_PRODUCTS_DIR;
983 | };
984 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
985 | isa = PBXReferenceProxy;
986 | fileType = archive.ar;
987 | path = "libRCTText-tvOS.a";
988 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
989 | sourceTree = BUILT_PRODUCTS_DIR;
990 | };
991 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
992 | isa = PBXReferenceProxy;
993 | fileType = archive.ar;
994 | path = "libRCTWebSocket-tvOS.a";
995 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
996 | sourceTree = BUILT_PRODUCTS_DIR;
997 | };
998 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
999 | isa = PBXReferenceProxy;
1000 | fileType = archive.ar;
1001 | path = libReact.a;
1002 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
1003 | sourceTree = BUILT_PRODUCTS_DIR;
1004 | };
1005 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
1006 | isa = PBXReferenceProxy;
1007 | fileType = archive.ar;
1008 | path = libyoga.a;
1009 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
1010 | sourceTree = BUILT_PRODUCTS_DIR;
1011 | };
1012 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1013 | isa = PBXReferenceProxy;
1014 | fileType = archive.ar;
1015 | path = libyoga.a;
1016 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1017 | sourceTree = BUILT_PRODUCTS_DIR;
1018 | };
1019 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1020 | isa = PBXReferenceProxy;
1021 | fileType = archive.ar;
1022 | path = libcxxreact.a;
1023 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1024 | sourceTree = BUILT_PRODUCTS_DIR;
1025 | };
1026 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1027 | isa = PBXReferenceProxy;
1028 | fileType = archive.ar;
1029 | path = libcxxreact.a;
1030 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1031 | sourceTree = BUILT_PRODUCTS_DIR;
1032 | };
1033 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
1034 | isa = PBXReferenceProxy;
1035 | fileType = archive.ar;
1036 | path = libjschelpers.a;
1037 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
1038 | sourceTree = BUILT_PRODUCTS_DIR;
1039 | };
1040 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
1041 | isa = PBXReferenceProxy;
1042 | fileType = archive.ar;
1043 | path = libjschelpers.a;
1044 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
1045 | sourceTree = BUILT_PRODUCTS_DIR;
1046 | };
1047 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1048 | isa = PBXReferenceProxy;
1049 | fileType = archive.ar;
1050 | path = libRCTAnimation.a;
1051 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1052 | sourceTree = BUILT_PRODUCTS_DIR;
1053 | };
1054 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1055 | isa = PBXReferenceProxy;
1056 | fileType = archive.ar;
1057 | path = libRCTAnimation.a;
1058 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1059 | sourceTree = BUILT_PRODUCTS_DIR;
1060 | };
1061 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1062 | isa = PBXReferenceProxy;
1063 | fileType = archive.ar;
1064 | path = libRCTLinking.a;
1065 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1066 | sourceTree = BUILT_PRODUCTS_DIR;
1067 | };
1068 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1069 | isa = PBXReferenceProxy;
1070 | fileType = archive.ar;
1071 | path = libRCTText.a;
1072 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1073 | sourceTree = BUILT_PRODUCTS_DIR;
1074 | };
1075 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1076 | isa = PBXReferenceProxy;
1077 | fileType = archive.ar;
1078 | path = libRCTBlob.a;
1079 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1080 | sourceTree = BUILT_PRODUCTS_DIR;
1081 | };
1082 | D674241A20158D92001CA679 /* libjsinspector.a */ = {
1083 | isa = PBXReferenceProxy;
1084 | fileType = archive.ar;
1085 | path = libjsinspector.a;
1086 | remoteRef = D674241920158D92001CA679 /* PBXContainerItemProxy */;
1087 | sourceTree = BUILT_PRODUCTS_DIR;
1088 | };
1089 | D674241C20158D92001CA679 /* libjsinspector-tvOS.a */ = {
1090 | isa = PBXReferenceProxy;
1091 | fileType = archive.ar;
1092 | path = "libjsinspector-tvOS.a";
1093 | remoteRef = D674241B20158D92001CA679 /* PBXContainerItemProxy */;
1094 | sourceTree = BUILT_PRODUCTS_DIR;
1095 | };
1096 | D674241E20158D92001CA679 /* libthird-party.a */ = {
1097 | isa = PBXReferenceProxy;
1098 | fileType = archive.ar;
1099 | path = "libthird-party.a";
1100 | remoteRef = D674241D20158D92001CA679 /* PBXContainerItemProxy */;
1101 | sourceTree = BUILT_PRODUCTS_DIR;
1102 | };
1103 | D674242020158D92001CA679 /* libthird-party.a */ = {
1104 | isa = PBXReferenceProxy;
1105 | fileType = archive.ar;
1106 | path = "libthird-party.a";
1107 | remoteRef = D674241F20158D92001CA679 /* PBXContainerItemProxy */;
1108 | sourceTree = BUILT_PRODUCTS_DIR;
1109 | };
1110 | D674242220158D92001CA679 /* libdouble-conversion.a */ = {
1111 | isa = PBXReferenceProxy;
1112 | fileType = archive.ar;
1113 | path = "libdouble-conversion.a";
1114 | remoteRef = D674242120158D92001CA679 /* PBXContainerItemProxy */;
1115 | sourceTree = BUILT_PRODUCTS_DIR;
1116 | };
1117 | D674242420158D92001CA679 /* libdouble-conversion.a */ = {
1118 | isa = PBXReferenceProxy;
1119 | fileType = archive.ar;
1120 | path = "libdouble-conversion.a";
1121 | remoteRef = D674242320158D92001CA679 /* PBXContainerItemProxy */;
1122 | sourceTree = BUILT_PRODUCTS_DIR;
1123 | };
1124 | D674242620158D92001CA679 /* libprivatedata.a */ = {
1125 | isa = PBXReferenceProxy;
1126 | fileType = archive.ar;
1127 | path = libprivatedata.a;
1128 | remoteRef = D674242520158D92001CA679 /* PBXContainerItemProxy */;
1129 | sourceTree = BUILT_PRODUCTS_DIR;
1130 | };
1131 | D674242820158D92001CA679 /* libprivatedata-tvOS.a */ = {
1132 | isa = PBXReferenceProxy;
1133 | fileType = archive.ar;
1134 | path = "libprivatedata-tvOS.a";
1135 | remoteRef = D674242720158D92001CA679 /* PBXContainerItemProxy */;
1136 | sourceTree = BUILT_PRODUCTS_DIR;
1137 | };
1138 | D674242D20158D93001CA679 /* libBleManager.a */ = {
1139 | isa = PBXReferenceProxy;
1140 | fileType = archive.ar;
1141 | path = libBleManager.a;
1142 | remoteRef = D674242C20158D93001CA679 /* PBXContainerItemProxy */;
1143 | sourceTree = BUILT_PRODUCTS_DIR;
1144 | };
1145 | D6990F40201EFB770079725E /* libRNVectorIcons.a */ = {
1146 | isa = PBXReferenceProxy;
1147 | fileType = archive.ar;
1148 | path = libRNVectorIcons.a;
1149 | remoteRef = D6990F3F201EFB770079725E /* PBXContainerItemProxy */;
1150 | sourceTree = BUILT_PRODUCTS_DIR;
1151 | };
1152 | /* End PBXReferenceProxy section */
1153 |
1154 | /* Begin PBXResourcesBuildPhase section */
1155 | 00E356EC1AD99517003FC87E /* Resources */ = {
1156 | isa = PBXResourcesBuildPhase;
1157 | buildActionMask = 2147483647;
1158 | files = (
1159 | );
1160 | runOnlyForDeploymentPostprocessing = 0;
1161 | };
1162 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1163 | isa = PBXResourcesBuildPhase;
1164 | buildActionMask = 2147483647;
1165 | files = (
1166 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1167 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1168 | A8745A525EA147ACA11D4E29 /* Entypo.ttf in Resources */,
1169 | 99D2F74DF0DC44B2B4A1006F /* EvilIcons.ttf in Resources */,
1170 | 624C5F6AA81B4C12960C7CFE /* Feather.ttf in Resources */,
1171 | 1B9609A7E3B44F7D87F91BBB /* FontAwesome.ttf in Resources */,
1172 | 46919516FA29411B8F162BEA /* Foundation.ttf in Resources */,
1173 | 3683970C35094A6D8094753D /* Ionicons.ttf in Resources */,
1174 | D8CD5667BD3D48F99B7D1155 /* MaterialCommunityIcons.ttf in Resources */,
1175 | 7A5CADFFD47742AFA9711F21 /* MaterialIcons.ttf in Resources */,
1176 | 94475F424CC34F14A8960AA0 /* Octicons.ttf in Resources */,
1177 | DA17C443F8FC40CAA333C26D /* SimpleLineIcons.ttf in Resources */,
1178 | 06619267238C4BF892000304 /* Zocial.ttf in Resources */,
1179 | );
1180 | runOnlyForDeploymentPostprocessing = 0;
1181 | };
1182 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1183 | isa = PBXResourcesBuildPhase;
1184 | buildActionMask = 2147483647;
1185 | files = (
1186 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1187 | );
1188 | runOnlyForDeploymentPostprocessing = 0;
1189 | };
1190 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1191 | isa = PBXResourcesBuildPhase;
1192 | buildActionMask = 2147483647;
1193 | files = (
1194 | );
1195 | runOnlyForDeploymentPostprocessing = 0;
1196 | };
1197 | /* End PBXResourcesBuildPhase section */
1198 |
1199 | /* Begin PBXShellScriptBuildPhase section */
1200 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1201 | isa = PBXShellScriptBuildPhase;
1202 | buildActionMask = 2147483647;
1203 | files = (
1204 | );
1205 | inputPaths = (
1206 | );
1207 | name = "Bundle React Native code and images";
1208 | outputPaths = (
1209 | );
1210 | runOnlyForDeploymentPostprocessing = 0;
1211 | shellPath = /bin/sh;
1212 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1213 | };
1214 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1215 | isa = PBXShellScriptBuildPhase;
1216 | buildActionMask = 2147483647;
1217 | files = (
1218 | );
1219 | inputPaths = (
1220 | );
1221 | name = "Bundle React Native Code And Images";
1222 | outputPaths = (
1223 | );
1224 | runOnlyForDeploymentPostprocessing = 0;
1225 | shellPath = /bin/sh;
1226 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1227 | };
1228 | /* End PBXShellScriptBuildPhase section */
1229 |
1230 | /* Begin PBXSourcesBuildPhase section */
1231 | 00E356EA1AD99517003FC87E /* Sources */ = {
1232 | isa = PBXSourcesBuildPhase;
1233 | buildActionMask = 2147483647;
1234 | files = (
1235 | 00E356F31AD99517003FC87E /* BleAnalyzerTests.m in Sources */,
1236 | );
1237 | runOnlyForDeploymentPostprocessing = 0;
1238 | };
1239 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1240 | isa = PBXSourcesBuildPhase;
1241 | buildActionMask = 2147483647;
1242 | files = (
1243 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1244 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1245 | );
1246 | runOnlyForDeploymentPostprocessing = 0;
1247 | };
1248 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1249 | isa = PBXSourcesBuildPhase;
1250 | buildActionMask = 2147483647;
1251 | files = (
1252 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1253 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1254 | );
1255 | runOnlyForDeploymentPostprocessing = 0;
1256 | };
1257 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1258 | isa = PBXSourcesBuildPhase;
1259 | buildActionMask = 2147483647;
1260 | files = (
1261 | 2DCD954D1E0B4F2C00145EB5 /* BleAnalyzerTests.m in Sources */,
1262 | );
1263 | runOnlyForDeploymentPostprocessing = 0;
1264 | };
1265 | /* End PBXSourcesBuildPhase section */
1266 |
1267 | /* Begin PBXTargetDependency section */
1268 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1269 | isa = PBXTargetDependency;
1270 | target = 13B07F861A680F5B00A75B9A /* BleAnalyzer */;
1271 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1272 | };
1273 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1274 | isa = PBXTargetDependency;
1275 | target = 2D02E47A1E0B4A5D006451C7 /* BleAnalyzer-tvOS */;
1276 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1277 | };
1278 | /* End PBXTargetDependency section */
1279 |
1280 | /* Begin PBXVariantGroup section */
1281 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1282 | isa = PBXVariantGroup;
1283 | children = (
1284 | 13B07FB21A68108700A75B9A /* Base */,
1285 | );
1286 | name = LaunchScreen.xib;
1287 | path = BleAnalyzer;
1288 | sourceTree = "";
1289 | };
1290 | /* End PBXVariantGroup section */
1291 |
1292 | /* Begin XCBuildConfiguration section */
1293 | 00E356F61AD99517003FC87E /* Debug */ = {
1294 | isa = XCBuildConfiguration;
1295 | buildSettings = {
1296 | BUNDLE_LOADER = "$(TEST_HOST)";
1297 | DEVELOPMENT_TEAM = HE7MCCDHL4;
1298 | GCC_PREPROCESSOR_DEFINITIONS = (
1299 | "DEBUG=1",
1300 | "$(inherited)",
1301 | );
1302 | HEADER_SEARCH_PATHS = (
1303 | "$(inherited)",
1304 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1305 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1306 | );
1307 | INFOPLIST_FILE = BleAnalyzerTests/Info.plist;
1308 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1309 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1310 | LIBRARY_SEARCH_PATHS = (
1311 | "$(inherited)",
1312 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1313 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1314 | );
1315 | OTHER_LDFLAGS = (
1316 | "-ObjC",
1317 | "-lc++",
1318 | );
1319 | PRODUCT_NAME = "$(TARGET_NAME)";
1320 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BleAnalyzer.app/BleAnalyzer";
1321 | };
1322 | name = Debug;
1323 | };
1324 | 00E356F71AD99517003FC87E /* Release */ = {
1325 | isa = XCBuildConfiguration;
1326 | buildSettings = {
1327 | BUNDLE_LOADER = "$(TEST_HOST)";
1328 | COPY_PHASE_STRIP = NO;
1329 | DEVELOPMENT_TEAM = HE7MCCDHL4;
1330 | HEADER_SEARCH_PATHS = (
1331 | "$(inherited)",
1332 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1333 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1334 | );
1335 | INFOPLIST_FILE = BleAnalyzerTests/Info.plist;
1336 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1337 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1338 | LIBRARY_SEARCH_PATHS = (
1339 | "$(inherited)",
1340 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1341 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1342 | );
1343 | OTHER_LDFLAGS = (
1344 | "-ObjC",
1345 | "-lc++",
1346 | );
1347 | PRODUCT_NAME = "$(TARGET_NAME)";
1348 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BleAnalyzer.app/BleAnalyzer";
1349 | };
1350 | name = Release;
1351 | };
1352 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1353 | isa = XCBuildConfiguration;
1354 | buildSettings = {
1355 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1356 | CURRENT_PROJECT_VERSION = 1;
1357 | DEAD_CODE_STRIPPING = NO;
1358 | DEVELOPMENT_TEAM = HE7MCCDHL4;
1359 | HEADER_SEARCH_PATHS = (
1360 | "$(inherited)",
1361 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1362 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1363 | );
1364 | INFOPLIST_FILE = BleAnalyzer/Info.plist;
1365 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1366 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1367 | OTHER_LDFLAGS = (
1368 | "$(inherited)",
1369 | "-ObjC",
1370 | "-lc++",
1371 | );
1372 | PRODUCT_BUNDLE_IDENTIFIER = com.revteltech.bleanalyzer;
1373 | PRODUCT_NAME = BleAnalyzer;
1374 | VERSIONING_SYSTEM = "apple-generic";
1375 | };
1376 | name = Debug;
1377 | };
1378 | 13B07F951A680F5B00A75B9A /* Release */ = {
1379 | isa = XCBuildConfiguration;
1380 | buildSettings = {
1381 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1382 | CURRENT_PROJECT_VERSION = 1;
1383 | DEVELOPMENT_TEAM = HE7MCCDHL4;
1384 | HEADER_SEARCH_PATHS = (
1385 | "$(inherited)",
1386 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1387 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1388 | );
1389 | INFOPLIST_FILE = BleAnalyzer/Info.plist;
1390 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1392 | OTHER_LDFLAGS = (
1393 | "$(inherited)",
1394 | "-ObjC",
1395 | "-lc++",
1396 | );
1397 | PRODUCT_BUNDLE_IDENTIFIER = com.revteltech.bleanalyzer;
1398 | PRODUCT_NAME = BleAnalyzer;
1399 | VERSIONING_SYSTEM = "apple-generic";
1400 | };
1401 | name = Release;
1402 | };
1403 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1404 | isa = XCBuildConfiguration;
1405 | buildSettings = {
1406 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1407 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1408 | CLANG_ANALYZER_NONNULL = YES;
1409 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1410 | CLANG_WARN_INFINITE_RECURSION = YES;
1411 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1412 | DEBUG_INFORMATION_FORMAT = dwarf;
1413 | ENABLE_TESTABILITY = YES;
1414 | GCC_NO_COMMON_BLOCKS = YES;
1415 | HEADER_SEARCH_PATHS = (
1416 | "$(inherited)",
1417 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1418 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1419 | );
1420 | INFOPLIST_FILE = "BleAnalyzer-tvOS/Info.plist";
1421 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1422 | LIBRARY_SEARCH_PATHS = (
1423 | "$(inherited)",
1424 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1425 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1426 | );
1427 | OTHER_LDFLAGS = (
1428 | "-ObjC",
1429 | "-lc++",
1430 | );
1431 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.BleAnalyzer-tvOS";
1432 | PRODUCT_NAME = "$(TARGET_NAME)";
1433 | SDKROOT = appletvos;
1434 | TARGETED_DEVICE_FAMILY = 3;
1435 | TVOS_DEPLOYMENT_TARGET = 9.2;
1436 | };
1437 | name = Debug;
1438 | };
1439 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1440 | isa = XCBuildConfiguration;
1441 | buildSettings = {
1442 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1443 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1444 | CLANG_ANALYZER_NONNULL = YES;
1445 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1446 | CLANG_WARN_INFINITE_RECURSION = YES;
1447 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1448 | COPY_PHASE_STRIP = NO;
1449 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1450 | GCC_NO_COMMON_BLOCKS = YES;
1451 | HEADER_SEARCH_PATHS = (
1452 | "$(inherited)",
1453 | "$(SRCROOT)/../node_modules/react-native-ble-manager/ios",
1454 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1455 | );
1456 | INFOPLIST_FILE = "BleAnalyzer-tvOS/Info.plist";
1457 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1458 | LIBRARY_SEARCH_PATHS = (
1459 | "$(inherited)",
1460 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1461 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1462 | );
1463 | OTHER_LDFLAGS = (
1464 | "-ObjC",
1465 | "-lc++",
1466 | );
1467 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.BleAnalyzer-tvOS";
1468 | PRODUCT_NAME = "$(TARGET_NAME)";
1469 | SDKROOT = appletvos;
1470 | TARGETED_DEVICE_FAMILY = 3;
1471 | TVOS_DEPLOYMENT_TARGET = 9.2;
1472 | };
1473 | name = Release;
1474 | };
1475 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1476 | isa = XCBuildConfiguration;
1477 | buildSettings = {
1478 | BUNDLE_LOADER = "$(TEST_HOST)";
1479 | CLANG_ANALYZER_NONNULL = YES;
1480 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1481 | CLANG_WARN_INFINITE_RECURSION = YES;
1482 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1483 | DEBUG_INFORMATION_FORMAT = dwarf;
1484 | ENABLE_TESTABILITY = YES;
1485 | GCC_NO_COMMON_BLOCKS = YES;
1486 | INFOPLIST_FILE = "BleAnalyzer-tvOSTests/Info.plist";
1487 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1488 | LIBRARY_SEARCH_PATHS = (
1489 | "$(inherited)",
1490 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1491 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1492 | );
1493 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.BleAnalyzer-tvOSTests";
1494 | PRODUCT_NAME = "$(TARGET_NAME)";
1495 | SDKROOT = appletvos;
1496 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BleAnalyzer-tvOS.app/BleAnalyzer-tvOS";
1497 | TVOS_DEPLOYMENT_TARGET = 10.1;
1498 | };
1499 | name = Debug;
1500 | };
1501 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1502 | isa = XCBuildConfiguration;
1503 | buildSettings = {
1504 | BUNDLE_LOADER = "$(TEST_HOST)";
1505 | CLANG_ANALYZER_NONNULL = YES;
1506 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1507 | CLANG_WARN_INFINITE_RECURSION = YES;
1508 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1509 | COPY_PHASE_STRIP = NO;
1510 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1511 | GCC_NO_COMMON_BLOCKS = YES;
1512 | INFOPLIST_FILE = "BleAnalyzer-tvOSTests/Info.plist";
1513 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1514 | LIBRARY_SEARCH_PATHS = (
1515 | "$(inherited)",
1516 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1517 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1518 | );
1519 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.BleAnalyzer-tvOSTests";
1520 | PRODUCT_NAME = "$(TARGET_NAME)";
1521 | SDKROOT = appletvos;
1522 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BleAnalyzer-tvOS.app/BleAnalyzer-tvOS";
1523 | TVOS_DEPLOYMENT_TARGET = 10.1;
1524 | };
1525 | name = Release;
1526 | };
1527 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1528 | isa = XCBuildConfiguration;
1529 | buildSettings = {
1530 | ALWAYS_SEARCH_USER_PATHS = NO;
1531 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1532 | CLANG_CXX_LIBRARY = "libc++";
1533 | CLANG_ENABLE_MODULES = YES;
1534 | CLANG_ENABLE_OBJC_ARC = YES;
1535 | CLANG_WARN_BOOL_CONVERSION = YES;
1536 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1537 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1538 | CLANG_WARN_EMPTY_BODY = YES;
1539 | CLANG_WARN_ENUM_CONVERSION = YES;
1540 | CLANG_WARN_INT_CONVERSION = YES;
1541 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1542 | CLANG_WARN_UNREACHABLE_CODE = YES;
1543 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1544 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1545 | COPY_PHASE_STRIP = NO;
1546 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1547 | GCC_C_LANGUAGE_STANDARD = gnu99;
1548 | GCC_DYNAMIC_NO_PIC = NO;
1549 | GCC_OPTIMIZATION_LEVEL = 0;
1550 | GCC_PREPROCESSOR_DEFINITIONS = (
1551 | "DEBUG=1",
1552 | "$(inherited)",
1553 | );
1554 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1555 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1556 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1557 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1558 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1559 | GCC_WARN_UNUSED_FUNCTION = YES;
1560 | GCC_WARN_UNUSED_VARIABLE = YES;
1561 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1562 | MTL_ENABLE_DEBUG_INFO = YES;
1563 | ONLY_ACTIVE_ARCH = YES;
1564 | SDKROOT = iphoneos;
1565 | };
1566 | name = Debug;
1567 | };
1568 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1569 | isa = XCBuildConfiguration;
1570 | buildSettings = {
1571 | ALWAYS_SEARCH_USER_PATHS = NO;
1572 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1573 | CLANG_CXX_LIBRARY = "libc++";
1574 | CLANG_ENABLE_MODULES = YES;
1575 | CLANG_ENABLE_OBJC_ARC = YES;
1576 | CLANG_WARN_BOOL_CONVERSION = YES;
1577 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1578 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1579 | CLANG_WARN_EMPTY_BODY = YES;
1580 | CLANG_WARN_ENUM_CONVERSION = YES;
1581 | CLANG_WARN_INT_CONVERSION = YES;
1582 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1583 | CLANG_WARN_UNREACHABLE_CODE = YES;
1584 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1585 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1586 | COPY_PHASE_STRIP = YES;
1587 | ENABLE_NS_ASSERTIONS = NO;
1588 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1589 | GCC_C_LANGUAGE_STANDARD = gnu99;
1590 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1591 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1592 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1593 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1594 | GCC_WARN_UNUSED_FUNCTION = YES;
1595 | GCC_WARN_UNUSED_VARIABLE = YES;
1596 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1597 | MTL_ENABLE_DEBUG_INFO = NO;
1598 | SDKROOT = iphoneos;
1599 | VALIDATE_PRODUCT = YES;
1600 | };
1601 | name = Release;
1602 | };
1603 | /* End XCBuildConfiguration section */
1604 |
1605 | /* Begin XCConfigurationList section */
1606 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "BleAnalyzerTests" */ = {
1607 | isa = XCConfigurationList;
1608 | buildConfigurations = (
1609 | 00E356F61AD99517003FC87E /* Debug */,
1610 | 00E356F71AD99517003FC87E /* Release */,
1611 | );
1612 | defaultConfigurationIsVisible = 0;
1613 | defaultConfigurationName = Release;
1614 | };
1615 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "BleAnalyzer" */ = {
1616 | isa = XCConfigurationList;
1617 | buildConfigurations = (
1618 | 13B07F941A680F5B00A75B9A /* Debug */,
1619 | 13B07F951A680F5B00A75B9A /* Release */,
1620 | );
1621 | defaultConfigurationIsVisible = 0;
1622 | defaultConfigurationName = Release;
1623 | };
1624 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "BleAnalyzer-tvOS" */ = {
1625 | isa = XCConfigurationList;
1626 | buildConfigurations = (
1627 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1628 | 2D02E4981E0B4A5E006451C7 /* Release */,
1629 | );
1630 | defaultConfigurationIsVisible = 0;
1631 | defaultConfigurationName = Release;
1632 | };
1633 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "BleAnalyzer-tvOSTests" */ = {
1634 | isa = XCConfigurationList;
1635 | buildConfigurations = (
1636 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1637 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1638 | );
1639 | defaultConfigurationIsVisible = 0;
1640 | defaultConfigurationName = Release;
1641 | };
1642 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "BleAnalyzer" */ = {
1643 | isa = XCConfigurationList;
1644 | buildConfigurations = (
1645 | 83CBBA201A601CBA00E9B192 /* Debug */,
1646 | 83CBBA211A601CBA00E9B192 /* Release */,
1647 | );
1648 | defaultConfigurationIsVisible = 0;
1649 | defaultConfigurationName = Release;
1650 | };
1651 | /* End XCConfigurationList section */
1652 | };
1653 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1654 | }
1655 |
--------------------------------------------------------------------------------