├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── LICENSE ├── README.md ├── __tests__ └── App.js ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── Feather.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── java │ │ └── com │ │ │ └── awesomeproject │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── demo ├── R1.jpg ├── R2.jpg ├── R3.jpg ├── R4.jpg └── main.gif ├── index.js ├── ios ├── AwesomeProject-tvOS │ └── Info.plist ├── AwesomeProject-tvOSTests │ └── Info.plist ├── AwesomeProject.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── AwesomeProject-tvOS.xcscheme │ │ └── AwesomeProject.xcscheme ├── AwesomeProject │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── AwesomeProjectTests │ ├── AwesomeProjectTests.m │ └── Info.plist ├── package-lock.json ├── package.json ├── src ├── App.js ├── MainTabs.js ├── actions │ ├── index.js │ ├── note.js │ └── types.js ├── components │ ├── BottomBar.js │ ├── DateTimeSelectItem.js │ ├── ImageContent.js │ ├── NoteItem.js │ ├── SearchBar.js │ ├── TextContent.js │ └── TouchableItem.js ├── reducers │ ├── createReducer.js │ ├── index.js │ └── note.js ├── screens │ ├── LocationScreen.js │ ├── NoteScreen.js │ └── NotesScreen.js └── utils │ ├── calendarEvent.js │ ├── constants.js │ ├── geocode.js │ ├── notification.js │ └── typeDefenition.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /.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 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | [include] 20 | 21 | [libs] 22 | node_modules/react-native/Libraries/react-native/react-native-interface.js 23 | node_modules/react-native/flow/ 24 | 25 | [options] 26 | emoji=true 27 | 28 | module.system=haste 29 | 30 | munge_underscores=true 31 | 32 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FlowFixMeProps 37 | suppress_type=$FlowFixMeState 38 | suppress_type=$FixMe 39 | 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 44 | 45 | unsafe.enable_getters_and_setters=true 46 | 47 | [version] 48 | ^0.56.0 49 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License 3 | 4 | Copyright (c) 2015 kf 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Renote 2 | 3 | Simple a react-native example for make notes. The App can create notes, set a time reminder, attach photos from a camera or gallery, attach a location and add a calendar event. 4 | 5 | > It's not complete app. Was created for testing RN features no more. 6 | 7 | # App preview 8 | 9 | ![Preview](demo/R1.jpg "App preview") 10 | ![Preview](demo/R2.jpg "App preview") 11 | ![Preview](demo/R3.jpg "App preview") 12 | ![Preview](demo/R4.jpg "App preview") 13 | 14 | ## Install and run 15 | ``` 16 | npm install -g react-native-cli 17 | git clone https://github.com/mavajee/react-native-note-example.git 18 | cd react-native-note-example 19 | npm install 20 | ``` 21 | 22 | #### Run on Android 23 | ``` 24 | react-native run-android 25 | ``` 26 | 27 | #### Run on ios 28 | ``` 29 | react-native run-ios 30 | ``` 31 | 32 | # TODO: 33 | - Clear Screen components. Follow "Container and Presentational components" pattern; 34 | - Flowify state; 35 | - Add FireBase. -------------------------------------------------------------------------------- /__tests__/App.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import App from '../App'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.renote", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.renote", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion 23 98 | buildToolsVersion "23.0.1" 99 | 100 | defaultConfig { 101 | applicationId "com.renote" 102 | minSdkVersion 16 103 | targetSdkVersion 22 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | signingConfigs { 111 | release { 112 | if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) { 113 | storeFile file(MYAPP_RELEASE_STORE_FILE) 114 | storePassword MYAPP_RELEASE_STORE_PASSWORD 115 | keyAlias MYAPP_RELEASE_KEY_ALIAS 116 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 117 | } 118 | } 119 | } 120 | splits { 121 | abi { 122 | reset() 123 | enable enableSeparateBuildPerCPUArchitecture 124 | universalApk false // If true, also generate a universal APK 125 | include "armeabi-v7a", "x86" 126 | } 127 | } 128 | buildTypes { 129 | release { 130 | minifyEnabled enableProguardInReleaseBuilds 131 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 132 | signingConfig signingConfigs.release 133 | } 134 | } 135 | // applicationVariants are e.g. debug, release 136 | applicationVariants.all { variant -> 137 | variant.outputs.each { output -> 138 | // For each separate APK per architecture, set a unique version code as described here: 139 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 140 | def versionCodes = ["armeabi-v7a":1, "x86":2] 141 | def abi = output.getFilter(OutputFile.ABI) 142 | if (abi != null) { // null for the universal-debug, universal-release variants 143 | output.versionCodeOverride = 144 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 145 | } 146 | } 147 | } 148 | } 149 | 150 | dependencies { 151 | compile project(':react-native-push-notification') 152 | compile project(':react-native-calendar-events') 153 | compile project(':react-native-maps') 154 | compile project(':react-native-vector-icons') 155 | compile project(':react-native-image-picker') 156 | compile fileTree(dir: "libs", include: ["*.jar"]) 157 | compile "com.android.support:appcompat-v7:23.0.1" 158 | compile "com.facebook.react:react-native:+" // From node_modules 159 | compile ('com.google.android.gms:play-services-gcm:+') { 160 | force = true; 161 | } 162 | // compile 'com.google.android.gms:play-services-gcm:+' 163 | compile "com.google.android.gms:play-services-base:+" 164 | compile 'com.google.android.gms:play-services-location:+' 165 | compile 'com.google.android.gms:play-services-maps:+' 166 | } 167 | 168 | // Run this once to be able to run the application with BUCK 169 | // puts all compile dependencies into folder libs for BUCK to use 170 | task copyDownloadableDepsToLibs(type: Copy) { 171 | from configurations.compile 172 | into 'libs' 173 | } 174 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout. 54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details. 55 | -dontwarn android.text.StaticLayout 56 | 57 | # okhttp 58 | 59 | -keepattributes Signature 60 | -keepattributes *Annotation* 61 | -keep class okhttp3.** { *; } 62 | -keep interface okhttp3.** { *; } 63 | -dontwarn okhttp3.** 64 | 65 | # okio 66 | 67 | -keep class sun.misc.Unsafe { *; } 68 | -dontwarn java.nio.file.* 69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 70 | -dontwarn okio.** 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 33 | 34 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/awesomeproject/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.renote; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "Renote"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/awesomeproject/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.renote; 2 | 3 | import android.app.Application; 4 | 5 | import com.airbnb.android.react.maps.MapsPackage; 6 | import com.facebook.react.ReactApplication; 7 | import com.dieam.reactnativepushnotification.ReactNativePushNotificationPackage; 8 | import com.calendarevents.CalendarEventsPackage; 9 | import com.oblador.vectoricons.VectorIconsPackage; 10 | import com.imagepicker.ImagePickerPackage; 11 | import com.facebook.react.ReactNativeHost; 12 | import com.facebook.react.ReactPackage; 13 | import com.facebook.react.shell.MainReactPackage; 14 | import com.facebook.soloader.SoLoader; 15 | 16 | import java.util.Arrays; 17 | import java.util.List; 18 | 19 | public class MainApplication extends Application implements ReactApplication { 20 | 21 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 22 | @Override 23 | public boolean getUseDeveloperSupport() { 24 | return BuildConfig.DEBUG; 25 | } 26 | 27 | @Override 28 | protected List getPackages() { 29 | return Arrays.asList( 30 | new MainReactPackage(), 31 | new ReactNativePushNotificationPackage(), 32 | new CalendarEventsPackage(), 33 | new VectorIconsPackage(), 34 | new ImagePickerPackage(), 35 | new MapsPackage() 36 | ); 37 | } 38 | 39 | @Override 40 | protected String getJSMainModuleName() { 41 | return "index"; 42 | } 43 | }; 44 | 45 | @Override 46 | public ReactNativeHost getReactNativeHost() { 47 | return mReactNativeHost; 48 | } 49 | 50 | @Override 51 | public void onCreate() { 52 | super.onCreate(); 53 | SoLoader.init(this, /* native exopackage */ false); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Renote 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.3' 9 | // compile project(':react-native-image-picker') 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | mavenLocal() 19 | jcenter() 20 | maven { 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 | MYAPP_RELEASE_STORE_FILE=my-release-key.keystore 22 | MYAPP_RELEASE_KEY_ALIAS=my-key-alias 23 | MYAPP_RELEASE_STORE_PASSWORD= 24 | MYAPP_RELEASE_KEY_PASSWORD= -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 6 | -------------------------------------------------------------------------------- /android/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 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 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 = 'Renote' 2 | include ':react-native-push-notification' 3 | project(':react-native-push-notification').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-push-notification/android') 4 | include ':react-native-calendar-events' 5 | project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android') 6 | include ':react-native-vector-icons' 7 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 8 | include ':react-native-image-picker' 9 | project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android') 10 | 11 | include ':react-native-maps' 12 | project(':react-native-maps').projectDir = new File( 13 | rootProject.projectDir, 14 | '../node_modules/react-native-maps/lib/android' 15 | ) 16 | 17 | include ':app' 18 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Renote", 3 | "displayName": "Renote" 4 | } -------------------------------------------------------------------------------- /demo/R1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/demo/R1.jpg -------------------------------------------------------------------------------- /demo/R2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/demo/R2.jpg -------------------------------------------------------------------------------- /demo/R3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/demo/R3.jpg -------------------------------------------------------------------------------- /demo/R4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/demo/R4.jpg -------------------------------------------------------------------------------- /demo/main.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mavajee/react-native-note-example/556b129fc5d78566e050c869809000f1ce19daf5/demo/main.gif -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from './src/App'; 3 | 4 | AppRegistry.registerComponent('Renote', () => App); 5 | -------------------------------------------------------------------------------- /ios/AwesomeProject-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/AwesomeProject-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/AwesomeProject.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* RenoteTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RenoteTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 25 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 26 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 27 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 28 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 29 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 30 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 31 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 32 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 33 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 34 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 35 | 2DCD954D1E0B4F2C00145EB5 /* RenoteTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RenoteTests.m */; }; 36 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 37 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 38 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 39 | 618DE56EAB0A4E609674C8C6 /* libRNImagePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 596DEF4C597847D7B30E9686 /* libRNImagePicker.a */; }; 40 | 432E8E79A0E245159367C169 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 455F39192D8B4B159371956D /* libRNVectorIcons.a */; }; 41 | 73D1053596344C94BDBE3B1F /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0844867A935A4C40B398381D /* Entypo.ttf */; }; 42 | 8E81331C808E4BCFBFC634BB /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 65269FBDA8C147AF9DF261A4 /* EvilIcons.ttf */; }; 43 | 91531E5922904D3090321F91 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A76766019C824CE2B6B56A1D /* Feather.ttf */; }; 44 | 80B301870A1046D295EC04BC /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DB2FC17D99004573ADF9156A /* FontAwesome.ttf */; }; 45 | 6E78E7D0BA374E36A27F4B4A /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 82570BBFB349453A8C80C825 /* Foundation.ttf */; }; 46 | 80F6F038BCD34C5C8B029088 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8DAC70D448B545519A72590C /* Ionicons.ttf */; }; 47 | C2487DEB2C334142B146F290 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EEE43EF808BB45FF81A3EAE7 /* MaterialCommunityIcons.ttf */; }; 48 | 23DE981BE08F498284196108 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F69F59E6FAF3405AAB346F87 /* MaterialIcons.ttf */; }; 49 | 4907517DD5DD4B39BF8FF8DA /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 67F07DF709FA4FF7896DB414 /* Octicons.ttf */; }; 50 | 64DCDAF08D7143C9943906AE /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2B970CD15111430AA39E2900 /* SimpleLineIcons.ttf */; }; 51 | F3AC0EC9E925419DBEF24C6D /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8B6030F4871F48C892678C0E /* Zocial.ttf */; }; 52 | 264AC4EFA651427AB2A63705 /* libRNCalendarEvents.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 009D82859D25433D8861B2DB /* libRNCalendarEvents.a */; }; 53 | 188565434DB34AFE897104CA /* libAirMaps.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B03F7D5200944C3680D0A1DF /* libAirMaps.a */; }; 54 | /* End PBXBuildFile section */ 55 | 56 | /* Begin PBXContainerItemProxy section */ 57 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 58 | isa = PBXContainerItemProxy; 59 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 60 | proxyType = 2; 61 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 62 | remoteInfo = RCTActionSheet; 63 | }; 64 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 65 | isa = PBXContainerItemProxy; 66 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 67 | proxyType = 2; 68 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 69 | remoteInfo = RCTGeolocation; 70 | }; 71 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 72 | isa = PBXContainerItemProxy; 73 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 74 | proxyType = 2; 75 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 76 | remoteInfo = RCTImage; 77 | }; 78 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 79 | isa = PBXContainerItemProxy; 80 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 81 | proxyType = 2; 82 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 83 | remoteInfo = RCTNetwork; 84 | }; 85 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 86 | isa = PBXContainerItemProxy; 87 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 88 | proxyType = 2; 89 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 90 | remoteInfo = RCTVibration; 91 | }; 92 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 93 | isa = PBXContainerItemProxy; 94 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 95 | proxyType = 1; 96 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 97 | remoteInfo = Renote; 98 | }; 99 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 100 | isa = PBXContainerItemProxy; 101 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 102 | proxyType = 2; 103 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 104 | remoteInfo = RCTSettings; 105 | }; 106 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 107 | isa = PBXContainerItemProxy; 108 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 109 | proxyType = 2; 110 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 111 | remoteInfo = RCTWebSocket; 112 | }; 113 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 114 | isa = PBXContainerItemProxy; 115 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 116 | proxyType = 2; 117 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 118 | remoteInfo = React; 119 | }; 120 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 121 | isa = PBXContainerItemProxy; 122 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 123 | proxyType = 1; 124 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 125 | remoteInfo = "Renote-tvOS"; 126 | }; 127 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 128 | isa = PBXContainerItemProxy; 129 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 130 | proxyType = 2; 131 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 132 | remoteInfo = "RCTImage-tvOS"; 133 | }; 134 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 135 | isa = PBXContainerItemProxy; 136 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 137 | proxyType = 2; 138 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 139 | remoteInfo = "RCTLinking-tvOS"; 140 | }; 141 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 142 | isa = PBXContainerItemProxy; 143 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 144 | proxyType = 2; 145 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 146 | remoteInfo = "RCTNetwork-tvOS"; 147 | }; 148 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 149 | isa = PBXContainerItemProxy; 150 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 151 | proxyType = 2; 152 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 153 | remoteInfo = "RCTSettings-tvOS"; 154 | }; 155 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 156 | isa = PBXContainerItemProxy; 157 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 158 | proxyType = 2; 159 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 160 | remoteInfo = "RCTText-tvOS"; 161 | }; 162 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 163 | isa = PBXContainerItemProxy; 164 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 165 | proxyType = 2; 166 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 167 | remoteInfo = "RCTWebSocket-tvOS"; 168 | }; 169 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 170 | isa = PBXContainerItemProxy; 171 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 172 | proxyType = 2; 173 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 174 | remoteInfo = "React-tvOS"; 175 | }; 176 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 177 | isa = PBXContainerItemProxy; 178 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 179 | proxyType = 2; 180 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 181 | remoteInfo = yoga; 182 | }; 183 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 184 | isa = PBXContainerItemProxy; 185 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 186 | proxyType = 2; 187 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 188 | remoteInfo = "yoga-tvOS"; 189 | }; 190 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 191 | isa = PBXContainerItemProxy; 192 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 193 | proxyType = 2; 194 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 195 | remoteInfo = cxxreact; 196 | }; 197 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 198 | isa = PBXContainerItemProxy; 199 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 200 | proxyType = 2; 201 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 202 | remoteInfo = "cxxreact-tvOS"; 203 | }; 204 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 205 | isa = PBXContainerItemProxy; 206 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 207 | proxyType = 2; 208 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 209 | remoteInfo = jschelpers; 210 | }; 211 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 212 | isa = PBXContainerItemProxy; 213 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 214 | proxyType = 2; 215 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 216 | remoteInfo = "jschelpers-tvOS"; 217 | }; 218 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 219 | isa = PBXContainerItemProxy; 220 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 221 | proxyType = 2; 222 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 223 | remoteInfo = RCTAnimation; 224 | }; 225 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 226 | isa = PBXContainerItemProxy; 227 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 228 | proxyType = 2; 229 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 230 | remoteInfo = "RCTAnimation-tvOS"; 231 | }; 232 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 233 | isa = PBXContainerItemProxy; 234 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 235 | proxyType = 2; 236 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 237 | remoteInfo = RCTLinking; 238 | }; 239 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 240 | isa = PBXContainerItemProxy; 241 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 242 | proxyType = 2; 243 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 244 | remoteInfo = RCTText; 245 | }; 246 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 247 | isa = PBXContainerItemProxy; 248 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 249 | proxyType = 2; 250 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 251 | remoteInfo = RCTBlob; 252 | }; 253 | /* End PBXContainerItemProxy section */ 254 | 255 | /* Begin PBXFileReference section */ 256 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 257 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 258 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 259 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 260 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 261 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 262 | 00E356EE1AD99517003FC87E /* RenoteTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RenoteTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 263 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 264 | 00E356F21AD99517003FC87E /* RenoteTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RenoteTests.m; sourceTree = ""; }; 265 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 266 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 267 | 13B07F961A680F5B00A75B9A /* Renote.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Renote.app; sourceTree = BUILT_PRODUCTS_DIR; }; 268 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Renote/AppDelegate.h; sourceTree = ""; }; 269 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Renote/AppDelegate.m; sourceTree = ""; }; 270 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 271 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Renote/Images.xcassets; sourceTree = ""; }; 272 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Renote/Info.plist; sourceTree = ""; }; 273 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Renote/main.m; sourceTree = ""; }; 274 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 275 | 2D02E47B1E0B4A5D006451C7 /* Renote-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Renote-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 276 | 2D02E4901E0B4A5D006451C7 /* Renote-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Renote-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 277 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 278 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 279 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 280 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 281 | 2ABDB5ABB76C4736955B5D31 /* RNImagePicker.xcodeproj */ = {isa = PBXFileReference; name = "RNImagePicker.xcodeproj"; path = "../node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 282 | 596DEF4C597847D7B30E9686 /* libRNImagePicker.a */ = {isa = PBXFileReference; name = "libRNImagePicker.a"; path = "libRNImagePicker.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 283 | 524D6C92A8BF4FE7892CA59D /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; name = "RNVectorIcons.xcodeproj"; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 284 | 455F39192D8B4B159371956D /* libRNVectorIcons.a */ = {isa = PBXFileReference; name = "libRNVectorIcons.a"; path = "libRNVectorIcons.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 285 | 0844867A935A4C40B398381D /* Entypo.ttf */ = {isa = PBXFileReference; name = "Entypo.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 286 | 65269FBDA8C147AF9DF261A4 /* EvilIcons.ttf */ = {isa = PBXFileReference; name = "EvilIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 287 | A76766019C824CE2B6B56A1D /* Feather.ttf */ = {isa = PBXFileReference; name = "Feather.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 288 | DB2FC17D99004573ADF9156A /* FontAwesome.ttf */ = {isa = PBXFileReference; name = "FontAwesome.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 289 | 82570BBFB349453A8C80C825 /* Foundation.ttf */ = {isa = PBXFileReference; name = "Foundation.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 290 | 8DAC70D448B545519A72590C /* Ionicons.ttf */ = {isa = PBXFileReference; name = "Ionicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 291 | EEE43EF808BB45FF81A3EAE7 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; name = "MaterialCommunityIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 292 | F69F59E6FAF3405AAB346F87 /* MaterialIcons.ttf */ = {isa = PBXFileReference; name = "MaterialIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 293 | 67F07DF709FA4FF7896DB414 /* Octicons.ttf */ = {isa = PBXFileReference; name = "Octicons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 294 | 2B970CD15111430AA39E2900 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; name = "SimpleLineIcons.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 295 | 8B6030F4871F48C892678C0E /* Zocial.ttf */ = {isa = PBXFileReference; name = "Zocial.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 296 | 6F787EBCD34E40EF970A6369 /* RNCalendarEvents.xcodeproj */ = {isa = PBXFileReference; name = "RNCalendarEvents.xcodeproj"; path = "../node_modules/react-native-calendar-events/RNCalendarEvents.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 297 | 009D82859D25433D8861B2DB /* libRNCalendarEvents.a */ = {isa = PBXFileReference; name = "libRNCalendarEvents.a"; path = "libRNCalendarEvents.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 298 | EEE2404228594C4096674204 /* AirMaps.xcodeproj */ = {isa = PBXFileReference; name = "AirMaps.xcodeproj"; path = "../node_modules/react-native-maps/lib/ios/AirMaps.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 299 | B03F7D5200944C3680D0A1DF /* libAirMaps.a */ = {isa = PBXFileReference; name = "libAirMaps.a"; path = "libAirMaps.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 300 | /* End PBXFileReference section */ 301 | 302 | /* Begin PBXFrameworksBuildPhase section */ 303 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 304 | isa = PBXFrameworksBuildPhase; 305 | buildActionMask = 2147483647; 306 | files = ( 307 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | }; 311 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 312 | isa = PBXFrameworksBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 316 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 317 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 318 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 319 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 320 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 321 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 322 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 323 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 324 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 325 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 326 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 327 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 328 | 618DE56EAB0A4E609674C8C6 /* libRNImagePicker.a in Frameworks */, 329 | 432E8E79A0E245159367C169 /* libRNVectorIcons.a in Frameworks */, 330 | 264AC4EFA651427AB2A63705 /* libRNCalendarEvents.a in Frameworks */, 331 | 188565434DB34AFE897104CA /* libAirMaps.a in Frameworks */, 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | }; 335 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 336 | isa = PBXFrameworksBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 340 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 341 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 342 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 343 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 344 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 345 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 346 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 351 | isa = PBXFrameworksBuildPhase; 352 | buildActionMask = 2147483647; 353 | files = ( 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | /* End PBXFrameworksBuildPhase section */ 358 | 359 | /* Begin PBXGroup section */ 360 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 361 | isa = PBXGroup; 362 | children = ( 363 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 364 | ); 365 | name = Products; 366 | sourceTree = ""; 367 | }; 368 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 369 | isa = PBXGroup; 370 | children = ( 371 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 372 | ); 373 | name = Products; 374 | sourceTree = ""; 375 | }; 376 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 377 | isa = PBXGroup; 378 | children = ( 379 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 380 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 381 | ); 382 | name = Products; 383 | sourceTree = ""; 384 | }; 385 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 386 | isa = PBXGroup; 387 | children = ( 388 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 389 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 390 | ); 391 | name = Products; 392 | sourceTree = ""; 393 | }; 394 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 395 | isa = PBXGroup; 396 | children = ( 397 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 398 | ); 399 | name = Products; 400 | sourceTree = ""; 401 | }; 402 | 00E356EF1AD99517003FC87E /* RenoteTests */ = { 403 | isa = PBXGroup; 404 | children = ( 405 | 00E356F21AD99517003FC87E /* RenoteTests.m */, 406 | 00E356F01AD99517003FC87E /* Supporting Files */, 407 | ); 408 | path = RenoteTests; 409 | sourceTree = ""; 410 | }; 411 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 412 | isa = PBXGroup; 413 | children = ( 414 | 00E356F11AD99517003FC87E /* Info.plist */, 415 | ); 416 | name = "Supporting Files"; 417 | sourceTree = ""; 418 | }; 419 | 139105B71AF99BAD00B5F7CC /* Products */ = { 420 | isa = PBXGroup; 421 | children = ( 422 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 423 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 424 | ); 425 | name = Products; 426 | sourceTree = ""; 427 | }; 428 | 139FDEE71B06529A00C62182 /* Products */ = { 429 | isa = PBXGroup; 430 | children = ( 431 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 432 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 433 | ); 434 | name = Products; 435 | sourceTree = ""; 436 | }; 437 | 13B07FAE1A68108700A75B9A /* Renote */ = { 438 | isa = PBXGroup; 439 | children = ( 440 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 441 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 442 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 443 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 444 | 13B07FB61A68108700A75B9A /* Info.plist */, 445 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 446 | 13B07FB71A68108700A75B9A /* main.m */, 447 | ); 448 | name = Renote; 449 | sourceTree = ""; 450 | }; 451 | 146834001AC3E56700842450 /* Products */ = { 452 | isa = PBXGroup; 453 | children = ( 454 | 146834041AC3E56700842450 /* libReact.a */, 455 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 456 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 457 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 458 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 459 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 460 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 461 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 462 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, 463 | ); 464 | name = Products; 465 | sourceTree = ""; 466 | }; 467 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 468 | isa = PBXGroup; 469 | children = ( 470 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 471 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 472 | ); 473 | name = Products; 474 | sourceTree = ""; 475 | }; 476 | 78C398B11ACF4ADC00677621 /* Products */ = { 477 | isa = PBXGroup; 478 | children = ( 479 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 480 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 481 | ); 482 | name = Products; 483 | sourceTree = ""; 484 | }; 485 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 486 | isa = PBXGroup; 487 | children = ( 488 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 489 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 490 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 491 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 492 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 493 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 494 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 495 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 496 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 497 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 498 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 499 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 500 | 2ABDB5ABB76C4736955B5D31 /* RNImagePicker.xcodeproj */, 501 | 524D6C92A8BF4FE7892CA59D /* RNVectorIcons.xcodeproj */, 502 | 6F787EBCD34E40EF970A6369 /* RNCalendarEvents.xcodeproj */, 503 | EEE2404228594C4096674204 /* AirMaps.xcodeproj */, 504 | ); 505 | name = Libraries; 506 | sourceTree = ""; 507 | }; 508 | 832341B11AAA6A8300B99B32 /* Products */ = { 509 | isa = PBXGroup; 510 | children = ( 511 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 512 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 513 | ); 514 | name = Products; 515 | sourceTree = ""; 516 | }; 517 | 83CBB9F61A601CBA00E9B192 = { 518 | isa = PBXGroup; 519 | children = ( 520 | 13B07FAE1A68108700A75B9A /* Renote */, 521 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 522 | 00E356EF1AD99517003FC87E /* RenoteTests */, 523 | 83CBBA001A601CBA00E9B192 /* Products */, 524 | 75254B08CC574A6ABD295C3E /* Resources */, 525 | ); 526 | indentWidth = 2; 527 | sourceTree = ""; 528 | tabWidth = 2; 529 | usesTabs = 0; 530 | }; 531 | 83CBBA001A601CBA00E9B192 /* Products */ = { 532 | isa = PBXGroup; 533 | children = ( 534 | 13B07F961A680F5B00A75B9A /* Renote.app */, 535 | 00E356EE1AD99517003FC87E /* RenoteTests.xctest */, 536 | 2D02E47B1E0B4A5D006451C7 /* Renote-tvOS.app */, 537 | 2D02E4901E0B4A5D006451C7 /* Renote-tvOSTests.xctest */, 538 | ); 539 | name = Products; 540 | sourceTree = ""; 541 | }; 542 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 543 | isa = PBXGroup; 544 | children = ( 545 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 546 | ); 547 | name = Products; 548 | sourceTree = ""; 549 | }; 550 | 75254B08CC574A6ABD295C3E /* Resources */ = { 551 | isa = "PBXGroup"; 552 | children = ( 553 | 0844867A935A4C40B398381D /* Entypo.ttf */, 554 | 65269FBDA8C147AF9DF261A4 /* EvilIcons.ttf */, 555 | A76766019C824CE2B6B56A1D /* Feather.ttf */, 556 | DB2FC17D99004573ADF9156A /* FontAwesome.ttf */, 557 | 82570BBFB349453A8C80C825 /* Foundation.ttf */, 558 | 8DAC70D448B545519A72590C /* Ionicons.ttf */, 559 | EEE43EF808BB45FF81A3EAE7 /* MaterialCommunityIcons.ttf */, 560 | F69F59E6FAF3405AAB346F87 /* MaterialIcons.ttf */, 561 | 67F07DF709FA4FF7896DB414 /* Octicons.ttf */, 562 | 2B970CD15111430AA39E2900 /* SimpleLineIcons.ttf */, 563 | 8B6030F4871F48C892678C0E /* Zocial.ttf */, 564 | ); 565 | name = Resources; 566 | sourceTree = ""; 567 | path = ""; 568 | }; 569 | /* End PBXGroup section */ 570 | 571 | /* Begin PBXNativeTarget section */ 572 | 00E356ED1AD99517003FC87E /* RenoteTests */ = { 573 | isa = PBXNativeTarget; 574 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RenoteTests" */; 575 | buildPhases = ( 576 | 00E356EA1AD99517003FC87E /* Sources */, 577 | 00E356EB1AD99517003FC87E /* Frameworks */, 578 | 00E356EC1AD99517003FC87E /* Resources */, 579 | ); 580 | buildRules = ( 581 | ); 582 | dependencies = ( 583 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 584 | ); 585 | name = RenoteTests; 586 | productName = RenoteTests; 587 | productReference = 00E356EE1AD99517003FC87E /* RenoteTests.xctest */; 588 | productType = "com.apple.product-type.bundle.unit-test"; 589 | }; 590 | 13B07F861A680F5B00A75B9A /* Renote */ = { 591 | isa = PBXNativeTarget; 592 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Renote" */; 593 | buildPhases = ( 594 | 13B07F871A680F5B00A75B9A /* Sources */, 595 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 596 | 13B07F8E1A680F5B00A75B9A /* Resources */, 597 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 598 | ); 599 | buildRules = ( 600 | ); 601 | dependencies = ( 602 | ); 603 | name = Renote; 604 | productName = "Hello World"; 605 | productReference = 13B07F961A680F5B00A75B9A /* Renote.app */; 606 | productType = "com.apple.product-type.application"; 607 | }; 608 | 2D02E47A1E0B4A5D006451C7 /* Renote-tvOS */ = { 609 | isa = PBXNativeTarget; 610 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Renote-tvOS" */; 611 | buildPhases = ( 612 | 2D02E4771E0B4A5D006451C7 /* Sources */, 613 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 614 | 2D02E4791E0B4A5D006451C7 /* Resources */, 615 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 616 | ); 617 | buildRules = ( 618 | ); 619 | dependencies = ( 620 | ); 621 | name = "Renote-tvOS"; 622 | productName = "Renote-tvOS"; 623 | productReference = 2D02E47B1E0B4A5D006451C7 /* Renote-tvOS.app */; 624 | productType = "com.apple.product-type.application"; 625 | }; 626 | 2D02E48F1E0B4A5D006451C7 /* Renote-tvOSTests */ = { 627 | isa = PBXNativeTarget; 628 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Renote-tvOSTests" */; 629 | buildPhases = ( 630 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 631 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 632 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 633 | ); 634 | buildRules = ( 635 | ); 636 | dependencies = ( 637 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 638 | ); 639 | name = "Renote-tvOSTests"; 640 | productName = "Renote-tvOSTests"; 641 | productReference = 2D02E4901E0B4A5D006451C7 /* Renote-tvOSTests.xctest */; 642 | productType = "com.apple.product-type.bundle.unit-test"; 643 | }; 644 | /* End PBXNativeTarget section */ 645 | 646 | /* Begin PBXProject section */ 647 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 648 | isa = PBXProject; 649 | attributes = { 650 | LastUpgradeCheck = 610; 651 | ORGANIZATIONNAME = Facebook; 652 | TargetAttributes = { 653 | 00E356ED1AD99517003FC87E = { 654 | CreatedOnToolsVersion = 6.2; 655 | TestTargetID = 13B07F861A680F5B00A75B9A; 656 | }; 657 | 2D02E47A1E0B4A5D006451C7 = { 658 | CreatedOnToolsVersion = 8.2.1; 659 | ProvisioningStyle = Automatic; 660 | }; 661 | 2D02E48F1E0B4A5D006451C7 = { 662 | CreatedOnToolsVersion = 8.2.1; 663 | ProvisioningStyle = Automatic; 664 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 665 | }; 666 | }; 667 | }; 668 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Renote" */; 669 | compatibilityVersion = "Xcode 3.2"; 670 | developmentRegion = English; 671 | hasScannedForEncodings = 0; 672 | knownRegions = ( 673 | en, 674 | Base, 675 | ); 676 | mainGroup = 83CBB9F61A601CBA00E9B192; 677 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 678 | projectDirPath = ""; 679 | projectReferences = ( 680 | { 681 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 682 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 683 | }, 684 | { 685 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 686 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 687 | }, 688 | { 689 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 690 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 691 | }, 692 | { 693 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 694 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 695 | }, 696 | { 697 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 698 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 699 | }, 700 | { 701 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 702 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 703 | }, 704 | { 705 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 706 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 707 | }, 708 | { 709 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 710 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 711 | }, 712 | { 713 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 714 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 715 | }, 716 | { 717 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 718 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 719 | }, 720 | { 721 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 722 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 723 | }, 724 | { 725 | ProductGroup = 146834001AC3E56700842450 /* Products */; 726 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 727 | }, 728 | ); 729 | projectRoot = ""; 730 | targets = ( 731 | 13B07F861A680F5B00A75B9A /* Renote */, 732 | 00E356ED1AD99517003FC87E /* RenoteTests */, 733 | 2D02E47A1E0B4A5D006451C7 /* Renote-tvOS */, 734 | 2D02E48F1E0B4A5D006451C7 /* Renote-tvOSTests */, 735 | ); 736 | }; 737 | /* End PBXProject section */ 738 | 739 | /* Begin PBXReferenceProxy section */ 740 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 741 | isa = PBXReferenceProxy; 742 | fileType = archive.ar; 743 | path = libRCTActionSheet.a; 744 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 745 | sourceTree = BUILT_PRODUCTS_DIR; 746 | }; 747 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 748 | isa = PBXReferenceProxy; 749 | fileType = archive.ar; 750 | path = libRCTGeolocation.a; 751 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 752 | sourceTree = BUILT_PRODUCTS_DIR; 753 | }; 754 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 755 | isa = PBXReferenceProxy; 756 | fileType = archive.ar; 757 | path = libRCTImage.a; 758 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 759 | sourceTree = BUILT_PRODUCTS_DIR; 760 | }; 761 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 762 | isa = PBXReferenceProxy; 763 | fileType = archive.ar; 764 | path = libRCTNetwork.a; 765 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 766 | sourceTree = BUILT_PRODUCTS_DIR; 767 | }; 768 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 769 | isa = PBXReferenceProxy; 770 | fileType = archive.ar; 771 | path = libRCTVibration.a; 772 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 773 | sourceTree = BUILT_PRODUCTS_DIR; 774 | }; 775 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 776 | isa = PBXReferenceProxy; 777 | fileType = archive.ar; 778 | path = libRCTSettings.a; 779 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 780 | sourceTree = BUILT_PRODUCTS_DIR; 781 | }; 782 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 783 | isa = PBXReferenceProxy; 784 | fileType = archive.ar; 785 | path = libRCTWebSocket.a; 786 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 787 | sourceTree = BUILT_PRODUCTS_DIR; 788 | }; 789 | 146834041AC3E56700842450 /* libReact.a */ = { 790 | isa = PBXReferenceProxy; 791 | fileType = archive.ar; 792 | path = libReact.a; 793 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 794 | sourceTree = BUILT_PRODUCTS_DIR; 795 | }; 796 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 797 | isa = PBXReferenceProxy; 798 | fileType = archive.ar; 799 | path = "libRCTImage-tvOS.a"; 800 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 801 | sourceTree = BUILT_PRODUCTS_DIR; 802 | }; 803 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 804 | isa = PBXReferenceProxy; 805 | fileType = archive.ar; 806 | path = "libRCTLinking-tvOS.a"; 807 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 808 | sourceTree = BUILT_PRODUCTS_DIR; 809 | }; 810 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 811 | isa = PBXReferenceProxy; 812 | fileType = archive.ar; 813 | path = "libRCTNetwork-tvOS.a"; 814 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 815 | sourceTree = BUILT_PRODUCTS_DIR; 816 | }; 817 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 818 | isa = PBXReferenceProxy; 819 | fileType = archive.ar; 820 | path = "libRCTSettings-tvOS.a"; 821 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 822 | sourceTree = BUILT_PRODUCTS_DIR; 823 | }; 824 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 825 | isa = PBXReferenceProxy; 826 | fileType = archive.ar; 827 | path = "libRCTText-tvOS.a"; 828 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 829 | sourceTree = BUILT_PRODUCTS_DIR; 830 | }; 831 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 832 | isa = PBXReferenceProxy; 833 | fileType = archive.ar; 834 | path = "libRCTWebSocket-tvOS.a"; 835 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 836 | sourceTree = BUILT_PRODUCTS_DIR; 837 | }; 838 | 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { 839 | isa = PBXReferenceProxy; 840 | fileType = archive.ar; 841 | path = "libReact-tvOS.a"; 842 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 843 | sourceTree = BUILT_PRODUCTS_DIR; 844 | }; 845 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 846 | isa = PBXReferenceProxy; 847 | fileType = archive.ar; 848 | path = libyoga.a; 849 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 850 | sourceTree = BUILT_PRODUCTS_DIR; 851 | }; 852 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 853 | isa = PBXReferenceProxy; 854 | fileType = archive.ar; 855 | path = libyoga.a; 856 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 857 | sourceTree = BUILT_PRODUCTS_DIR; 858 | }; 859 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 860 | isa = PBXReferenceProxy; 861 | fileType = archive.ar; 862 | path = libcxxreact.a; 863 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 864 | sourceTree = BUILT_PRODUCTS_DIR; 865 | }; 866 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 867 | isa = PBXReferenceProxy; 868 | fileType = archive.ar; 869 | path = libcxxreact.a; 870 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 871 | sourceTree = BUILT_PRODUCTS_DIR; 872 | }; 873 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 874 | isa = PBXReferenceProxy; 875 | fileType = archive.ar; 876 | path = libjschelpers.a; 877 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 878 | sourceTree = BUILT_PRODUCTS_DIR; 879 | }; 880 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 881 | isa = PBXReferenceProxy; 882 | fileType = archive.ar; 883 | path = libjschelpers.a; 884 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 885 | sourceTree = BUILT_PRODUCTS_DIR; 886 | }; 887 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 888 | isa = PBXReferenceProxy; 889 | fileType = archive.ar; 890 | path = libRCTAnimation.a; 891 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 892 | sourceTree = BUILT_PRODUCTS_DIR; 893 | }; 894 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 895 | isa = PBXReferenceProxy; 896 | fileType = archive.ar; 897 | path = "libRCTAnimation-tvOS.a"; 898 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 899 | sourceTree = BUILT_PRODUCTS_DIR; 900 | }; 901 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 902 | isa = PBXReferenceProxy; 903 | fileType = archive.ar; 904 | path = libRCTLinking.a; 905 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 906 | sourceTree = BUILT_PRODUCTS_DIR; 907 | }; 908 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 909 | isa = PBXReferenceProxy; 910 | fileType = archive.ar; 911 | path = libRCTText.a; 912 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 913 | sourceTree = BUILT_PRODUCTS_DIR; 914 | }; 915 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 916 | isa = PBXReferenceProxy; 917 | fileType = archive.ar; 918 | path = libRCTBlob.a; 919 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 920 | sourceTree = BUILT_PRODUCTS_DIR; 921 | }; 922 | /* End PBXReferenceProxy section */ 923 | 924 | /* Begin PBXResourcesBuildPhase section */ 925 | 00E356EC1AD99517003FC87E /* Resources */ = { 926 | isa = PBXResourcesBuildPhase; 927 | buildActionMask = 2147483647; 928 | files = ( 929 | ); 930 | runOnlyForDeploymentPostprocessing = 0; 931 | }; 932 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 933 | isa = PBXResourcesBuildPhase; 934 | buildActionMask = 2147483647; 935 | files = ( 936 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 937 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 938 | 73D1053596344C94BDBE3B1F /* Entypo.ttf in Resources */, 939 | 8E81331C808E4BCFBFC634BB /* EvilIcons.ttf in Resources */, 940 | 91531E5922904D3090321F91 /* Feather.ttf in Resources */, 941 | 80B301870A1046D295EC04BC /* FontAwesome.ttf in Resources */, 942 | 6E78E7D0BA374E36A27F4B4A /* Foundation.ttf in Resources */, 943 | 80F6F038BCD34C5C8B029088 /* Ionicons.ttf in Resources */, 944 | C2487DEB2C334142B146F290 /* MaterialCommunityIcons.ttf in Resources */, 945 | 23DE981BE08F498284196108 /* MaterialIcons.ttf in Resources */, 946 | 4907517DD5DD4B39BF8FF8DA /* Octicons.ttf in Resources */, 947 | 64DCDAF08D7143C9943906AE /* SimpleLineIcons.ttf in Resources */, 948 | F3AC0EC9E925419DBEF24C6D /* Zocial.ttf in Resources */, 949 | ); 950 | runOnlyForDeploymentPostprocessing = 0; 951 | }; 952 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 953 | isa = PBXResourcesBuildPhase; 954 | buildActionMask = 2147483647; 955 | files = ( 956 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 957 | ); 958 | runOnlyForDeploymentPostprocessing = 0; 959 | }; 960 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 961 | isa = PBXResourcesBuildPhase; 962 | buildActionMask = 2147483647; 963 | files = ( 964 | ); 965 | runOnlyForDeploymentPostprocessing = 0; 966 | }; 967 | /* End PBXResourcesBuildPhase section */ 968 | 969 | /* Begin PBXShellScriptBuildPhase section */ 970 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 971 | isa = PBXShellScriptBuildPhase; 972 | buildActionMask = 2147483647; 973 | files = ( 974 | ); 975 | inputPaths = ( 976 | ); 977 | name = "Bundle React Native code and images"; 978 | outputPaths = ( 979 | ); 980 | runOnlyForDeploymentPostprocessing = 0; 981 | shellPath = /bin/sh; 982 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 983 | }; 984 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 985 | isa = PBXShellScriptBuildPhase; 986 | buildActionMask = 2147483647; 987 | files = ( 988 | ); 989 | inputPaths = ( 990 | ); 991 | name = "Bundle React Native Code And Images"; 992 | outputPaths = ( 993 | ); 994 | runOnlyForDeploymentPostprocessing = 0; 995 | shellPath = /bin/sh; 996 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 997 | }; 998 | /* End PBXShellScriptBuildPhase section */ 999 | 1000 | /* Begin PBXSourcesBuildPhase section */ 1001 | 00E356EA1AD99517003FC87E /* Sources */ = { 1002 | isa = PBXSourcesBuildPhase; 1003 | buildActionMask = 2147483647; 1004 | files = ( 1005 | 00E356F31AD99517003FC87E /* RenoteTests.m in Sources */, 1006 | ); 1007 | runOnlyForDeploymentPostprocessing = 0; 1008 | }; 1009 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1010 | isa = PBXSourcesBuildPhase; 1011 | buildActionMask = 2147483647; 1012 | files = ( 1013 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1014 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1015 | ); 1016 | runOnlyForDeploymentPostprocessing = 0; 1017 | }; 1018 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1019 | isa = PBXSourcesBuildPhase; 1020 | buildActionMask = 2147483647; 1021 | files = ( 1022 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1023 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1024 | ); 1025 | runOnlyForDeploymentPostprocessing = 0; 1026 | }; 1027 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1028 | isa = PBXSourcesBuildPhase; 1029 | buildActionMask = 2147483647; 1030 | files = ( 1031 | 2DCD954D1E0B4F2C00145EB5 /* RenoteTests.m in Sources */, 1032 | ); 1033 | runOnlyForDeploymentPostprocessing = 0; 1034 | }; 1035 | /* End PBXSourcesBuildPhase section */ 1036 | 1037 | /* Begin PBXTargetDependency section */ 1038 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1039 | isa = PBXTargetDependency; 1040 | target = 13B07F861A680F5B00A75B9A /* Renote */; 1041 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1042 | }; 1043 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1044 | isa = PBXTargetDependency; 1045 | target = 2D02E47A1E0B4A5D006451C7 /* Renote-tvOS */; 1046 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1047 | }; 1048 | /* End PBXTargetDependency section */ 1049 | 1050 | /* Begin PBXVariantGroup section */ 1051 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1052 | isa = PBXVariantGroup; 1053 | children = ( 1054 | 13B07FB21A68108700A75B9A /* Base */, 1055 | ); 1056 | name = LaunchScreen.xib; 1057 | path = Renote; 1058 | sourceTree = ""; 1059 | }; 1060 | /* End PBXVariantGroup section */ 1061 | 1062 | /* Begin XCBuildConfiguration section */ 1063 | 00E356F61AD99517003FC87E /* Debug */ = { 1064 | isa = XCBuildConfiguration; 1065 | buildSettings = { 1066 | BUNDLE_LOADER = "$(TEST_HOST)"; 1067 | GCC_PREPROCESSOR_DEFINITIONS = ( 1068 | "DEBUG=1", 1069 | "$(inherited)", 1070 | ); 1071 | INFOPLIST_FILE = RenoteTests/Info.plist; 1072 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1073 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1074 | OTHER_LDFLAGS = ( 1075 | "-ObjC", 1076 | "-lc++", 1077 | ); 1078 | PRODUCT_NAME = "$(TARGET_NAME)"; 1079 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Renote.app/Renote"; 1080 | LIBRARY_SEARCH_PATHS = ( 1081 | "$(inherited)", 1082 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1083 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1084 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1085 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1086 | ); 1087 | HEADER_SEARCH_PATHS = ( 1088 | "$(inherited)", 1089 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1090 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1091 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1092 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1093 | ); 1094 | }; 1095 | name = Debug; 1096 | }; 1097 | 00E356F71AD99517003FC87E /* Release */ = { 1098 | isa = XCBuildConfiguration; 1099 | buildSettings = { 1100 | BUNDLE_LOADER = "$(TEST_HOST)"; 1101 | COPY_PHASE_STRIP = NO; 1102 | INFOPLIST_FILE = RenoteTests/Info.plist; 1103 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1104 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1105 | OTHER_LDFLAGS = ( 1106 | "-ObjC", 1107 | "-lc++", 1108 | ); 1109 | PRODUCT_NAME = "$(TARGET_NAME)"; 1110 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Renote.app/Renote"; 1111 | LIBRARY_SEARCH_PATHS = ( 1112 | "$(inherited)", 1113 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1114 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1115 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1116 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1117 | ); 1118 | HEADER_SEARCH_PATHS = ( 1119 | "$(inherited)", 1120 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1121 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1122 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1123 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1124 | ); 1125 | }; 1126 | name = Release; 1127 | }; 1128 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1129 | isa = XCBuildConfiguration; 1130 | buildSettings = { 1131 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1132 | CURRENT_PROJECT_VERSION = 1; 1133 | DEAD_CODE_STRIPPING = NO; 1134 | INFOPLIST_FILE = Renote/Info.plist; 1135 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1136 | OTHER_LDFLAGS = ( 1137 | "$(inherited)", 1138 | "-ObjC", 1139 | "-lc++", 1140 | ); 1141 | PRODUCT_NAME = Renote; 1142 | VERSIONING_SYSTEM = "apple-generic"; 1143 | HEADER_SEARCH_PATHS = ( 1144 | "$(inherited)", 1145 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1146 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1147 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1148 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1149 | ); 1150 | }; 1151 | name = Debug; 1152 | }; 1153 | 13B07F951A680F5B00A75B9A /* Release */ = { 1154 | isa = XCBuildConfiguration; 1155 | buildSettings = { 1156 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1157 | CURRENT_PROJECT_VERSION = 1; 1158 | INFOPLIST_FILE = Renote/Info.plist; 1159 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1160 | OTHER_LDFLAGS = ( 1161 | "$(inherited)", 1162 | "-ObjC", 1163 | "-lc++", 1164 | ); 1165 | PRODUCT_NAME = Renote; 1166 | VERSIONING_SYSTEM = "apple-generic"; 1167 | HEADER_SEARCH_PATHS = ( 1168 | "$(inherited)", 1169 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1170 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1171 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1172 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1173 | ); 1174 | }; 1175 | name = Release; 1176 | }; 1177 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1178 | isa = XCBuildConfiguration; 1179 | buildSettings = { 1180 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1181 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1182 | CLANG_ANALYZER_NONNULL = YES; 1183 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1184 | CLANG_WARN_INFINITE_RECURSION = YES; 1185 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1186 | DEBUG_INFORMATION_FORMAT = dwarf; 1187 | ENABLE_TESTABILITY = YES; 1188 | GCC_NO_COMMON_BLOCKS = YES; 1189 | INFOPLIST_FILE = "Renote-tvOS/Info.plist"; 1190 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1191 | OTHER_LDFLAGS = ( 1192 | "-ObjC", 1193 | "-lc++", 1194 | ); 1195 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Renote-tvOS"; 1196 | PRODUCT_NAME = "$(TARGET_NAME)"; 1197 | SDKROOT = appletvos; 1198 | TARGETED_DEVICE_FAMILY = 3; 1199 | TVOS_DEPLOYMENT_TARGET = 9.2; 1200 | LIBRARY_SEARCH_PATHS = ( 1201 | "$(inherited)", 1202 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1203 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1204 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1205 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1206 | ); 1207 | HEADER_SEARCH_PATHS = ( 1208 | "$(inherited)", 1209 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1210 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1211 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1212 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1213 | ); 1214 | }; 1215 | name = Debug; 1216 | }; 1217 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1218 | isa = XCBuildConfiguration; 1219 | buildSettings = { 1220 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1221 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1222 | CLANG_ANALYZER_NONNULL = YES; 1223 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1224 | CLANG_WARN_INFINITE_RECURSION = YES; 1225 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1226 | COPY_PHASE_STRIP = NO; 1227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1228 | GCC_NO_COMMON_BLOCKS = YES; 1229 | INFOPLIST_FILE = "Renote-tvOS/Info.plist"; 1230 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1231 | OTHER_LDFLAGS = ( 1232 | "-ObjC", 1233 | "-lc++", 1234 | ); 1235 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Renote-tvOS"; 1236 | PRODUCT_NAME = "$(TARGET_NAME)"; 1237 | SDKROOT = appletvos; 1238 | TARGETED_DEVICE_FAMILY = 3; 1239 | TVOS_DEPLOYMENT_TARGET = 9.2; 1240 | LIBRARY_SEARCH_PATHS = ( 1241 | "$(inherited)", 1242 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1243 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1244 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1245 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1246 | ); 1247 | HEADER_SEARCH_PATHS = ( 1248 | "$(inherited)", 1249 | "$(SRCROOT)/../node_modules/react-native-image-picker/ios", 1250 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", 1251 | "$(SRCROOT)/../node_modules/react-native-calendar-events", 1252 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1253 | ); 1254 | }; 1255 | name = Release; 1256 | }; 1257 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1258 | isa = XCBuildConfiguration; 1259 | buildSettings = { 1260 | BUNDLE_LOADER = "$(TEST_HOST)"; 1261 | CLANG_ANALYZER_NONNULL = YES; 1262 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1263 | CLANG_WARN_INFINITE_RECURSION = YES; 1264 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1265 | DEBUG_INFORMATION_FORMAT = dwarf; 1266 | ENABLE_TESTABILITY = YES; 1267 | GCC_NO_COMMON_BLOCKS = YES; 1268 | INFOPLIST_FILE = "Renote-tvOSTests/Info.plist"; 1269 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1270 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Renote-tvOSTests"; 1271 | PRODUCT_NAME = "$(TARGET_NAME)"; 1272 | SDKROOT = appletvos; 1273 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Renote-tvOS.app/Renote-tvOS"; 1274 | TVOS_DEPLOYMENT_TARGET = 10.1; 1275 | LIBRARY_SEARCH_PATHS = ( 1276 | "$(inherited)", 1277 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1278 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1279 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1280 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1281 | ); 1282 | }; 1283 | name = Debug; 1284 | }; 1285 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1286 | isa = XCBuildConfiguration; 1287 | buildSettings = { 1288 | BUNDLE_LOADER = "$(TEST_HOST)"; 1289 | CLANG_ANALYZER_NONNULL = YES; 1290 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1291 | CLANG_WARN_INFINITE_RECURSION = YES; 1292 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1293 | COPY_PHASE_STRIP = NO; 1294 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1295 | GCC_NO_COMMON_BLOCKS = YES; 1296 | INFOPLIST_FILE = "Renote-tvOSTests/Info.plist"; 1297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1298 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.Renote-tvOSTests"; 1299 | PRODUCT_NAME = "$(TARGET_NAME)"; 1300 | SDKROOT = appletvos; 1301 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Renote-tvOS.app/Renote-tvOS"; 1302 | TVOS_DEPLOYMENT_TARGET = 10.1; 1303 | LIBRARY_SEARCH_PATHS = ( 1304 | "$(inherited)", 1305 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1306 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1307 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1308 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1309 | ); 1310 | }; 1311 | name = Release; 1312 | }; 1313 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1314 | isa = XCBuildConfiguration; 1315 | buildSettings = { 1316 | ALWAYS_SEARCH_USER_PATHS = NO; 1317 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1318 | CLANG_CXX_LIBRARY = "libc++"; 1319 | CLANG_ENABLE_MODULES = YES; 1320 | CLANG_ENABLE_OBJC_ARC = YES; 1321 | CLANG_WARN_BOOL_CONVERSION = YES; 1322 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1323 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1324 | CLANG_WARN_EMPTY_BODY = YES; 1325 | CLANG_WARN_ENUM_CONVERSION = YES; 1326 | CLANG_WARN_INT_CONVERSION = YES; 1327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1328 | CLANG_WARN_UNREACHABLE_CODE = YES; 1329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1331 | COPY_PHASE_STRIP = NO; 1332 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1333 | GCC_C_LANGUAGE_STANDARD = gnu99; 1334 | GCC_DYNAMIC_NO_PIC = NO; 1335 | GCC_OPTIMIZATION_LEVEL = 0; 1336 | GCC_PREPROCESSOR_DEFINITIONS = ( 1337 | "DEBUG=1", 1338 | "$(inherited)", 1339 | ); 1340 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1343 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1344 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1345 | GCC_WARN_UNUSED_FUNCTION = YES; 1346 | GCC_WARN_UNUSED_VARIABLE = YES; 1347 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1348 | MTL_ENABLE_DEBUG_INFO = YES; 1349 | ONLY_ACTIVE_ARCH = YES; 1350 | SDKROOT = iphoneos; 1351 | }; 1352 | name = Debug; 1353 | }; 1354 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1355 | isa = XCBuildConfiguration; 1356 | buildSettings = { 1357 | ALWAYS_SEARCH_USER_PATHS = NO; 1358 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1359 | CLANG_CXX_LIBRARY = "libc++"; 1360 | CLANG_ENABLE_MODULES = YES; 1361 | CLANG_ENABLE_OBJC_ARC = YES; 1362 | CLANG_WARN_BOOL_CONVERSION = YES; 1363 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1364 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1365 | CLANG_WARN_EMPTY_BODY = YES; 1366 | CLANG_WARN_ENUM_CONVERSION = YES; 1367 | CLANG_WARN_INT_CONVERSION = YES; 1368 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1369 | CLANG_WARN_UNREACHABLE_CODE = YES; 1370 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1371 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1372 | COPY_PHASE_STRIP = YES; 1373 | ENABLE_NS_ASSERTIONS = NO; 1374 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1375 | GCC_C_LANGUAGE_STANDARD = gnu99; 1376 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1377 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1378 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1379 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1380 | GCC_WARN_UNUSED_FUNCTION = YES; 1381 | GCC_WARN_UNUSED_VARIABLE = YES; 1382 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1383 | MTL_ENABLE_DEBUG_INFO = NO; 1384 | SDKROOT = iphoneos; 1385 | VALIDATE_PRODUCT = YES; 1386 | }; 1387 | name = Release; 1388 | }; 1389 | /* End XCBuildConfiguration section */ 1390 | 1391 | /* Begin XCConfigurationList section */ 1392 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RenoteTests" */ = { 1393 | isa = XCConfigurationList; 1394 | buildConfigurations = ( 1395 | 00E356F61AD99517003FC87E /* Debug */, 1396 | 00E356F71AD99517003FC87E /* Release */, 1397 | ); 1398 | defaultConfigurationIsVisible = 0; 1399 | defaultConfigurationName = Release; 1400 | }; 1401 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Renote" */ = { 1402 | isa = XCConfigurationList; 1403 | buildConfigurations = ( 1404 | 13B07F941A680F5B00A75B9A /* Debug */, 1405 | 13B07F951A680F5B00A75B9A /* Release */, 1406 | ); 1407 | defaultConfigurationIsVisible = 0; 1408 | defaultConfigurationName = Release; 1409 | }; 1410 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Renote-tvOS" */ = { 1411 | isa = XCConfigurationList; 1412 | buildConfigurations = ( 1413 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1414 | 2D02E4981E0B4A5E006451C7 /* Release */, 1415 | ); 1416 | defaultConfigurationIsVisible = 0; 1417 | defaultConfigurationName = Release; 1418 | }; 1419 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Renote-tvOSTests" */ = { 1420 | isa = XCConfigurationList; 1421 | buildConfigurations = ( 1422 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1423 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1424 | ); 1425 | defaultConfigurationIsVisible = 0; 1426 | defaultConfigurationName = Release; 1427 | }; 1428 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Renote" */ = { 1429 | isa = XCConfigurationList; 1430 | buildConfigurations = ( 1431 | 83CBBA201A601CBA00E9B192 /* Debug */, 1432 | 83CBBA211A601CBA00E9B192 /* Release */, 1433 | ); 1434 | defaultConfigurationIsVisible = 0; 1435 | defaultConfigurationName = Release; 1436 | }; 1437 | /* End XCConfigurationList section */ 1438 | }; 1439 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1440 | } 1441 | -------------------------------------------------------------------------------- /ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/AwesomeProject.xcodeproj/xcshareddata/xcschemes/AwesomeProject.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/AwesomeProject/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/AwesomeProject/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"Renote" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /ios/AwesomeProject/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/AwesomeProject/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/AwesomeProject/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/AwesomeProject/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | Renote 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | NSExceptionDomains 46 | 47 | localhost 48 | 49 | NSExceptionAllowsInsecureHTTPLoads 50 | 51 | 52 | 53 | 54 | UIAppFonts 55 | 56 | Entypo.ttf 57 | EvilIcons.ttf 58 | Feather.ttf 59 | FontAwesome.ttf 60 | Foundation.ttf 61 | Ionicons.ttf 62 | MaterialCommunityIcons.ttf 63 | MaterialIcons.ttf 64 | Octicons.ttf 65 | SimpleLineIcons.ttf 66 | Zocial.ttf 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /ios/AwesomeProject/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/AwesomeProjectTests/AwesomeProjectTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface RenoteTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation RenoteTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/AwesomeProjectTests/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 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Renote", 3 | "version": "0.0.1", 4 | "private": false, 5 | "license": "MIT", 6 | "scripts": { 7 | "start": "node node_modules/react-native/local-cli/cli.js start", 8 | "test": "jest" 9 | }, 10 | "dependencies": { 11 | "pigment": "^0.1.0", 12 | "query-string": "^5.0.1", 13 | "react": "16.0.0", 14 | "react-native": "0.50.1", 15 | "react-native-animatable": "^1.2.4", 16 | "react-native-calendar-events": "^1.4.3", 17 | "react-native-fit-image": "^1.5.4", 18 | "react-native-image-picker": "^0.26.7", 19 | "react-native-maps": "^0.19.0", 20 | "react-native-modal-datetime-picker": "^4.13.0", 21 | "react-native-push-notification": "^3.0.2", 22 | "react-native-swipe-list-view": "^1.0.3", 23 | "react-native-vector-icons": "^4.4.2", 24 | "react-navigation": "^1.0.0-beta.19", 25 | "react-redux": "^5.0.6", 26 | "redux": "^3.7.2", 27 | "redux-logger": "^3.0.6", 28 | "redux-persist": "^4.9.1", 29 | "redux-thunk": "^2.2.0" 30 | }, 31 | "devDependencies": { 32 | "babel-jest": "21.2.0", 33 | "babel-preset-react-native": "4.0.0", 34 | "jest": "21.2.1", 35 | "react-test-renderer": "16.0.0" 36 | }, 37 | "jest": { 38 | "preset": "react-native" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React from "react"; 4 | import thunk from "redux-thunk"; 5 | import { AsyncStorage } from "react-native"; 6 | import { Provider } from "react-redux"; 7 | import { applyMiddleware, combineReducers, compose, createStore } from "redux"; 8 | import { autoRehydrate, persistStore } from "redux-persist"; 9 | import { createLogger } from "redux-logger"; 10 | 11 | import MainTabs from "./MainTabs"; 12 | import { noteReducers } from "./reducers"; 13 | 14 | const logger = createLogger({ predicate: (getState, action) => __DEV__ }); 15 | 16 | export default class App extends React.Component { 17 | state = { 18 | store: null, 19 | isLoading: true, 20 | }; 21 | 22 | componentWillMount() { 23 | let reducer = combineReducers({ 24 | // for nested reducer 25 | notes: combineReducers({ ...noteReducers }) 26 | }); 27 | 28 | const preloadState = {}; 29 | 30 | let store = createStore( 31 | reducer, 32 | preloadState, 33 | compose(applyMiddleware(logger, thunk), autoRehydrate({ log: true })) 34 | ); 35 | 36 | let persistor = persistStore(store, { 37 | storage: AsyncStorage, 38 | }, () => this.setState({ isLoading: false })); 39 | 40 | this.setState({ store, persistor }); 41 | } 42 | 43 | render() { 44 | if (this.state.isLoading) { 45 | return null; 46 | } 47 | 48 | return ( 49 | 50 | 51 | 52 | ); 53 | } 54 | }; 55 | -------------------------------------------------------------------------------- /src/MainTabs.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { bindActionCreators } from "redux"; 4 | import { connect } from "react-redux"; 5 | import { StackNavigator, TabNavigator, View } from "react-navigation"; 6 | 7 | import NoteScreen from "./screens/NoteScreen"; 8 | import Location from "./screens/LocationScreen"; 9 | import NotesScreen from "./screens/NotesScreen"; 10 | import { ActionCreators } from "./actions"; 11 | 12 | const Stacks = StackNavigator({ 13 | Root: { 14 | screen: NotesScreen 15 | }, 16 | Note: { 17 | screen: NoteScreen, 18 | // navigationOptions: { 19 | // title: 'Edit', 20 | // }, 21 | }, 22 | LocationScreen: { 23 | screen: Location 24 | } 25 | }); 26 | 27 | function mapDispatchToPros(dispatch) { 28 | return bindActionCreators(ActionCreators, dispatch); 29 | } 30 | 31 | export default connect( 32 | state => ({ ...state }), 33 | mapDispatchToPros 34 | )(Stacks); 35 | -------------------------------------------------------------------------------- /src/actions/index.js: -------------------------------------------------------------------------------- 1 | import * as NoteActions from './note'; 2 | 3 | export const ActionCreators = Object.assign({}, 4 | NoteActions 5 | ); 6 | -------------------------------------------------------------------------------- /src/actions/note.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as types from './types'; 4 | import { saveCalendarEvent } from './../utils/calendarEvent'; 5 | import { addReminder } from './../utils/notification'; 6 | 7 | export function addNote(note) { 8 | return function (dispatch, getState) { 9 | let state = getState(); 10 | 11 | note.id = state.notes.ids.length ? Math.max(...state.notes.ids) + 1 : 1; 12 | 13 | if (note.reminderDate) { 14 | addReminder({ 15 | date: note.reminderDate, 16 | title: note.title, 17 | text: note.text 18 | }); 19 | } 20 | 21 | if (note.calendarEventDate) { 22 | saveCalendarEvent({ 23 | date: note.calendarEventDate, 24 | title: note.title, 25 | text: note.text 26 | }); 27 | } 28 | 29 | dispatch({ 30 | id: note.id, 31 | note: Object.assign({}, note), 32 | type: types.ADD_NOTE, 33 | }); 34 | } 35 | } 36 | 37 | export function editNote(note) { 38 | return { 39 | note, 40 | type: types.EDIT_NOTE, 41 | } 42 | } 43 | 44 | export function deleteNote(id) { 45 | return { 46 | id, 47 | type: types.DELETE_NOTE 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/actions/types.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export const ADD_NOTE:string = "ADD_NOTE"; 4 | export const EDIT_NOTE:string = "EDIT_NOTE"; 5 | export const DELETE_NOTE:string = "DELETE_NOTE"; 6 | -------------------------------------------------------------------------------- /src/components/BottomBar.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import { StyleSheet, Text, View } from 'react-native'; 5 | 6 | import TouchableItem from './TouchableItem' 7 | import { ViewStyleProp } from '../utils/typeDefenition' 8 | 9 | type BarItemProps = { 10 | icon: React.Node, 11 | title?: string, 12 | onPress?: () => void 13 | }; 14 | 15 | class BottomBarItem extends React.Component { 16 | render() { 17 | return 18 | 19 | 20 | {this.props.icon} 21 | 22 | { 23 | this.props.title && 24 | 25 | {this.props.title} 26 | } 27 | 28 | 29 | } 30 | } 31 | 32 | type BarProps = { 33 | children: React.Node, 34 | barStyle?: ViewStyleProp 35 | }; 36 | 37 | export default class BottomBar extends React.Component { 38 | 39 | static Item = BottomBarItem; 40 | 41 | render() { 42 | return 43 | {this.props.children} 44 | 45 | } 46 | } 47 | 48 | const styles = StyleSheet.create({ 49 | bar: { 50 | height: 50, 51 | flexDirection: 'row', 52 | justifyContent: 'space-around' 53 | }, 54 | iconWrap: { 55 | flex: 1, 56 | justifyContent: 'center', 57 | alignItems: 'center', 58 | marginHorizontal: 4 59 | }, 60 | icon: { 61 | flexGrow: 1, 62 | justifyContent: 'center' 63 | } 64 | }); 65 | -------------------------------------------------------------------------------- /src/components/DateTimeSelectItem.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import DateTimePicker from 'react-native-modal-datetime-picker'; 5 | import { View, TouchableWithoutFeedback } from 'react-native'; 6 | 7 | type Props = { 8 | date?: Date, 9 | onSelectDate?: () => Date, 10 | children: React.Node 11 | }; 12 | 13 | export default class DateTimeSelectIcon extends React.Component { 14 | state = { 15 | isDateTimePickerVisible: false 16 | }; 17 | 18 | static defaultProps = { 19 | date: new Date(), 20 | onSelectDate: () => undefined 21 | }; 22 | 23 | showDatetimePicker = () => { 24 | this.setState({ 25 | isDateTimePickerVisible: true 26 | }); 27 | }; 28 | 29 | closeDatetimePicker = () => { 30 | this.setState({ 31 | isDateTimePickerVisible: false 32 | }); 33 | }; 34 | 35 | handleSelectDate = (date) => { 36 | this.closeDatetimePicker(); 37 | this.props.onSelectDate(date); 38 | }; 39 | 40 | render() { 41 | return 42 | 49 | 50 | 51 | {this.props.children} 52 | 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/components/ImageContent.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React from 'react'; 4 | import FitImage from 'react-native-fit-image'; 5 | import { View, StyleSheet } from 'react-native'; 6 | 7 | import type { NoteImage } from '../utils/typeDefenition'; 8 | 9 | type Props = { 10 | image: NoteImage, 11 | imageHeight?: 'small' | 'large' | number 12 | }; 13 | 14 | export default class ImageContent extends React.Component { 15 | static defaultProps = { 16 | image: { 17 | imageUri: undefined 18 | } 19 | }; 20 | 21 | render() { 22 | let { image: { imageUri }, imageHeight } = this.props; 23 | 24 | if (!imageUri) { 25 | return null; 26 | } 27 | 28 | let imageStyle = {}; 29 | 30 | if (imageHeight) { 31 | switch (imageHeight) { 32 | case 'large': 33 | imageStyle.height = 400; 34 | break; 35 | case 'small': 36 | imageStyle.height = 200; 37 | break; 38 | default: 39 | imageStyle.height = imageHeight; 40 | } 41 | 42 | imageStyle.width = '100%'; 43 | } 44 | 45 | return 46 | 57 | 58 | } 59 | } 60 | 61 | const styles = StyleSheet.create({ 62 | image: { 63 | flex: 1, 64 | alignSelf: 'stretch' 65 | } 66 | }); 67 | -------------------------------------------------------------------------------- /src/components/NoteItem.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React, { Component } from "react"; 4 | import { View, TouchableWithoutFeedback, StyleSheet } from "react-native"; 5 | 6 | import ImageContent from './ImageContent'; 7 | import { TextContent } from './TextContent'; 8 | import type { Note } from "../utils/typeDefenition"; 9 | 10 | type Props = { 11 | note: Note, 12 | onPress: (noteId: number) => void 13 | }; 14 | 15 | export default class NoteItem extends Component< Props> { 16 | 17 | handlePress = () => { 18 | this.props.onPress(this.props.note.id); 19 | }; 20 | 21 | render() { 22 | const { note: { title, text, image } } = this.props; 23 | 24 | return 25 | 26 | 29 | 30 | 31 | 32 | ; 33 | } 34 | } 35 | 36 | 37 | const styles = StyleSheet.create({ 38 | listItem: { 39 | backgroundColor: "white", 40 | marginBottom: 8, 41 | elevation: 2, 42 | } 43 | }); 44 | -------------------------------------------------------------------------------- /src/components/SearchBar.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React from "react"; 4 | import Ionicons from 'react-native-vector-icons/Ionicons'; 5 | import { View, TextInput, TouchableOpacity, StyleSheet } from "react-native"; 6 | 7 | type Props = { 8 | text: string, 9 | placeholder?: string, 10 | onChangeText: (text: string) => void, 11 | onSearch: () => void 12 | }; 13 | 14 | export default class SearchBar extends React.Component { 15 | 16 | static defaultProps = { 17 | placeholder: '' 18 | }; 19 | 20 | handleChangeText = (text: string) => { 21 | this.props.onChangeText(text); 22 | }; 23 | 24 | handleSearch = () => { 25 | this.props.onSearch(); 26 | }; 27 | 28 | render() { 29 | return 30 | 31 | 36 | 37 | 38 | 45 | 46 | 47 | 52 | 53 | 54 | } 55 | } 56 | 57 | const styles = StyleSheet.create({ 58 | searchBar: { 59 | alignSelf: 'stretch', 60 | margin: 0, 61 | flexDirection: 'row', 62 | justifyContent: 'center', 63 | alignItems: 'center', 64 | borderWidth: 0 65 | }, 66 | searchField: { 67 | flex: 1, 68 | height: 60, 69 | borderColor: 'gray', 70 | borderWidth: 0 71 | }, 72 | icon: { 73 | color: 'red' 74 | } 75 | }); 76 | -------------------------------------------------------------------------------- /src/components/TextContent.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React from "react"; 4 | import { View, Text, TextInput, StyleSheet } from "react-native"; 5 | 6 | type Props = { 7 | title?: string, 8 | text?: string 9 | } 10 | 11 | type EditProps = { 12 | onChange: ({ title: string } | { text: string }) => void 13 | } 14 | 15 | export class TextContent extends React.Component { 16 | render() { 17 | const { title, text } = this.props; 18 | 19 | return 20 | 21 | {title} 22 | 23 | 24 | 25 | {text} 26 | 27 | 28 | } 29 | } 30 | 31 | export class EditTextContent extends React.Component { 32 | 33 | render() { 34 | const { title, text, onChange } = this.props; 35 | 36 | return 37 | onChange({ title })} 39 | value={title} 40 | placeholder={"Title"} 41 | style={styles.title} 42 | underlineColorAndroid='transparent' 43 | /> 44 | 45 | onChange({ text })} 48 | value={text} 49 | placeholder={"Note"} 50 | style={styles.text} 51 | underlineColorAndroid='transparent' 52 | /> 53 | 54 | } 55 | } 56 | 57 | const styles = StyleSheet.create({ 58 | container: { 59 | paddingVertical: 8, 60 | paddingHorizontal: 16 61 | }, 62 | title: { 63 | marginBottom: 8, 64 | color: '#333', 65 | fontWeight: 'bold', 66 | fontSize: 16 67 | }, 68 | text: { 69 | marginBottom: 8, 70 | } 71 | }); 72 | -------------------------------------------------------------------------------- /src/components/TouchableItem.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import { Platform, TouchableNativeFeedback, TouchableOpacity, View } from 'react-native'; 5 | 6 | import { ANDROID_VERSIONS } from './../utils/constants'; 7 | import type { ViewStyleProp } from '../utils/typeDefenition'; 8 | 9 | type Props = { 10 | onPress?: () => void, 11 | delayPressIn?: number, 12 | borderless?: boolean, 13 | pressColor?: string, 14 | pressOpacity?: number, 15 | children?: React.Node, 16 | style?: ViewStyleProp, 17 | }; 18 | 19 | export default class TouchableItem extends React.Component { 20 | static defaultProps = { 21 | borderless: true, 22 | pressColor: 'rgba(255, 255, 255, .4)', 23 | onPress: () => {} 24 | }; 25 | 26 | handlePress = () => { 27 | global.requestAnimationFrame(this.props.onPress); 28 | }; 29 | 30 | render() { 31 | const { style, pressOpacity, pressColor, borderless, ...rest } = this.props; 32 | 33 | if (Platform.OS === 'android' && Platform.Version >= ANDROID_VERSIONS.LOLLIPOP) { 34 | return ( 35 | 40 | 41 | {React.Children.only(this.props.children)} 42 | 43 | 44 | ); 45 | } else { 46 | return ( 47 | 53 | {React.Children.only(this.props.children)} 54 | 55 | ); 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/reducers/createReducer.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export default function createReducer(initialState: any, handlers: Object) { 4 | return function reducer(state = initialState, action) { 5 | if (handlers.hasOwnProperty(action.type)) { 6 | return handlers[action.type](state, action); 7 | } else { 8 | return state; 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- 1 | import * as noteReducers from "./note"; 2 | 3 | export { 4 | noteReducers 5 | }; 6 | -------------------------------------------------------------------------------- /src/reducers/note.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import createReducer from "./createReducer"; 4 | import { ADD_NOTE, EDIT_NOTE, DELETE_NOTE } from '../actions/types'; 5 | import type { Note } from "../utils/typeDefenition"; 6 | 7 | export type NoteByIds = { 8 | +[note_id: number]: Note 9 | } | {}; 10 | 11 | export type NoteIds = Array 12 | 13 | export type NoteState = { 14 | +byIds: NoteByIds, 15 | +ids: NoteIds 16 | } 17 | 18 | export type NoteActions = 19 | | { type: "ADD_NOTE", id: number, note: Note } 20 | | { type: "EDIT_NOTE", note: Note } 21 | | { type: "DELETE_NOTE", id: number, note: Note }; 22 | 23 | export const byIds = createReducer({}, { 24 | [ADD_NOTE](state: NoteByIds, action:NoteActions) { 25 | return Object.assign({}, state, { [action.id]: action.note }); 26 | }, 27 | 28 | [EDIT_NOTE](state: NoteByIds, action:NoteActions) { 29 | return Object.assign({}, state, { [action.note.id]: action.note }); 30 | }, 31 | 32 | [DELETE_NOTE](state: NoteByIds, action:NoteActions) { 33 | return Object.keys(state).reduce((result, key) => { 34 | if (key !== action.id) { 35 | result[key] = state[key]; 36 | } 37 | return result; 38 | }, {}) 39 | }, 40 | }); 41 | 42 | export const ids = createReducer([], { 43 | [ADD_NOTE](state: NoteIds, action:NoteActions) { 44 | return [...state, action.note.id]; 45 | }, 46 | 47 | [DELETE_NOTE](state: NoteIds, action:NoteActions) { 48 | return state.filter(id => 49 | id !== action.id 50 | ); 51 | } 52 | }); 53 | -------------------------------------------------------------------------------- /src/screens/LocationScreen.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import MapView from 'react-native-maps'; 5 | import Ionicons from 'react-native-vector-icons/Ionicons'; 6 | import { Alert, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; 7 | import type { NavigationScreenProp } from 'react-navigation/src/TypeDefinition'; 8 | 9 | import SearchBar from './../components/SearchBar'; 10 | import { resolveByAddress, resolveByCoordinates } from './../utils/geocode'; 11 | import type { NoteLocation } from '../utils/typeDefenition'; 12 | 13 | const UNKNOWN_ERROR_MSG = 'Unknown error.'; 14 | 15 | const NAVIGATOR_ERROR_CODE = { 16 | SERVICE_UNAVAILABLE: 1 17 | }; 18 | 19 | const DEFAULT_REGION = { 20 | latitude: 37.78825, 21 | longitude: -122.4324, 22 | latitudeDelta: 0.0022, 23 | longitudeDelta: 0.0421, 24 | }; 25 | 26 | type NavigationState = { 27 | params: { 28 | onSetLocation: ({location: NoteLocation}) => void, 29 | }, 30 | }; 31 | 32 | type Props = { 33 | navigation: NavigationScreenProp, 34 | }; 35 | 36 | type State = { 37 | searchText: string, 38 | location: NoteLocation, 39 | isError: boolean, 40 | errorMsg: string 41 | }; 42 | 43 | export default class LocationScreen extends React.Component { 44 | state = { 45 | searchText: '', 46 | location: { 47 | address: undefined, 48 | formattedAddress: undefined, 49 | coordinates: { 50 | latitude: undefined, 51 | longitude: undefined 52 | }, 53 | viewport: {} 54 | }, 55 | 56 | isError: false, 57 | errorMsg: null 58 | }; 59 | 60 | mapRef: ?React.Ref; 61 | 62 | handleChangeSearchText = (text: string) => { 63 | this.setState({ 64 | searchText: text, 65 | }); 66 | }; 67 | 68 | handelChangeLocation = (location: NoteLocation) => { 69 | this.setState({ 70 | location: { ...location, address: this.state.searchText }, 71 | isError: false, 72 | errorMsg: undefined 73 | }) 74 | }; 75 | 76 | handleAddLocation = () => { 77 | let { onSetLocation } = this.props.navigation.state.params; 78 | 79 | onSetLocation(this.state.location); 80 | 81 | this.props.navigation.goBack(); 82 | }; 83 | 84 | handleGetCurrentLocation = () => { 85 | navigator.geolocation.getCurrentPosition( 86 | ({ coords: { latitude, longitude } }) => { 87 | 88 | this.setState({ 89 | coordinates: { 90 | lat: latitude, 91 | lng: longitude, 92 | latDelta: 0, 93 | lngDelta: 0 94 | } 95 | }); 96 | 97 | this.mapRef.fitToCoordinates([{ latitude, longitude }], {}, false); 98 | }, error => { 99 | if (error.code === NAVIGATOR_ERROR_CODE.SERVICE_UNAVAILABLE) { 100 | Alert.alert( 101 | 'Location services is unavailable.', 102 | 'To get your location, turn on location on your device.', 103 | [{ text: 'OK' }], 104 | { cancelable: false } 105 | ) 106 | } 107 | }, { 108 | enableHighAccuracy: false 109 | } 110 | ); 111 | }; 112 | 113 | handleMapTouch = (e) => { 114 | let { latitude, longitude } = e.nativeEvent.coordinate; 115 | 116 | resolveByCoordinates({ latitude, longitude }) 117 | .then(locations => { // TODO: remove duplicate 118 | if (!locations.length) { 119 | this.setState({ 120 | isError: true, 121 | errorMsg: 'Address not found.' 122 | }) 123 | } else { 124 | this.handelChangeLocation(locations[0]); 125 | } 126 | }) 127 | .catch(error => { 128 | this.setState({ 129 | isError: true, 130 | errorMsg: error.message 131 | }) 132 | }) 133 | }; 134 | 135 | setError = () => { 136 | }; 137 | 138 | searchLocation = () => { 139 | resolveByAddress(this.state.searchText) 140 | .then(locations => { 141 | if (!locations.length) { 142 | this.setState({ 143 | isError: true, 144 | errorMsg: 'Address not found.' 145 | }) 146 | } else { 147 | this.handelChangeLocation(locations[0]); 148 | } 149 | }) 150 | .catch(error => { 151 | this.setState({ 152 | isError: true, 153 | errorMsg: error.message 154 | }) 155 | }) 156 | }; 157 | 158 | render() { 159 | const { location } = this.state; 160 | 161 | return ( 162 | 163 | 164 | 170 | 171 | 172 | { this.mapRef = ref } } 175 | onPress={this.handleMapTouch} 176 | region={{ 177 | latitude: location.coordinates.latitude || DEFAULT_REGION.latitude, 178 | longitude: location.coordinates.longitude || DEFAULT_REGION.longitude, 179 | latitudeDelta: location.viewport.latitudeDelta || DEFAULT_REGION.latitudeDelta, 180 | longitudeDelta: location.viewport.longitudeDelta || DEFAULT_REGION.longitudeDelta, 181 | }} 182 | maxZoomLevel={18} 183 | /> 184 | 185 | { 186 | this.state.isError && 187 | 188 | 189 | {this.state.errorMsg || UNKNOWN_ERROR_MSG} 190 | 191 | } 192 | 193 | 194 | 195 | 199 | ADD LOCATION 200 | 201 | 202 | 203 | 204 | 208 | 213 | 214 | 215 | 216 | 217 | ); 218 | }; 219 | 220 | static navigationOptions = { 221 | header: null 222 | } 223 | } 224 | 225 | const styles = StyleSheet.create({ 226 | container: { 227 | flex: 1, 228 | alignItems: 'center', 229 | justifyContent: 'center', 230 | backgroundColor: 'white' 231 | }, 232 | errorContainer: { 233 | position: 'absolute', 234 | height: 40, 235 | left: 0, 236 | right: 0, 237 | top: 0, 238 | alignItems: 'center', 239 | justifyContent: 'center', 240 | flexDirection: 'row', 241 | backgroundColor: 'rgba(255, 0, 0, 0.6)', 242 | }, 243 | errorText: { 244 | color: '#fff', 245 | fontSize: 16, 246 | }, 247 | icon: { 248 | color: '#fff' 249 | }, 250 | buttonWrap: { 251 | position: 'absolute', 252 | bottom: 0, 253 | justifyContent: 'center', 254 | alignItems: 'center' 255 | }, 256 | buttonCentred: { 257 | left: 0, 258 | right: 0 259 | }, 260 | buttonPullRight: { 261 | right: 0 262 | }, 263 | button: { 264 | height: 40, 265 | paddingHorizontal: 20, 266 | backgroundColor: 'red', 267 | borderRadius: 25, 268 | elevation: 3, 269 | margin: 15, 270 | alignItems: 'center', 271 | justifyContent: 'center', 272 | flexDirection: 'row' 273 | }, 274 | getCurrentLocationButton: { 275 | height: 40, 276 | width: 40, 277 | backgroundColor: 'red', 278 | borderRadius: 25, 279 | elevation: 3, 280 | margin: 15, 281 | alignItems: 'center', 282 | justifyContent: 'center', 283 | flexDirection: 'row' 284 | }, 285 | // TODO: add disabled btn; 286 | // disabledBtn: { 287 | // backgroundColor: 288 | // }, 289 | buttonText: { 290 | color: 'white', 291 | fontWeight: 'bold' 292 | }, 293 | mapContainer: { 294 | alignSelf: 'stretch', 295 | flex: 1 296 | }, 297 | map: { 298 | flex: 1 299 | }, 300 | }); 301 | -------------------------------------------------------------------------------- /src/screens/NoteScreen.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | import EvilIcons from 'react-native-vector-icons/EvilIcons'; 5 | import Ionicons from 'react-native-vector-icons/Ionicons'; 6 | import SimpleLineIcons from 'react-native-vector-icons/SimpleLineIcons'; 7 | import ImagePicker from 'react-native-image-picker'; 8 | import { NavigationActions } from 'react-navigation'; 9 | import { ScrollView, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; 10 | import { bindActionCreators } from 'redux'; 11 | import { connect } from 'react-redux'; 12 | 13 | import BottomBar from './../components/BottomBar'; 14 | import DateTimeSelectItem from '../components/DateTimeSelectItem' 15 | import ImageContent from './../components/ImageContent'; 16 | import { ActionCreators } from '../actions/index'; 17 | import { EditTextContent } from './../components/TextContent'; 18 | import { TIME_ZONE } from './../utils/constants' 19 | import type { Note, NoteImage, NoteLocation } from '../utils/typeDefenition' 20 | import type { NavigationScreenProp } from "react-navigation/src/TypeDefinition"; 21 | 22 | type NavigationState = { 23 | params: { 24 | note?: Note, 25 | }, 26 | }; 27 | 28 | type Props = { 29 | navigation: NavigationScreenProp, 30 | }; 31 | 32 | type State = { 33 | note: ?Note, 34 | isEdit: boolean 35 | }; 36 | 37 | class NoteScreen extends React.Component { 38 | 39 | constructor(props) { 40 | super(props); 41 | 42 | const { params = {} } = this.props.navigation.state; 43 | const { note = {} } = params; 44 | 45 | this.state = { 46 | note: { ...note }, 47 | isEdit: !!note.id, 48 | } 49 | } 50 | 51 | componentDidMount() { 52 | this.props.navigation.setParams({ 53 | handleSaveNote: this.handleSaveNote, 54 | }); 55 | } 56 | 57 | handleSaveNote = () => { 58 | if (this.state.isEdit) { 59 | this.props.editNote(this.state.note); 60 | } else { 61 | this.props.addNote(this.state.note); 62 | } 63 | 64 | this.props.navigation.goBack(); 65 | }; 66 | 67 | handleNoteDelete = () => { 68 | this.props.deleteNote(this.state.note.id); 69 | 70 | this.props.navigation.goBack(); 71 | }; 72 | 73 | openImagePicker = () => { 74 | ImagePicker.showImagePicker( 75 | { 76 | title: 'Select Picture', 77 | storageOptions: { 78 | skipBackup: true, 79 | path: 'images' 80 | } 81 | }, 82 | response => { 83 | if ('error' in response) { 84 | // connect sentry 85 | console.error(response.error); 86 | return; 87 | } else if ('didCancel' in response) { 88 | return; 89 | } 90 | 91 | this.handleChangeImage({ 92 | imageUri: response.uri 93 | }); 94 | }); 95 | }; 96 | 97 | openLocationScreen = () => { 98 | this.props.navigation.navigate('LocationScreen', { onSetLocation: this.handleChangeLocation }); 99 | }; 100 | 101 | handleChangeForm = (note: $Shape) => { 102 | this.setState({ 103 | note: { ...this.state.note, ...note } 104 | }); 105 | }; 106 | 107 | handleChangeLocation = (location: NoteLocation) => { 108 | this.setState({ 109 | note: { ...this.state.note, location } 110 | }) 111 | }; 112 | 113 | handleChangeImage = (image: NoteImage) => { 114 | this.setState({ 115 | note: { ...this.state.note, image } 116 | }) 117 | }; 118 | 119 | render() { 120 | const { note } = this.state; 121 | 122 | return ( 123 | 124 | 125 | 126 | 127 | 131 | 132 | 137 | 138 | { 139 | note.location && 140 | 141 | 142 | 147 | 148 | {note.location.address || note.location.formattedAddress} 149 | 150 | 151 | } 152 | 153 | { 154 | note.reminderDate && 155 | 156 | 157 | 162 | 163 | {note.reminderDate.toLocaleString(TIME_ZONE)} 164 | 165 | 166 | } 167 | 168 | { 169 | note.calendarEventDate && 170 | 171 | 172 | 177 | 178 | {note.calendarEventDate.toLocaleString(TIME_ZONE)} 179 | 180 | 181 | } 182 | 183 | 184 | 185 | 186 | 187 | } 189 | onPress={this.openImagePicker} 190 | /> 191 | } 193 | onPress={this.openLocationScreen} 194 | /> 195 | this.handleChangeForm({ reminderDate })} 199 | > 200 | 201 | 202 | } 203 | /> 204 | this.handleChangeForm({ calendarEventDate })} 208 | > 209 | 210 | 211 | } 212 | /> 213 | { 214 | this.state.isEdit && 215 | 216 | } 218 | onPress={this.handleNoteDelete} 219 | /> 220 | } 221 | 222 | 223 | ); 224 | } 225 | 226 | static navigationOptions = ({ navigation }) => { 227 | const { params = {} } = navigation.state; 228 | return { 229 | // title: 'Add note', 230 | title: params.title, 231 | 232 | headerLeft: 233 | { 234 | navigation.dispatch(NavigationActions.back()) 235 | }}> 236 | 241 | , 242 | 243 | headerRight: 244 | 245 | 250 | , 251 | } 252 | } 253 | } 254 | 255 | const styles = StyleSheet.create({ 256 | container: { 257 | flex: 1, 258 | }, 259 | serviceItem: { 260 | flexDirection: 'row', 261 | justifyContent: 'flex-start', 262 | alignItems: 'center', 263 | paddingVertical: 6, 264 | margin: 8, 265 | backgroundColor: '#D4D4D4', 266 | borderRadius: 4 267 | }, 268 | serviceText: { 269 | color: '#333', 270 | fontSize: 12 271 | }, 272 | serviceIcon: { 273 | color: '#333', 274 | paddingHorizontal: 8 275 | }, 276 | barIcon: { 277 | color: 'red' 278 | } 279 | }); 280 | 281 | function mapDispatchToProps(dispatch) { 282 | return bindActionCreators(ActionCreators, dispatch); 283 | } 284 | 285 | export default connect( 286 | state => ({ ...state }), 287 | mapDispatchToProps 288 | )(NoteScreen); 289 | -------------------------------------------------------------------------------- /src/screens/NotesScreen.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import React from 'react'; 4 | import EvilIcons from 'react-native-vector-icons/EvilIcons'; 5 | import { connect } from 'react-redux'; 6 | import { bindActionCreators } from 'redux'; 7 | import { FlatList, StyleSheet, TouchableOpacity, View } from 'react-native'; 8 | 9 | import NoteItem from '../components/NoteItem' 10 | import { ActionCreators } from '../actions/index'; 11 | import type { Note } from "../utils/typeDefenition"; 12 | import type { NoteState } from "../reducers/note"; 13 | 14 | type Props = { 15 | notes: NoteState 16 | } 17 | 18 | class NotesScreen extends React.PureComponent { 19 | editNote = (id: number) => { 20 | const note = this.props.notes.byIds[id]; 21 | 22 | this.props.navigation.navigate('Note', { note, title: 'Edit' }); 23 | }; 24 | 25 | addNote = () => { 26 | this.props.navigation.navigate('Note', { title: 'Add note' }); 27 | }; 28 | 29 | renderNote = ({ item: id }) => { 30 | let { notes } = this.props; 31 | 32 | return 33 | }; 34 | 35 | render() { 36 | let noteIds = this.props.notes.ids.slice().reverse(); 37 | 38 | return 39 | item} 42 | renderItem={this.renderNote} 43 | /> 44 | 45 | 46 | 47 | 48 | 49 | 50 | ; 51 | } 52 | 53 | static navigationOptions = { 54 | header: null 55 | } 56 | } 57 | 58 | const styles = StyleSheet.create({ 59 | container: { 60 | flex: 1 61 | }, 62 | buttonWrap: { 63 | position: 'absolute', 64 | right: 0, 65 | bottom: 0, 66 | justifyContent: 'center', 67 | alignItems: 'center' 68 | }, 69 | button: { 70 | height: 48, 71 | width: 48, 72 | backgroundColor: 'red', 73 | borderRadius: 50, 74 | elevation: 3, 75 | margin: 24, 76 | alignItems: 'center', 77 | justifyContent: 'center', 78 | flexDirection: 'row' 79 | }, 80 | icon: { 81 | color: 'white' 82 | }, 83 | }); 84 | 85 | function mapStateToProps(state) { 86 | return { 87 | notes: state.notes 88 | } 89 | } 90 | 91 | function mapDispatchToPros(dispatch) { 92 | return bindActionCreators(ActionCreators, dispatch); 93 | } 94 | 95 | export default connect(mapStateToProps, mapDispatchToPros)(NotesScreen); 96 | -------------------------------------------------------------------------------- /src/utils/calendarEvent.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import RNCalendarEvents from 'react-native-calendar-events'; 4 | import { Platform } from 'react-native'; 5 | 6 | import { APP_NAME } from "./constants"; 7 | 8 | type Args = { 9 | id?: string, 10 | title: string, 11 | text: string, 12 | date: Date 13 | }; 14 | 15 | /** 16 | * Create new or update exist calendar event. 17 | * @promise {string} - created event's ID. 18 | */ 19 | export function saveCalendarEvent({ 20 | id = undefined, 21 | title = APP_NAME, 22 | text = '', 23 | date 24 | }: Args): Promise { 25 | 26 | let settings = { 27 | id, 28 | startDate: date, 29 | endDate: date, 30 | alarms: [{ 31 | date: 0 32 | }] 33 | }; 34 | 35 | if (Platform.OS === 'android') { 36 | settings.description = text; 37 | } else if (Platform.OS === 'IOS') { 38 | settings.notes = text; 39 | } 40 | 41 | return RNCalendarEvents.saveEvent(title, settings); 42 | } 43 | -------------------------------------------------------------------------------- /src/utils/constants.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export const APP_NAME: string = 'Renote'; 4 | 5 | export const LANG: string = 'en'; 6 | 7 | export const TIME_ZONE: string = 'en-EN'; 8 | 9 | export const GMAPS_API_KEY: string = 'AIzaSyBXNDm0zCJz86EuiFmdjmrGeTlgK9WJ3T4'; 10 | 11 | export const ANDROID_VERSIONS: Object = { 12 | LOLLIPOP: 21 13 | }; -------------------------------------------------------------------------------- /src/utils/geocode.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import queryString from 'query-string'; 4 | 5 | import { LANG, GMAPS_API_KEY } from './../utils/constants' 6 | import type { NoteLocation } from './typeDefenition' 7 | 8 | const API_STATUS = { 9 | CLEAR: 'ZERO_RESULTS' 10 | }; 11 | 12 | // /** 13 | // * Get extended geo info by address or place name. 14 | // */ 15 | // export function getCoordinatesByAddress( 16 | // address:string, 17 | // language:string = LANG 18 | // ): Promise> { 19 | // 20 | // return fetchGmaps({ 21 | // address, 22 | // language 23 | // }) 24 | // } 25 | 26 | /** 27 | * Get extended geo info by coordinates. 28 | */ 29 | export function resolveByCoordinates( 30 | { latitude, longitude }: {latitude: number, longitude: number} 31 | ): Promise> { 32 | 33 | return fetchGmaps({ 34 | latlang: [latitude, longitude].join(',') 35 | }) 36 | } 37 | 38 | /** 39 | * Get extended geo info by address or place name. 40 | */ 41 | export function resolveByAddress(address: string): Promise> { 42 | 43 | return fetchGmaps({ 44 | address 45 | }) 46 | } 47 | 48 | /** 49 | * Make request to google maps api 50 | */ 51 | function fetchGmaps(params: Object): Array { 52 | let qs = queryString.stringify({ 53 | key: GMAPS_API_KEY, 54 | language: LANG, 55 | ...params 56 | }); 57 | 58 | return fetch(`https://maps.google.com/maps/api/geocode/json?${qs}`) 59 | .then(data => data.json()) 60 | .then(json => { 61 | if (json.status === API_STATUS.CLEAR) { 62 | return Promise.resolve(Array()); 63 | } 64 | 65 | return Promise.resolve(serializeGmapsApiResults(json.results)); 66 | }) 67 | .catch(error => Promise.reject(error)) 68 | } 69 | 70 | /** 71 | * Serialize results from google maps api to type NoteLocation 72 | */ 73 | function serializeGmapsApiResults(results: Array): Array { 74 | return results.map(result => ({ 75 | formattedAddress: result.formatted_address, 76 | coordinates: { 77 | latitude: result.geometry.location.lat, 78 | longitude: result.geometry.location.lng, 79 | }, 80 | viewport: { 81 | latitudeDelta: ( 82 | result.geometry.viewport.northeast.lat - result.geometry.viewport.southwest.lat 83 | ), 84 | longitudeDelta: ( 85 | result.geometry.viewport.northeast.lng - result.geometry.viewport.southwest.lng 86 | ), 87 | } 88 | })); 89 | } 90 | -------------------------------------------------------------------------------- /src/utils/notification.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import PushNotification from 'react-native-push-notification'; 4 | 5 | import { APP_NAME } from "./constants"; 6 | 7 | type Args = { 8 | date: Date, 9 | title: string, 10 | text: string 11 | } 12 | 13 | /** 14 | * Add local notifications by the time for IOS and Android. Work when app in background. 15 | */ 16 | export function addReminder({ 17 | date, 18 | title = APP_NAME, 19 | text = '' 20 | }: Args ) { 21 | 22 | return PushNotification.localNotificationSchedule({ 23 | title: title, 24 | message: text, 25 | bigText: text, // for android 26 | date: date, 27 | smallIcon: "ic_launcher", 28 | }); 29 | } 30 | 31 | export function deleteReminder(id) { 32 | return PushNotification.cancelLocalNotifications({id}); 33 | } 34 | -------------------------------------------------------------------------------- /src/utils/typeDefenition.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as React from 'react'; 4 | 5 | import type { StyleObj } from 'react-native/Libraries/StyleSheet/StyleSheetTypes'; 6 | 7 | export type ViewStyleProp = StyleObj; 8 | export type TextStyleProp = StyleObj; 9 | 10 | export type Note = { 11 | title?: string, 12 | text?: string, 13 | image?: NoteImage, 14 | location?: NoteLocation, 15 | reminderDate?: Date, 16 | calendarEventDate?: Date 17 | } 18 | 19 | export type NoteImage = { 20 | imageUri: string 21 | } 22 | 23 | export type NoteLocation = { 24 | address?: string, 25 | formattedAddress: string, 26 | coordinates: { 27 | latitude: number, 28 | longitude: number 29 | }, 30 | viewPort?: { 31 | latitudeDelta: number, 32 | longitudeDelta: number 33 | } 34 | } 35 | --------------------------------------------------------------------------------