├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitignore ├── .watchmanconfig ├── README.md ├── __tests__ ├── index.android.js └── index.ios.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── Rubik-Black.ttf │ │ │ ├── Rubik-BlackItalic.ttf │ │ │ ├── Rubik-Bold.ttf │ │ │ ├── Rubik-BoldItalic.ttf │ │ │ ├── Rubik-Italic.ttf │ │ │ ├── Rubik-Light.ttf │ │ │ ├── Rubik-LightItalic.ttf │ │ │ ├── Rubik-Medium.ttf │ │ │ ├── Rubik-MediumItalic.ttf │ │ │ ├── Rubik-Regular.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ ├── Zocial.ttf │ │ │ └── rubicon-icon-font.ttf │ │ ├── java │ │ └── io │ │ │ └── insider │ │ │ └── qrcode │ │ │ ├── FirebaseAnalyticsModule.java │ │ │ ├── FirebaseAnalyticsPackage.java │ │ │ ├── FirebaseCrashModule.java │ │ │ ├── FirebaseCrashPackage.java │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── colors.xml │ │ ├── com_crashlytics_export_strings.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── index.android.js ├── index.ios.js ├── ios ├── QRCode.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── QRCode.xcscheme ├── QRCode │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── QRCodeTests │ ├── Info.plist │ └── QRCodeTests.m ├── js ├── BarcodeScannerApp.js ├── FirebaseAnalytics.js ├── ViewFinder.js └── img │ ├── clock.png │ ├── flash_light.png │ └── plus.png └── package.json /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | # We fork some components by platform. 4 | .*/*[.]android.js 5 | 6 | # Ignore templates with `@flow` in header 7 | .*/local-cli/generator.* 8 | 9 | # Ignore malformed json 10 | .*/node_modules/y18n/test/.*\.json 11 | 12 | # Ignore the website subdir 13 | /website/.* 14 | 15 | # Ignore BUCK generated dirs 16 | /\.buckd/ 17 | 18 | # Ignore unexpected extra @providesModule 19 | .*/node_modules/commoner/test/source/widget/share.js 20 | 21 | # Ignore duplicate module providers 22 | # For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root 23 | .*/Libraries/react-native/React.js 24 | .*/Libraries/react-native/ReactNative.js 25 | .*/node_modules/jest-runtime/build/__tests__/.* 26 | 27 | [include] 28 | 29 | [libs] 30 | node_modules/react-native/Libraries/react-native/react-native-interface.js 31 | node_modules/react-native/flow 32 | flow/ 33 | 34 | [options] 35 | module.system=haste 36 | 37 | esproposal.class_static_fields=enable 38 | esproposal.class_instance_fields=enable 39 | 40 | experimental.strict_type_args=true 41 | 42 | munge_underscores=true 43 | 44 | module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' 45 | 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' 46 | 47 | suppress_type=$FlowIssue 48 | suppress_type=$FlowFixMe 49 | suppress_type=$FixMe 50 | 51 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 52 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 53 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 54 | 55 | unsafe.enable_getters_and_setters=true 56 | 57 | [version] 58 | ^0.33.0 59 | -------------------------------------------------------------------------------- /.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/IJ 26 | # 27 | *.iml 28 | .idea 29 | .gradle 30 | local.properties 31 | 32 | # node.js 33 | # 34 | node_modules/ 35 | npm-debug.log 36 | 37 | # BUCK 38 | buck-out/ 39 | \.buckd/ 40 | android/app/libs 41 | android/keystores/debug.keystore 42 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React-Native-Qrcode-App 2 | 3 | QRCode Reader and Generator - simple app written on React Native. 4 | 5 | ## Demo 6 | 7 | [![Play Store Button](http://imgur.com/utWa1co.png "Play Store Button")](https://play.google.com/store/apps/details?id=io.insider.qrcode) 8 | 9 | ## Android Screenshots 10 | 11 | ![Android Screen 1](http://i.imgur.com/K39Tjaq.jpg "Screen 1") 12 | 13 | ## Libraries in this project 14 | 15 | - [Shoutem UI](http://shoutem.github.io/docs/ui-toolkit) - Beutiful UI kit to speed up RN apps development 16 | - [react-native-camera](https://github.com/lwansbrough/react-native-camera) 17 | - [react-native-code-push](https://github.com/Microsoft/react-native-code-push) - Instant application updates 18 | - [react-native-localization](https://github.com/stefalda/ReactNativeLocalization) - App localization 19 | - [Firebase](https://firebase.google.com/) for analytics and crash reporting 20 | 21 | ## Installation 22 | 23 | Once you have downloaded or cloned this repository, run `npm install` inside the directory. 24 | 25 | ## Usage 26 | - [Setting up React Native for Android](https://facebook.github.io/react-native/docs/android-setup.html#content) 27 | - [Running app on Android Device](https://facebook.github.io/react-native/docs/running-on-device-android.html#content) 28 | - [Running app on iOS Device](https://facebook.github.io/react-native/docs/running-on-device-ios.html#content) 29 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'io.insider.qrcode', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'io.insider.qrcode', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | apply from: "../../node_modules/react-native-code-push/android/codepush.gradle" 70 | 71 | /** 72 | * Set this to true to create two separate APKs instead of one: 73 | * - An APK that only works on ARM devices 74 | * - An APK that only works on x86 devices 75 | * The advantage is the size of the APK is reduced by about 4MB. 76 | * Upload all the APKs to the Play Store and people will download 77 | * the correct one based on the CPU architecture of their device. 78 | */ 79 | def enableSeparateBuildPerCPUArchitecture = false 80 | 81 | /** 82 | * Run Proguard to shrink the Java bytecode in release builds. 83 | */ 84 | def enableProguardInReleaseBuilds = false 85 | 86 | android { 87 | compileSdkVersion 23 88 | buildToolsVersion "23.0.1" 89 | 90 | defaultConfig { 91 | applicationId "io.insider.qrcode" 92 | minSdkVersion 16 93 | targetSdkVersion 22 94 | versionCode 1 95 | versionName "1.0.0" 96 | ndk { 97 | abiFilters "armeabi-v7a", "x86" 98 | } 99 | } 100 | signingConfigs { 101 | release { 102 | storeFile file(MYAPP_RELEASE_STORE_FILE) 103 | storePassword MYAPP_RELEASE_STORE_PASSWORD 104 | keyAlias MYAPP_RELEASE_KEY_ALIAS 105 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 106 | } 107 | } 108 | splits { 109 | abi { 110 | reset() 111 | enable enableSeparateBuildPerCPUArchitecture 112 | universalApk false // If true, also generate a universal APK 113 | include "armeabi-v7a", "x86" 114 | } 115 | } 116 | buildTypes { 117 | release { 118 | minifyEnabled enableProguardInReleaseBuilds 119 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 120 | signingConfig signingConfigs.release 121 | } 122 | } 123 | // applicationVariants are e.g. debug, release 124 | applicationVariants.all { variant -> 125 | variant.outputs.each { output -> 126 | // For each separate APK per architecture, set a unique version code as described here: 127 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 128 | def versionCodes = ["armeabi-v7a": 1, "x86": 2] 129 | def abi = output.getFilter(OutputFile.ABI) 130 | if (abi != null) { // null for the universal-debug, universal-release variants 131 | output.versionCodeOverride = 132 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 133 | } 134 | } 135 | } 136 | } 137 | 138 | dependencies { 139 | compile project(':react-native-localization') 140 | compile project(':react-native-code-push') 141 | compile project(':react-native-vector-icons') 142 | compile project(':react-native-share') 143 | compile project(':react-native-camera') 144 | compile project(':react-native-barcodescanner') 145 | compile fileTree(dir: "libs", include: ["*.jar"]) 146 | // From node_modules 147 | compile 'com.android.support:appcompat-v7:23.4.0' 148 | compile 'com.facebook.react:react-native:+' 149 | compile 'com.google.firebase:firebase-core:9.2.1' 150 | compile 'com.google.firebase:firebase-crash:9.2.1' 151 | } 152 | 153 | // Run this once to be able to run the application with BUCK 154 | // puts all compile dependencies into folder libs for BUCK to use 155 | task copyDownloadableDepsToLibs(type: Copy) { 156 | from configurations.compile 157 | into 'libs' 158 | } 159 | 160 | apply plugin: 'com.google.gms.google-services' -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 24 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Black.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-BlackItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-BoldItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Medium.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-MediumItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Rubik-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Rubik-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/rubicon-icon-font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/assets/fonts/rubicon-icon-font.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/FirebaseAnalyticsModule.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | 4 | import android.os.Bundle; 5 | 6 | import com.facebook.react.bridge.Arguments; 7 | import com.facebook.react.bridge.NativeModule; 8 | import com.facebook.react.bridge.ReactApplicationContext; 9 | import com.facebook.react.bridge.ReactContext; 10 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 11 | import com.facebook.react.bridge.ReactMethod; 12 | import com.facebook.react.bridge.ReadableMap; 13 | import com.google.firebase.analytics.FirebaseAnalytics; 14 | 15 | 16 | public class FirebaseAnalyticsModule extends ReactContextBaseJavaModule { 17 | private FirebaseAnalytics mFirebaseAnalytics; 18 | 19 | public FirebaseAnalyticsModule(ReactApplicationContext reactContext) { 20 | super(reactContext); 21 | 22 | mFirebaseAnalytics = FirebaseAnalytics.getInstance(this.getReactApplicationContext()); 23 | } 24 | 25 | @Override 26 | public String getName() { 27 | return "FirebaseAnalytics"; 28 | } 29 | 30 | @ReactMethod 31 | public void logEvent(String eventName, ReadableMap parameters) { 32 | Bundle params = new Bundle(); 33 | mFirebaseAnalytics.logEvent(eventName, Arguments.toBundle(parameters)); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/FirebaseAnalyticsPackage.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | 4 | import com.facebook.react.ReactPackage; 5 | import com.facebook.react.bridge.JavaScriptModule; 6 | import com.facebook.react.bridge.NativeModule; 7 | import com.facebook.react.bridge.ReactApplicationContext; 8 | import com.facebook.react.uimanager.ViewManager; 9 | 10 | import java.util.ArrayList; 11 | import java.util.Collections; 12 | import java.util.List; 13 | 14 | public class FirebaseAnalyticsPackage implements ReactPackage { 15 | @Override 16 | public List> createJSModules() { 17 | return Collections.emptyList(); 18 | } 19 | 20 | @Override 21 | public List createViewManagers(ReactApplicationContext reactContext) { 22 | return Collections.emptyList(); 23 | } 24 | 25 | @Override 26 | public List createNativeModules( 27 | ReactApplicationContext reactContext) { 28 | List modules = new ArrayList<>(); 29 | 30 | modules.add(new FirebaseAnalyticsModule(reactContext)); 31 | 32 | return modules; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/FirebaseCrashModule.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | import android.os.Bundle; 4 | import android.util.Log; 5 | 6 | import com.facebook.react.bridge.Arguments; 7 | import com.facebook.react.bridge.NativeModule; 8 | import com.facebook.react.bridge.ReactApplicationContext; 9 | import com.facebook.react.bridge.ReactContext; 10 | import com.facebook.react.bridge.ReactContextBaseJavaModule; 11 | import com.facebook.react.bridge.ReactMethod; 12 | import com.facebook.react.bridge.ReadableMap; 13 | import com.google.firebase.analytics.FirebaseAnalytics; 14 | import com.google.firebase.crash.FirebaseCrash; 15 | 16 | 17 | public class FirebaseCrashModule extends ReactContextBaseJavaModule { 18 | 19 | private static final String TAG = "QRCODE"; 20 | 21 | public FirebaseCrashModule(ReactApplicationContext reactContext) { 22 | super(reactContext); 23 | } 24 | 25 | @Override 26 | public String getName() { 27 | return "FirebaseCrash"; 28 | } 29 | 30 | @ReactMethod 31 | public void log(String eventName) { 32 | FirebaseCrash.log("Activity created"); 33 | } 34 | 35 | @ReactMethod 36 | public void report(String event) { 37 | FirebaseCrash.logcat(Log.ERROR, TAG, "NPE caught"); 38 | FirebaseCrash.report(new Throwable(event)); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/FirebaseCrashPackage.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | 4 | import com.facebook.react.ReactPackage; 5 | import com.facebook.react.bridge.JavaScriptModule; 6 | import com.facebook.react.bridge.NativeModule; 7 | import com.facebook.react.bridge.ReactApplicationContext; 8 | import com.facebook.react.uimanager.ViewManager; 9 | 10 | import java.util.ArrayList; 11 | import java.util.Collections; 12 | import java.util.List; 13 | 14 | public class FirebaseCrashPackage implements ReactPackage { 15 | @Override 16 | public List> createJSModules() { 17 | return Collections.emptyList(); 18 | } 19 | 20 | @Override 21 | public List createViewManagers(ReactApplicationContext reactContext) { 22 | return Collections.emptyList(); 23 | } 24 | 25 | @Override 26 | public List createNativeModules( 27 | ReactApplicationContext reactContext) { 28 | List modules = new ArrayList<>(); 29 | 30 | modules.add(new FirebaseCrashModule(reactContext)); 31 | 32 | return modules; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/MainActivity.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | import android.os.Bundle; 4 | import android.view.WindowManager; 5 | 6 | import com.facebook.react.ReactActivity; 7 | import com.google.firebase.analytics.FirebaseAnalytics; 8 | 9 | public class MainActivity extends ReactActivity { 10 | /** 11 | * Returns the name of the main component registered from JavaScript. 12 | * This is used to schedule rendering of the component. 13 | */ 14 | @Override 15 | protected String getMainComponentName() { 16 | return "QRCode"; 17 | } 18 | 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | 23 | getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /android/app/src/main/java/io/insider/qrcode/MainApplication.java: -------------------------------------------------------------------------------- 1 | package io.insider.qrcode; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.babisoft.ReactNativeLocalization.ReactNativeLocalizationPackage; 7 | import com.microsoft.codepush.react.CodePush; 8 | import com.oblador.vectoricons.VectorIconsPackage; 9 | import cl.json.RNSharePackage; 10 | import com.lwansbrough.RCTCamera.RCTCameraPackage; 11 | import com.eguma.barcodescanner.BarcodeScannerPackage; 12 | import com.facebook.react.ReactNativeHost; 13 | import com.facebook.react.ReactPackage; 14 | import com.facebook.react.shell.MainReactPackage; 15 | 16 | import java.util.Arrays; 17 | import java.util.List; 18 | 19 | public class MainApplication extends Application implements ReactApplication { 20 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 21 | 22 | @Override 23 | protected String getJSBundleFile() { 24 | return CodePush.getJSBundleFile(); 25 | } 26 | 27 | @Override 28 | protected boolean getUseDeveloperSupport() { 29 | return BuildConfig.DEBUG; 30 | } 31 | 32 | @Override 33 | protected List getPackages() { 34 | return Arrays.asList( 35 | new MainReactPackage(), 36 | new ReactNativeLocalizationPackage(), 37 | new CodePush(getResources().getString(R.string.reactNativeCodePush_androidDeploymentKey), getApplicationContext(), BuildConfig.DEBUG), 38 | new VectorIconsPackage(), 39 | new RNSharePackage(), 40 | new RCTCameraPackage(), 41 | new BarcodeScannerPackage(), 42 | new FirebaseAnalyticsPackage(), 43 | new FirebaseCrashPackage() 44 | ); 45 | } 46 | }; 47 | 48 | @Override 49 | public ReactNativeHost getReactNativeHost() { 50 | return mReactNativeHost; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #fc6821 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/com_crashlytics_export_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Xmf-BEv6kQMIGd9EE3tdIdT5rX2wVk5-bpfe- 3 | QRCode App 4 | 5 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | classpath 'com.google.gms:google-services:3.0.0' 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | mavenLocal() 19 | jcenter() 20 | maven { 21 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 22 | url "$rootDir/../node_modules/react-native/android" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | 22 | MYAPP_RELEASE_STORE_FILE=qrrelease.jks 23 | MYAPP_RELEASE_KEY_ALIAS=QRReleaseKey 24 | MYAPP_RELEASE_STORE_PASSWORD=YOUR_PASSWIRD 25 | MYAPP_RELEASE_KEY_PASSWORD=YOUR_PASSWORD -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Dec 02 09:13:43 MSK 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'QRCode' 2 | 3 | include ':app' 4 | include ':react-native-localization' 5 | project(':react-native-localization').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-localization/android') 6 | include ':react-native-code-push' 7 | project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app') 8 | include ':react-native-vector-icons' 9 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 10 | include ':react-native-share' 11 | project(':react-native-share').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-share/android') 12 | include ':react-native-camera' 13 | project(':react-native-camera').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-camera/android') 14 | include ':react-native-barcodescanner' 15 | project(':react-native-barcodescanner').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-barcodescanner/android') 16 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | import { 2 | AppRegistry 3 | } from 'react-native'; 4 | 5 | import BarcodeScannerApp from './js/BarcodeScannerApp'; 6 | 7 | AppRegistry.registerComponent('QRCode', () => BarcodeScannerApp); -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | import { 2 | AppRegistry 3 | } from 'react-native'; 4 | 5 | import BarcodeScannerApp from './js/BarcodeScannerApp'; 6 | 7 | AppRegistry.registerComponent('QRCode', () => BarcodeScannerApp); -------------------------------------------------------------------------------- /ios/QRCode.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 000AEF5C1ECC465D977F3D00 /* Rubik-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 042853D180BB4742BA3B8C81 /* Rubik-LightItalic.ttf */; }; 11 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 12 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 13 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 14 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 15 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 16 | 00E356F31AD99517003FC87E /* QRCodeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* QRCodeTests.m */; }; 17 | 042EF916FCEA4323885F3F85 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 35E077BE27E84B60B7E83679 /* Ionicons.ttf */; }; 18 | 0DE1469C6A5D4D06B26CBA0E /* Rubik-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C8F495A465E24CE08D9B47C6 /* Rubik-Light.ttf */; }; 19 | 115D64A9E0654A66AF99022C /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 56DF62C61EB741659102ABFE /* Octicons.ttf */; }; 20 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 21 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 22 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 23 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 24 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 25 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 28 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 29 | 1D07BC29528C46DA86DA8850 /* libCodePush.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 07A353E499164E47B1AE64C3 /* libCodePush.a */; }; 30 | 2200A5CD33FE48C8B7875580 /* libReactNativeLocalization.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 68C8F9EDDA5E45AB9AAC8338 /* libReactNativeLocalization.a */; }; 31 | 44E440BFAEB6404EBBA63948 /* Rubik-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C57876D845864204855C8342 /* Rubik-BoldItalic.ttf */; }; 32 | 56AE0730394E40E99EE2D052 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CB5A91A608894F0192AEFB8C /* FontAwesome.ttf */; }; 33 | 5A56254B55064D09BDCB7180 /* rubicon-icon-font.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 28453BBC8D8C46DDA5C6AA98 /* rubicon-icon-font.ttf */; }; 34 | 5CCDC51B1D7349E490C01B06 /* Rubik-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 51093E99ADD8409482CFA813 /* Rubik-MediumItalic.ttf */; }; 35 | 61BA89A20DBA4F4CB23D4398 /* libLRDRCTSimpleToast.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 547CA2D805534B74A812E331 /* libLRDRCTSimpleToast.a */; }; 36 | 626F5917D73345D4BADCCA3F /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9E6E39939E424B7AA62F77D5 /* EvilIcons.ttf */; }; 37 | 65B2FA02F525453C9837B8F9 /* libRCTCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 96CA4301FDAB404181DCD104 /* libRCTCamera.a */; }; 38 | 65FD685ACF394CB9B6EEBAC9 /* Rubik-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9F9E9FFA8CA14C6AA19F0A14 /* Rubik-Medium.ttf */; }; 39 | 669144D8FF884AFCBAE0CAC1 /* Rubik-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 48CD80FEA4264E2397FD02A9 /* Rubik-Italic.ttf */; }; 40 | 6F8A03DEE78B493AB26738C2 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4A23954648B148A69C530247 /* Entypo.ttf */; }; 41 | 7C36A2C15451489986D7F60E /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DB3D50B608A6426895CE4A26 /* MaterialIcons.ttf */; }; 42 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 43 | 83FF7BCF26454D0CB79EE508 /* Rubik-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 26225755943A4CD2BBFF34F7 /* Rubik-Bold.ttf */; }; 44 | 8C509B3E94584F9AB2A0D279 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = A4A1C68E98904095B57C0F06 /* libz.tbd */; }; 45 | 9EC250AB94394DE391D5CD5F /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A045E833828442BABE9BB9D1 /* Zocial.ttf */; }; 46 | A06C3F056039497D9EE4E041 /* libRNShare.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6DE0FC0EEF204187A035294C /* libRNShare.a */; }; 47 | AD482055BF6B45EF87F63557 /* Rubik-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4277787F1E6F4DCC9287F686 /* Rubik-Black.ttf */; }; 48 | AFAD0437418743DF9E7A16F8 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B97FC139C8BC41199C8B3258 /* libRNVectorIcons.a */; }; 49 | DCB3158F9C8E437C95982792 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3B7D6D24EC1D4DF490F8D8BE /* SimpleLineIcons.ttf */; }; 50 | F0D78496D1EA410A9444B0CD /* Rubik-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8C939424F9F94023B56F3FF6 /* Rubik-Regular.ttf */; }; 51 | F5C642A6CC92425C815C1B8E /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D18E17B022C24557BA89E4EE /* Foundation.ttf */; }; 52 | FF43053DDA0E4CB79B2A3358 /* Rubik-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B18F82785B56494FAAE2AC5C /* Rubik-BlackItalic.ttf */; }; 53 | /* End PBXBuildFile section */ 54 | 55 | /* Begin PBXContainerItemProxy section */ 56 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 57 | isa = PBXContainerItemProxy; 58 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 59 | proxyType = 2; 60 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 61 | remoteInfo = RCTActionSheet; 62 | }; 63 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 64 | isa = PBXContainerItemProxy; 65 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 66 | proxyType = 2; 67 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 68 | remoteInfo = RCTGeolocation; 69 | }; 70 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 71 | isa = PBXContainerItemProxy; 72 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 73 | proxyType = 2; 74 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 75 | remoteInfo = RCTImage; 76 | }; 77 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 78 | isa = PBXContainerItemProxy; 79 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 80 | proxyType = 2; 81 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 82 | remoteInfo = RCTNetwork; 83 | }; 84 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 85 | isa = PBXContainerItemProxy; 86 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 87 | proxyType = 2; 88 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 89 | remoteInfo = RCTVibration; 90 | }; 91 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 92 | isa = PBXContainerItemProxy; 93 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 94 | proxyType = 1; 95 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 96 | remoteInfo = QRCode; 97 | }; 98 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 99 | isa = PBXContainerItemProxy; 100 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 101 | proxyType = 2; 102 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 103 | remoteInfo = RCTSettings; 104 | }; 105 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 106 | isa = PBXContainerItemProxy; 107 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 108 | proxyType = 2; 109 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 110 | remoteInfo = RCTWebSocket; 111 | }; 112 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 113 | isa = PBXContainerItemProxy; 114 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 115 | proxyType = 2; 116 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 117 | remoteInfo = React; 118 | }; 119 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 120 | isa = PBXContainerItemProxy; 121 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 122 | proxyType = 2; 123 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 124 | remoteInfo = RCTLinking; 125 | }; 126 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 127 | isa = PBXContainerItemProxy; 128 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 129 | proxyType = 2; 130 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 131 | remoteInfo = RCTText; 132 | }; 133 | AC16A0731DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 134 | isa = PBXContainerItemProxy; 135 | containerPortal = 960F37D590854C3B8C19FB85 /* RCTCamera.xcodeproj */; 136 | proxyType = 2; 137 | remoteGlobalIDString = 4107012F1ACB723B00C6AA39; 138 | remoteInfo = RCTCamera; 139 | }; 140 | AC16A0781DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 141 | isa = PBXContainerItemProxy; 142 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 143 | proxyType = 2; 144 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 145 | remoteInfo = "RCTImage-tvOS"; 146 | }; 147 | AC16A07C1DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 148 | isa = PBXContainerItemProxy; 149 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 150 | proxyType = 2; 151 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 152 | remoteInfo = "RCTLinking-tvOS"; 153 | }; 154 | AC16A0801DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 155 | isa = PBXContainerItemProxy; 156 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 157 | proxyType = 2; 158 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 159 | remoteInfo = "RCTNetwork-tvOS"; 160 | }; 161 | AC16A0841DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 162 | isa = PBXContainerItemProxy; 163 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 164 | proxyType = 2; 165 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 166 | remoteInfo = "RCTSettings-tvOS"; 167 | }; 168 | AC16A0881DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 169 | isa = PBXContainerItemProxy; 170 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 171 | proxyType = 2; 172 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 173 | remoteInfo = "RCTText-tvOS"; 174 | }; 175 | AC16A08D1DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 176 | isa = PBXContainerItemProxy; 177 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 178 | proxyType = 2; 179 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 180 | remoteInfo = "RCTWebSocket-tvOS"; 181 | }; 182 | AC16A0911DEDC1F800EB10A3 /* PBXContainerItemProxy */ = { 183 | isa = PBXContainerItemProxy; 184 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 185 | proxyType = 2; 186 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 187 | remoteInfo = "React-tvOS"; 188 | }; 189 | AC16A0B31DEDC9C400EB10A3 /* PBXContainerItemProxy */ = { 190 | isa = PBXContainerItemProxy; 191 | containerPortal = 3ACAF2B2B64049409AC5F8CB /* RNClipboard.xcodeproj */; 192 | proxyType = 2; 193 | remoteGlobalIDString = 93D925B51B577A3A0021F250; 194 | remoteInfo = RNClipboard; 195 | }; 196 | AC16A0C41DEDCA8000EB10A3 /* PBXContainerItemProxy */ = { 197 | isa = PBXContainerItemProxy; 198 | containerPortal = 67C3F4B44DE84F42B5DBDE1D /* LRDRCTSimpleToast.xcodeproj */; 199 | proxyType = 2; 200 | remoteGlobalIDString = 15209BEF1D250F63000D0F44; 201 | remoteInfo = LRDRCTSimpleToast; 202 | }; 203 | AC16A0FD1DEDCB1100EB10A3 /* PBXContainerItemProxy */ = { 204 | isa = PBXContainerItemProxy; 205 | containerPortal = 93F27AD0643747E8B28A706F /* RNShare.xcodeproj */; 206 | proxyType = 2; 207 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 208 | remoteInfo = RNShare; 209 | }; 210 | AC55A6E01DFC458C0035F42E /* PBXContainerItemProxy */ = { 211 | isa = PBXContainerItemProxy; 212 | containerPortal = 56AB457B596E4C77829204B4 /* ReactNativeLocalization.xcodeproj */; 213 | proxyType = 2; 214 | remoteGlobalIDString = 7B5D9D0A1B6AD0EA00CF3A83; 215 | remoteInfo = ReactNativeLocalization; 216 | }; 217 | AC55A6E51DFC458D0035F42E /* PBXContainerItemProxy */ = { 218 | isa = PBXContainerItemProxy; 219 | containerPortal = B3ABD0ACD2E64C5C8B2EFF85 /* RNVectorIcons.xcodeproj */; 220 | proxyType = 2; 221 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 222 | remoteInfo = RNVectorIcons; 223 | }; 224 | AC55A6EA1DFC45960035F42E /* PBXContainerItemProxy */ = { 225 | isa = PBXContainerItemProxy; 226 | containerPortal = 95F0FCFFCEB74119BC1FD673 /* CodePush.xcodeproj */; 227 | proxyType = 2; 228 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 229 | remoteInfo = CodePush; 230 | }; 231 | /* End PBXContainerItemProxy section */ 232 | 233 | /* Begin PBXFileReference section */ 234 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 235 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 236 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 237 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 238 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 239 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 240 | 00E356EE1AD99517003FC87E /* QRCodeTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = QRCodeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 241 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 242 | 00E356F21AD99517003FC87E /* QRCodeTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QRCodeTests.m; sourceTree = ""; }; 243 | 042853D180BB4742BA3B8C81 /* Rubik-LightItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-LightItalic.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-LightItalic.ttf"; sourceTree = ""; }; 244 | 07A353E499164E47B1AE64C3 /* libCodePush.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libCodePush.a; sourceTree = ""; }; 245 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 246 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 247 | 13B07F961A680F5B00A75B9A /* QRCode.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = QRCode.app; sourceTree = BUILT_PRODUCTS_DIR; }; 248 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = QRCode/AppDelegate.h; sourceTree = ""; }; 249 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = QRCode/AppDelegate.m; sourceTree = ""; }; 250 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 251 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = QRCode/Images.xcassets; sourceTree = ""; }; 252 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = QRCode/Info.plist; sourceTree = ""; }; 253 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = QRCode/main.m; sourceTree = ""; }; 254 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 255 | 26225755943A4CD2BBFF34F7 /* Rubik-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Bold.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Bold.ttf"; sourceTree = ""; }; 256 | 28453BBC8D8C46DDA5C6AA98 /* rubicon-icon-font.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "rubicon-icon-font.ttf"; path = "../node_modules/@shoutem/ui/fonts/rubicon-icon-font.ttf"; sourceTree = ""; }; 257 | 35E077BE27E84B60B7E83679 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 258 | 3ACAF2B2B64049409AC5F8CB /* RNClipboard.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNClipboard.xcodeproj; path = "../node_modules/react-native-clipboard/RNClipboard.xcodeproj"; sourceTree = ""; }; 259 | 3B7D6D24EC1D4DF490F8D8BE /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 260 | 4277787F1E6F4DCC9287F686 /* Rubik-Black.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Black.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Black.ttf"; sourceTree = ""; }; 261 | 48CD80FEA4264E2397FD02A9 /* Rubik-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Italic.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Italic.ttf"; sourceTree = ""; }; 262 | 4A23954648B148A69C530247 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 263 | 51093E99ADD8409482CFA813 /* Rubik-MediumItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-MediumItalic.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-MediumItalic.ttf"; sourceTree = ""; }; 264 | 547CA2D805534B74A812E331 /* libLRDRCTSimpleToast.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libLRDRCTSimpleToast.a; sourceTree = ""; }; 265 | 56AB457B596E4C77829204B4 /* ReactNativeLocalization.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeLocalization.xcodeproj; path = "../node_modules/react-native-localization/ReactNativeLocalization.xcodeproj"; sourceTree = ""; }; 266 | 56DF62C61EB741659102ABFE /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 267 | 67C3F4B44DE84F42B5DBDE1D /* LRDRCTSimpleToast.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = LRDRCTSimpleToast.xcodeproj; path = "../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast.xcodeproj"; sourceTree = ""; }; 268 | 68C8F9EDDA5E45AB9AAC8338 /* libReactNativeLocalization.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libReactNativeLocalization.a; sourceTree = ""; }; 269 | 6DE0FC0EEF204187A035294C /* libRNShare.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNShare.a; sourceTree = ""; }; 270 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 271 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 272 | 8C939424F9F94023B56F3FF6 /* Rubik-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Regular.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Regular.ttf"; sourceTree = ""; }; 273 | 93F27AD0643747E8B28A706F /* RNShare.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNShare.xcodeproj; path = "../node_modules/react-native-share/ios/RNShare.xcodeproj"; sourceTree = ""; }; 274 | 95F0FCFFCEB74119BC1FD673 /* CodePush.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = CodePush.xcodeproj; path = "../node_modules/react-native-code-push/ios/CodePush.xcodeproj"; sourceTree = ""; }; 275 | 960F37D590854C3B8C19FB85 /* RCTCamera.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTCamera.xcodeproj; path = "../node_modules/react-native-camera/ios/RCTCamera.xcodeproj"; sourceTree = ""; }; 276 | 96CA4301FDAB404181DCD104 /* libRCTCamera.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTCamera.a; sourceTree = ""; }; 277 | 9E6E39939E424B7AA62F77D5 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 278 | 9F9E9FFA8CA14C6AA19F0A14 /* Rubik-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Medium.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Medium.ttf"; sourceTree = ""; }; 279 | A045E833828442BABE9BB9D1 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 280 | A4A1C68E98904095B57C0F06 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; 281 | B18F82785B56494FAAE2AC5C /* Rubik-BlackItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-BlackItalic.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-BlackItalic.ttf"; sourceTree = ""; }; 282 | B3ABD0ACD2E64C5C8B2EFF85 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 283 | B97FC139C8BC41199C8B3258 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 284 | C57876D845864204855C8342 /* Rubik-BoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-BoldItalic.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-BoldItalic.ttf"; sourceTree = ""; }; 285 | C8F495A465E24CE08D9B47C6 /* Rubik-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Rubik-Light.ttf"; path = "../node_modules/@shoutem/ui/fonts/Rubik-Light.ttf"; sourceTree = ""; }; 286 | CB5A91A608894F0192AEFB8C /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 287 | D18E17B022C24557BA89E4EE /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 288 | DB3D50B608A6426895CE4A26 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 289 | /* End PBXFileReference section */ 290 | 291 | /* Begin PBXFrameworksBuildPhase section */ 292 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 293 | isa = PBXFrameworksBuildPhase; 294 | buildActionMask = 2147483647; 295 | files = ( 296 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 297 | ); 298 | runOnlyForDeploymentPostprocessing = 0; 299 | }; 300 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 301 | isa = PBXFrameworksBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 305 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 306 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 307 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 308 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 309 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 310 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 311 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 312 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 313 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 314 | 65B2FA02F525453C9837B8F9 /* libRCTCamera.a in Frameworks */, 315 | 61BA89A20DBA4F4CB23D4398 /* libLRDRCTSimpleToast.a in Frameworks */, 316 | A06C3F056039497D9EE4E041 /* libRNShare.a in Frameworks */, 317 | AFAD0437418743DF9E7A16F8 /* libRNVectorIcons.a in Frameworks */, 318 | 1D07BC29528C46DA86DA8850 /* libCodePush.a in Frameworks */, 319 | 8C509B3E94584F9AB2A0D279 /* libz.tbd in Frameworks */, 320 | 2200A5CD33FE48C8B7875580 /* libReactNativeLocalization.a in Frameworks */, 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | }; 324 | /* End PBXFrameworksBuildPhase section */ 325 | 326 | /* Begin PBXGroup section */ 327 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 328 | isa = PBXGroup; 329 | children = ( 330 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 331 | ); 332 | name = Products; 333 | sourceTree = ""; 334 | }; 335 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 336 | isa = PBXGroup; 337 | children = ( 338 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 339 | ); 340 | name = Products; 341 | sourceTree = ""; 342 | }; 343 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 344 | isa = PBXGroup; 345 | children = ( 346 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 347 | AC16A0791DEDC1F800EB10A3 /* libRCTImage-tvOS.a */, 348 | ); 349 | name = Products; 350 | sourceTree = ""; 351 | }; 352 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 353 | isa = PBXGroup; 354 | children = ( 355 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 356 | AC16A0811DEDC1F800EB10A3 /* libRCTNetwork-tvOS.a */, 357 | ); 358 | name = Products; 359 | sourceTree = ""; 360 | }; 361 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 362 | isa = PBXGroup; 363 | children = ( 364 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 365 | ); 366 | name = Products; 367 | sourceTree = ""; 368 | }; 369 | 00E356EF1AD99517003FC87E /* QRCodeTests */ = { 370 | isa = PBXGroup; 371 | children = ( 372 | 00E356F21AD99517003FC87E /* QRCodeTests.m */, 373 | 00E356F01AD99517003FC87E /* Supporting Files */, 374 | ); 375 | path = QRCodeTests; 376 | sourceTree = ""; 377 | }; 378 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 379 | isa = PBXGroup; 380 | children = ( 381 | 00E356F11AD99517003FC87E /* Info.plist */, 382 | ); 383 | name = "Supporting Files"; 384 | sourceTree = ""; 385 | }; 386 | 139105B71AF99BAD00B5F7CC /* Products */ = { 387 | isa = PBXGroup; 388 | children = ( 389 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 390 | AC16A0851DEDC1F800EB10A3 /* libRCTSettings-tvOS.a */, 391 | ); 392 | name = Products; 393 | sourceTree = ""; 394 | }; 395 | 139FDEE71B06529A00C62182 /* Products */ = { 396 | isa = PBXGroup; 397 | children = ( 398 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 399 | AC16A08E1DEDC1F800EB10A3 /* libRCTWebSocket-tvOS.a */, 400 | ); 401 | name = Products; 402 | sourceTree = ""; 403 | }; 404 | 13B07FAE1A68108700A75B9A /* QRCode */ = { 405 | isa = PBXGroup; 406 | children = ( 407 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 408 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 409 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 410 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 411 | 13B07FB61A68108700A75B9A /* Info.plist */, 412 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 413 | 13B07FB71A68108700A75B9A /* main.m */, 414 | ); 415 | name = QRCode; 416 | sourceTree = ""; 417 | }; 418 | 146834001AC3E56700842450 /* Products */ = { 419 | isa = PBXGroup; 420 | children = ( 421 | 146834041AC3E56700842450 /* libReact.a */, 422 | AC16A0921DEDC1F800EB10A3 /* libReact-tvOS.a */, 423 | ); 424 | name = Products; 425 | sourceTree = ""; 426 | }; 427 | 21A7912B3FA54D5681AE729F /* Frameworks */ = { 428 | isa = PBXGroup; 429 | children = ( 430 | A4A1C68E98904095B57C0F06 /* libz.tbd */, 431 | ); 432 | name = Frameworks; 433 | sourceTree = ""; 434 | }; 435 | 5B78D1FD6BE146BC88A15BD1 /* Resources */ = { 436 | isa = PBXGroup; 437 | children = ( 438 | 28453BBC8D8C46DDA5C6AA98 /* rubicon-icon-font.ttf */, 439 | 4277787F1E6F4DCC9287F686 /* Rubik-Black.ttf */, 440 | B18F82785B56494FAAE2AC5C /* Rubik-BlackItalic.ttf */, 441 | 26225755943A4CD2BBFF34F7 /* Rubik-Bold.ttf */, 442 | C57876D845864204855C8342 /* Rubik-BoldItalic.ttf */, 443 | 48CD80FEA4264E2397FD02A9 /* Rubik-Italic.ttf */, 444 | C8F495A465E24CE08D9B47C6 /* Rubik-Light.ttf */, 445 | 042853D180BB4742BA3B8C81 /* Rubik-LightItalic.ttf */, 446 | 9F9E9FFA8CA14C6AA19F0A14 /* Rubik-Medium.ttf */, 447 | 51093E99ADD8409482CFA813 /* Rubik-MediumItalic.ttf */, 448 | 8C939424F9F94023B56F3FF6 /* Rubik-Regular.ttf */, 449 | 4A23954648B148A69C530247 /* Entypo.ttf */, 450 | 9E6E39939E424B7AA62F77D5 /* EvilIcons.ttf */, 451 | CB5A91A608894F0192AEFB8C /* FontAwesome.ttf */, 452 | D18E17B022C24557BA89E4EE /* Foundation.ttf */, 453 | 35E077BE27E84B60B7E83679 /* Ionicons.ttf */, 454 | DB3D50B608A6426895CE4A26 /* MaterialIcons.ttf */, 455 | 56DF62C61EB741659102ABFE /* Octicons.ttf */, 456 | 3B7D6D24EC1D4DF490F8D8BE /* SimpleLineIcons.ttf */, 457 | A045E833828442BABE9BB9D1 /* Zocial.ttf */, 458 | ); 459 | name = Resources; 460 | sourceTree = ""; 461 | }; 462 | 78C398B11ACF4ADC00677621 /* Products */ = { 463 | isa = PBXGroup; 464 | children = ( 465 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 466 | AC16A07D1DEDC1F800EB10A3 /* libRCTLinking-tvOS.a */, 467 | ); 468 | name = Products; 469 | sourceTree = ""; 470 | }; 471 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 472 | isa = PBXGroup; 473 | children = ( 474 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 475 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 476 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 477 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 478 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 479 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 480 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 481 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 482 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 483 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 484 | 960F37D590854C3B8C19FB85 /* RCTCamera.xcodeproj */, 485 | 3ACAF2B2B64049409AC5F8CB /* RNClipboard.xcodeproj */, 486 | 67C3F4B44DE84F42B5DBDE1D /* LRDRCTSimpleToast.xcodeproj */, 487 | 93F27AD0643747E8B28A706F /* RNShare.xcodeproj */, 488 | B3ABD0ACD2E64C5C8B2EFF85 /* RNVectorIcons.xcodeproj */, 489 | 95F0FCFFCEB74119BC1FD673 /* CodePush.xcodeproj */, 490 | 56AB457B596E4C77829204B4 /* ReactNativeLocalization.xcodeproj */, 491 | ); 492 | name = Libraries; 493 | sourceTree = ""; 494 | }; 495 | 832341B11AAA6A8300B99B32 /* Products */ = { 496 | isa = PBXGroup; 497 | children = ( 498 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 499 | AC16A0891DEDC1F800EB10A3 /* libRCTText-tvOS.a */, 500 | ); 501 | name = Products; 502 | sourceTree = ""; 503 | }; 504 | 83CBB9F61A601CBA00E9B192 = { 505 | isa = PBXGroup; 506 | children = ( 507 | 13B07FAE1A68108700A75B9A /* QRCode */, 508 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 509 | 00E356EF1AD99517003FC87E /* QRCodeTests */, 510 | 83CBBA001A601CBA00E9B192 /* Products */, 511 | 5B78D1FD6BE146BC88A15BD1 /* Resources */, 512 | 21A7912B3FA54D5681AE729F /* Frameworks */, 513 | ); 514 | indentWidth = 2; 515 | sourceTree = ""; 516 | tabWidth = 2; 517 | }; 518 | 83CBBA001A601CBA00E9B192 /* Products */ = { 519 | isa = PBXGroup; 520 | children = ( 521 | 13B07F961A680F5B00A75B9A /* QRCode.app */, 522 | 00E356EE1AD99517003FC87E /* QRCodeTests.xctest */, 523 | ); 524 | name = Products; 525 | sourceTree = ""; 526 | }; 527 | AC16A06F1DEDC1F800EB10A3 /* Products */ = { 528 | isa = PBXGroup; 529 | children = ( 530 | AC16A0741DEDC1F800EB10A3 /* libRCTCamera.a */, 531 | ); 532 | name = Products; 533 | sourceTree = ""; 534 | }; 535 | AC16A09E1DEDC9C400EB10A3 /* Products */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | AC16A0B41DEDC9C400EB10A3 /* libRNClipboard.a */, 539 | ); 540 | name = Products; 541 | sourceTree = ""; 542 | }; 543 | AC16A0C11DEDCA8000EB10A3 /* Products */ = { 544 | isa = PBXGroup; 545 | children = ( 546 | AC16A0C51DEDCA8000EB10A3 /* libLRDRCTSimpleToast.a */, 547 | ); 548 | name = Products; 549 | sourceTree = ""; 550 | }; 551 | AC16A0E61DEDCB1100EB10A3 /* Products */ = { 552 | isa = PBXGroup; 553 | children = ( 554 | AC16A0FE1DEDCB1100EB10A3 /* libRNShare.a */, 555 | ); 556 | name = Products; 557 | sourceTree = ""; 558 | }; 559 | AC55A6DD1DFC458C0035F42E /* Products */ = { 560 | isa = PBXGroup; 561 | children = ( 562 | AC55A6E11DFC458C0035F42E /* libReactNativeLocalization.a */, 563 | ); 564 | name = Products; 565 | sourceTree = ""; 566 | }; 567 | AC55A6E21DFC458D0035F42E /* Products */ = { 568 | isa = PBXGroup; 569 | children = ( 570 | AC55A6E61DFC458D0035F42E /* libRNVectorIcons.a */, 571 | ); 572 | name = Products; 573 | sourceTree = ""; 574 | }; 575 | AC55A6E71DFC45960035F42E /* Products */ = { 576 | isa = PBXGroup; 577 | children = ( 578 | AC55A6EB1DFC45960035F42E /* libCodePush.a */, 579 | ); 580 | name = Products; 581 | sourceTree = ""; 582 | }; 583 | /* End PBXGroup section */ 584 | 585 | /* Begin PBXNativeTarget section */ 586 | 00E356ED1AD99517003FC87E /* QRCodeTests */ = { 587 | isa = PBXNativeTarget; 588 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "QRCodeTests" */; 589 | buildPhases = ( 590 | 00E356EA1AD99517003FC87E /* Sources */, 591 | 00E356EB1AD99517003FC87E /* Frameworks */, 592 | 00E356EC1AD99517003FC87E /* Resources */, 593 | ); 594 | buildRules = ( 595 | ); 596 | dependencies = ( 597 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 598 | ); 599 | name = QRCodeTests; 600 | productName = QRCodeTests; 601 | productReference = 00E356EE1AD99517003FC87E /* QRCodeTests.xctest */; 602 | productType = "com.apple.product-type.bundle.unit-test"; 603 | }; 604 | 13B07F861A680F5B00A75B9A /* QRCode */ = { 605 | isa = PBXNativeTarget; 606 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "QRCode" */; 607 | buildPhases = ( 608 | 13B07F871A680F5B00A75B9A /* Sources */, 609 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 610 | 13B07F8E1A680F5B00A75B9A /* Resources */, 611 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 612 | ); 613 | buildRules = ( 614 | ); 615 | dependencies = ( 616 | ); 617 | name = QRCode; 618 | productName = "Hello World"; 619 | productReference = 13B07F961A680F5B00A75B9A /* QRCode.app */; 620 | productType = "com.apple.product-type.application"; 621 | }; 622 | /* End PBXNativeTarget section */ 623 | 624 | /* Begin PBXProject section */ 625 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 626 | isa = PBXProject; 627 | attributes = { 628 | LastUpgradeCheck = 610; 629 | ORGANIZATIONNAME = Facebook; 630 | TargetAttributes = { 631 | 00E356ED1AD99517003FC87E = { 632 | CreatedOnToolsVersion = 6.2; 633 | TestTargetID = 13B07F861A680F5B00A75B9A; 634 | }; 635 | }; 636 | }; 637 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "QRCode" */; 638 | compatibilityVersion = "Xcode 3.2"; 639 | developmentRegion = English; 640 | hasScannedForEncodings = 0; 641 | knownRegions = ( 642 | en, 643 | Base, 644 | ); 645 | mainGroup = 83CBB9F61A601CBA00E9B192; 646 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 647 | projectDirPath = ""; 648 | projectReferences = ( 649 | { 650 | ProductGroup = AC55A6E71DFC45960035F42E /* Products */; 651 | ProjectRef = 95F0FCFFCEB74119BC1FD673 /* CodePush.xcodeproj */; 652 | }, 653 | { 654 | ProductGroup = AC16A0C11DEDCA8000EB10A3 /* Products */; 655 | ProjectRef = 67C3F4B44DE84F42B5DBDE1D /* LRDRCTSimpleToast.xcodeproj */; 656 | }, 657 | { 658 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 659 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 660 | }, 661 | { 662 | ProductGroup = AC16A06F1DEDC1F800EB10A3 /* Products */; 663 | ProjectRef = 960F37D590854C3B8C19FB85 /* RCTCamera.xcodeproj */; 664 | }, 665 | { 666 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 667 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 668 | }, 669 | { 670 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 671 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 672 | }, 673 | { 674 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 675 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 676 | }, 677 | { 678 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 679 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 680 | }, 681 | { 682 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 683 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 684 | }, 685 | { 686 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 687 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 688 | }, 689 | { 690 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 691 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 692 | }, 693 | { 694 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 695 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 696 | }, 697 | { 698 | ProductGroup = 146834001AC3E56700842450 /* Products */; 699 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 700 | }, 701 | { 702 | ProductGroup = AC55A6DD1DFC458C0035F42E /* Products */; 703 | ProjectRef = 56AB457B596E4C77829204B4 /* ReactNativeLocalization.xcodeproj */; 704 | }, 705 | { 706 | ProductGroup = AC16A09E1DEDC9C400EB10A3 /* Products */; 707 | ProjectRef = 3ACAF2B2B64049409AC5F8CB /* RNClipboard.xcodeproj */; 708 | }, 709 | { 710 | ProductGroup = AC16A0E61DEDCB1100EB10A3 /* Products */; 711 | ProjectRef = 93F27AD0643747E8B28A706F /* RNShare.xcodeproj */; 712 | }, 713 | { 714 | ProductGroup = AC55A6E21DFC458D0035F42E /* Products */; 715 | ProjectRef = B3ABD0ACD2E64C5C8B2EFF85 /* RNVectorIcons.xcodeproj */; 716 | }, 717 | ); 718 | projectRoot = ""; 719 | targets = ( 720 | 13B07F861A680F5B00A75B9A /* QRCode */, 721 | 00E356ED1AD99517003FC87E /* QRCodeTests */, 722 | ); 723 | }; 724 | /* End PBXProject section */ 725 | 726 | /* Begin PBXReferenceProxy section */ 727 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 728 | isa = PBXReferenceProxy; 729 | fileType = archive.ar; 730 | path = libRCTActionSheet.a; 731 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 732 | sourceTree = BUILT_PRODUCTS_DIR; 733 | }; 734 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 735 | isa = PBXReferenceProxy; 736 | fileType = archive.ar; 737 | path = libRCTGeolocation.a; 738 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 739 | sourceTree = BUILT_PRODUCTS_DIR; 740 | }; 741 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 742 | isa = PBXReferenceProxy; 743 | fileType = archive.ar; 744 | path = libRCTImage.a; 745 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 746 | sourceTree = BUILT_PRODUCTS_DIR; 747 | }; 748 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 749 | isa = PBXReferenceProxy; 750 | fileType = archive.ar; 751 | path = libRCTNetwork.a; 752 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 753 | sourceTree = BUILT_PRODUCTS_DIR; 754 | }; 755 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 756 | isa = PBXReferenceProxy; 757 | fileType = archive.ar; 758 | path = libRCTVibration.a; 759 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 760 | sourceTree = BUILT_PRODUCTS_DIR; 761 | }; 762 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 763 | isa = PBXReferenceProxy; 764 | fileType = archive.ar; 765 | path = libRCTSettings.a; 766 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 767 | sourceTree = BUILT_PRODUCTS_DIR; 768 | }; 769 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 770 | isa = PBXReferenceProxy; 771 | fileType = archive.ar; 772 | path = libRCTWebSocket.a; 773 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 774 | sourceTree = BUILT_PRODUCTS_DIR; 775 | }; 776 | 146834041AC3E56700842450 /* libReact.a */ = { 777 | isa = PBXReferenceProxy; 778 | fileType = archive.ar; 779 | path = libReact.a; 780 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 781 | sourceTree = BUILT_PRODUCTS_DIR; 782 | }; 783 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 784 | isa = PBXReferenceProxy; 785 | fileType = archive.ar; 786 | path = libRCTLinking.a; 787 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 788 | sourceTree = BUILT_PRODUCTS_DIR; 789 | }; 790 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 791 | isa = PBXReferenceProxy; 792 | fileType = archive.ar; 793 | path = libRCTText.a; 794 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 795 | sourceTree = BUILT_PRODUCTS_DIR; 796 | }; 797 | AC16A0741DEDC1F800EB10A3 /* libRCTCamera.a */ = { 798 | isa = PBXReferenceProxy; 799 | fileType = archive.ar; 800 | path = libRCTCamera.a; 801 | remoteRef = AC16A0731DEDC1F800EB10A3 /* PBXContainerItemProxy */; 802 | sourceTree = BUILT_PRODUCTS_DIR; 803 | }; 804 | AC16A0791DEDC1F800EB10A3 /* libRCTImage-tvOS.a */ = { 805 | isa = PBXReferenceProxy; 806 | fileType = archive.ar; 807 | path = "libRCTImage-tvOS.a"; 808 | remoteRef = AC16A0781DEDC1F800EB10A3 /* PBXContainerItemProxy */; 809 | sourceTree = BUILT_PRODUCTS_DIR; 810 | }; 811 | AC16A07D1DEDC1F800EB10A3 /* libRCTLinking-tvOS.a */ = { 812 | isa = PBXReferenceProxy; 813 | fileType = archive.ar; 814 | path = "libRCTLinking-tvOS.a"; 815 | remoteRef = AC16A07C1DEDC1F800EB10A3 /* PBXContainerItemProxy */; 816 | sourceTree = BUILT_PRODUCTS_DIR; 817 | }; 818 | AC16A0811DEDC1F800EB10A3 /* libRCTNetwork-tvOS.a */ = { 819 | isa = PBXReferenceProxy; 820 | fileType = archive.ar; 821 | path = "libRCTNetwork-tvOS.a"; 822 | remoteRef = AC16A0801DEDC1F800EB10A3 /* PBXContainerItemProxy */; 823 | sourceTree = BUILT_PRODUCTS_DIR; 824 | }; 825 | AC16A0851DEDC1F800EB10A3 /* libRCTSettings-tvOS.a */ = { 826 | isa = PBXReferenceProxy; 827 | fileType = archive.ar; 828 | path = "libRCTSettings-tvOS.a"; 829 | remoteRef = AC16A0841DEDC1F800EB10A3 /* PBXContainerItemProxy */; 830 | sourceTree = BUILT_PRODUCTS_DIR; 831 | }; 832 | AC16A0891DEDC1F800EB10A3 /* libRCTText-tvOS.a */ = { 833 | isa = PBXReferenceProxy; 834 | fileType = archive.ar; 835 | path = "libRCTText-tvOS.a"; 836 | remoteRef = AC16A0881DEDC1F800EB10A3 /* PBXContainerItemProxy */; 837 | sourceTree = BUILT_PRODUCTS_DIR; 838 | }; 839 | AC16A08E1DEDC1F800EB10A3 /* libRCTWebSocket-tvOS.a */ = { 840 | isa = PBXReferenceProxy; 841 | fileType = archive.ar; 842 | path = "libRCTWebSocket-tvOS.a"; 843 | remoteRef = AC16A08D1DEDC1F800EB10A3 /* PBXContainerItemProxy */; 844 | sourceTree = BUILT_PRODUCTS_DIR; 845 | }; 846 | AC16A0921DEDC1F800EB10A3 /* libReact-tvOS.a */ = { 847 | isa = PBXReferenceProxy; 848 | fileType = archive.ar; 849 | path = "libReact-tvOS.a"; 850 | remoteRef = AC16A0911DEDC1F800EB10A3 /* PBXContainerItemProxy */; 851 | sourceTree = BUILT_PRODUCTS_DIR; 852 | }; 853 | AC16A0B41DEDC9C400EB10A3 /* libRNClipboard.a */ = { 854 | isa = PBXReferenceProxy; 855 | fileType = archive.ar; 856 | path = libRNClipboard.a; 857 | remoteRef = AC16A0B31DEDC9C400EB10A3 /* PBXContainerItemProxy */; 858 | sourceTree = BUILT_PRODUCTS_DIR; 859 | }; 860 | AC16A0C51DEDCA8000EB10A3 /* libLRDRCTSimpleToast.a */ = { 861 | isa = PBXReferenceProxy; 862 | fileType = archive.ar; 863 | path = libLRDRCTSimpleToast.a; 864 | remoteRef = AC16A0C41DEDCA8000EB10A3 /* PBXContainerItemProxy */; 865 | sourceTree = BUILT_PRODUCTS_DIR; 866 | }; 867 | AC16A0FE1DEDCB1100EB10A3 /* libRNShare.a */ = { 868 | isa = PBXReferenceProxy; 869 | fileType = archive.ar; 870 | path = libRNShare.a; 871 | remoteRef = AC16A0FD1DEDCB1100EB10A3 /* PBXContainerItemProxy */; 872 | sourceTree = BUILT_PRODUCTS_DIR; 873 | }; 874 | AC55A6E11DFC458C0035F42E /* libReactNativeLocalization.a */ = { 875 | isa = PBXReferenceProxy; 876 | fileType = archive.ar; 877 | path = libReactNativeLocalization.a; 878 | remoteRef = AC55A6E01DFC458C0035F42E /* PBXContainerItemProxy */; 879 | sourceTree = BUILT_PRODUCTS_DIR; 880 | }; 881 | AC55A6E61DFC458D0035F42E /* libRNVectorIcons.a */ = { 882 | isa = PBXReferenceProxy; 883 | fileType = archive.ar; 884 | path = libRNVectorIcons.a; 885 | remoteRef = AC55A6E51DFC458D0035F42E /* PBXContainerItemProxy */; 886 | sourceTree = BUILT_PRODUCTS_DIR; 887 | }; 888 | AC55A6EB1DFC45960035F42E /* libCodePush.a */ = { 889 | isa = PBXReferenceProxy; 890 | fileType = archive.ar; 891 | path = libCodePush.a; 892 | remoteRef = AC55A6EA1DFC45960035F42E /* PBXContainerItemProxy */; 893 | sourceTree = BUILT_PRODUCTS_DIR; 894 | }; 895 | /* End PBXReferenceProxy section */ 896 | 897 | /* Begin PBXResourcesBuildPhase section */ 898 | 00E356EC1AD99517003FC87E /* Resources */ = { 899 | isa = PBXResourcesBuildPhase; 900 | buildActionMask = 2147483647; 901 | files = ( 902 | ); 903 | runOnlyForDeploymentPostprocessing = 0; 904 | }; 905 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 906 | isa = PBXResourcesBuildPhase; 907 | buildActionMask = 2147483647; 908 | files = ( 909 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 910 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 911 | 5A56254B55064D09BDCB7180 /* rubicon-icon-font.ttf in Resources */, 912 | AD482055BF6B45EF87F63557 /* Rubik-Black.ttf in Resources */, 913 | FF43053DDA0E4CB79B2A3358 /* Rubik-BlackItalic.ttf in Resources */, 914 | 83FF7BCF26454D0CB79EE508 /* Rubik-Bold.ttf in Resources */, 915 | 44E440BFAEB6404EBBA63948 /* Rubik-BoldItalic.ttf in Resources */, 916 | 669144D8FF884AFCBAE0CAC1 /* Rubik-Italic.ttf in Resources */, 917 | 0DE1469C6A5D4D06B26CBA0E /* Rubik-Light.ttf in Resources */, 918 | 000AEF5C1ECC465D977F3D00 /* Rubik-LightItalic.ttf in Resources */, 919 | 65FD685ACF394CB9B6EEBAC9 /* Rubik-Medium.ttf in Resources */, 920 | 5CCDC51B1D7349E490C01B06 /* Rubik-MediumItalic.ttf in Resources */, 921 | F0D78496D1EA410A9444B0CD /* Rubik-Regular.ttf in Resources */, 922 | 6F8A03DEE78B493AB26738C2 /* Entypo.ttf in Resources */, 923 | 626F5917D73345D4BADCCA3F /* EvilIcons.ttf in Resources */, 924 | 56AE0730394E40E99EE2D052 /* FontAwesome.ttf in Resources */, 925 | F5C642A6CC92425C815C1B8E /* Foundation.ttf in Resources */, 926 | 042EF916FCEA4323885F3F85 /* Ionicons.ttf in Resources */, 927 | 7C36A2C15451489986D7F60E /* MaterialIcons.ttf in Resources */, 928 | 115D64A9E0654A66AF99022C /* Octicons.ttf in Resources */, 929 | DCB3158F9C8E437C95982792 /* SimpleLineIcons.ttf in Resources */, 930 | 9EC250AB94394DE391D5CD5F /* Zocial.ttf in Resources */, 931 | ); 932 | runOnlyForDeploymentPostprocessing = 0; 933 | }; 934 | /* End PBXResourcesBuildPhase section */ 935 | 936 | /* Begin PBXShellScriptBuildPhase section */ 937 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 938 | isa = PBXShellScriptBuildPhase; 939 | buildActionMask = 2147483647; 940 | files = ( 941 | ); 942 | inputPaths = ( 943 | ); 944 | name = "Bundle React Native code and images"; 945 | outputPaths = ( 946 | ); 947 | runOnlyForDeploymentPostprocessing = 0; 948 | shellPath = /bin/sh; 949 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 950 | }; 951 | /* End PBXShellScriptBuildPhase section */ 952 | 953 | /* Begin PBXSourcesBuildPhase section */ 954 | 00E356EA1AD99517003FC87E /* Sources */ = { 955 | isa = PBXSourcesBuildPhase; 956 | buildActionMask = 2147483647; 957 | files = ( 958 | 00E356F31AD99517003FC87E /* QRCodeTests.m in Sources */, 959 | ); 960 | runOnlyForDeploymentPostprocessing = 0; 961 | }; 962 | 13B07F871A680F5B00A75B9A /* Sources */ = { 963 | isa = PBXSourcesBuildPhase; 964 | buildActionMask = 2147483647; 965 | files = ( 966 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 967 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 968 | ); 969 | runOnlyForDeploymentPostprocessing = 0; 970 | }; 971 | /* End PBXSourcesBuildPhase section */ 972 | 973 | /* Begin PBXTargetDependency section */ 974 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 975 | isa = PBXTargetDependency; 976 | target = 13B07F861A680F5B00A75B9A /* QRCode */; 977 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 978 | }; 979 | /* End PBXTargetDependency section */ 980 | 981 | /* Begin PBXVariantGroup section */ 982 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 983 | isa = PBXVariantGroup; 984 | children = ( 985 | 13B07FB21A68108700A75B9A /* Base */, 986 | ); 987 | name = LaunchScreen.xib; 988 | path = QRCode; 989 | sourceTree = ""; 990 | }; 991 | /* End PBXVariantGroup section */ 992 | 993 | /* Begin XCBuildConfiguration section */ 994 | 00E356F61AD99517003FC87E /* Debug */ = { 995 | isa = XCBuildConfiguration; 996 | buildSettings = { 997 | BUNDLE_LOADER = "$(TEST_HOST)"; 998 | GCC_PREPROCESSOR_DEFINITIONS = ( 999 | "DEBUG=1", 1000 | "$(inherited)", 1001 | ); 1002 | INFOPLIST_FILE = QRCodeTests/Info.plist; 1003 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1004 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1005 | LIBRARY_SEARCH_PATHS = ( 1006 | "$(inherited)", 1007 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1008 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1009 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1010 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1011 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1012 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1013 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1014 | ); 1015 | PRODUCT_NAME = "$(TARGET_NAME)"; 1016 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/QRCode.app/QRCode"; 1017 | }; 1018 | name = Debug; 1019 | }; 1020 | 00E356F71AD99517003FC87E /* Release */ = { 1021 | isa = XCBuildConfiguration; 1022 | buildSettings = { 1023 | BUNDLE_LOADER = "$(TEST_HOST)"; 1024 | COPY_PHASE_STRIP = NO; 1025 | INFOPLIST_FILE = QRCodeTests/Info.plist; 1026 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1027 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1028 | LIBRARY_SEARCH_PATHS = ( 1029 | "$(inherited)", 1030 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1031 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1032 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1033 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1034 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1035 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1036 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1037 | ); 1038 | PRODUCT_NAME = "$(TARGET_NAME)"; 1039 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/QRCode.app/QRCode"; 1040 | }; 1041 | name = Release; 1042 | }; 1043 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1044 | isa = XCBuildConfiguration; 1045 | buildSettings = { 1046 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1047 | CURRENT_PROJECT_VERSION = 1; 1048 | DEAD_CODE_STRIPPING = NO; 1049 | HEADER_SEARCH_PATHS = ( 1050 | "$(inherited)", 1051 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 1052 | "$(SRCROOT)/../node_modules/react-native/React/**", 1053 | "$(SRCROOT)/../node_modules/react-native-camera/ios", 1054 | "$(SRCROOT)/../node_modules/react-native-clipboard/RNClipboard", 1055 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1056 | "$(SRCROOT)/../node_modules/react-native-share/ios", 1057 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1058 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1059 | "$(SRCROOT)/../node_modules/react-native-localization", 1060 | ); 1061 | INFOPLIST_FILE = QRCode/Info.plist; 1062 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1063 | OTHER_LDFLAGS = ( 1064 | "$(inherited)", 1065 | "-ObjC", 1066 | "-lc++", 1067 | ); 1068 | PRODUCT_NAME = QRCode; 1069 | VERSIONING_SYSTEM = "apple-generic"; 1070 | }; 1071 | name = Debug; 1072 | }; 1073 | 13B07F951A680F5B00A75B9A /* Release */ = { 1074 | isa = XCBuildConfiguration; 1075 | buildSettings = { 1076 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1077 | CURRENT_PROJECT_VERSION = 1; 1078 | HEADER_SEARCH_PATHS = ( 1079 | "$(inherited)", 1080 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 1081 | "$(SRCROOT)/../node_modules/react-native/React/**", 1082 | "$(SRCROOT)/../node_modules/react-native-camera/ios", 1083 | "$(SRCROOT)/../node_modules/react-native-clipboard/RNClipboard", 1084 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1085 | "$(SRCROOT)/../node_modules/react-native-share/ios", 1086 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1087 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1088 | "$(SRCROOT)/../node_modules/react-native-localization", 1089 | ); 1090 | INFOPLIST_FILE = QRCode/Info.plist; 1091 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1092 | OTHER_LDFLAGS = ( 1093 | "$(inherited)", 1094 | "-ObjC", 1095 | "-lc++", 1096 | ); 1097 | PRODUCT_NAME = QRCode; 1098 | VERSIONING_SYSTEM = "apple-generic"; 1099 | }; 1100 | name = Release; 1101 | }; 1102 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1103 | isa = XCBuildConfiguration; 1104 | buildSettings = { 1105 | ALWAYS_SEARCH_USER_PATHS = NO; 1106 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1107 | CLANG_CXX_LIBRARY = "libc++"; 1108 | CLANG_ENABLE_MODULES = YES; 1109 | CLANG_ENABLE_OBJC_ARC = YES; 1110 | CLANG_WARN_BOOL_CONVERSION = YES; 1111 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1112 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1113 | CLANG_WARN_EMPTY_BODY = YES; 1114 | CLANG_WARN_ENUM_CONVERSION = YES; 1115 | CLANG_WARN_INT_CONVERSION = YES; 1116 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1117 | CLANG_WARN_UNREACHABLE_CODE = YES; 1118 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1119 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1120 | COPY_PHASE_STRIP = NO; 1121 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1122 | GCC_C_LANGUAGE_STANDARD = gnu99; 1123 | GCC_DYNAMIC_NO_PIC = NO; 1124 | GCC_OPTIMIZATION_LEVEL = 0; 1125 | GCC_PREPROCESSOR_DEFINITIONS = ( 1126 | "DEBUG=1", 1127 | "$(inherited)", 1128 | ); 1129 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1130 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1131 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1132 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1133 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1134 | GCC_WARN_UNUSED_FUNCTION = YES; 1135 | GCC_WARN_UNUSED_VARIABLE = YES; 1136 | HEADER_SEARCH_PATHS = ( 1137 | "$(inherited)", 1138 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 1139 | "$(SRCROOT)/../node_modules/react-native/React/**", 1140 | "$(SRCROOT)/../node_modules/react-native-camera/ios", 1141 | "$(SRCROOT)/../node_modules/react-native-clipboard/RNClipboard", 1142 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1143 | "$(SRCROOT)/../node_modules/react-native-share/ios", 1144 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1145 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1146 | "$(SRCROOT)/../node_modules/react-native-localization", 1147 | ); 1148 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1149 | MTL_ENABLE_DEBUG_INFO = YES; 1150 | ONLY_ACTIVE_ARCH = YES; 1151 | SDKROOT = iphoneos; 1152 | }; 1153 | name = Debug; 1154 | }; 1155 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1156 | isa = XCBuildConfiguration; 1157 | buildSettings = { 1158 | ALWAYS_SEARCH_USER_PATHS = NO; 1159 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1160 | CLANG_CXX_LIBRARY = "libc++"; 1161 | CLANG_ENABLE_MODULES = YES; 1162 | CLANG_ENABLE_OBJC_ARC = YES; 1163 | CLANG_WARN_BOOL_CONVERSION = YES; 1164 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1165 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1166 | CLANG_WARN_EMPTY_BODY = YES; 1167 | CLANG_WARN_ENUM_CONVERSION = YES; 1168 | CLANG_WARN_INT_CONVERSION = YES; 1169 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1170 | CLANG_WARN_UNREACHABLE_CODE = YES; 1171 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1172 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1173 | COPY_PHASE_STRIP = YES; 1174 | ENABLE_NS_ASSERTIONS = NO; 1175 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1176 | GCC_C_LANGUAGE_STANDARD = gnu99; 1177 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1178 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1179 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1180 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1181 | GCC_WARN_UNUSED_FUNCTION = YES; 1182 | GCC_WARN_UNUSED_VARIABLE = YES; 1183 | HEADER_SEARCH_PATHS = ( 1184 | "$(inherited)", 1185 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 1186 | "$(SRCROOT)/../node_modules/react-native/React/**", 1187 | "$(SRCROOT)/../node_modules/react-native-camera/ios", 1188 | "$(SRCROOT)/../node_modules/react-native-clipboard/RNClipboard", 1189 | "$(SRCROOT)/../node_modules/react-native-simple-toast/ios/LRDRCTSimpleToast", 1190 | "$(SRCROOT)/../node_modules/react-native-share/ios", 1191 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1192 | "$(SRCROOT)/../node_modules/react-native-code-push/ios/CodePush/**", 1193 | "$(SRCROOT)/../node_modules/react-native-localization", 1194 | ); 1195 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1196 | MTL_ENABLE_DEBUG_INFO = NO; 1197 | SDKROOT = iphoneos; 1198 | VALIDATE_PRODUCT = YES; 1199 | }; 1200 | name = Release; 1201 | }; 1202 | /* End XCBuildConfiguration section */ 1203 | 1204 | /* Begin XCConfigurationList section */ 1205 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "QRCodeTests" */ = { 1206 | isa = XCConfigurationList; 1207 | buildConfigurations = ( 1208 | 00E356F61AD99517003FC87E /* Debug */, 1209 | 00E356F71AD99517003FC87E /* Release */, 1210 | ); 1211 | defaultConfigurationIsVisible = 0; 1212 | defaultConfigurationName = Release; 1213 | }; 1214 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "QRCode" */ = { 1215 | isa = XCConfigurationList; 1216 | buildConfigurations = ( 1217 | 13B07F941A680F5B00A75B9A /* Debug */, 1218 | 13B07F951A680F5B00A75B9A /* Release */, 1219 | ); 1220 | defaultConfigurationIsVisible = 0; 1221 | defaultConfigurationName = Release; 1222 | }; 1223 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "QRCode" */ = { 1224 | isa = XCConfigurationList; 1225 | buildConfigurations = ( 1226 | 83CBBA201A601CBA00E9B192 /* Debug */, 1227 | 83CBBA211A601CBA00E9B192 /* Release */, 1228 | ); 1229 | defaultConfigurationIsVisible = 0; 1230 | defaultConfigurationName = Release; 1231 | }; 1232 | /* End XCConfigurationList section */ 1233 | }; 1234 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1235 | } 1236 | -------------------------------------------------------------------------------- /ios/QRCode.xcodeproj/xcshareddata/xcschemes/QRCode.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /ios/QRCode/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/QRCode/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | #import "CodePush.h" 12 | 13 | #import "RCTBundleURLProvider.h" 14 | #import "RCTRootView.h" 15 | 16 | @implementation AppDelegate 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 19 | { 20 | NSURL *jsCodeLocation; 21 | 22 | 23 | #ifdef DEBUG 24 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 25 | #else 26 | jsCodeLocation = [CodePush bundleURL]; 27 | #endif 28 | 29 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 30 | moduleName:@"QRCode" 31 | initialProperties:nil 32 | launchOptions:launchOptions]; 33 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 34 | 35 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 36 | UIViewController *rootViewController = [UIViewController new]; 37 | rootViewController.view = rootView; 38 | self.window.rootViewController = rootViewController; 39 | [self.window makeKeyAndVisible]; 40 | return YES; 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /ios/QRCode/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/QRCode/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/QRCode/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 | NSExceptionDomains 44 | 45 | localhost 46 | 47 | NSExceptionAllowsInsecureHTTPLoads 48 | 49 | 50 | 51 | 52 | UIAppFonts 53 | 54 | rubicon-icon-font.ttf 55 | Rubik-Black.ttf 56 | Rubik-BlackItalic.ttf 57 | Rubik-Bold.ttf 58 | Rubik-BoldItalic.ttf 59 | Rubik-Italic.ttf 60 | Rubik-Light.ttf 61 | Rubik-LightItalic.ttf 62 | Rubik-Medium.ttf 63 | Rubik-MediumItalic.ttf 64 | Rubik-Regular.ttf 65 | Entypo.ttf 66 | EvilIcons.ttf 67 | FontAwesome.ttf 68 | Foundation.ttf 69 | Ionicons.ttf 70 | MaterialIcons.ttf 71 | Octicons.ttf 72 | SimpleLineIcons.ttf 73 | Zocial.ttf 74 | 75 | CodePushDeploymentKey 76 | Xmf-BEv6kQMIGd9EE3tdIdT5rX2wVk5-bpfe- 77 | NSCameraUsageDescription 78 | Read and scan Codes 79 | 80 | 81 | -------------------------------------------------------------------------------- /ios/QRCode/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ios/QRCodeTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/QRCodeTests/QRCodeTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import "RCTLog.h" 14 | #import "RCTRootView.h" 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface QRCodeTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation QRCodeTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /js/BarcodeScannerApp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import React from 'react'; 4 | import Camera from 'react-native-camera'; 5 | import Toast from 'react-native-simple-toast'; 6 | import Share from 'react-native-share'; 7 | import validUrl from 'valid-url'; 8 | import NavigationBar from 'react-native-navbar'; 9 | import ViewFinder from './ViewFinder'; 10 | import FAIcon from 'react-native-vector-icons/FontAwesome'; 11 | import FirebaseAnalytics from './FirebaseAnalytics'; 12 | import codePush from "react-native-code-push"; 13 | import QRCode from 'react-native-qrcode'; 14 | import LocalizedStrings from 'react-native-localization'; 15 | 16 | import { 17 | TouchableOpacity, 18 | Modal, 19 | View, 20 | TouchableHighlight, 21 | Image, 22 | Dimensions, 23 | Text, 24 | Linking, 25 | AsyncStorage, 26 | StatusBar, 27 | Clipboard, 28 | UIManager, 29 | LayoutAnimation, 30 | BackAndroid, 31 | Platform, 32 | ListView, 33 | AppState 34 | } from 'react-native'; 35 | 36 | import { 37 | Card, 38 | Caption, 39 | Subtitle, 40 | Title, 41 | Icon, 42 | Button, 43 | Text as SHText, 44 | TextInput 45 | } from '@shoutem/ui'; 46 | 47 | const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); 48 | 49 | const primaryColor = '#fc6821'; 50 | 51 | const strings = new LocalizedStrings({ 52 | en: { 53 | history: 'History', 54 | cantHandleUrl: 'Can\'t handle url: ', 55 | errorOccured: 'An error occurred ', 56 | copied: 'Copied to clipboard!', 57 | textToGenerate: 'Text to generate', 58 | noHistory: 'No history yet :(', 59 | open: 'Open', 60 | copy: 'Copy', 61 | share: 'Share' 62 | }, 63 | ru: { 64 | history: 'История', 65 | cantHandleUrl: 'Не могу открыть ссылку: ', 66 | errorOccured: 'Произошла ошибка ', 67 | copied: 'Скопированно в буфер обмена!', 68 | textToGenerate: 'Текст для генерации', 69 | noHistory: 'Пока пусто :(', 70 | open: 'Открыть', 71 | copy: 'Скопировать', 72 | share: 'Поделиться' 73 | } 74 | }); 75 | 76 | class BarcodeScannerApp extends React.Component { 77 | constructor(props) { 78 | super(props); 79 | 80 | console.disableYellowBox = true; 81 | 82 | this.state = { 83 | cameraType: 'back', 84 | flashlightEnabled: false, 85 | resultModalVisible: false, 86 | parsingResult: null, 87 | historyModalVisible: false, 88 | generateModalVisible: false, 89 | history: ds.cloneWithRows([]), 90 | textToGenerate: '', 91 | torchMode: Camera.constants.TorchMode.off, 92 | isActiveState: true 93 | }; 94 | 95 | BackAndroid.addEventListener('hardwareBackPress', this.pop.bind(this)); 96 | 97 | this.loadHistory(); 98 | } 99 | 100 | /** 101 | * Log event to Firebase analytics 102 | * @param eventName name of the event 103 | */ 104 | logEvent(eventName) { 105 | if (Platform.OS === 'android') { 106 | FirebaseAnalytics.logEvent(eventName, {}); 107 | } 108 | } 109 | 110 | /** 111 | * Called on BackButton press. Hides modal is any of them currently visible 112 | * or exits the app. 113 | */ 114 | pop() { 115 | if (this.state.historyModalVisible) { 116 | this.toggleHistoryModal(); 117 | } else if (this.state.resultModalVisible) { 118 | this.closeResultsModal(); 119 | } else { 120 | BackAndroid.exitApp() 121 | } 122 | return true; 123 | } 124 | 125 | async loadHistory() { 126 | try { 127 | const value = await AsyncStorage.getItem('history'); 128 | if (value !== null){ 129 | this.state.history = JSON.parse(value); 130 | } 131 | } catch (error) { 132 | alert(error); 133 | } 134 | } 135 | 136 | async saveToHistory() { 137 | try { 138 | await AsyncStorage.setItem('history', JSON.stringify(this.state.history)); 139 | } catch (error) { 140 | alert(error); 141 | } 142 | } 143 | 144 | closeResultsModal() { 145 | this.setState({ 146 | resultModalVisible: !this.state.resultModalVisible, 147 | parsingResult: null 148 | }) 149 | } 150 | 151 | toggleHistoryModal() { 152 | if (!this.state.historyModalVisible) { 153 | this.logEvent('open_history'); 154 | } 155 | 156 | this.setState({ 157 | historyModalVisible: !this.state.historyModalVisible 158 | }); 159 | } 160 | 161 | toggleGenerateModal() { 162 | if (!this.state.generateModalVisible) { 163 | this.logEvent('open_generate'); 164 | } else { 165 | if (this.state.textToGenerate) { 166 | this.setState({ 167 | textToGenerate: '' 168 | }); 169 | } 170 | } 171 | 172 | this.setState({ 173 | generateModalVisible: !this.state.generateModalVisible 174 | }); 175 | } 176 | 177 | toggleFlash() { 178 | this.setState({ 179 | flashlightEnabled: !this.state.flashlightEnabled, 180 | torchMode: this.state.torchMode == Camera.constants.TorchMode.off ? 181 | Camera.constants.TorchMode.on : Camera.constants.TorchMode.off 182 | }); 183 | } 184 | 185 | barcodeReceived(e) { 186 | if (this.state.parsingResult || 187 | this.state.generateModalVisible || 188 | this.state.historyModalVisible) return; 189 | 190 | this.setState({ 191 | parsingResult: e.data, 192 | resultModalVisible: true, 193 | history: [...this.state.history, { 194 | type: e.type, 195 | data: e.data 196 | }] 197 | }); 198 | 199 | this.saveToHistory(); 200 | } 201 | 202 | async openUrl(url) { 203 | this.logEvent('open_url'); 204 | 205 | Linking.canOpenURL(url).then(supported => { 206 | if (!supported) { 207 | alert(strings.cantHandleUrl + url); 208 | } else { 209 | return Linking.openURL(url); 210 | } 211 | }).catch(err => alert(strings.errorOccurred + err)); 212 | } 213 | 214 | _renderNavigator() { 215 | const rightButtonConfig = ( 216 | 222 | ); 223 | 224 | return ( 225 | 226 | 230 | 231 | ); 232 | } 233 | 234 | renderRow(data) { 235 | let iconName = 'dot-circle-o'; 236 | if (data.type === 'CODE_128') { 237 | iconName = 'barcode'; 238 | } else if (data.type === 'QR_CODE') { 239 | if (validUrl.isUri(data.data)) { 240 | iconName = 'globe'; 241 | } else { 242 | iconName = 'qrcode'; 243 | } 244 | } 245 | 246 | return ( 247 | 248 | 253 | 254 | {data.data} 255 | 256 | 266 | 267 | 287 | 288 | ); 289 | } 290 | 291 | _renderResultModal() { 292 | return ( 293 | { 298 | this.closeResultsModal(); 299 | }} 300 | > 301 | 302 | 303 | 304 | 305 | { 307 | this.closeResultsModal(); 308 | }} 309 | > 310 | 311 | 312 | 313 | 314 | {this.state.parsingResult} 315 | 316 | 317 | 318 | { validUrl.isUri(this.state.parsingResult) ? 319 | { 321 | this.openUrl(this.state.parsingResult); 322 | }} 323 | style={styles.actionButton} 324 | > 325 | 326 | 327 | {strings.open} 328 | 329 | : null 330 | } 331 | 332 | { 335 | Clipboard.setString(this.state.parsingResult.toString()); 336 | Toast.show(strings.copied); 337 | this.closeResultsModal(); 338 | this.logEvent('copy_to_clipboard'); 339 | }} 340 | > 341 | 342 | {strings.copy} 343 | 344 | { 346 | Share.open(validUrl.isUri(this.state.parsingResult) ? { 347 | url: this.state.parsingResult 348 | } : { 349 | message: this.state.parsingResult 350 | }); 351 | this.closeResultsModal(); 352 | this.logEvent('share'); 353 | }} 354 | style={styles.actionButton} 355 | > 356 | 357 | {strings.share} 358 | 359 | 360 | 361 | 362 | 363 | 364 | ) 365 | } 366 | 367 | _renderHistoryModal() { 368 | const toRender = ds.cloneWithRows(this.state.history); 369 | 370 | return ( 371 | { 376 | this.toggleHistoryModal(); 377 | }} 378 | > 379 | 380 | {this._renderNavigator()} 381 | 382 | {this.state.history.length ? 383 | ( 384 | 389 | ) : 390 | ( 391 | 392 | {strings.noHistory} 393 | 394 | ) 395 | } 396 | 397 | 398 | ) 399 | } 400 | 401 | _renderGenerateModal() { 402 | return ( 403 | { 408 | this.toggleGenerateModal(); 409 | }} 410 | > 411 | 412 | 413 | 414 | 415 | { 417 | this.toggleGenerateModal(); 418 | }} 419 | > 420 | 421 | 422 | 423 | 424 | { 427 | this.setState({ 428 | textToGenerate: newText 429 | }) 430 | }} 431 | /> 432 | 433 | 434 | 440 | 441 | 442 | 443 | 444 | 445 | ) 446 | } 447 | 448 | render() { 449 | const TopComponent = this.state.isActiveState ? Camera : View; 450 | 451 | return ( 452 | 453 | 456 | 457 | {this._renderResultModal()} 458 | {this._renderHistoryModal()} 459 | {this._renderGenerateModal()} 460 | 461 | 466 | 467 | 468 | { 470 | this.toggleGenerateModal(); 471 | }} 472 | style={styles.button} 473 | > 474 | 478 | 479 | { 481 | this.toggleFlash(); 482 | if (!this.state.flashlightEnabled) { 483 | this.logEvent('toggle_flash'); 484 | } 485 | }} 486 | style={[styles.button, this.state.flashlightEnabled && styles.buttonActive]} 487 | > 488 | 492 | 493 | this.toggleHistoryModal()} 495 | style={styles.button} 496 | > 497 | 501 | 502 | 503 | 504 | 505 | ); 506 | } 507 | } 508 | 509 | const styles = { 510 | buttonsContainer: { 511 | position: 'absolute', 512 | bottom: 0, 513 | height: 100, 514 | left: 0, 515 | right: 0, 516 | alignItems: 'center', 517 | justifyContent: 'space-around', 518 | flexDirection: 'row', 519 | opacity: 0.3 520 | }, 521 | button: { 522 | height: 60, 523 | width: 60, 524 | borderRadius: 30, 525 | backgroundColor: 'black', 526 | alignItems: 'center', 527 | justifyContent: 'center' 528 | }, 529 | buttonImage: { 530 | width: 40, 531 | height: 40, 532 | tintColor: 'white' 533 | }, 534 | buttonActive: { 535 | backgroundColor: primaryColor, 536 | opacity: 1 537 | }, 538 | actionButton: { 539 | flex: 1, 540 | alignItems: 'center', 541 | justifyContent: 'center', 542 | margin: 5, 543 | padding: 5, 544 | backgroundColor: '#e3e3e3', 545 | borderRadius: 10 546 | }, 547 | modalContainer: { 548 | flex: 1, 549 | backgroundColor: 'rgba(0,0,0,0.6)', 550 | alignItems: 'center', 551 | justifyContent: 'center' 552 | }, 553 | modalCardContainer: { 554 | width: Dimensions.get('window').width / 5 * 4, 555 | padding: 5 556 | }, 557 | modalCardContent: { 558 | marginTop: 10, 559 | borderBottomWidth: 1, 560 | borderBottomColor: '#e3e3e3', 561 | alignSelf: 'stretch' 562 | }, 563 | navigationBarContainer: { 564 | paddingTop: 5, 565 | marginBottom: 5, 566 | backgroundColor: '#F8F8F8' 567 | }, 568 | navigationBar: { 569 | backgroundColor: '#F8F8F8' 570 | }, 571 | navigationBarButton: { 572 | marginTop: 5, 573 | backgroundColor: '#F8F8F8', 574 | borderWidth: 0 575 | }, 576 | historyModalContainer: { 577 | flex: 1, 578 | backgroundColor: '#F8F8F8', 579 | justifyContent: 'flex-start', 580 | top: 0 581 | }, 582 | historyRowItemStyle: { 583 | flex: 1, 584 | alignSelf: 'stretch', 585 | backgroundColor: 'white', 586 | marginTop: 3, 587 | marginBottom: 3 588 | } 589 | }; 590 | 591 | export default codePush(BarcodeScannerApp); -------------------------------------------------------------------------------- /js/FirebaseAnalytics.js: -------------------------------------------------------------------------------- 1 | import { NativeModules } from 'react-native'; 2 | module.exports = NativeModules.FirebaseAnalytics; -------------------------------------------------------------------------------- /js/ViewFinder.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | PropTypes, 3 | } from 'react'; 4 | 5 | import { 6 | ActivityIndicator, 7 | Platform, 8 | StyleSheet, 9 | View, 10 | } from 'react-native'; 11 | 12 | class Viewfinder extends React.Component { 13 | static propTypes = { 14 | backgroundColor: PropTypes.string, 15 | borderWidth: PropTypes.number, 16 | borderLength: PropTypes.number, 17 | color: PropTypes.string, 18 | height: PropTypes.number, 19 | isLoading: PropTypes.bool, 20 | width: PropTypes.number, 21 | }; 22 | 23 | static defaultProps = { 24 | backgroundColor: 'transparent', 25 | borderWidth: 2, 26 | borderLength: 30, 27 | color: 'white', 28 | height: 200, 29 | isLoading: false, 30 | width: 200, 31 | }; 32 | 33 | constructor(props) { 34 | super(props); 35 | 36 | this.getBackgroundColor = this.getBackgroundColor.bind(this); 37 | this.getSizeStyles = this.getSizeStyles.bind(this); 38 | this.getEdgeSizeStyles = this.getEdgeSizeStyles.bind(this); 39 | this.renderLoadingIndicator = this.renderLoadingIndicator.bind(this); 40 | } 41 | 42 | getBackgroundColor() { 43 | return ({ 44 | backgroundColor: this.props.backgroundColor, 45 | }); 46 | } 47 | 48 | getEdgeColor() { 49 | return ({ 50 | borderColor: this.props.color, 51 | }); 52 | } 53 | 54 | getSizeStyles() { 55 | return ({ 56 | height: this.props.height, 57 | width: this.props.width, 58 | }); 59 | } 60 | 61 | getEdgeSizeStyles() { 62 | return ({ 63 | height: this.props.borderLength, 64 | width: this.props.borderLength, 65 | }); 66 | } 67 | 68 | renderLoadingIndicator() { 69 | if (!this.props.isLoading) { 70 | return null; 71 | } 72 | 73 | return ( 74 | 79 | ); 80 | } 81 | 82 | render() { 83 | return ( 84 | 85 | 86 | 95 | 104 | {this.renderLoadingIndicator()} 105 | 114 | 123 | 124 | 125 | ); 126 | } 127 | } 128 | 129 | const styles = StyleSheet.create({ 130 | container: { 131 | alignItems: 'center', 132 | justifyContent: 'center', 133 | position: 'absolute', 134 | top: 0, 135 | right: 0, 136 | bottom: 100, 137 | left: 0, 138 | }, 139 | viewfinder: { 140 | alignItems: 'center', 141 | justifyContent: 'center', 142 | }, 143 | topLeftEdge: { 144 | position: 'absolute', 145 | top: 0, 146 | left: 0, 147 | }, 148 | topRightEdge: { 149 | position: 'absolute', 150 | top: 0, 151 | right: 0, 152 | }, 153 | bottomLeftEdge: { 154 | position: 'absolute', 155 | bottom: 0, 156 | left: 0, 157 | }, 158 | bottomRightEdge: { 159 | position: 'absolute', 160 | bottom: 0, 161 | right: 0, 162 | }, 163 | }); 164 | 165 | export default Viewfinder; -------------------------------------------------------------------------------- /js/img/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/js/img/clock.png -------------------------------------------------------------------------------- /js/img/flash_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/js/img/flash_light.png -------------------------------------------------------------------------------- /js/img/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insiderdev/react-native-qrcode-app/d95c333e5aaa09e10bbf71c58dec4edaefa25809/js/img/plus.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "QRCode", 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 | "@shoutem/ui": "^0.9.1", 11 | "react": "15.3.2", 12 | "react-native": "0.36.1", 13 | "react-native-camera": "git+https://github.com/lwansbrough/react-native-camera.git", 14 | "react-native-code-push": "^1.16.0-beta", 15 | "react-native-localization": "^0.1.22", 16 | "react-native-navbar": "^1.5.4", 17 | "react-native-share": "^1.0.17", 18 | "react-native-simple-toast": "0.0.5", 19 | "react-native-vector-icons": "^3.0.0", 20 | "valid-url": "^1.0.9" 21 | }, 22 | "jest": { 23 | "preset": "jest-react-native" 24 | }, 25 | "devDependencies": { 26 | "babel-jest": "16.0.0", 27 | "babel-preset-react-native": "1.9.0", 28 | "jest": "16.0.2", 29 | "jest-react-native": "16.1.0", 30 | "react-native-qrcode": "^0.2.3", 31 | "react-test-renderer": "15.3.2" 32 | } 33 | } 34 | --------------------------------------------------------------------------------