├── example
├── .watchmanconfig
├── .gitattributes
├── app.json
├── .babelrc
├── android
│ ├── settings.gradle
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── values
│ │ │ │ │ ├── strings.xml
│ │ │ │ │ └── styles.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── mipmap-xxxhdpi
│ │ │ │ │ ├── ic_launcher.png
│ │ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── MainApplication.java
│ │ │ │ └── AndroidManifest.xml
│ │ ├── proguard-rules.pro
│ │ ├── BUCK
│ │ └── build.gradle
│ ├── keystores
│ │ ├── debug.keystore.properties
│ │ └── BUCK
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradle.properties
│ ├── build.gradle
│ ├── gradlew.bat
│ └── gradlew
├── ios
│ ├── example
│ │ ├── Images.xcassets
│ │ │ ├── Contents.json
│ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── AppDelegate.h
│ │ ├── main.m
│ │ ├── AppDelegate.m
│ │ ├── Info.plist
│ │ └── Base.lproj
│ │ │ └── LaunchScreen.xib
│ ├── exampleTests
│ │ ├── Info.plist
│ │ └── exampleTests.m
│ ├── example-tvOSTests
│ │ └── Info.plist
│ ├── example-tvOS
│ │ └── Info.plist
│ └── example.xcodeproj
│ │ ├── xcshareddata
│ │ └── xcschemes
│ │ │ ├── example.xcscheme
│ │ │ └── example-tvOS.xcscheme
│ │ └── project.pbxproj
├── .buckconfig
├── index.js
├── package.json
├── .gitignore
├── .flowconfig
└── App.js
├── .gitignore
├── .babelrc
├── .npmignore
├── src
├── images
│ ├── eye-visible.png
│ └── eye-invisible.png
├── utils
│ ├── calculate-absolute-width.js
│ ├── calculate-level.js
│ ├── calculate-level-width.js
│ ├── limit-value.js
│ ├── check-react-component.js
│ └── score-password.js
├── style
│ └── index.js
├── components
│ ├── text-password-strength-display.js
│ ├── circular-password-strength-display.js
│ ├── bar-password-strength-display.js
│ └── box-password-strength-display.js
├── index.js
└── constants
│ └── index.js
├── .eslintrc.json
├── LICENSE
├── package.json
└── README.md
/example/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | node_modules/
--------------------------------------------------------------------------------
/example/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native"]
3 | }
--------------------------------------------------------------------------------
/example/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example",
3 | "displayName": "example"
4 | }
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | # Dotfiles
2 | .babelrc
3 | .eslintrc.json
4 |
5 | # Example
6 | example/
--------------------------------------------------------------------------------
/example/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["module:metro-react-native-babel-preset"]
3 | }
4 |
--------------------------------------------------------------------------------
/example/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'example'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | example
3 |
4 |
--------------------------------------------------------------------------------
/example/ios/example/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/src/images/eye-visible.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/src/images/eye-visible.png
--------------------------------------------------------------------------------
/src/images/eye-invisible.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/src/images/eye-invisible.png
--------------------------------------------------------------------------------
/example/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/example/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/example/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/utils/calculate-absolute-width.js:
--------------------------------------------------------------------------------
1 | function calculateAbsoluteWidth(percent, limit) {
2 | const width = (percent * limit) / 100;
3 | return Math.round(width);
4 | }
5 |
6 | export default calculateAbsoluteWidth;
7 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pritishvaidya/react-native-password-strength-meter/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/example/index.js:
--------------------------------------------------------------------------------
1 | /** @format */
2 |
3 | import { AppRegistry } from 'react-native';
4 | import App from './App';
5 | import { name as appName } from './app.json';
6 |
7 | AppRegistry.registerComponent(appName, () => App);
8 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/example/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-4.4-all.zip
6 |
--------------------------------------------------------------------------------
/src/utils/calculate-level.js:
--------------------------------------------------------------------------------
1 | function calculateLevel(score, levels) {
2 | const normalizedScore = score / 100;
3 | const normalizedIndex = Math.floor((levels.length - 1) * normalizedScore);
4 | return levels[normalizedIndex];
5 | }
6 |
7 | export default calculateLevel;
8 |
--------------------------------------------------------------------------------
/src/utils/calculate-level-width.js:
--------------------------------------------------------------------------------
1 | function calculateAbsoluteWidth(width, levels, spacing) {
2 | const levelsLength = levels.length;
3 | const actualWidth = width - (spacing * (levelsLength - 2)) - 20;
4 | return actualWidth / levelsLength;
5 | }
6 |
7 | export default calculateAbsoluteWidth;
8 |
--------------------------------------------------------------------------------
/src/utils/limit-value.js:
--------------------------------------------------------------------------------
1 | /* eslint radix: ["error", "as-needed"] */
2 | function limitValue(value, minValue, maxValue) {
3 | let currentValue = 0;
4 | if (!Number.isNaN(value)) {
5 | currentValue = parseInt(value);
6 | }
7 | return Math.min(Math.max(currentValue, minValue), maxValue);
8 | }
9 |
10 | export default limitValue;
11 |
--------------------------------------------------------------------------------
/example/ios/example/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface AppDelegate : UIResponder
11 |
12 | @property (nonatomic, strong) UIWindow *window;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/example/ios/example/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/example/android/app/src/main/java/com/example/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "example";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/utils/check-react-component.js:
--------------------------------------------------------------------------------
1 | function isClassComponent(component) {
2 | return !!((
3 | typeof component === 'function'
4 | && !!component.prototype.isReactComponent
5 | ));
6 | }
7 |
8 | function isFunctionComponent(component) {
9 | return !!((
10 | typeof component === 'function'
11 | && String(component).includes('return React.createElement')
12 | ));
13 | }
14 |
15 | function isReactComponent(component) {
16 | return !!((
17 | isClassComponent(component)
18 | || isFunctionComponent(component)
19 | ));
20 | }
21 |
22 | export default isReactComponent;
23 |
--------------------------------------------------------------------------------
/example/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "example",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "react": "16.6.3",
11 | "react-native": "0.57.8",
12 | "react-native-password-strength-meter": "*"
13 | },
14 | "devDependencies": {
15 | "babel-jest": "23.6.0",
16 | "jest": "23.6.0",
17 | "metro-react-native-babel-preset": "0.51.1",
18 | "react-test-renderer": "16.6.3"
19 | },
20 | "jest": {
21 | "preset": "react-native"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/example/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/example/ios/exampleTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/example/ios/example-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "airbnb",
3 | "parser": "babel-eslint",
4 | "plugins": [
5 | "react-native"
6 | ],
7 | "env": {
8 | "jest": true
9 | },
10 | "rules": {
11 | "react/jsx-no-bind": "off",
12 | "react/no-string-refs": "off",
13 | "no-underscore-dangle": "off",
14 | "no-unused-vars": ["error", { "argsIgnorePattern": "(state|dispatch)" }],
15 | "new-cap": ["error", {"capIsNewExceptions": ["Immutable"]}],
16 | "import/no-extraneous-dependencies": "off",
17 | "no-console": "off",
18 | "react/jsx-filename-extension": "off",
19 | "global-require": "off",
20 | "no-alert": "off",
21 | "react/forbid-prop-types": "off",
22 | "class-methods-use-this": "off",
23 | "react/no-unused-prop-types": "warn",
24 | "react/prefer-stateless-function": ["error", {"ignorePureComponents": true}],
25 | "react/require-default-props": "off"
26 | }
27 | }
--------------------------------------------------------------------------------
/src/utils/score-password.js:
--------------------------------------------------------------------------------
1 | /* eslint radix: ["error", "as-needed"] */
2 | import limitValue from './limit-value';
3 |
4 | function scorePassword(pass, minLength, limit, variations = {}) {
5 | let score = 0;
6 | let variationCount = 0;
7 | const letters = {};
8 |
9 | if (!pass || pass.length < minLength) {
10 | return score;
11 | }
12 |
13 | /* Score unique letters until 5 repetitions */
14 | for (let i = 0; i < pass.length; i += 1) {
15 | letters[pass[i]] = (letters[pass[i]] || 0) + 1;
16 | score += 5.0 / letters[pass[i]];
17 | }
18 |
19 | /* Score character variation */
20 | Object.keys(variations).forEach((variation) => {
21 | const variationCheck = variations[variation].test(pass);
22 | variationCount += variationCheck === true ? 1 : 0;
23 | });
24 | score += (variationCount - 1) * 10;
25 |
26 | return limitValue(score, 0, limit);
27 | }
28 |
29 | export default scorePassword;
30 |
--------------------------------------------------------------------------------
/example/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
--------------------------------------------------------------------------------
/example/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
55 | # Bundle artifact
56 | *.jsbundle
57 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Pritish
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/example/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/example/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "27.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 27
8 | targetSdkVersion = 26
9 | supportLibVersion = "27.1.1"
10 | }
11 | repositories {
12 | google()
13 | jcenter()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.1.4'
17 |
18 | // NOTE: Do not place your application dependencies here; they belong
19 | // in the individual module build.gradle files
20 | }
21 | }
22 |
23 | allprojects {
24 | repositories {
25 | mavenLocal()
26 | google()
27 | jcenter()
28 | maven {
29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
30 | url "$rootDir/../node_modules/react-native/android"
31 | }
32 | }
33 | }
34 |
35 |
36 | task wrapper(type: Wrapper) {
37 | gradleVersion = '4.4'
38 | distributionUrl = distributionUrl.replace("bin", "all")
39 | }
40 |
--------------------------------------------------------------------------------
/example/android/app/src/main/java/com/example/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.example;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.facebook.react.ReactNativeHost;
7 | import com.facebook.react.ReactPackage;
8 | import com.facebook.react.shell.MainReactPackage;
9 | import com.facebook.soloader.SoLoader;
10 |
11 | import java.util.Arrays;
12 | import java.util.List;
13 |
14 | public class MainApplication extends Application implements ReactApplication {
15 |
16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
17 | @Override
18 | public boolean getUseDeveloperSupport() {
19 | return BuildConfig.DEBUG;
20 | }
21 |
22 | @Override
23 | protected List getPackages() {
24 | return Arrays.asList(
25 | new MainReactPackage()
26 | );
27 | }
28 |
29 | @Override
30 | protected String getJSMainModuleName() {
31 | return "index";
32 | }
33 | };
34 |
35 | @Override
36 | public ReactNativeHost getReactNativeHost() {
37 | return mReactNativeHost;
38 | }
39 |
40 | @Override
41 | public void onCreate() {
42 | super.onCreate();
43 | SoLoader.init(this, /* native exopackage */ false);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/style/index.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native'] }] */
2 | import { StyleSheet, Dimensions } from 'react-native';
3 |
4 | export const { width } = Dimensions.get('window');
5 |
6 | export default StyleSheet.create({
7 | // Parent
8 | containerWrapper: {
9 | marginVertical: 10,
10 | },
11 | // Input
12 | inputWrapper: {
13 | borderBottomWidth: 0.3,
14 | borderBottomColor: '#e6e6e6',
15 | paddingBottom: 5,
16 | marginVertical: 5,
17 | marginHorizontal: 10,
18 | paddingRight: 30,
19 | },
20 | input: {
21 | fontSize: 16,
22 | },
23 | imageWrapper: {
24 | position: 'absolute',
25 | right: 0,
26 | bottom: 5,
27 | },
28 | image: {
29 | height: 20,
30 | resizeMode: 'contain',
31 | tintColor: '#c0c0c0',
32 | },
33 | // Password Display Components
34 | wrapper: {
35 | marginVertical: 5,
36 | marginHorizontal: 10,
37 | },
38 | label: {
39 | position: 'absolute',
40 | right: 0,
41 | top: 8,
42 | fontSize: 12,
43 | },
44 | // Bar Container
45 | barContainer: {
46 | height: 6,
47 | borderRadius: 3,
48 | },
49 | bar: {
50 | marginHorizontal: 2,
51 | height: 6,
52 | borderRadius: 3,
53 | },
54 | // Box Container
55 | boxContainerWrapper: {
56 | flexDirection: 'row',
57 | },
58 | boxContainer: {
59 | marginHorizontal: 2,
60 | height: 6,
61 | borderRadius: 3,
62 | },
63 | box: {
64 | height: 6,
65 | borderRadius: 3,
66 | },
67 | });
68 |
--------------------------------------------------------------------------------
/example/ios/example/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 |
13 | @implementation AppDelegate
14 |
15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 | {
17 | NSURL *jsCodeLocation;
18 |
19 | #ifdef DEBUG
20 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
21 | #else
22 | jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
23 | #endif
24 |
25 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
26 | moduleName:@"example"
27 | initialProperties:nil
28 | launchOptions:launchOptions];
29 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
30 |
31 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
32 | UIViewController *rootViewController = [UIViewController new];
33 | rootViewController.view = rootView;
34 | self.window.rootViewController = rootViewController;
35 | [self.window makeKeyAndVisible];
36 | return YES;
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/src/components/text-password-strength-display.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native', 'react'] }] */
2 | import React from 'react';
3 | import {
4 | View, Text,
5 | } from 'react-native';
6 | import PropTypes from 'prop-types';
7 |
8 | // Components
9 | import scorePassword from '../utils/score-password';
10 | import calculateLevel from '../utils/calculate-level';
11 |
12 | // Style
13 | import style from '../style';
14 | import { TEXT_PASSWORD_STRENGTH_DISPLAY } from '../constants';
15 |
16 | function TextPasswordStrengthDisplay({
17 | password,
18 | touched,
19 | scoreLimit,
20 | variations,
21 | minLength,
22 | labelVisible,
23 | levels,
24 | wrapperStyle,
25 | labelStyle,
26 | }) {
27 | const score = scorePassword(password, minLength, scoreLimit, variations);
28 | const { label, labelColor } = calculateLevel(score, levels);
29 | return (
30 |
31 | {labelVisible && (touched || score !== 0)
32 | ? {label}
33 | : null
34 | }
35 |
36 | );
37 | }
38 |
39 | TextPasswordStrengthDisplay.defaultProps = TEXT_PASSWORD_STRENGTH_DISPLAY;
40 |
41 | TextPasswordStrengthDisplay.propTypes = {
42 | password: PropTypes.string.isRequired,
43 | touched: PropTypes.bool,
44 | scoreLimit: PropTypes.number,
45 | variations: PropTypes.object,
46 | minLength: PropTypes.number,
47 | labelVisible: PropTypes.bool,
48 | levels: PropTypes.array,
49 | wrapperStyle: PropTypes.object,
50 | labelStyle: PropTypes.object,
51 | };
52 |
53 | export default TextPasswordStrengthDisplay;
54 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-native-password-strength-meter",
3 | "version": "0.0.4",
4 | "description": "A highly customisable password strength meter implementation with minimal dependencies.",
5 | "main": "src/index.js",
6 | "scripts": {
7 | "test": "jest",
8 | "lint": "eslint . --ignore-path .gitignore --ext .js --ext .jsx",
9 | "fix-lint": "yarn lint -- --fix",
10 | "prepush": "npm run lint"
11 | },
12 | "repository": {
13 | "type": "git",
14 | "url": "git+https://github.com/pritishvaidya/react-native-password-strength-meter.git"
15 | },
16 | "keywords": [
17 | "react-native",
18 | "password",
19 | "password-strength",
20 | "password-meter",
21 | "react-native-password-strength-meter"
22 | ],
23 | "author": "Pritish Vaidya ",
24 | "license": "MIT",
25 | "bugs": {
26 | "url": "https://github.com/pritishvaidya/react-native-password-strength-meter/issues"
27 | },
28 | "homepage": "https://github.com/pritishvaidya/react-native-password-strength-meter#readme",
29 | "devDependencies": {
30 | "babel-eslint": "^10.0.1",
31 | "babel-preset-react-native": "^4.0.1",
32 | "eslint": "^5.6.1",
33 | "eslint-config-airbnb": "^17.1.0",
34 | "eslint-config-standard": "^12.0.0",
35 | "eslint-plugin-import": "^2.14.0",
36 | "eslint-plugin-jsx-a11y": "^6.1.1",
37 | "eslint-plugin-node": "^7.0.1",
38 | "eslint-plugin-promise": "^4.0.1",
39 | "eslint-plugin-react": "^7.11.1",
40 | "eslint-plugin-react-native": "^3.3.0",
41 | "eslint-plugin-standard": "^4.0.0",
42 | "husky": "^1.1.0"
43 | },
44 | "peerDependencies": {
45 | "react": "^16.5.2",
46 | "react-native": "^0.57.1"
47 | },
48 | "dependencies": {
49 | "prop-types": "^15.6.2",
50 | "react-native-speedometer": "^1.0.0"
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/example/ios/example-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/example/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.example",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.example",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/example/ios/example/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | example
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 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/example/ios/exampleTests/exampleTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface exampleTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation exampleTests
22 |
23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
24 | {
25 | if (test(view)) {
26 | return YES;
27 | }
28 | for (UIView *subview in [view subviews]) {
29 | if ([self findSubviewInView:subview matching:test]) {
30 | return YES;
31 | }
32 | }
33 | return NO;
34 | }
35 |
36 | - (void)testRendersWelcomeScreen
37 | {
38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
40 | BOOL foundElement = NO;
41 |
42 | __block NSString *redboxError = nil;
43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
44 | if (level >= RCTLogLevelError) {
45 | redboxError = message;
46 | }
47 | });
48 |
49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
52 |
53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
55 | return YES;
56 | }
57 | return NO;
58 | }];
59 | }
60 |
61 | RCTSetLogFunction(RCTDefaultLogFunction);
62 |
63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/src/components/circular-password-strength-display.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native', 'react'] }] */
2 | /* eslint no-unused-vars: "error" */
3 | import React from 'react';
4 | import PropTypes from 'prop-types';
5 | import RNSpeedometer from 'react-native-speedometer';
6 |
7 | // Utils
8 | import scorePassword from '../utils/score-password';
9 | import { CIRCULAR_PASSWORD_STRENGTH_DISPLAY } from '../constants';
10 |
11 | function CircularPasswordStrengthDisplay({
12 | password,
13 | labelVisible,
14 | minLength,
15 | scoreLimit,
16 | variations,
17 | easeDuration,
18 | levels,
19 | needleImage,
20 | wrapperStyle,
21 | outerCircleStyle,
22 | imageWrapperStyle,
23 | imageStyle,
24 | innerCircleStyle,
25 | labelWrapperStyle,
26 | labelStyle,
27 | labelNoteStyle,
28 | }) {
29 | const convertedLevels = labelVisible ? levels.map(level => ({
30 | ...level,
31 | name: level.label,
32 | })) : levels;
33 |
34 | const score = scorePassword(password, minLength, scoreLimit, variations);
35 | return (
36 |
51 | );
52 | }
53 |
54 | CircularPasswordStrengthDisplay.defaultProps = CIRCULAR_PASSWORD_STRENGTH_DISPLAY;
55 |
56 | CircularPasswordStrengthDisplay.propTypes = {
57 | password: PropTypes.string.isRequired,
58 | labelVisible: PropTypes.bool,
59 | minLength: PropTypes.number,
60 | variations: PropTypes.object,
61 | scoreLimit: PropTypes.number,
62 | easeDuration: PropTypes.number,
63 | levels: PropTypes.array,
64 | wrapperStyle: PropTypes.object,
65 | outerCircleStyle: PropTypes.object,
66 | imageWrapperStyle: PropTypes.object,
67 | imageStyle: PropTypes.object,
68 | innerCircleStyle: PropTypes.object,
69 | labelWrapperStyle: PropTypes.object,
70 | labelStyle: PropTypes.object,
71 | labelNoteStyle: PropTypes.object,
72 | needleImage: PropTypes.string,
73 | };
74 |
75 | export default CircularPasswordStrengthDisplay;
76 |
--------------------------------------------------------------------------------
/example/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
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 Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/example/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 | node_modules/react-native/flow-github/
28 |
29 | [options]
30 | emoji=true
31 |
32 | esproposal.optional_chaining=enable
33 | esproposal.nullish_coalescing=enable
34 |
35 | module.system=haste
36 | module.system.haste.use_name_reducers=true
37 | # get basename
38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
39 | # strip .js or .js.flow suffix
40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
41 | # strip .ios suffix
42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
45 | module.system.haste.paths.blacklist=.*/__tests__/.*
46 | module.system.haste.paths.blacklist=.*/__mocks__/.*
47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
49 |
50 | munge_underscores=true
51 |
52 | 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'
53 |
54 | module.file_ext=.js
55 | module.file_ext=.jsx
56 | module.file_ext=.json
57 | module.file_ext=.native.js
58 |
59 | suppress_type=$FlowIssue
60 | suppress_type=$FlowFixMe
61 | suppress_type=$FlowFixMeProps
62 | suppress_type=$FlowFixMeState
63 |
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
68 |
69 | [version]
70 | ^0.78.0
71 |
--------------------------------------------------------------------------------
/src/components/bar-password-strength-display.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native', 'react'] }] */
2 | import React, { Component } from 'react';
3 | import {
4 | View, Animated, Text,
5 | } from 'react-native';
6 | import PropTypes from 'prop-types';
7 |
8 | // Components
9 | import scorePassword from '../utils/score-password';
10 | import calculateAbsoluteWidth from '../utils/calculate-absolute-width';
11 | import calculateLevel from '../utils/calculate-level';
12 |
13 | // Style
14 | import style from '../style';
15 | import { BAR_PASSWORD_STRENGTH_DISPLAY } from '../constants';
16 |
17 | class BarPasswordStrengthDisplay extends Component {
18 | constructor(props) {
19 | super(props);
20 | this.animatedBarWidth = new Animated.Value(0);
21 | }
22 |
23 | render() {
24 | const {
25 | password,
26 | touched,
27 | scoreLimit,
28 | variations,
29 | minLength,
30 | labelVisible,
31 | levels,
32 | wrapperStyle,
33 | barContainerStyle,
34 | barStyle,
35 | labelStyle,
36 | barColor,
37 | width,
38 | } = this.props;
39 | const score = scorePassword(password, minLength, scoreLimit, variations);
40 | const absoluteWidth = calculateAbsoluteWidth(score, width);
41 | const { label, labelColor, activeBarColor } = calculateLevel(score, levels);
42 |
43 | Animated.timing(this.animatedBarWidth, {
44 | toValue: absoluteWidth,
45 | duration: 700,
46 | useNativeDriver: false
47 | }).start();
48 | return (
49 |
50 |
51 |
58 |
59 | {labelVisible && (touched || score !== 0)
60 | ? {label}
61 | : null
62 | }
63 |
64 | );
65 | }
66 | }
67 |
68 | BarPasswordStrengthDisplay.defaultProps = BAR_PASSWORD_STRENGTH_DISPLAY;
69 |
70 | BarPasswordStrengthDisplay.propTypes = {
71 | password: PropTypes.string.isRequired,
72 | touched: PropTypes.bool,
73 | scoreLimit: PropTypes.number,
74 | variations: PropTypes.object,
75 | minLength: PropTypes.number,
76 | labelVisible: PropTypes.bool,
77 | levels: PropTypes.array,
78 | wrapperStyle: PropTypes.object,
79 | barContainerStyle: PropTypes.object,
80 | barStyle: PropTypes.object,
81 | labelStyle: PropTypes.object,
82 | barColor: PropTypes.string,
83 | width: PropTypes.number,
84 | };
85 |
86 | export default BarPasswordStrengthDisplay;
87 |
--------------------------------------------------------------------------------
/example/ios/example/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/src/components/box-password-strength-display.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native', 'react'] }] */
2 | /* eslint no-unused-vars: "error" */
3 | import React, { Component } from 'react';
4 | import {
5 | View, Animated, Text,
6 | } from 'react-native';
7 | import PropTypes from 'prop-types';
8 |
9 | // Components
10 | import scorePassword from '../utils/score-password';
11 | import calculateLevel from '../utils/calculate-level';
12 | import calculateLevelWidth from '../utils/calculate-level-width';
13 |
14 | // Style
15 | import style from '../style';
16 | import { BOX_PASSWORD_STRENGTH_DISPLAY } from '../constants';
17 |
18 | class BoxPasswordStrengthDisplay extends Component {
19 | constructor(props) {
20 | super(props);
21 | this.animatedBoxWidths = props.levels.map(() => new Animated.Value(0));
22 | }
23 |
24 | render() {
25 | const {
26 | password,
27 | touched,
28 | scoreLimit,
29 | variations,
30 | minLength,
31 | labelVisible,
32 | levels,
33 | wrapperStyle,
34 | boxContainerStyle,
35 | boxStyle,
36 | labelStyle,
37 | boxColor,
38 | width,
39 | boxSpacing,
40 | } = this.props;
41 | const score = scorePassword(password, minLength, scoreLimit, variations);
42 | const { label, labelColor, activeBarColor } = calculateLevel(score, levels);
43 | const levelWidth = calculateLevelWidth(width, levels, boxSpacing);
44 | const currentLevelIndex = levels.findIndex(level => level.label === label);
45 | return (
46 |
47 |
48 | {levels.map((level, index) => {
49 | const currentAnimatedBoxWidth = this.animatedBoxWidths[index];
50 | if (currentLevelIndex >= index && score !== 0) {
51 | Animated.timing(currentAnimatedBoxWidth, {
52 | toValue: levelWidth,
53 | duration: 700,
54 | useNativeDriver: false
55 | }).start();
56 | } else {
57 | Animated.timing(currentAnimatedBoxWidth, {
58 | toValue: 0,
59 | duration: 700,
60 | useNativeDriver: false
61 | }).start();
62 | }
63 | return (
64 |
71 |
78 |
79 | );
80 | })}
81 |
82 |
83 | {labelVisible && (touched || score !== 0)
84 | ? {label}
85 | : null
86 | }
87 |
88 | );
89 | }
90 | }
91 |
92 | BoxPasswordStrengthDisplay.defaultProps = BOX_PASSWORD_STRENGTH_DISPLAY;
93 |
94 | BoxPasswordStrengthDisplay.propTypes = {
95 | password: PropTypes.string.isRequired,
96 | touched: PropTypes.bool,
97 | scoreLimit: PropTypes.number,
98 | variations: PropTypes.object,
99 | minLength: PropTypes.number,
100 | labelVisible: PropTypes.bool,
101 | levels: PropTypes.array,
102 | wrapperStyle: PropTypes.object,
103 | boxContainerStyle: PropTypes.object,
104 | boxStyle: PropTypes.object,
105 | labelStyle: PropTypes.object,
106 | boxColor: PropTypes.string,
107 | width: PropTypes.number,
108 | boxSpacing: PropTypes.number,
109 | };
110 |
111 | export default BoxPasswordStrengthDisplay;
112 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | /* eslint import/no-unresolved: [2, { ignore: ['react-native', 'react'] }] */
2 | import React, { Component } from 'react';
3 | import {
4 | TextInput, View, TouchableOpacity, Image,
5 | } from 'react-native';
6 | import PropTypes from 'prop-types';
7 |
8 | // Components
9 | import BarPasswordStrengthDisplay from './components/bar-password-strength-display';
10 | import BoxPasswordStrengthDisplay from './components/box-password-strength-display';
11 | import TextPasswordStrengthDisplay from './components/text-password-strength-display';
12 | import CircularPasswordStrengthDisplay from './components/circular-password-strength-display';
13 |
14 | // Utils
15 | import isReactComponent from './utils/check-react-component';
16 | import scorePassword from './utils/score-password';
17 | import calculateLevel from './utils/calculate-level';
18 |
19 | // Styles
20 | import style from './style';
21 | import { PASSWORD_INPUT } from './constants';
22 |
23 | class PasswordInputComponent extends Component {
24 | constructor(props) {
25 | super(props);
26 | this.state = {
27 | password: props.defaultPassword,
28 | placeholderVisible: props.defaultPassword.length === 0,
29 | secureTextEntry: props.inputProps.secureTextEntry,
30 | };
31 | }
32 |
33 | change = (password) => {
34 | const {
35 | onChangeText,
36 | passwordProps: {
37 | levels = PASSWORD_INPUT.passwordProps.levels,
38 | minLength = PASSWORD_INPUT.passwordProps.minLength,
39 | scoreLimit = PASSWORD_INPUT.passwordProps.scoreLimit,
40 | },
41 | } = this.props;
42 | console.log({ levels, minLength, scoreLimit });
43 | const score = scorePassword(password, minLength, scoreLimit);
44 | const { label, labelColor, activeBarColor } = calculateLevel(score, levels);
45 | this.setState({
46 | password,
47 | placeholderVisible: password.length === 0,
48 | }, () => onChangeText(password, score, { label, labelColor, activeBarColor }));
49 | }
50 |
51 | toggleSecureText = () => {
52 | this.setState(prevState => ({ ...prevState, secureTextEntry: !prevState.secureTextEntry }));
53 | }
54 |
55 | render() {
56 | const {
57 | containerWrapperStyle,
58 | inputWrapperStyle,
59 | imageWrapperStyle,
60 | imageStyle,
61 | inputStyle,
62 | placeholderStyle,
63 | meterType,
64 | inputProps,
65 | passwordProps,
66 | } = this.props;
67 | const { password, placeholderVisible, secureTextEntry } = this.state;
68 | const image = secureTextEntry ? require('./images/eye-visible.png') : require('./images/eye-invisible.png');
69 | let PasswordComponent;
70 | if (isReactComponent(meterType)) {
71 | PasswordComponent = meterType;
72 | } else if (meterType === 'bar') {
73 | PasswordComponent = BarPasswordStrengthDisplay;
74 | } else if (meterType === 'box') {
75 | PasswordComponent = BoxPasswordStrengthDisplay;
76 | } else if (meterType === 'circle') {
77 | PasswordComponent = CircularPasswordStrengthDisplay;
78 | } else {
79 | PasswordComponent = TextPasswordStrengthDisplay;
80 | }
81 | return (
82 |
83 |
84 |
94 |
98 |
99 |
100 |
101 |
102 |
103 | );
104 | }
105 | }
106 | PasswordInputComponent.defaultProps = PASSWORD_INPUT;
107 |
108 | PasswordInputComponent.propTypes = {
109 | onChangeText: PropTypes.func.isRequired,
110 | defaultPassword: PropTypes.string,
111 | containerWrapperStyle: PropTypes.object,
112 | imageWrapperStyle: PropTypes.object,
113 | imageStyle: PropTypes.object,
114 | inputWrapperStyle: PropTypes.object,
115 | inputStyle: PropTypes.object,
116 | placeholderStyle: PropTypes.object,
117 | meterType: PropTypes.oneOfType([
118 | PropTypes.string,
119 | PropTypes.element,
120 | ]),
121 | inputProps: PropTypes.object,
122 | passwordProps: PropTypes.object,
123 | };
124 |
125 | export default PasswordInputComponent;
126 | export {
127 | BarPasswordStrengthDisplay,
128 | BoxPasswordStrengthDisplay,
129 | TextPasswordStrengthDisplay,
130 | CircularPasswordStrengthDisplay,
131 | };
132 |
--------------------------------------------------------------------------------
/example/App.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import {
3 | StyleSheet,
4 | View,
5 | TextInput,
6 | } from 'react-native';
7 |
8 | import RNPasswordStrengthMeter, {
9 | BarPasswordStrengthDisplay,
10 | BoxPasswordStrengthDisplay,
11 | CircularPasswordStrengthDisplay,
12 | TextPasswordStrengthDisplay,
13 | } from 'react-native-password-strength-meter';
14 |
15 | const styles = StyleSheet.create({
16 | container: {
17 | paddingTop: 100,
18 | },
19 | textInput: {
20 | borderBottomWidth: 0.3,
21 | borderBottomColor: 'black',
22 | height: 25,
23 | fontSize: 16,
24 | marginVertical: 50,
25 | marginHorizontal: 20,
26 | },
27 | });
28 |
29 | class PasswordInputBar extends Component {
30 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
31 | console.log(password, score, { label, labelColor, activeBarColor });
32 | }
33 |
34 | render() {
35 | return (
36 |
37 |
41 |
42 | );
43 | }
44 | }
45 |
46 | class PasswordInputBox extends Component {
47 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
48 | console.log(password, score, { label, labelColor, activeBarColor });
49 | }
50 |
51 | render() {
52 | return (
53 |
54 |
58 |
59 | );
60 | }
61 | }
62 |
63 | class PasswordInputCircle extends Component {
64 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
65 | console.log(password, score, { label, labelColor, activeBarColor });
66 | }
67 |
68 | render() {
69 | return (
70 |
71 |
75 |
76 | );
77 | }
78 | }
79 |
80 | class PasswordInputText extends Component {
81 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
82 | console.log(password, score, { label, labelColor, activeBarColor });
83 | }
84 |
85 | render() {
86 | return (
87 |
88 |
92 |
93 | );
94 | }
95 | }
96 |
97 | class BarComponent extends Component {
98 | state = {
99 | password: '',
100 | }
101 |
102 | onChange = password => this.setState({ password })
103 |
104 | render() {
105 | const { password } = this.state;
106 | return (
107 |
108 |
109 |
112 |
113 | );
114 | }
115 | }
116 |
117 | class BoxComponent extends Component {
118 | state = {
119 | password: '',
120 | }
121 |
122 | onChange = password => this.setState({ password })
123 |
124 | render() {
125 | const { password } = this.state;
126 | return (
127 |
128 |
129 |
132 |
133 | );
134 | }
135 | }
136 |
137 | class TextComponent extends Component {
138 | state = {
139 | password: '',
140 | }
141 |
142 | onChange = password => this.setState({ password })
143 |
144 | render() {
145 | const { password } = this.state;
146 | return (
147 |
148 |
149 |
152 |
153 | );
154 | }
155 | }
156 |
157 | class CircleComponent extends Component {
158 | state = {
159 | password: '',
160 | }
161 |
162 | onChange = password => this.setState({ password })
163 |
164 | render() {
165 | const { password } = this.state;
166 | return (
167 |
168 |
169 |
172 |
173 | );
174 | }
175 | }
176 |
177 | export default class App extends Component {
178 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
179 | console.log(password, score, { label, labelColor, activeBarColor });
180 | }
181 |
182 | render() {
183 | return (
184 |
185 |
189 |
190 | );
191 | }
192 | }
193 |
--------------------------------------------------------------------------------
/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/example/ios/example.xcodeproj/xcshareddata/xcschemes/example-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/example/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
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 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/example/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion rootProject.ext.compileSdkVersion
98 | buildToolsVersion rootProject.ext.buildToolsVersion
99 |
100 | defaultConfig {
101 | applicationId "com.example"
102 | minSdkVersion rootProject.ext.minSdkVersion
103 | targetSdkVersion rootProject.ext.targetSdkVersion
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 | implementation fileTree(dir: "libs", include: ["*.jar"])
141 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
142 | implementation "com.facebook.react:react-native:+" // From node_modules
143 | }
144 |
145 | // Run this once to be able to run the application with BUCK
146 | // puts all compile dependencies into folder libs for BUCK to use
147 | task copyDownloadableDepsToLibs(type: Copy) {
148 | from configurations.compile
149 | into 'libs'
150 | }
151 |
--------------------------------------------------------------------------------
/src/constants/index.js:
--------------------------------------------------------------------------------
1 | import { width as deviceWidth } from '../style';
2 |
3 | const BAR_PASSWORD_STRENGTH_DISPLAY = {
4 | touched: false,
5 | scoreLimit: 100,
6 | variations: {
7 | digits: /\d/,
8 | lower: /[a-z]/,
9 | upper: /[A-Z]/,
10 | nonWords: /\W/,
11 | },
12 | minLength: 5,
13 | labelVisible: true,
14 | levels: [
15 | {
16 | label: 'Pathetically weak',
17 | labelColor: '#ff2900',
18 | activeBarColor: '#ff2900',
19 | },
20 | {
21 | label: 'Extremely weak',
22 | labelColor: '#ff3e00',
23 | activeBarColor: '#ff3e00',
24 | },
25 | {
26 | label: 'Very weak',
27 | labelColor: '#ff5400',
28 | activeBarColor: '#ff5400',
29 | },
30 | {
31 | label: 'Weak',
32 | labelColor: '#ff6900',
33 | activeBarColor: '#ff6900',
34 | },
35 | {
36 | label: 'So-so',
37 | labelColor: '#f4d744',
38 | activeBarColor: '#f4d744',
39 | },
40 | {
41 | label: 'Average',
42 | labelColor: '#f3d331',
43 | activeBarColor: '#f3d331',
44 | },
45 | {
46 | label: 'Fair',
47 | labelColor: '#f2cf1f',
48 | activeBarColor: '#f2cf1f',
49 | },
50 | {
51 | label: 'Strong',
52 | labelColor: '#14eb6e',
53 | activeBarColor: '#14eb6e',
54 | },
55 | {
56 | label: 'Very strong',
57 | labelColor: '#0af56d',
58 | activeBarColor: '#0af56d',
59 | },
60 | {
61 | label: 'Unbelievably strong',
62 | labelColor: '#00ff6b',
63 | activeBarColor: '#00ff6b',
64 | },
65 | ],
66 | wrapperStyle: {},
67 | barContainerStyle: {},
68 | barStyle: {},
69 | labelStyle: {},
70 | barColor: '#f1f3f4',
71 | width: deviceWidth - 20,
72 | };
73 |
74 | const BOX_PASSWORD_STRENGTH_DISPLAY = {
75 | touched: false,
76 | scoreLimit: 100,
77 | variations: {
78 | digits: /\d/,
79 | lower: /[a-z]/,
80 | upper: /[A-Z]/,
81 | nonWords: /\W/,
82 | },
83 | minLength: 5,
84 | labelVisible: true,
85 | levels: [
86 | {
87 | label: 'Pathetically weak',
88 | labelColor: '#ff2900',
89 | activeBarColor: '#ff2900',
90 | },
91 | {
92 | label: 'Extremely weak',
93 | labelColor: '#ff3e00',
94 | activeBarColor: '#ff3e00',
95 | },
96 | {
97 | label: 'Very weak',
98 | labelColor: '#ff5400',
99 | activeBarColor: '#ff5400',
100 | },
101 | {
102 | label: 'Weak',
103 | labelColor: '#ff6900',
104 | activeBarColor: '#ff6900',
105 | },
106 | {
107 | label: 'So-so',
108 | labelColor: '#f4d744',
109 | activeBarColor: '#f4d744',
110 | },
111 | {
112 | label: 'Average',
113 | labelColor: '#f3d331',
114 | activeBarColor: '#f3d331',
115 | },
116 | {
117 | label: 'Fair',
118 | labelColor: '#f2cf1f',
119 | activeBarColor: '#f2cf1f',
120 | },
121 | {
122 | label: 'Strong',
123 | labelColor: '#14eb6e',
124 | activeBarColor: '#14eb6e',
125 | },
126 | {
127 | label: 'Very strong',
128 | labelColor: '#0af56d',
129 | activeBarColor: '#0af56d',
130 | },
131 | {
132 | label: 'Unbelievably strong',
133 | labelColor: '#00ff6b',
134 | activeBarColor: '#00ff6b',
135 | },
136 | ],
137 | wrapperStyle: {},
138 | boxContainerStyle: {},
139 | boxStyle: {},
140 | labelStyle: {},
141 | boxColor: '#f1f3f4',
142 | width: deviceWidth - 20,
143 | boxSpacing: 2,
144 | };
145 |
146 | const CIRCULAR_PASSWORD_STRENGTH_DISPLAY = {
147 | labelVisible: true,
148 | minLength: 5,
149 | variations: {
150 | digits: /\d/,
151 | lower: /[a-z]/,
152 | upper: /[A-Z]/,
153 | nonWords: /\W/,
154 | },
155 | minValue: 0,
156 | scoreLimit: 100,
157 | easeDuration: 500,
158 | levels: [
159 | {
160 | label: 'Pathetically weak',
161 | labelColor: '#ff2900',
162 | activeBarColor: '#ff2900',
163 | },
164 | {
165 | label: 'Extremely weak',
166 | labelColor: '#ff3e00',
167 | activeBarColor: '#ff3e00',
168 | },
169 | {
170 | label: 'Very weak',
171 | labelColor: '#ff5400',
172 | activeBarColor: '#ff5400',
173 | },
174 | {
175 | label: 'Weak',
176 | labelColor: '#ff6900',
177 | activeBarColor: '#ff6900',
178 | },
179 | {
180 | label: 'So-so',
181 | labelColor: '#f4d744',
182 | activeBarColor: '#f4d744',
183 | },
184 | {
185 | label: 'Average',
186 | labelColor: '#f3d331',
187 | activeBarColor: '#f3d331',
188 | },
189 | {
190 | label: 'Fair',
191 | labelColor: '#f2cf1f',
192 | activeBarColor: '#f2cf1f',
193 | },
194 | {
195 | label: 'Strong',
196 | labelColor: '#14eb6e',
197 | activeBarColor: '#14eb6e',
198 | },
199 | {
200 | label: 'Very strong',
201 | labelColor: '#0af56d',
202 | activeBarColor: '#0af56d',
203 | },
204 | {
205 | label: 'Unbelievably strong',
206 | labelColor: '#00ff6b',
207 | activeBarColor: '#00ff6b',
208 | },
209 | ],
210 | wrapperStyle: {},
211 | outerCircleStyle: {},
212 | imageWrapperStyle: {},
213 | imageStyle: {},
214 | innerCircleStyle: {},
215 | labelWrapperStyle: {},
216 | labelStyle: {},
217 | labelNoteStyle: {},
218 | };
219 |
220 | const TEXT_PASSWORD_STRENGTH_DISPLAY = {
221 | touched: false,
222 | scoreLimit: 100,
223 | variations: {
224 | digits: /\d/,
225 | lower: /[a-z]/,
226 | upper: /[A-Z]/,
227 | nonWords: /\W/,
228 | },
229 | minLength: 5,
230 | labelVisible: true,
231 | levels: [
232 | {
233 | label: 'Pathetically weak',
234 | labelColor: '#ff2900',
235 | activeBarColor: '#ff2900',
236 | },
237 | {
238 | label: 'Extremely weak',
239 | labelColor: '#ff3e00',
240 | activeBarColor: '#ff3e00',
241 | },
242 | {
243 | label: 'Very weak',
244 | labelColor: '#ff5400',
245 | activeBarColor: '#ff5400',
246 | },
247 | {
248 | label: 'Weak',
249 | labelColor: '#ff6900',
250 | activeBarColor: '#ff6900',
251 | },
252 | {
253 | label: 'So-so',
254 | labelColor: '#f4d744',
255 | activeBarColor: '#f4d744',
256 | },
257 | {
258 | label: 'Average',
259 | labelColor: '#f3d331',
260 | activeBarColor: '#f3d331',
261 | },
262 | {
263 | label: 'Fair',
264 | labelColor: '#f2cf1f',
265 | activeBarColor: '#f2cf1f',
266 | },
267 | {
268 | label: 'Strong',
269 | labelColor: '#14eb6e',
270 | activeBarColor: '#14eb6e',
271 | },
272 | {
273 | label: 'Very strong',
274 | labelColor: '#0af56d',
275 | activeBarColor: '#0af56d',
276 | },
277 | {
278 | label: 'Unbelievably strong',
279 | labelColor: '#00ff6b',
280 | activeBarColor: '#00ff6b',
281 | },
282 | ],
283 | wrapperStyle: {},
284 | labelStyle: {},
285 | };
286 |
287 | const PASSWORD_INPUT = {
288 | defaultPassword: '',
289 | containerWrapperStyle: {},
290 | imageWrapperStyle: {},
291 | imageStyle: {},
292 | inputWrapperStyle: {},
293 | inputStyle: {},
294 | placeholderStyle: {},
295 | meterType: 'bar',
296 | inputProps: {
297 | placeholder: 'Password',
298 | secureTextEntry: true,
299 | },
300 | // Required only to return score from the Input Component
301 | passwordProps: {
302 | minLength: 5,
303 | scoreLimit: 100,
304 | levels: [
305 | {
306 | label: 'Pathetically weak',
307 | labelColor: '#ff2900',
308 | activeBarColor: '#ff2900',
309 | },
310 | {
311 | label: 'Extremely weak',
312 | labelColor: '#ff3e00',
313 | activeBarColor: '#ff3e00',
314 | },
315 | {
316 | label: 'Very weak',
317 | labelColor: '#ff5400',
318 | activeBarColor: '#ff5400',
319 | },
320 | {
321 | label: 'Weak',
322 | labelColor: '#ff6900',
323 | activeBarColor: '#ff6900',
324 | },
325 | {
326 | label: 'So-so',
327 | labelColor: '#f4d744',
328 | activeBarColor: '#f4d744',
329 | },
330 | {
331 | label: 'Average',
332 | labelColor: '#f3d331',
333 | activeBarColor: '#f3d331',
334 | },
335 | {
336 | label: 'Fair',
337 | labelColor: '#f2cf1f',
338 | activeBarColor: '#f2cf1f',
339 | },
340 | {
341 | label: 'Strong',
342 | labelColor: '#14eb6e',
343 | activeBarColor: '#14eb6e',
344 | },
345 | {
346 | label: 'Very strong',
347 | labelColor: '#0af56d',
348 | activeBarColor: '#0af56d',
349 | },
350 | {
351 | label: 'Unbelievably strong',
352 | labelColor: '#00ff6b',
353 | activeBarColor: '#00ff6b',
354 | },
355 | ],
356 | },
357 | };
358 |
359 | export {
360 | BAR_PASSWORD_STRENGTH_DISPLAY,
361 | BOX_PASSWORD_STRENGTH_DISPLAY,
362 | CIRCULAR_PASSWORD_STRENGTH_DISPLAY,
363 | TEXT_PASSWORD_STRENGTH_DISPLAY,
364 | PASSWORD_INPUT,
365 | };
366 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # react-native-password-strength-meter [](https://badge.fury.io/js/react-native-password-strength-meter) [](https://npm-stat.com/charts.html?package=react-native-password-strength-meter&from=2018-02-17&to=2018-12-28)
2 |
3 |
4 | A highly customisable password strength meter implementation with minimal dependencies.
5 |
6 |
7 | ## Show Cases
8 |
9 | ### Type Bar
10 | IOS | Android
11 | :-------------------------:|:-------------------------:
12 |  | 
13 |
14 | ### Type Box
15 | IOS | Android
16 | :-------------------------:|:-------------------------:
17 |  | 
18 |
19 | ### Type Circle
20 | IOS |
21 | :-------------------------:|
22 |  |
23 |
24 | ### Type Text
25 | IOS | Android
26 | :-------------------------:|:-------------------------:
27 |  | 
28 |
29 |
30 | ## Getting Started
31 |
32 | - [Installation](#installation)
33 | - [Basic Usage](#basic-usage)
34 | - [Password Input Usage](#password-input-usage)
35 | - [Component Usage](#component-usage)
36 | - [Properties](#properties)
37 | - [Password Input Props](#password-input-props)
38 | - [Bar Component Props](#bar-component-props)
39 | - [Box Component Props](#box-component-props)
40 | - [Circle Component Props](#circle-component-props)
41 | - [Text Component Props](#text-component-props)
42 | - [Defaults](#defaults)
43 | - [Password Score Algorithm](#password-score-algorithm)
44 | - [Contribution](#contribution)
45 | - [Questions](#questions)
46 |
47 | ### Installation
48 |
49 | ```bash
50 | $ npm i react-native-password-strength-meter --save
51 | ```
52 |
53 | ### Basic Usage
54 |
55 | #### Password Input Usage
56 | ```
57 | import React, { Component } from 'react';
58 | import {
59 | View,
60 | StyleSheet,
61 | TextInput
62 | } from 'react-native';
63 |
64 | import RNPasswordStrengthMeter from 'react-native-password-strength-meter';
65 |
66 | export default class PasswordInput extends Component {
67 | onChange = (password, score, { label, labelColor, activeBarColor }) => {
68 | console.log(password, score, { label, labelColor, activeBarColor });
69 | }
70 | render() {
71 | return (
72 |
73 |
77 |
78 | );
79 | }
80 | }
81 | ```
82 |
83 | #### Component Usage
84 | ```
85 | import React, { Component } from 'react';
86 | import {
87 | View,
88 | StyleSheet,
89 | TextInput
90 | } from 'react-native';
91 |
92 | import { BarPasswordStrengthDisplay } from 'react-native-password-strength-meter';
93 |
94 | export default class BarComponent extends Component {
95 | state = {
96 | password: '',
97 | }
98 |
99 | onChange = password => this.setState({ password })
100 |
101 | render() {
102 | const { password } = this.state;
103 | return (
104 |
105 |
106 |
109 |
110 | );
111 | }
112 | }
113 | ```
114 |
115 | ### Properties
116 |
117 | #### Password Input Props
118 | | Prop | Default | Type | Description |
119 | | :------------ |---------------:| :---------------| :-----|
120 | | onChangeText | required | func | Callback to Return Input text changes `(password, score, { label, labelColor, activeBarColor }) => {}` |
121 | | defaultPassword | "" | string | Default Password Value |
122 | | containerWrapperStyle | {} | object | Container wrapper style |
123 | | imageWrapperStyle | {} | object | Eye Image wrapper style |
124 | | imageStyle | {}| object | Eye Image style |
125 | | inputWrapperStyle | {} | object | Text Input wrapper style |
126 | | inputStyle | {} | object | Text Input style |
127 | | placeholderStyle | {} | object | Text Input placeholder style |
128 | | meterType | `bar` | enum | Meter Type. Can be `bar`, `box`, `circle`, `text` |
129 | | inputProps | [Defaults](#defaults) | object | React Native's TextInput Props |
130 | | passwordProps | [Defaults](#defaults) | object | Password Component Props |
131 |
132 | #### Bar Component Props
133 | | Prop | Default | Type | Description |
134 | | :------------ |---------------:| :---------------| :-----|
135 | | password | required | string | Password Value |
136 | | touched | "" | bool | Field Touched |
137 | | scoreLimit | 100 | number | Password Score's maximum value |
138 | | variations | [Defaults](#defaults) | object | Different validations in regex to calculate password score |
139 | | minLength | 5 | number | Minimum length of the password to validate |
140 | | labelVisible | true | bool | Label Visible |
141 | | levels | [Defaults](#defaults) | array | Different Levels to calculate password score |
142 | | wrapperStyle | {} | object | Wrapper style |
143 | | barContainerStyle | {} | object | Bar Container style |
144 | | barStyle | {} | object | Bar style |
145 | | labelStyle | {} | object | Label style |
146 | | barColor | #f1f3f4 | string | Bar background color |
147 | | width | deviceWidth - 20 | number | Width of bar |
148 |
149 | #### Box Component Props
150 | | Prop | Default | Type | Description |
151 | | :------------ |---------------:| :---------------| :-----|
152 | | password | required | string | Password Value |
153 | | touched | "" | bool | Field Touched |
154 | | scoreLimit | 100 | number | Password Score's maximum value |
155 | | variations | [Defaults](#defaults) | object | Different validations in regex to calculate password score |
156 | | minLength | 5 | number | Minimum length of the password to validate |
157 | | labelVisible | true | bool | Label Visible |
158 | | levels | [Defaults](#defaults) | array | Different Levels to calculate password score |
159 | | wrapperStyle | {} | object | Wrapper style |
160 | | boxContainerStyle | {} | object | Box Container style |
161 | | boxStyle | {} | object | Box style |
162 | | labelStyle | {} | object | Label style |
163 | | boxColor | #f1f3f4 | string | Box background color |
164 | | width | deviceWidth - 20 | number | Width of box container which will be split based on the levels |
165 | | boxSpacing | 2 | number | Spacing in between the boxes |
166 |
167 | #### Circular Component Props
168 | | Prop | Default | Type | Description |
169 | | :------------ |---------------:| :---------------| :-----|
170 | | password | required | string | Password Value |
171 | | labelVisible | true | bool | Label Visible |
172 | | minLength | 5 | number | Minimum length of the password to validate |
173 | | scoreLimit | 100 | number | Password Score's maximum value |
174 | | easeDuration | 500 | number | Ease Duration of the meter needle |
175 | | variations | [Defaults](#defaults) | object | Different validations in regex to calculate password score |
176 | | levels | [Defaults](#defaults) | array | Different Levels to calculate password score |
177 | | wrapperStyle | {} | object | Wrapper style |
178 | | outerCircleStyle | {} | object | Outer circle style |
179 | | imageWrapperStyle | {} | object | Image wrapper style |
180 | | imageStyle | {} | object | Image style |
181 | | innerCircleStyle | {} | object | Inner circle style |
182 | | labelWrapperStyle | {} | object | Label wrapper style |
183 | | labelStyle | {} | object | Label style |
184 | | labelNoteStyle | {} | object | Label note style |
185 | | needleImage | [Defaults](#defaults) | string | Absolute path to the needle image |
186 |
187 | #### Text Component Props
188 | | Prop | Default | Type | Description |
189 | | :------------ |---------------:| :---------------| :-----|
190 | | password | required | string | Password Value |
191 | | touched | "" | bool | Field Touched |
192 | | scoreLimit | 100 | number | Password Score's maximum value |
193 | | variations | [Defaults](#defaults) | object | Different validations in regex to calculate password score |
194 | | minLength | 5 | number | Minimum length of the password to validate |
195 | | labelVisible | true | bool | Label Visible |
196 | | levels | [Defaults](#defaults) | array | Different Levels to calculate password score |
197 | | wrapperStyle | {} | object | Wrapper style |
198 | | labelStyle | {} | object | Label style |
199 |
200 | ### Defaults
201 | ```
202 | defaultPassword: '',
203 | containerWrapperStyle: {},
204 | imageWrapperStyle: {},
205 | imageStyle: {},
206 | inputWrapperStyle: {},
207 | inputStyle: {},
208 | placeholderStyle: {},
209 | meterType: 'bar',
210 | inputProps: {
211 | placeholder: 'Password',
212 | secureTextEntry: true,
213 | },
214 | passwordProps: {
215 | touched: false,
216 | scoreLimit: 100,
217 | variations: {
218 | digits: /\d/,
219 | lower: /[a-z]/,
220 | upper: /[A-Z]/,
221 | nonWords: /\W/,
222 | },
223 | minLength: 5,
224 | labelVisible: true,
225 | levels: [
226 | {
227 | label: 'Pathetically weak',
228 | labelColor: '#ff2900',
229 | activeBarColor: '#ff2900',
230 | },
231 | {
232 | label: 'Extremely weak',
233 | labelColor: '#ff3e00',
234 | activeBarColor: '#ff3e00',
235 | },
236 | {
237 | label: 'Very weak',
238 | labelColor: '#ff5400',
239 | activeBarColor: '#ff5400',
240 | },
241 | {
242 | label: 'Weak',
243 | labelColor: '#ff6900',
244 | activeBarColor: '#ff6900',
245 | },
246 | {
247 | label: 'So-so',
248 | labelColor: '#f4d744',
249 | activeBarColor: '#f4d744',
250 | },
251 | {
252 | label: 'Average',
253 | labelColor: '#f3d331',
254 | activeBarColor: '#f3d331',
255 | },
256 | {
257 | label: 'Fair',
258 | labelColor: '#f2cf1f',
259 | activeBarColor: '#f2cf1f',
260 | },
261 | {
262 | label: 'Strong',
263 | labelColor: '#14eb6e',
264 | activeBarColor: '#14eb6e',
265 | },
266 | {
267 | label: 'Very strong',
268 | labelColor: '#0af56d',
269 | activeBarColor: '#0af56d',
270 | },
271 | {
272 | label: 'Unbelievably strong',
273 | labelColor: '#00ff6b',
274 | activeBarColor: '#00ff6b',
275 | },
276 | ],
277 | wrapperStyle: {},
278 | labelStyle: {},
279 | width: deviceWidth - 20,
280 |
281 | // Bar
282 | barContainerStyle: {},
283 | barStyle: {},
284 | barColor: '#f1f3f4',
285 |
286 | // Box
287 | boxContainerStyle: {},
288 | boxStyle: {},
289 | boxColor: '#f1f3f4',
290 | boxSpacing: 2,
291 |
292 | // Circle
293 | outerCircleStyle: {},
294 | imageWrapperStyle: {},
295 | imageStyle: {},
296 | innerCircleStyle: {},
297 | labelWrapperStyle: {},
298 | labelNoteStyle: {},
299 | }
300 | ```
301 |
302 | ## Password Score Algorithm
303 | The Password Score calculator is based on this amazing [Stackoverflow Post](https://stackoverflow.com/a/11268104/6606831) authored by [@tm_lv](https://stackoverflow.com/users/46617/tm-lv).
304 |
305 |
306 | ## Contribution
307 |
308 | - [@pritishvaidya](mailto:pritishvaidya94@gmail.com) The main author.
309 |
310 | ## Questions
311 |
312 | Feel free to [contact me](mailto:pritishvaidya94@gmail.co) or [create an issue](https://github.com/pritishvaidya/react-native-speedometer/issues/new)
313 |
--------------------------------------------------------------------------------
/example/ios/example.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
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 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
37 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
39 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
40 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
41 | /* End PBXBuildFile section */
42 |
43 | /* Begin PBXContainerItemProxy section */
44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
45 | isa = PBXContainerItemProxy;
46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
47 | proxyType = 2;
48 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
49 | remoteInfo = RCTActionSheet;
50 | };
51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
52 | isa = PBXContainerItemProxy;
53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
54 | proxyType = 2;
55 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
56 | remoteInfo = RCTGeolocation;
57 | };
58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
59 | isa = PBXContainerItemProxy;
60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
61 | proxyType = 2;
62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
63 | remoteInfo = RCTImage;
64 | };
65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
66 | isa = PBXContainerItemProxy;
67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
68 | proxyType = 2;
69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
70 | remoteInfo = RCTNetwork;
71 | };
72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
73 | isa = PBXContainerItemProxy;
74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
75 | proxyType = 2;
76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
77 | remoteInfo = RCTVibration;
78 | };
79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
80 | isa = PBXContainerItemProxy;
81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
82 | proxyType = 1;
83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
84 | remoteInfo = example;
85 | };
86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
87 | isa = PBXContainerItemProxy;
88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
89 | proxyType = 2;
90 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
91 | remoteInfo = RCTSettings;
92 | };
93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
94 | isa = PBXContainerItemProxy;
95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
96 | proxyType = 2;
97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
98 | remoteInfo = RCTWebSocket;
99 | };
100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
101 | isa = PBXContainerItemProxy;
102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
103 | proxyType = 2;
104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
105 | remoteInfo = React;
106 | };
107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
108 | isa = PBXContainerItemProxy;
109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
110 | proxyType = 1;
111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
112 | remoteInfo = "example-tvOS";
113 | };
114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
115 | isa = PBXContainerItemProxy;
116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
117 | proxyType = 2;
118 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
119 | remoteInfo = "RCTBlob-tvOS";
120 | };
121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
122 | isa = PBXContainerItemProxy;
123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
124 | proxyType = 2;
125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
126 | remoteInfo = fishhook;
127 | };
128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
129 | isa = PBXContainerItemProxy;
130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
131 | proxyType = 2;
132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
133 | remoteInfo = "fishhook-tvOS";
134 | };
135 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
136 | isa = PBXContainerItemProxy;
137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
138 | proxyType = 2;
139 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
140 | remoteInfo = jsinspector;
141 | };
142 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
143 | isa = PBXContainerItemProxy;
144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
145 | proxyType = 2;
146 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
147 | remoteInfo = "jsinspector-tvOS";
148 | };
149 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
150 | isa = PBXContainerItemProxy;
151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
152 | proxyType = 2;
153 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
154 | remoteInfo = "third-party";
155 | };
156 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
157 | isa = PBXContainerItemProxy;
158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
159 | proxyType = 2;
160 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
161 | remoteInfo = "third-party-tvOS";
162 | };
163 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
164 | isa = PBXContainerItemProxy;
165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
166 | proxyType = 2;
167 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
168 | remoteInfo = "double-conversion";
169 | };
170 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
171 | isa = PBXContainerItemProxy;
172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
173 | proxyType = 2;
174 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
175 | remoteInfo = "double-conversion-tvOS";
176 | };
177 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
178 | isa = PBXContainerItemProxy;
179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
180 | proxyType = 2;
181 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
182 | remoteInfo = privatedata;
183 | };
184 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
185 | isa = PBXContainerItemProxy;
186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
187 | proxyType = 2;
188 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
189 | remoteInfo = "privatedata-tvOS";
190 | };
191 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
192 | isa = PBXContainerItemProxy;
193 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
194 | proxyType = 2;
195 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
196 | remoteInfo = "RCTImage-tvOS";
197 | };
198 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
199 | isa = PBXContainerItemProxy;
200 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
201 | proxyType = 2;
202 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
203 | remoteInfo = "RCTLinking-tvOS";
204 | };
205 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
206 | isa = PBXContainerItemProxy;
207 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
208 | proxyType = 2;
209 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
210 | remoteInfo = "RCTNetwork-tvOS";
211 | };
212 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
213 | isa = PBXContainerItemProxy;
214 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
215 | proxyType = 2;
216 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
217 | remoteInfo = "RCTSettings-tvOS";
218 | };
219 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
220 | isa = PBXContainerItemProxy;
221 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
222 | proxyType = 2;
223 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
224 | remoteInfo = "RCTText-tvOS";
225 | };
226 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
227 | isa = PBXContainerItemProxy;
228 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
229 | proxyType = 2;
230 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
231 | remoteInfo = "RCTWebSocket-tvOS";
232 | };
233 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
234 | isa = PBXContainerItemProxy;
235 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
236 | proxyType = 2;
237 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
238 | remoteInfo = "React-tvOS";
239 | };
240 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
241 | isa = PBXContainerItemProxy;
242 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
243 | proxyType = 2;
244 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
245 | remoteInfo = yoga;
246 | };
247 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
248 | isa = PBXContainerItemProxy;
249 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
250 | proxyType = 2;
251 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
252 | remoteInfo = "yoga-tvOS";
253 | };
254 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
255 | isa = PBXContainerItemProxy;
256 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
257 | proxyType = 2;
258 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
259 | remoteInfo = cxxreact;
260 | };
261 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
262 | isa = PBXContainerItemProxy;
263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
264 | proxyType = 2;
265 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
266 | remoteInfo = "cxxreact-tvOS";
267 | };
268 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
269 | isa = PBXContainerItemProxy;
270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
271 | proxyType = 2;
272 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
273 | remoteInfo = jschelpers;
274 | };
275 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
276 | isa = PBXContainerItemProxy;
277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
278 | proxyType = 2;
279 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
280 | remoteInfo = "jschelpers-tvOS";
281 | };
282 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
283 | isa = PBXContainerItemProxy;
284 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
285 | proxyType = 2;
286 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
287 | remoteInfo = RCTAnimation;
288 | };
289 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
290 | isa = PBXContainerItemProxy;
291 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
292 | proxyType = 2;
293 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
294 | remoteInfo = "RCTAnimation-tvOS";
295 | };
296 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
297 | isa = PBXContainerItemProxy;
298 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
299 | proxyType = 2;
300 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
301 | remoteInfo = RCTLinking;
302 | };
303 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
304 | isa = PBXContainerItemProxy;
305 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
306 | proxyType = 2;
307 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
308 | remoteInfo = RCTText;
309 | };
310 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
311 | isa = PBXContainerItemProxy;
312 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
313 | proxyType = 2;
314 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
315 | remoteInfo = RCTBlob;
316 | };
317 | /* End PBXContainerItemProxy section */
318 |
319 | /* Begin PBXFileReference section */
320 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
321 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
322 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
323 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
324 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
325 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
326 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
327 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
328 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; };
329 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
330 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
331 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
332 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; };
333 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = ""; };
334 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
335 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; };
336 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; };
337 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; };
338 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
339 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
340 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
341 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
342 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
343 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
344 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
345 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
346 | /* End PBXFileReference section */
347 |
348 | /* Begin PBXFrameworksBuildPhase section */
349 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
350 | isa = PBXFrameworksBuildPhase;
351 | buildActionMask = 2147483647;
352 | files = (
353 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
354 | );
355 | runOnlyForDeploymentPostprocessing = 0;
356 | };
357 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
358 | isa = PBXFrameworksBuildPhase;
359 | buildActionMask = 2147483647;
360 | files = (
361 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
362 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
363 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
364 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
365 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
366 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
367 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
368 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
369 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
370 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
371 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
372 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
373 | );
374 | runOnlyForDeploymentPostprocessing = 0;
375 | };
376 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
377 | isa = PBXFrameworksBuildPhase;
378 | buildActionMask = 2147483647;
379 | files = (
380 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
381 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
382 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
383 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
384 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
385 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
386 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
387 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
388 | );
389 | runOnlyForDeploymentPostprocessing = 0;
390 | };
391 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
392 | isa = PBXFrameworksBuildPhase;
393 | buildActionMask = 2147483647;
394 | files = (
395 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
396 | );
397 | runOnlyForDeploymentPostprocessing = 0;
398 | };
399 | /* End PBXFrameworksBuildPhase section */
400 |
401 | /* Begin PBXGroup section */
402 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
403 | isa = PBXGroup;
404 | children = (
405 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
406 | );
407 | name = Products;
408 | sourceTree = "";
409 | };
410 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
411 | isa = PBXGroup;
412 | children = (
413 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
414 | );
415 | name = Products;
416 | sourceTree = "";
417 | };
418 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
419 | isa = PBXGroup;
420 | children = (
421 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
422 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
423 | );
424 | name = Products;
425 | sourceTree = "";
426 | };
427 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
428 | isa = PBXGroup;
429 | children = (
430 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
431 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
432 | );
433 | name = Products;
434 | sourceTree = "";
435 | };
436 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
437 | isa = PBXGroup;
438 | children = (
439 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
440 | );
441 | name = Products;
442 | sourceTree = "";
443 | };
444 | 00E356EF1AD99517003FC87E /* exampleTests */ = {
445 | isa = PBXGroup;
446 | children = (
447 | 00E356F21AD99517003FC87E /* exampleTests.m */,
448 | 00E356F01AD99517003FC87E /* Supporting Files */,
449 | );
450 | path = exampleTests;
451 | sourceTree = "";
452 | };
453 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
454 | isa = PBXGroup;
455 | children = (
456 | 00E356F11AD99517003FC87E /* Info.plist */,
457 | );
458 | name = "Supporting Files";
459 | sourceTree = "";
460 | };
461 | 139105B71AF99BAD00B5F7CC /* Products */ = {
462 | isa = PBXGroup;
463 | children = (
464 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
465 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
466 | );
467 | name = Products;
468 | sourceTree = "";
469 | };
470 | 139FDEE71B06529A00C62182 /* Products */ = {
471 | isa = PBXGroup;
472 | children = (
473 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
474 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
475 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
476 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
477 | );
478 | name = Products;
479 | sourceTree = "";
480 | };
481 | 13B07FAE1A68108700A75B9A /* example */ = {
482 | isa = PBXGroup;
483 | children = (
484 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
485 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
486 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
487 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
488 | 13B07FB61A68108700A75B9A /* Info.plist */,
489 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
490 | 13B07FB71A68108700A75B9A /* main.m */,
491 | );
492 | name = example;
493 | sourceTree = "";
494 | };
495 | 146834001AC3E56700842450 /* Products */ = {
496 | isa = PBXGroup;
497 | children = (
498 | 146834041AC3E56700842450 /* libReact.a */,
499 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
500 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
501 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
502 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
503 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
504 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
505 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
506 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
507 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
508 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
509 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
510 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
511 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
512 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
513 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
514 | );
515 | name = Products;
516 | sourceTree = "";
517 | };
518 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
519 | isa = PBXGroup;
520 | children = (
521 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
522 | );
523 | name = Frameworks;
524 | sourceTree = "";
525 | };
526 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
527 | isa = PBXGroup;
528 | children = (
529 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
530 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
531 | );
532 | name = Products;
533 | sourceTree = "";
534 | };
535 | 78C398B11ACF4ADC00677621 /* Products */ = {
536 | isa = PBXGroup;
537 | children = (
538 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
539 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
540 | );
541 | name = Products;
542 | sourceTree = "";
543 | };
544 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
545 | isa = PBXGroup;
546 | children = (
547 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
548 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
549 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
550 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
551 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
552 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
553 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
554 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
555 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
556 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
557 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
558 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
559 | );
560 | name = Libraries;
561 | sourceTree = "";
562 | };
563 | 832341B11AAA6A8300B99B32 /* Products */ = {
564 | isa = PBXGroup;
565 | children = (
566 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
567 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
568 | );
569 | name = Products;
570 | sourceTree = "";
571 | };
572 | 83CBB9F61A601CBA00E9B192 = {
573 | isa = PBXGroup;
574 | children = (
575 | 13B07FAE1A68108700A75B9A /* example */,
576 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
577 | 00E356EF1AD99517003FC87E /* exampleTests */,
578 | 83CBBA001A601CBA00E9B192 /* Products */,
579 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
580 | );
581 | indentWidth = 2;
582 | sourceTree = "";
583 | tabWidth = 2;
584 | usesTabs = 0;
585 | };
586 | 83CBBA001A601CBA00E9B192 /* Products */ = {
587 | isa = PBXGroup;
588 | children = (
589 | 13B07F961A680F5B00A75B9A /* example.app */,
590 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */,
591 | 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */,
592 | 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */,
593 | );
594 | name = Products;
595 | sourceTree = "";
596 | };
597 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
598 | isa = PBXGroup;
599 | children = (
600 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
601 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
602 | );
603 | name = Products;
604 | sourceTree = "";
605 | };
606 | /* End PBXGroup section */
607 |
608 | /* Begin PBXNativeTarget section */
609 | 00E356ED1AD99517003FC87E /* exampleTests */ = {
610 | isa = PBXNativeTarget;
611 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
612 | buildPhases = (
613 | 00E356EA1AD99517003FC87E /* Sources */,
614 | 00E356EB1AD99517003FC87E /* Frameworks */,
615 | 00E356EC1AD99517003FC87E /* Resources */,
616 | );
617 | buildRules = (
618 | );
619 | dependencies = (
620 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
621 | );
622 | name = exampleTests;
623 | productName = exampleTests;
624 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
625 | productType = "com.apple.product-type.bundle.unit-test";
626 | };
627 | 13B07F861A680F5B00A75B9A /* example */ = {
628 | isa = PBXNativeTarget;
629 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
630 | buildPhases = (
631 | 13B07F871A680F5B00A75B9A /* Sources */,
632 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
633 | 13B07F8E1A680F5B00A75B9A /* Resources */,
634 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
635 | );
636 | buildRules = (
637 | );
638 | dependencies = (
639 | );
640 | name = example;
641 | productName = "Hello World";
642 | productReference = 13B07F961A680F5B00A75B9A /* example.app */;
643 | productType = "com.apple.product-type.application";
644 | };
645 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */ = {
646 | isa = PBXNativeTarget;
647 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */;
648 | buildPhases = (
649 | 2D02E4771E0B4A5D006451C7 /* Sources */,
650 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
651 | 2D02E4791E0B4A5D006451C7 /* Resources */,
652 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
653 | );
654 | buildRules = (
655 | );
656 | dependencies = (
657 | );
658 | name = "example-tvOS";
659 | productName = "example-tvOS";
660 | productReference = 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */;
661 | productType = "com.apple.product-type.application";
662 | };
663 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */ = {
664 | isa = PBXNativeTarget;
665 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */;
666 | buildPhases = (
667 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
668 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
669 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
670 | );
671 | buildRules = (
672 | );
673 | dependencies = (
674 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
675 | );
676 | name = "example-tvOSTests";
677 | productName = "example-tvOSTests";
678 | productReference = 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */;
679 | productType = "com.apple.product-type.bundle.unit-test";
680 | };
681 | /* End PBXNativeTarget section */
682 |
683 | /* Begin PBXProject section */
684 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
685 | isa = PBXProject;
686 | attributes = {
687 | LastUpgradeCheck = 0940;
688 | ORGANIZATIONNAME = Facebook;
689 | TargetAttributes = {
690 | 00E356ED1AD99517003FC87E = {
691 | CreatedOnToolsVersion = 6.2;
692 | TestTargetID = 13B07F861A680F5B00A75B9A;
693 | };
694 | 2D02E47A1E0B4A5D006451C7 = {
695 | CreatedOnToolsVersion = 8.2.1;
696 | ProvisioningStyle = Automatic;
697 | };
698 | 2D02E48F1E0B4A5D006451C7 = {
699 | CreatedOnToolsVersion = 8.2.1;
700 | ProvisioningStyle = Automatic;
701 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
702 | };
703 | };
704 | };
705 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
706 | compatibilityVersion = "Xcode 3.2";
707 | developmentRegion = English;
708 | hasScannedForEncodings = 0;
709 | knownRegions = (
710 | en,
711 | Base,
712 | );
713 | mainGroup = 83CBB9F61A601CBA00E9B192;
714 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
715 | projectDirPath = "";
716 | projectReferences = (
717 | {
718 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
719 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
720 | },
721 | {
722 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
723 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
724 | },
725 | {
726 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
727 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
728 | },
729 | {
730 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
731 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
732 | },
733 | {
734 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
735 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
736 | },
737 | {
738 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
739 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
740 | },
741 | {
742 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
743 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
744 | },
745 | {
746 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
747 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
748 | },
749 | {
750 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
751 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
752 | },
753 | {
754 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
755 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
756 | },
757 | {
758 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
759 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
760 | },
761 | {
762 | ProductGroup = 146834001AC3E56700842450 /* Products */;
763 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
764 | },
765 | );
766 | projectRoot = "";
767 | targets = (
768 | 13B07F861A680F5B00A75B9A /* example */,
769 | 00E356ED1AD99517003FC87E /* exampleTests */,
770 | 2D02E47A1E0B4A5D006451C7 /* example-tvOS */,
771 | 2D02E48F1E0B4A5D006451C7 /* example-tvOSTests */,
772 | );
773 | };
774 | /* End PBXProject section */
775 |
776 | /* Begin PBXReferenceProxy section */
777 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
778 | isa = PBXReferenceProxy;
779 | fileType = archive.ar;
780 | path = libRCTActionSheet.a;
781 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
782 | sourceTree = BUILT_PRODUCTS_DIR;
783 | };
784 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
785 | isa = PBXReferenceProxy;
786 | fileType = archive.ar;
787 | path = libRCTGeolocation.a;
788 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
789 | sourceTree = BUILT_PRODUCTS_DIR;
790 | };
791 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
792 | isa = PBXReferenceProxy;
793 | fileType = archive.ar;
794 | path = libRCTImage.a;
795 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
796 | sourceTree = BUILT_PRODUCTS_DIR;
797 | };
798 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
799 | isa = PBXReferenceProxy;
800 | fileType = archive.ar;
801 | path = libRCTNetwork.a;
802 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
803 | sourceTree = BUILT_PRODUCTS_DIR;
804 | };
805 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
806 | isa = PBXReferenceProxy;
807 | fileType = archive.ar;
808 | path = libRCTVibration.a;
809 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
810 | sourceTree = BUILT_PRODUCTS_DIR;
811 | };
812 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
813 | isa = PBXReferenceProxy;
814 | fileType = archive.ar;
815 | path = libRCTSettings.a;
816 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
817 | sourceTree = BUILT_PRODUCTS_DIR;
818 | };
819 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
820 | isa = PBXReferenceProxy;
821 | fileType = archive.ar;
822 | path = libRCTWebSocket.a;
823 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
824 | sourceTree = BUILT_PRODUCTS_DIR;
825 | };
826 | 146834041AC3E56700842450 /* libReact.a */ = {
827 | isa = PBXReferenceProxy;
828 | fileType = archive.ar;
829 | path = libReact.a;
830 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
831 | sourceTree = BUILT_PRODUCTS_DIR;
832 | };
833 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
834 | isa = PBXReferenceProxy;
835 | fileType = archive.ar;
836 | path = "libRCTBlob-tvOS.a";
837 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
838 | sourceTree = BUILT_PRODUCTS_DIR;
839 | };
840 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
841 | isa = PBXReferenceProxy;
842 | fileType = archive.ar;
843 | path = libfishhook.a;
844 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
845 | sourceTree = BUILT_PRODUCTS_DIR;
846 | };
847 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
848 | isa = PBXReferenceProxy;
849 | fileType = archive.ar;
850 | path = "libfishhook-tvOS.a";
851 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
852 | sourceTree = BUILT_PRODUCTS_DIR;
853 | };
854 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
855 | isa = PBXReferenceProxy;
856 | fileType = archive.ar;
857 | path = libjsinspector.a;
858 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
859 | sourceTree = BUILT_PRODUCTS_DIR;
860 | };
861 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
862 | isa = PBXReferenceProxy;
863 | fileType = archive.ar;
864 | path = "libjsinspector-tvOS.a";
865 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
866 | sourceTree = BUILT_PRODUCTS_DIR;
867 | };
868 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
869 | isa = PBXReferenceProxy;
870 | fileType = archive.ar;
871 | path = "libthird-party.a";
872 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
873 | sourceTree = BUILT_PRODUCTS_DIR;
874 | };
875 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
876 | isa = PBXReferenceProxy;
877 | fileType = archive.ar;
878 | path = "libthird-party.a";
879 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
880 | sourceTree = BUILT_PRODUCTS_DIR;
881 | };
882 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
883 | isa = PBXReferenceProxy;
884 | fileType = archive.ar;
885 | path = "libdouble-conversion.a";
886 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
887 | sourceTree = BUILT_PRODUCTS_DIR;
888 | };
889 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
890 | isa = PBXReferenceProxy;
891 | fileType = archive.ar;
892 | path = "libdouble-conversion.a";
893 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
894 | sourceTree = BUILT_PRODUCTS_DIR;
895 | };
896 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
897 | isa = PBXReferenceProxy;
898 | fileType = archive.ar;
899 | path = libprivatedata.a;
900 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
901 | sourceTree = BUILT_PRODUCTS_DIR;
902 | };
903 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
904 | isa = PBXReferenceProxy;
905 | fileType = archive.ar;
906 | path = "libprivatedata-tvOS.a";
907 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
908 | sourceTree = BUILT_PRODUCTS_DIR;
909 | };
910 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
911 | isa = PBXReferenceProxy;
912 | fileType = archive.ar;
913 | path = "libRCTImage-tvOS.a";
914 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
915 | sourceTree = BUILT_PRODUCTS_DIR;
916 | };
917 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
918 | isa = PBXReferenceProxy;
919 | fileType = archive.ar;
920 | path = "libRCTLinking-tvOS.a";
921 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
922 | sourceTree = BUILT_PRODUCTS_DIR;
923 | };
924 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
925 | isa = PBXReferenceProxy;
926 | fileType = archive.ar;
927 | path = "libRCTNetwork-tvOS.a";
928 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
929 | sourceTree = BUILT_PRODUCTS_DIR;
930 | };
931 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
932 | isa = PBXReferenceProxy;
933 | fileType = archive.ar;
934 | path = "libRCTSettings-tvOS.a";
935 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
936 | sourceTree = BUILT_PRODUCTS_DIR;
937 | };
938 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
939 | isa = PBXReferenceProxy;
940 | fileType = archive.ar;
941 | path = "libRCTText-tvOS.a";
942 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
943 | sourceTree = BUILT_PRODUCTS_DIR;
944 | };
945 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
946 | isa = PBXReferenceProxy;
947 | fileType = archive.ar;
948 | path = "libRCTWebSocket-tvOS.a";
949 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
950 | sourceTree = BUILT_PRODUCTS_DIR;
951 | };
952 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
953 | isa = PBXReferenceProxy;
954 | fileType = archive.ar;
955 | path = libReact.a;
956 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
957 | sourceTree = BUILT_PRODUCTS_DIR;
958 | };
959 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
960 | isa = PBXReferenceProxy;
961 | fileType = archive.ar;
962 | path = libyoga.a;
963 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
964 | sourceTree = BUILT_PRODUCTS_DIR;
965 | };
966 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
967 | isa = PBXReferenceProxy;
968 | fileType = archive.ar;
969 | path = libyoga.a;
970 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
971 | sourceTree = BUILT_PRODUCTS_DIR;
972 | };
973 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
974 | isa = PBXReferenceProxy;
975 | fileType = archive.ar;
976 | path = libcxxreact.a;
977 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
978 | sourceTree = BUILT_PRODUCTS_DIR;
979 | };
980 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
981 | isa = PBXReferenceProxy;
982 | fileType = archive.ar;
983 | path = libcxxreact.a;
984 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
985 | sourceTree = BUILT_PRODUCTS_DIR;
986 | };
987 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
988 | isa = PBXReferenceProxy;
989 | fileType = archive.ar;
990 | path = libjschelpers.a;
991 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
992 | sourceTree = BUILT_PRODUCTS_DIR;
993 | };
994 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
995 | isa = PBXReferenceProxy;
996 | fileType = archive.ar;
997 | path = libjschelpers.a;
998 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
999 | sourceTree = BUILT_PRODUCTS_DIR;
1000 | };
1001 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1002 | isa = PBXReferenceProxy;
1003 | fileType = archive.ar;
1004 | path = libRCTAnimation.a;
1005 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1006 | sourceTree = BUILT_PRODUCTS_DIR;
1007 | };
1008 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1009 | isa = PBXReferenceProxy;
1010 | fileType = archive.ar;
1011 | path = libRCTAnimation.a;
1012 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1013 | sourceTree = BUILT_PRODUCTS_DIR;
1014 | };
1015 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1016 | isa = PBXReferenceProxy;
1017 | fileType = archive.ar;
1018 | path = libRCTLinking.a;
1019 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1020 | sourceTree = BUILT_PRODUCTS_DIR;
1021 | };
1022 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1023 | isa = PBXReferenceProxy;
1024 | fileType = archive.ar;
1025 | path = libRCTText.a;
1026 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1027 | sourceTree = BUILT_PRODUCTS_DIR;
1028 | };
1029 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1030 | isa = PBXReferenceProxy;
1031 | fileType = archive.ar;
1032 | path = libRCTBlob.a;
1033 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1034 | sourceTree = BUILT_PRODUCTS_DIR;
1035 | };
1036 | /* End PBXReferenceProxy section */
1037 |
1038 | /* Begin PBXResourcesBuildPhase section */
1039 | 00E356EC1AD99517003FC87E /* Resources */ = {
1040 | isa = PBXResourcesBuildPhase;
1041 | buildActionMask = 2147483647;
1042 | files = (
1043 | );
1044 | runOnlyForDeploymentPostprocessing = 0;
1045 | };
1046 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1047 | isa = PBXResourcesBuildPhase;
1048 | buildActionMask = 2147483647;
1049 | files = (
1050 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1051 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1052 | );
1053 | runOnlyForDeploymentPostprocessing = 0;
1054 | };
1055 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1056 | isa = PBXResourcesBuildPhase;
1057 | buildActionMask = 2147483647;
1058 | files = (
1059 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1060 | );
1061 | runOnlyForDeploymentPostprocessing = 0;
1062 | };
1063 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1064 | isa = PBXResourcesBuildPhase;
1065 | buildActionMask = 2147483647;
1066 | files = (
1067 | );
1068 | runOnlyForDeploymentPostprocessing = 0;
1069 | };
1070 | /* End PBXResourcesBuildPhase section */
1071 |
1072 | /* Begin PBXShellScriptBuildPhase section */
1073 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1074 | isa = PBXShellScriptBuildPhase;
1075 | buildActionMask = 2147483647;
1076 | files = (
1077 | );
1078 | inputPaths = (
1079 | );
1080 | name = "Bundle React Native code and images";
1081 | outputPaths = (
1082 | );
1083 | runOnlyForDeploymentPostprocessing = 0;
1084 | shellPath = /bin/sh;
1085 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1086 | };
1087 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1088 | isa = PBXShellScriptBuildPhase;
1089 | buildActionMask = 2147483647;
1090 | files = (
1091 | );
1092 | inputPaths = (
1093 | );
1094 | name = "Bundle React Native Code And Images";
1095 | outputPaths = (
1096 | );
1097 | runOnlyForDeploymentPostprocessing = 0;
1098 | shellPath = /bin/sh;
1099 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1100 | };
1101 | /* End PBXShellScriptBuildPhase section */
1102 |
1103 | /* Begin PBXSourcesBuildPhase section */
1104 | 00E356EA1AD99517003FC87E /* Sources */ = {
1105 | isa = PBXSourcesBuildPhase;
1106 | buildActionMask = 2147483647;
1107 | files = (
1108 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */,
1109 | );
1110 | runOnlyForDeploymentPostprocessing = 0;
1111 | };
1112 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1113 | isa = PBXSourcesBuildPhase;
1114 | buildActionMask = 2147483647;
1115 | files = (
1116 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1117 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1118 | );
1119 | runOnlyForDeploymentPostprocessing = 0;
1120 | };
1121 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1122 | isa = PBXSourcesBuildPhase;
1123 | buildActionMask = 2147483647;
1124 | files = (
1125 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1126 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1127 | );
1128 | runOnlyForDeploymentPostprocessing = 0;
1129 | };
1130 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1131 | isa = PBXSourcesBuildPhase;
1132 | buildActionMask = 2147483647;
1133 | files = (
1134 | 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */,
1135 | );
1136 | runOnlyForDeploymentPostprocessing = 0;
1137 | };
1138 | /* End PBXSourcesBuildPhase section */
1139 |
1140 | /* Begin PBXTargetDependency section */
1141 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1142 | isa = PBXTargetDependency;
1143 | target = 13B07F861A680F5B00A75B9A /* example */;
1144 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1145 | };
1146 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1147 | isa = PBXTargetDependency;
1148 | target = 2D02E47A1E0B4A5D006451C7 /* example-tvOS */;
1149 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1150 | };
1151 | /* End PBXTargetDependency section */
1152 |
1153 | /* Begin PBXVariantGroup section */
1154 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1155 | isa = PBXVariantGroup;
1156 | children = (
1157 | 13B07FB21A68108700A75B9A /* Base */,
1158 | );
1159 | name = LaunchScreen.xib;
1160 | path = example;
1161 | sourceTree = "";
1162 | };
1163 | /* End PBXVariantGroup section */
1164 |
1165 | /* Begin XCBuildConfiguration section */
1166 | 00E356F61AD99517003FC87E /* Debug */ = {
1167 | isa = XCBuildConfiguration;
1168 | buildSettings = {
1169 | BUNDLE_LOADER = "$(TEST_HOST)";
1170 | GCC_PREPROCESSOR_DEFINITIONS = (
1171 | "DEBUG=1",
1172 | "$(inherited)",
1173 | );
1174 | INFOPLIST_FILE = exampleTests/Info.plist;
1175 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1176 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1177 | OTHER_LDFLAGS = (
1178 | "-ObjC",
1179 | "-lc++",
1180 | );
1181 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1182 | PRODUCT_NAME = "$(TARGET_NAME)";
1183 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1184 | };
1185 | name = Debug;
1186 | };
1187 | 00E356F71AD99517003FC87E /* Release */ = {
1188 | isa = XCBuildConfiguration;
1189 | buildSettings = {
1190 | BUNDLE_LOADER = "$(TEST_HOST)";
1191 | COPY_PHASE_STRIP = NO;
1192 | INFOPLIST_FILE = exampleTests/Info.plist;
1193 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1194 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1195 | OTHER_LDFLAGS = (
1196 | "-ObjC",
1197 | "-lc++",
1198 | );
1199 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1200 | PRODUCT_NAME = "$(TARGET_NAME)";
1201 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
1202 | };
1203 | name = Release;
1204 | };
1205 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1206 | isa = XCBuildConfiguration;
1207 | buildSettings = {
1208 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1209 | CURRENT_PROJECT_VERSION = 1;
1210 | DEAD_CODE_STRIPPING = NO;
1211 | INFOPLIST_FILE = example/Info.plist;
1212 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1213 | OTHER_LDFLAGS = (
1214 | "$(inherited)",
1215 | "-ObjC",
1216 | "-lc++",
1217 | );
1218 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1219 | PRODUCT_NAME = example;
1220 | VERSIONING_SYSTEM = "apple-generic";
1221 | };
1222 | name = Debug;
1223 | };
1224 | 13B07F951A680F5B00A75B9A /* Release */ = {
1225 | isa = XCBuildConfiguration;
1226 | buildSettings = {
1227 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1228 | CURRENT_PROJECT_VERSION = 1;
1229 | INFOPLIST_FILE = example/Info.plist;
1230 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1231 | OTHER_LDFLAGS = (
1232 | "$(inherited)",
1233 | "-ObjC",
1234 | "-lc++",
1235 | );
1236 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1237 | PRODUCT_NAME = example;
1238 | VERSIONING_SYSTEM = "apple-generic";
1239 | };
1240 | name = Release;
1241 | };
1242 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1243 | isa = XCBuildConfiguration;
1244 | buildSettings = {
1245 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1246 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1247 | CLANG_ANALYZER_NONNULL = YES;
1248 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1249 | CLANG_WARN_INFINITE_RECURSION = YES;
1250 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1251 | DEBUG_INFORMATION_FORMAT = dwarf;
1252 | ENABLE_TESTABILITY = YES;
1253 | GCC_NO_COMMON_BLOCKS = YES;
1254 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1255 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1256 | OTHER_LDFLAGS = (
1257 | "-ObjC",
1258 | "-lc++",
1259 | );
1260 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1261 | PRODUCT_NAME = "$(TARGET_NAME)";
1262 | SDKROOT = appletvos;
1263 | TARGETED_DEVICE_FAMILY = 3;
1264 | TVOS_DEPLOYMENT_TARGET = 9.2;
1265 | };
1266 | name = Debug;
1267 | };
1268 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1269 | isa = XCBuildConfiguration;
1270 | buildSettings = {
1271 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1272 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1273 | CLANG_ANALYZER_NONNULL = YES;
1274 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1275 | CLANG_WARN_INFINITE_RECURSION = YES;
1276 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1277 | COPY_PHASE_STRIP = NO;
1278 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1279 | GCC_NO_COMMON_BLOCKS = YES;
1280 | INFOPLIST_FILE = "example-tvOS/Info.plist";
1281 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1282 | OTHER_LDFLAGS = (
1283 | "-ObjC",
1284 | "-lc++",
1285 | );
1286 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOS";
1287 | PRODUCT_NAME = "$(TARGET_NAME)";
1288 | SDKROOT = appletvos;
1289 | TARGETED_DEVICE_FAMILY = 3;
1290 | TVOS_DEPLOYMENT_TARGET = 9.2;
1291 | };
1292 | name = Release;
1293 | };
1294 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1295 | isa = XCBuildConfiguration;
1296 | buildSettings = {
1297 | BUNDLE_LOADER = "$(TEST_HOST)";
1298 | CLANG_ANALYZER_NONNULL = YES;
1299 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1300 | CLANG_WARN_INFINITE_RECURSION = YES;
1301 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1302 | DEBUG_INFORMATION_FORMAT = dwarf;
1303 | ENABLE_TESTABILITY = YES;
1304 | GCC_NO_COMMON_BLOCKS = YES;
1305 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1306 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1307 | OTHER_LDFLAGS = (
1308 | "-ObjC",
1309 | "-lc++",
1310 | );
1311 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1312 | PRODUCT_NAME = "$(TARGET_NAME)";
1313 | SDKROOT = appletvos;
1314 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1315 | TVOS_DEPLOYMENT_TARGET = 10.1;
1316 | };
1317 | name = Debug;
1318 | };
1319 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1320 | isa = XCBuildConfiguration;
1321 | buildSettings = {
1322 | BUNDLE_LOADER = "$(TEST_HOST)";
1323 | CLANG_ANALYZER_NONNULL = YES;
1324 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1325 | CLANG_WARN_INFINITE_RECURSION = YES;
1326 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1327 | COPY_PHASE_STRIP = NO;
1328 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1329 | GCC_NO_COMMON_BLOCKS = YES;
1330 | INFOPLIST_FILE = "example-tvOSTests/Info.plist";
1331 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1332 | OTHER_LDFLAGS = (
1333 | "-ObjC",
1334 | "-lc++",
1335 | );
1336 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.example-tvOSTests";
1337 | PRODUCT_NAME = "$(TARGET_NAME)";
1338 | SDKROOT = appletvos;
1339 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example-tvOS.app/example-tvOS";
1340 | TVOS_DEPLOYMENT_TARGET = 10.1;
1341 | };
1342 | name = Release;
1343 | };
1344 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1345 | isa = XCBuildConfiguration;
1346 | buildSettings = {
1347 | ALWAYS_SEARCH_USER_PATHS = NO;
1348 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1349 | CLANG_CXX_LIBRARY = "libc++";
1350 | CLANG_ENABLE_MODULES = YES;
1351 | CLANG_ENABLE_OBJC_ARC = YES;
1352 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1353 | CLANG_WARN_BOOL_CONVERSION = YES;
1354 | CLANG_WARN_COMMA = YES;
1355 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1356 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1357 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1358 | CLANG_WARN_EMPTY_BODY = YES;
1359 | CLANG_WARN_ENUM_CONVERSION = YES;
1360 | CLANG_WARN_INFINITE_RECURSION = YES;
1361 | CLANG_WARN_INT_CONVERSION = YES;
1362 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1363 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1364 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1365 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1366 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1367 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1368 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1369 | CLANG_WARN_UNREACHABLE_CODE = YES;
1370 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1371 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1372 | COPY_PHASE_STRIP = NO;
1373 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1374 | ENABLE_TESTABILITY = YES;
1375 | GCC_C_LANGUAGE_STANDARD = gnu99;
1376 | GCC_DYNAMIC_NO_PIC = NO;
1377 | GCC_NO_COMMON_BLOCKS = YES;
1378 | GCC_OPTIMIZATION_LEVEL = 0;
1379 | GCC_PREPROCESSOR_DEFINITIONS = (
1380 | "DEBUG=1",
1381 | "$(inherited)",
1382 | );
1383 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1384 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1385 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1386 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1387 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1388 | GCC_WARN_UNUSED_FUNCTION = YES;
1389 | GCC_WARN_UNUSED_VARIABLE = YES;
1390 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1391 | MTL_ENABLE_DEBUG_INFO = YES;
1392 | ONLY_ACTIVE_ARCH = YES;
1393 | SDKROOT = iphoneos;
1394 | };
1395 | name = Debug;
1396 | };
1397 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1398 | isa = XCBuildConfiguration;
1399 | buildSettings = {
1400 | ALWAYS_SEARCH_USER_PATHS = NO;
1401 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1402 | CLANG_CXX_LIBRARY = "libc++";
1403 | CLANG_ENABLE_MODULES = YES;
1404 | CLANG_ENABLE_OBJC_ARC = YES;
1405 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1406 | CLANG_WARN_BOOL_CONVERSION = YES;
1407 | CLANG_WARN_COMMA = YES;
1408 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1409 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1410 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1411 | CLANG_WARN_EMPTY_BODY = YES;
1412 | CLANG_WARN_ENUM_CONVERSION = YES;
1413 | CLANG_WARN_INFINITE_RECURSION = YES;
1414 | CLANG_WARN_INT_CONVERSION = YES;
1415 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1416 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1417 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1418 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1419 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1420 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1421 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1422 | CLANG_WARN_UNREACHABLE_CODE = YES;
1423 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1424 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1425 | COPY_PHASE_STRIP = YES;
1426 | ENABLE_NS_ASSERTIONS = NO;
1427 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1428 | GCC_C_LANGUAGE_STANDARD = gnu99;
1429 | GCC_NO_COMMON_BLOCKS = YES;
1430 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1431 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1432 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1433 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1434 | GCC_WARN_UNUSED_FUNCTION = YES;
1435 | GCC_WARN_UNUSED_VARIABLE = YES;
1436 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1437 | MTL_ENABLE_DEBUG_INFO = NO;
1438 | SDKROOT = iphoneos;
1439 | VALIDATE_PRODUCT = YES;
1440 | };
1441 | name = Release;
1442 | };
1443 | /* End XCBuildConfiguration section */
1444 |
1445 | /* Begin XCConfigurationList section */
1446 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
1447 | isa = XCConfigurationList;
1448 | buildConfigurations = (
1449 | 00E356F61AD99517003FC87E /* Debug */,
1450 | 00E356F71AD99517003FC87E /* Release */,
1451 | );
1452 | defaultConfigurationIsVisible = 0;
1453 | defaultConfigurationName = Release;
1454 | };
1455 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
1456 | isa = XCConfigurationList;
1457 | buildConfigurations = (
1458 | 13B07F941A680F5B00A75B9A /* Debug */,
1459 | 13B07F951A680F5B00A75B9A /* Release */,
1460 | );
1461 | defaultConfigurationIsVisible = 0;
1462 | defaultConfigurationName = Release;
1463 | };
1464 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOS" */ = {
1465 | isa = XCConfigurationList;
1466 | buildConfigurations = (
1467 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1468 | 2D02E4981E0B4A5E006451C7 /* Release */,
1469 | );
1470 | defaultConfigurationIsVisible = 0;
1471 | defaultConfigurationName = Release;
1472 | };
1473 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "example-tvOSTests" */ = {
1474 | isa = XCConfigurationList;
1475 | buildConfigurations = (
1476 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1477 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1478 | );
1479 | defaultConfigurationIsVisible = 0;
1480 | defaultConfigurationName = Release;
1481 | };
1482 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = {
1483 | isa = XCConfigurationList;
1484 | buildConfigurations = (
1485 | 83CBBA201A601CBA00E9B192 /* Debug */,
1486 | 83CBBA211A601CBA00E9B192 /* Release */,
1487 | );
1488 | defaultConfigurationIsVisible = 0;
1489 | defaultConfigurationName = Release;
1490 | };
1491 | /* End XCConfigurationList section */
1492 | };
1493 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1494 | }
1495 |
--------------------------------------------------------------------------------