├── .buckconfig ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── __tests__ └── App-test.tsx ├── android ├── app │ ├── _BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── debug.keystore │ ├── google-services.json │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── samplernpushnotifications │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios ├── GoogleService-Info.plist ├── Podfile ├── Podfile.lock ├── SampleRNPushNotifications-tvOS │ └── Info.plist ├── SampleRNPushNotifications-tvOSTests │ └── Info.plist ├── SampleRNPushNotifications.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── SampleRNPushNotifications-tvOS.xcscheme │ │ └── SampleRNPushNotifications.xcscheme ├── SampleRNPushNotifications.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SampleRNPushNotifications │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── SampleRNPushNotificationsTests │ ├── Info.plist │ └── SampleRNPushNotificationsTests.m ├── metro.config.js ├── package.json ├── tsconfig.json └── yarn.lock /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | parser: '@typescript-eslint/parser', 5 | plugins: ['@typescript-eslint'], 6 | }; 7 | -------------------------------------------------------------------------------- /.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 | # Visual Studio Code 34 | # 35 | .vscode/ 36 | 37 | # node.js 38 | # 39 | node_modules/ 40 | npm-debug.log 41 | yarn-error.log 42 | 43 | # BUCK 44 | buck-out/ 45 | \.buckd/ 46 | *.keystore 47 | !debug.keystore 48 | 49 | # fastlane 50 | # 51 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 52 | # screenshots whenever they are needed. 53 | # For more information about the recommended setup visit: 54 | # https://docs.fastlane.tools/best-practices/source-control/ 55 | 56 | */fastlane/report.xml 57 | */fastlane/Preview.html 58 | */fastlane/screenshots 59 | 60 | # Bundle artifact 61 | *.jsbundle 62 | 63 | # CocoaPods 64 | /ios/Pods/ 65 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bracketSpacing: false, 3 | jsxBracketSameLine: true, 4 | singleQuote: true, 5 | trailingComma: 'all', 6 | }; 7 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- 1 | import React, {useEffect} from 'react'; 2 | import firebase from '@react-native-firebase/app'; 3 | import '@react-native-firebase/messaging'; 4 | import PushNotification from 'react-native-push-notification'; 5 | import {Platform} from 'react-native'; 6 | import {FirebaseMessagingTypes} from '@react-native-firebase/messaging'; 7 | import PushNotificationIOS from '@react-native-community/push-notification-ios'; 8 | 9 | const App = () => { 10 | const getToken = () => { 11 | firebase 12 | .messaging() 13 | .getToken(firebase.app().options.messagingSenderId) 14 | .then(x => console.log(x)) 15 | .catch(e => console.log(e)); 16 | }; 17 | 18 | const registerForRemoteMessages = () => { 19 | firebase 20 | .messaging() 21 | .registerDeviceForRemoteMessages() 22 | .then(() => { 23 | console.log('Registered'); 24 | requestPermissions(); 25 | }) 26 | .catch(e => console.log(e)); 27 | }; 28 | 29 | const requestPermissions = () => { 30 | firebase 31 | .messaging() 32 | .requestPermission() 33 | .then((status: FirebaseMessagingTypes.AuthorizationStatus) => { 34 | if (status === 1) { 35 | console.log('Authorized'); 36 | onMessage(); 37 | } else { 38 | console.log('Not authorized'); 39 | } 40 | }) 41 | .catch(e => console.log(e)); 42 | }; 43 | 44 | const onMessage = () => { 45 | firebase.messaging().onMessage(response => { 46 | showNotification(response.data!.notification); 47 | }); 48 | }; 49 | 50 | const showNotification = (notification: any) => { 51 | console.log('Showing notification'); 52 | console.log(JSON.stringify(notification)); 53 | PushNotification.localNotification({ 54 | title: notification.title, 55 | message: notification.body!, 56 | }); 57 | }; 58 | 59 | getToken(); 60 | if (Platform.OS === 'ios') { 61 | registerForRemoteMessages(); 62 | } else { 63 | onMessage(); 64 | } 65 | 66 | // PushNotification.localNotification({ 67 | // title: 'ads', 68 | // message: 'asd', 69 | // }); 70 | 71 | // useEffect( 72 | // () => 73 | // PushNotificationIOS.presentLocalNotification({ 74 | // alertTitle: 'title', 75 | // alertBody: 'body', 76 | // }), 77 | // [], 78 | // ); 79 | return <>; 80 | }; 81 | 82 | export default App; 83 | -------------------------------------------------------------------------------- /__tests__/App-test.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /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 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.samplernpushnotifications", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.samplernpushnotifications", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /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 | * // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format 22 | * bundleCommand: "ram-bundle", 23 | * 24 | * // whether to bundle JS and assets in debug mode 25 | * bundleInDebug: false, 26 | * 27 | * // whether to bundle JS and assets in release mode 28 | * bundleInRelease: true, 29 | * 30 | * // whether to bundle JS and assets in another build variant (if configured). 31 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 32 | * // The configuration property can be in the following formats 33 | * // 'bundleIn${productFlavor}${buildType}' 34 | * // 'bundleIn${buildType}' 35 | * // bundleInFreeDebug: true, 36 | * // bundleInPaidRelease: true, 37 | * // bundleInBeta: true, 38 | * 39 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 40 | * // for example: to disable dev mode in the staging build type (if configured) 41 | * devDisabledInStaging: true, 42 | * // The configuration property can be in the following formats 43 | * // 'devDisabledIn${productFlavor}${buildType}' 44 | * // 'devDisabledIn${buildType}' 45 | * 46 | * // the root of your project, i.e. where "package.json" lives 47 | * root: "../../", 48 | * 49 | * // where to put the JS bundle asset in debug mode 50 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 51 | * 52 | * // where to put the JS bundle asset in release mode 53 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 54 | * 55 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 56 | * // require('./image.png')), in debug mode 57 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 58 | * 59 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 60 | * // require('./image.png')), in release mode 61 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 62 | * 63 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 64 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 65 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 66 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 67 | * // for example, you might want to remove it from here. 68 | * inputExcludes: ["android/**", "ios/**"], 69 | * 70 | * // override which node gets called and with what additional arguments 71 | * nodeExecutableAndArgs: ["node"], 72 | * 73 | * // supply additional arguments to the packager 74 | * extraPackagerArgs: [] 75 | * ] 76 | */ 77 | 78 | project.ext.react = [ 79 | entryFile: "index.js", 80 | enableHermes: false, // clean and rebuild if changing 81 | ] 82 | 83 | apply from: "../../node_modules/react-native/react.gradle" 84 | 85 | /** 86 | * Set this to true to create two separate APKs instead of one: 87 | * - An APK that only works on ARM devices 88 | * - An APK that only works on x86 devices 89 | * The advantage is the size of the APK is reduced by about 4MB. 90 | * Upload all the APKs to the Play Store and people will download 91 | * the correct one based on the CPU architecture of their device. 92 | */ 93 | def enableSeparateBuildPerCPUArchitecture = false 94 | 95 | /** 96 | * Run Proguard to shrink the Java bytecode in release builds. 97 | */ 98 | def enableProguardInReleaseBuilds = false 99 | 100 | /** 101 | * The preferred build flavor of JavaScriptCore. 102 | * 103 | * For example, to use the international variant, you can use: 104 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 105 | * 106 | * The international variant includes ICU i18n library and necessary data 107 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 108 | * give correct results when using with locales other than en-US. Note that 109 | * this variant is about 6MiB larger per architecture than default. 110 | */ 111 | def jscFlavor = 'org.webkit:android-jsc:+' 112 | 113 | /** 114 | * Whether to enable the Hermes VM. 115 | * 116 | * This should be set on project.ext.react and mirrored here. If it is not set 117 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 118 | * and the benefits of using Hermes will therefore be sharply reduced. 119 | */ 120 | def enableHermes = project.ext.react.get("enableHermes", false); 121 | 122 | android { 123 | compileSdkVersion rootProject.ext.compileSdkVersion 124 | 125 | compileOptions { 126 | sourceCompatibility JavaVersion.VERSION_1_8 127 | targetCompatibility JavaVersion.VERSION_1_8 128 | } 129 | 130 | defaultConfig { 131 | applicationId "com.samplernpushnotifications" 132 | minSdkVersion rootProject.ext.minSdkVersion 133 | targetSdkVersion rootProject.ext.targetSdkVersion 134 | versionCode 1 135 | versionName "1.0" 136 | } 137 | splits { 138 | abi { 139 | reset() 140 | enable enableSeparateBuildPerCPUArchitecture 141 | universalApk false // If true, also generate a universal APK 142 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 143 | } 144 | } 145 | signingConfigs { 146 | debug { 147 | storeFile file('debug.keystore') 148 | storePassword 'android' 149 | keyAlias 'androiddebugkey' 150 | keyPassword 'android' 151 | } 152 | } 153 | buildTypes { 154 | debug { 155 | signingConfig signingConfigs.debug 156 | } 157 | release { 158 | // Caution! In production, you need to generate your own keystore file. 159 | // see https://facebook.github.io/react-native/docs/signed-apk-android. 160 | signingConfig signingConfigs.debug 161 | minifyEnabled enableProguardInReleaseBuilds 162 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 163 | } 164 | } 165 | // applicationVariants are e.g. debug, release 166 | applicationVariants.all { variant -> 167 | variant.outputs.each { output -> 168 | // For each separate APK per architecture, set a unique version code as described here: 169 | // https://developer.android.com/studio/build/configure-apk-splits.html 170 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 171 | def abi = output.getFilter(OutputFile.ABI) 172 | if (abi != null) { // null for the universal-debug, universal-release variants 173 | output.versionCodeOverride = 174 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 175 | } 176 | 177 | } 178 | } 179 | } 180 | 181 | dependencies { 182 | implementation fileTree(dir: "libs", include: ["*.jar"]) 183 | implementation "com.facebook.react:react-native:+" // From node_modules 184 | implementation 'com.google.firebase:firebase-analytics:17.2.3' 185 | 186 | if (enableHermes) { 187 | def hermesPath = "../../node_modules/hermes-engine/android/"; 188 | debugImplementation files(hermesPath + "hermes-debug.aar") 189 | releaseImplementation files(hermesPath + "hermes-release.aar") 190 | } else { 191 | implementation jscFlavor 192 | } 193 | } 194 | 195 | // Run this once to be able to run the application with BUCK 196 | // puts all compile dependencies into folder libs for BUCK to use 197 | task copyDownloadableDepsToLibs(type: Copy) { 198 | from configurations.compile 199 | into 'libs' 200 | } 201 | 202 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 203 | apply plugin: "com.google.gms.google-services" -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 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 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/debug.keystore -------------------------------------------------------------------------------- /android/app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "117398652082", 4 | "firebase_url": "https://samplernpushnotification.firebaseio.com", 5 | "project_id": "samplernpushnotification", 6 | "storage_bucket": "samplernpushnotification.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:117398652082:android:0c6ef4aa52a18b698db5ab", 12 | "android_client_info": { 13 | "package_name": "com.samplernpushnotifications" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "117398652082-b12oeasihttms0s8f5d1lckvkl1livub.apps.googleusercontent.com", 19 | "client_type": 1, 20 | "android_info": { 21 | "package_name": "com.samplernpushnotifications", 22 | "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" 23 | } 24 | }, 25 | { 26 | "client_id": "117398652082-j6sr3phnt4uhdd73d98c34enppfnkg05.apps.googleusercontent.com", 27 | "client_type": 3 28 | } 29 | ], 30 | "api_key": [ 31 | { 32 | "current_key": "AIzaSyBfnNnA7yfZw1lvMCTgn4VcYBFegXler84" 33 | } 34 | ], 35 | "services": { 36 | "appinvite_service": { 37 | "other_platform_oauth_client": [ 38 | { 39 | "client_id": "117398652082-j6sr3phnt4uhdd73d98c34enppfnkg05.apps.googleusercontent.com", 40 | "client_type": 3 41 | }, 42 | { 43 | "client_id": "117398652082-ekqhqrb8fdddl1kaq1tnngf5vp9tsmk1.apps.googleusercontent.com", 44 | "client_type": 2, 45 | "ios_info": { 46 | "bundle_id": "org.reactjs.native.example.SampleRNPushNotifications" 47 | } 48 | } 49 | ] 50 | } 51 | } 52 | } 53 | ], 54 | "configuration_version": "1" 55 | } -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/samplernpushnotifications/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.samplernpushnotifications; 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. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "SampleRNPushNotifications"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/samplernpushnotifications/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.samplernpushnotifications; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.soloader.SoLoader; 10 | import java.lang.reflect.InvocationTargetException; 11 | import java.util.List; 12 | 13 | public class MainApplication extends Application implements ReactApplication { 14 | 15 | private final ReactNativeHost mReactNativeHost = 16 | new ReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | @SuppressWarnings("UnnecessaryLocalVariable") 25 | List packages = new PackageList(this).getPackages(); 26 | // Packages that cannot be autolinked yet can be added manually here, for example: 27 | // packages.add(new MyReactNativePackage()); 28 | return packages; 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | }; 36 | 37 | @Override 38 | public ReactNativeHost getReactNativeHost() { 39 | return mReactNativeHost; 40 | } 41 | 42 | @Override 43 | public void onCreate() { 44 | super.onCreate(); 45 | SoLoader.init(this, /* native exopackage */ false); 46 | initializeFlipper(this); // Remove this line if you don't want Flipper enabled 47 | } 48 | 49 | /** 50 | * Loads Flipper in React Native templates. 51 | * 52 | * @param context 53 | */ 54 | private static void initializeFlipper(Context context) { 55 | if (BuildConfig.DEBUG) { 56 | try { 57 | /* 58 | We use reflection here to pick up the class that initializes Flipper, 59 | since Flipper library is not available in release mode 60 | */ 61 | Class aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper"); 62 | aClass.getMethod("initializeFlipper", Context.class).invoke(null, context); 63 | } catch (ClassNotFoundException e) { 64 | e.printStackTrace(); 65 | } catch (NoSuchMethodException e) { 66 | e.printStackTrace(); 67 | } catch (IllegalAccessException e) { 68 | e.printStackTrace(); 69 | } catch (InvocationTargetException e) { 70 | e.printStackTrace(); 71 | } 72 | } 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SampleRNPushNotifications 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "28.0.3" 6 | minSdkVersion = 16 7 | compileSdkVersion = 28 8 | targetSdkVersion = 28 9 | } 10 | repositories { 11 | google() 12 | jcenter() 13 | } 14 | dependencies { 15 | classpath("com.android.tools.build:gradle:3.4.2") 16 | classpath 'com.google.gms:google-services:4.3.3' 17 | // NOTE: Do not place your application dependencies here; they belong 18 | // in the individual module build.gradle files 19 | } 20 | } 21 | 22 | allprojects { 23 | repositories { 24 | mavenLocal() 25 | maven { 26 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 27 | url("$rootDir/../node_modules/react-native/android") 28 | } 29 | maven { 30 | // Android JSC is installed from npm 31 | url("$rootDir/../node_modules/jsc-android/dist") 32 | } 33 | 34 | google() 35 | jcenter() 36 | maven { url 'https://jitpack.io' } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /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.useAndroidX=true 21 | android.enableJetifier=true 22 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ozcanzaferayan/react-native-push-notification-firebase/13fa717099a9980c379d1db9d3a9b9eb8916fe77/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## Gradle start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin, switch paths to Windows format before running java 129 | if $cygwin ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=$((i+1)) 158 | done 159 | case $i in 160 | (0) set -- ;; 161 | (1) set -- "$args0" ;; 162 | (2) set -- "$args0" "$args1" ;; 163 | (3) set -- "$args0" "$args1" "$args2" ;; 164 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=$(save "$@") 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 182 | 183 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 184 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 185 | cd "$(dirname "$0")" 186 | fi 187 | 188 | exec "$JAVACMD" "$@" 189 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem http://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 33 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 34 | 35 | @rem Find java.exe 36 | if defined JAVA_HOME goto findJavaFromJavaHome 37 | 38 | set JAVA_EXE=java.exe 39 | %JAVA_EXE% -version >NUL 2>&1 40 | if "%ERRORLEVEL%" == "0" goto init 41 | 42 | echo. 43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 44 | echo. 45 | echo Please set the JAVA_HOME variable in your environment to match the 46 | echo location of your Java installation. 47 | 48 | goto fail 49 | 50 | :findJavaFromJavaHome 51 | set JAVA_HOME=%JAVA_HOME:"=% 52 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 53 | 54 | if exist "%JAVA_EXE%" goto init 55 | 56 | echo. 57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 58 | echo. 59 | echo Please set the JAVA_HOME variable in your environment to match the 60 | echo location of your Java installation. 61 | 62 | goto fail 63 | 64 | :init 65 | @rem Get command-line arguments, handling Windows variants 66 | 67 | if not "%OS%" == "Windows_NT" goto win9xME_args 68 | 69 | :win9xME_args 70 | @rem Slurp the command line arguments. 71 | set CMD_LINE_ARGS= 72 | set _SKIP=2 73 | 74 | :win9xME_args_slurp 75 | if "x%~1" == "x" goto execute 76 | 77 | set CMD_LINE_ARGS=%* 78 | 79 | :execute 80 | @rem Setup the command line 81 | 82 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 83 | 84 | @rem Execute Gradle 85 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 86 | 87 | :end 88 | @rem End local scope for the variables with windows NT shell 89 | if "%ERRORLEVEL%"=="0" goto mainEnd 90 | 91 | :fail 92 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 93 | rem the _cmd.exe /c_ return code! 94 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 95 | exit /b 1 96 | 97 | :mainEnd 98 | if "%OS%"=="Windows_NT" endlocal 99 | 100 | :omega 101 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'SampleRNPushNotifications' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SampleRNPushNotifications", 3 | "displayName": "SampleRNPushNotifications" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/GoogleService-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLIENT_ID 6 | 117398652082-ekqhqrb8fdddl1kaq1tnngf5vp9tsmk1.apps.googleusercontent.com 7 | REVERSED_CLIENT_ID 8 | com.googleusercontent.apps.117398652082-ekqhqrb8fdddl1kaq1tnngf5vp9tsmk1 9 | ANDROID_CLIENT_ID 10 | 117398652082-b12oeasihttms0s8f5d1lckvkl1livub.apps.googleusercontent.com 11 | API_KEY 12 | AIzaSyCMtnlqrGF31V8FFbgHDWi-3si031bS2Wk 13 | GCM_SENDER_ID 14 | 117398652082 15 | PLIST_VERSION 16 | 1 17 | BUNDLE_ID 18 | org.reactjs.native.example.SampleRNPushNotifications 19 | PROJECT_ID 20 | samplernpushnotification 21 | STORAGE_BUCKET 22 | samplernpushnotification.appspot.com 23 | IS_ADS_ENABLED 24 | 25 | IS_ANALYTICS_ENABLED 26 | 27 | IS_APPINVITE_ENABLED 28 | 29 | IS_GCM_ENABLED 30 | 31 | IS_SIGNIN_ENABLED 32 | 33 | GOOGLE_APP_ID 34 | 1:117398652082:ios:21a3f0a6ba19cfb58db5ab 35 | DATABASE_URL 36 | https://samplernpushnotification.firebaseio.com 37 | 38 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.0' 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 3 | 4 | target 'SampleRNPushNotifications' do 5 | # Pods for SampleRNPushNotifications 6 | pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" 7 | pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" 8 | pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" 9 | pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" 10 | pod 'React', :path => '../node_modules/react-native/' 11 | pod 'React-Core', :path => '../node_modules/react-native/' 12 | pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' 13 | pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' 14 | pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' 15 | pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' 16 | pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' 17 | pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' 18 | pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' 19 | pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' 20 | pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' 21 | pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' 22 | pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' 23 | pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' 24 | 25 | pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' 26 | pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' 27 | pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' 28 | pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' 29 | pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon" 30 | pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" 31 | pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' 32 | 33 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' 34 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' 35 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' 36 | 37 | target 'SampleRNPushNotificationsTests' do 38 | inherit! :search_paths 39 | # Pods for testing 40 | end 41 | 42 | use_native_modules! 43 | end 44 | 45 | target 'SampleRNPushNotifications-tvOS' do 46 | # Pods for SampleRNPushNotifications-tvOS 47 | 48 | target 'SampleRNPushNotifications-tvOSTests' do 49 | inherit! :search_paths 50 | # Pods for testing 51 | end 52 | 53 | end 54 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost-for-react-native (1.63.0) 3 | - DoubleConversion (1.1.6) 4 | - FBLazyVector (0.61.5) 5 | - FBReactNativeSpec (0.61.5): 6 | - Folly (= 2018.10.22.00) 7 | - RCTRequired (= 0.61.5) 8 | - RCTTypeSafety (= 0.61.5) 9 | - React-Core (= 0.61.5) 10 | - React-jsi (= 0.61.5) 11 | - ReactCommon/turbomodule/core (= 0.61.5) 12 | - Firebase/Core (6.13.0): 13 | - Firebase/CoreOnly 14 | - FirebaseAnalytics (= 6.1.6) 15 | - Firebase/CoreOnly (6.13.0): 16 | - FirebaseCore (= 6.4.0) 17 | - Firebase/Messaging (6.13.0): 18 | - Firebase/CoreOnly 19 | - FirebaseMessaging (~> 4.1.9) 20 | - FirebaseAnalytics (6.1.6): 21 | - FirebaseCore (~> 6.4) 22 | - FirebaseInstanceID (~> 4.2) 23 | - GoogleAppMeasurement (= 6.1.6) 24 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0) 25 | - GoogleUtilities/MethodSwizzler (~> 6.0) 26 | - GoogleUtilities/Network (~> 6.0) 27 | - "GoogleUtilities/NSData+zlib (~> 6.0)" 28 | - nanopb (= 0.3.9011) 29 | - FirebaseAnalyticsInterop (1.5.0) 30 | - FirebaseCore (6.4.0): 31 | - FirebaseCoreDiagnostics (~> 1.0) 32 | - FirebaseCoreDiagnosticsInterop (~> 1.0) 33 | - GoogleUtilities/Environment (~> 6.2) 34 | - GoogleUtilities/Logger (~> 6.2) 35 | - FirebaseCoreDiagnostics (1.2.2): 36 | - FirebaseCoreDiagnosticsInterop (~> 1.2) 37 | - GoogleDataTransportCCTSupport (~> 2.0) 38 | - GoogleUtilities/Environment (~> 6.5) 39 | - GoogleUtilities/Logger (~> 6.5) 40 | - nanopb (~> 0.3.901) 41 | - FirebaseCoreDiagnosticsInterop (1.2.0) 42 | - FirebaseInstanceID (4.2.7): 43 | - FirebaseCore (~> 6.0) 44 | - GoogleUtilities/Environment (~> 6.0) 45 | - GoogleUtilities/UserDefaults (~> 6.0) 46 | - FirebaseMessaging (4.1.10): 47 | - FirebaseAnalyticsInterop (~> 1.3) 48 | - FirebaseCore (~> 6.2) 49 | - FirebaseInstanceID (~> 4.1) 50 | - GoogleUtilities/AppDelegateSwizzler (~> 6.2) 51 | - GoogleUtilities/Environment (~> 6.2) 52 | - GoogleUtilities/Reachability (~> 6.2) 53 | - GoogleUtilities/UserDefaults (~> 6.2) 54 | - Protobuf (>= 3.9.2, ~> 3.9) 55 | - Folly (2018.10.22.00): 56 | - boost-for-react-native 57 | - DoubleConversion 58 | - Folly/Default (= 2018.10.22.00) 59 | - glog 60 | - Folly/Default (2018.10.22.00): 61 | - boost-for-react-native 62 | - DoubleConversion 63 | - glog 64 | - glog (0.3.5) 65 | - GoogleAppMeasurement (6.1.6): 66 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0) 67 | - GoogleUtilities/MethodSwizzler (~> 6.0) 68 | - GoogleUtilities/Network (~> 6.0) 69 | - "GoogleUtilities/NSData+zlib (~> 6.0)" 70 | - nanopb (= 0.3.9011) 71 | - GoogleDataTransport (5.1.0) 72 | - GoogleDataTransportCCTSupport (2.0.1): 73 | - GoogleDataTransport (~> 5.1) 74 | - nanopb (~> 0.3.901) 75 | - GoogleUtilities/AppDelegateSwizzler (6.5.2): 76 | - GoogleUtilities/Environment 77 | - GoogleUtilities/Logger 78 | - GoogleUtilities/Network 79 | - GoogleUtilities/Environment (6.5.2) 80 | - GoogleUtilities/Logger (6.5.2): 81 | - GoogleUtilities/Environment 82 | - GoogleUtilities/MethodSwizzler (6.5.2): 83 | - GoogleUtilities/Logger 84 | - GoogleUtilities/Network (6.5.2): 85 | - GoogleUtilities/Logger 86 | - "GoogleUtilities/NSData+zlib" 87 | - GoogleUtilities/Reachability 88 | - "GoogleUtilities/NSData+zlib (6.5.2)" 89 | - GoogleUtilities/Reachability (6.5.2): 90 | - GoogleUtilities/Logger 91 | - GoogleUtilities/UserDefaults (6.5.2): 92 | - GoogleUtilities/Logger 93 | - nanopb (0.3.9011): 94 | - nanopb/decode (= 0.3.9011) 95 | - nanopb/encode (= 0.3.9011) 96 | - nanopb/decode (0.3.9011) 97 | - nanopb/encode (0.3.9011) 98 | - Protobuf (3.11.4) 99 | - RCTRequired (0.61.5) 100 | - RCTTypeSafety (0.61.5): 101 | - FBLazyVector (= 0.61.5) 102 | - Folly (= 2018.10.22.00) 103 | - RCTRequired (= 0.61.5) 104 | - React-Core (= 0.61.5) 105 | - React (0.61.5): 106 | - React-Core (= 0.61.5) 107 | - React-Core/DevSupport (= 0.61.5) 108 | - React-Core/RCTWebSocket (= 0.61.5) 109 | - React-RCTActionSheet (= 0.61.5) 110 | - React-RCTAnimation (= 0.61.5) 111 | - React-RCTBlob (= 0.61.5) 112 | - React-RCTImage (= 0.61.5) 113 | - React-RCTLinking (= 0.61.5) 114 | - React-RCTNetwork (= 0.61.5) 115 | - React-RCTSettings (= 0.61.5) 116 | - React-RCTText (= 0.61.5) 117 | - React-RCTVibration (= 0.61.5) 118 | - React-Core (0.61.5): 119 | - Folly (= 2018.10.22.00) 120 | - glog 121 | - React-Core/Default (= 0.61.5) 122 | - React-cxxreact (= 0.61.5) 123 | - React-jsi (= 0.61.5) 124 | - React-jsiexecutor (= 0.61.5) 125 | - Yoga 126 | - React-Core/CoreModulesHeaders (0.61.5): 127 | - Folly (= 2018.10.22.00) 128 | - glog 129 | - React-Core/Default 130 | - React-cxxreact (= 0.61.5) 131 | - React-jsi (= 0.61.5) 132 | - React-jsiexecutor (= 0.61.5) 133 | - Yoga 134 | - React-Core/Default (0.61.5): 135 | - Folly (= 2018.10.22.00) 136 | - glog 137 | - React-cxxreact (= 0.61.5) 138 | - React-jsi (= 0.61.5) 139 | - React-jsiexecutor (= 0.61.5) 140 | - Yoga 141 | - React-Core/DevSupport (0.61.5): 142 | - Folly (= 2018.10.22.00) 143 | - glog 144 | - React-Core/Default (= 0.61.5) 145 | - React-Core/RCTWebSocket (= 0.61.5) 146 | - React-cxxreact (= 0.61.5) 147 | - React-jsi (= 0.61.5) 148 | - React-jsiexecutor (= 0.61.5) 149 | - React-jsinspector (= 0.61.5) 150 | - Yoga 151 | - React-Core/RCTActionSheetHeaders (0.61.5): 152 | - Folly (= 2018.10.22.00) 153 | - glog 154 | - React-Core/Default 155 | - React-cxxreact (= 0.61.5) 156 | - React-jsi (= 0.61.5) 157 | - React-jsiexecutor (= 0.61.5) 158 | - Yoga 159 | - React-Core/RCTAnimationHeaders (0.61.5): 160 | - Folly (= 2018.10.22.00) 161 | - glog 162 | - React-Core/Default 163 | - React-cxxreact (= 0.61.5) 164 | - React-jsi (= 0.61.5) 165 | - React-jsiexecutor (= 0.61.5) 166 | - Yoga 167 | - React-Core/RCTBlobHeaders (0.61.5): 168 | - Folly (= 2018.10.22.00) 169 | - glog 170 | - React-Core/Default 171 | - React-cxxreact (= 0.61.5) 172 | - React-jsi (= 0.61.5) 173 | - React-jsiexecutor (= 0.61.5) 174 | - Yoga 175 | - React-Core/RCTImageHeaders (0.61.5): 176 | - Folly (= 2018.10.22.00) 177 | - glog 178 | - React-Core/Default 179 | - React-cxxreact (= 0.61.5) 180 | - React-jsi (= 0.61.5) 181 | - React-jsiexecutor (= 0.61.5) 182 | - Yoga 183 | - React-Core/RCTLinkingHeaders (0.61.5): 184 | - Folly (= 2018.10.22.00) 185 | - glog 186 | - React-Core/Default 187 | - React-cxxreact (= 0.61.5) 188 | - React-jsi (= 0.61.5) 189 | - React-jsiexecutor (= 0.61.5) 190 | - Yoga 191 | - React-Core/RCTNetworkHeaders (0.61.5): 192 | - Folly (= 2018.10.22.00) 193 | - glog 194 | - React-Core/Default 195 | - React-cxxreact (= 0.61.5) 196 | - React-jsi (= 0.61.5) 197 | - React-jsiexecutor (= 0.61.5) 198 | - Yoga 199 | - React-Core/RCTSettingsHeaders (0.61.5): 200 | - Folly (= 2018.10.22.00) 201 | - glog 202 | - React-Core/Default 203 | - React-cxxreact (= 0.61.5) 204 | - React-jsi (= 0.61.5) 205 | - React-jsiexecutor (= 0.61.5) 206 | - Yoga 207 | - React-Core/RCTTextHeaders (0.61.5): 208 | - Folly (= 2018.10.22.00) 209 | - glog 210 | - React-Core/Default 211 | - React-cxxreact (= 0.61.5) 212 | - React-jsi (= 0.61.5) 213 | - React-jsiexecutor (= 0.61.5) 214 | - Yoga 215 | - React-Core/RCTVibrationHeaders (0.61.5): 216 | - Folly (= 2018.10.22.00) 217 | - glog 218 | - React-Core/Default 219 | - React-cxxreact (= 0.61.5) 220 | - React-jsi (= 0.61.5) 221 | - React-jsiexecutor (= 0.61.5) 222 | - Yoga 223 | - React-Core/RCTWebSocket (0.61.5): 224 | - Folly (= 2018.10.22.00) 225 | - glog 226 | - React-Core/Default (= 0.61.5) 227 | - React-cxxreact (= 0.61.5) 228 | - React-jsi (= 0.61.5) 229 | - React-jsiexecutor (= 0.61.5) 230 | - Yoga 231 | - React-CoreModules (0.61.5): 232 | - FBReactNativeSpec (= 0.61.5) 233 | - Folly (= 2018.10.22.00) 234 | - RCTTypeSafety (= 0.61.5) 235 | - React-Core/CoreModulesHeaders (= 0.61.5) 236 | - React-RCTImage (= 0.61.5) 237 | - ReactCommon/turbomodule/core (= 0.61.5) 238 | - React-cxxreact (0.61.5): 239 | - boost-for-react-native (= 1.63.0) 240 | - DoubleConversion 241 | - Folly (= 2018.10.22.00) 242 | - glog 243 | - React-jsinspector (= 0.61.5) 244 | - React-jsi (0.61.5): 245 | - boost-for-react-native (= 1.63.0) 246 | - DoubleConversion 247 | - Folly (= 2018.10.22.00) 248 | - glog 249 | - React-jsi/Default (= 0.61.5) 250 | - React-jsi/Default (0.61.5): 251 | - boost-for-react-native (= 1.63.0) 252 | - DoubleConversion 253 | - Folly (= 2018.10.22.00) 254 | - glog 255 | - React-jsiexecutor (0.61.5): 256 | - DoubleConversion 257 | - Folly (= 2018.10.22.00) 258 | - glog 259 | - React-cxxreact (= 0.61.5) 260 | - React-jsi (= 0.61.5) 261 | - React-jsinspector (0.61.5) 262 | - React-RCTActionSheet (0.61.5): 263 | - React-Core/RCTActionSheetHeaders (= 0.61.5) 264 | - React-RCTAnimation (0.61.5): 265 | - React-Core/RCTAnimationHeaders (= 0.61.5) 266 | - React-RCTBlob (0.61.5): 267 | - React-Core/RCTBlobHeaders (= 0.61.5) 268 | - React-Core/RCTWebSocket (= 0.61.5) 269 | - React-jsi (= 0.61.5) 270 | - React-RCTNetwork (= 0.61.5) 271 | - React-RCTImage (0.61.5): 272 | - React-Core/RCTImageHeaders (= 0.61.5) 273 | - React-RCTNetwork (= 0.61.5) 274 | - React-RCTLinking (0.61.5): 275 | - React-Core/RCTLinkingHeaders (= 0.61.5) 276 | - React-RCTNetwork (0.61.5): 277 | - React-Core/RCTNetworkHeaders (= 0.61.5) 278 | - React-RCTSettings (0.61.5): 279 | - React-Core/RCTSettingsHeaders (= 0.61.5) 280 | - React-RCTText (0.61.5): 281 | - React-Core/RCTTextHeaders (= 0.61.5) 282 | - React-RCTVibration (0.61.5): 283 | - React-Core/RCTVibrationHeaders (= 0.61.5) 284 | - ReactCommon/jscallinvoker (0.61.5): 285 | - DoubleConversion 286 | - Folly (= 2018.10.22.00) 287 | - glog 288 | - React-cxxreact (= 0.61.5) 289 | - ReactCommon/turbomodule/core (0.61.5): 290 | - DoubleConversion 291 | - Folly (= 2018.10.22.00) 292 | - glog 293 | - React-Core (= 0.61.5) 294 | - React-cxxreact (= 0.61.5) 295 | - React-jsi (= 0.61.5) 296 | - ReactCommon/jscallinvoker (= 0.61.5) 297 | - RNCPushNotificationIOS (1.1.0): 298 | - React 299 | - RNFBApp (6.4.0-rc2): 300 | - Firebase/Core (~> 6.13.0) 301 | - React 302 | - RNFBMessaging (6.4.0-rc2): 303 | - Firebase/Messaging (~> 6.13.0) 304 | - React 305 | - RNFBApp 306 | - Yoga (1.14.0) 307 | 308 | DEPENDENCIES: 309 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 310 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 311 | - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`) 312 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`) 313 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 314 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 315 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 316 | - React (from `../node_modules/react-native/`) 317 | - React-Core (from `../node_modules/react-native/`) 318 | - React-Core/DevSupport (from `../node_modules/react-native/`) 319 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 320 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 321 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 322 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 323 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 324 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 325 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 326 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 327 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 328 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 329 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 330 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 331 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 332 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 333 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 334 | - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`) 335 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 336 | - "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)" 337 | - "RNFBApp (from `../node_modules/@react-native-firebase/app`)" 338 | - "RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`)" 339 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 340 | 341 | SPEC REPOS: 342 | https://github.com/cocoapods/specs.git: 343 | - boost-for-react-native 344 | - Firebase 345 | - FirebaseAnalytics 346 | - FirebaseAnalyticsInterop 347 | - FirebaseCore 348 | - FirebaseCoreDiagnostics 349 | - FirebaseCoreDiagnosticsInterop 350 | - FirebaseInstanceID 351 | - FirebaseMessaging 352 | - GoogleAppMeasurement 353 | - GoogleDataTransport 354 | - GoogleDataTransportCCTSupport 355 | - GoogleUtilities 356 | - nanopb 357 | - Protobuf 358 | 359 | EXTERNAL SOURCES: 360 | DoubleConversion: 361 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 362 | FBLazyVector: 363 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 364 | FBReactNativeSpec: 365 | :path: "../node_modules/react-native/Libraries/FBReactNativeSpec" 366 | Folly: 367 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec" 368 | glog: 369 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 370 | RCTRequired: 371 | :path: "../node_modules/react-native/Libraries/RCTRequired" 372 | RCTTypeSafety: 373 | :path: "../node_modules/react-native/Libraries/TypeSafety" 374 | React: 375 | :path: "../node_modules/react-native/" 376 | React-Core: 377 | :path: "../node_modules/react-native/" 378 | React-CoreModules: 379 | :path: "../node_modules/react-native/React/CoreModules" 380 | React-cxxreact: 381 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 382 | React-jsi: 383 | :path: "../node_modules/react-native/ReactCommon/jsi" 384 | React-jsiexecutor: 385 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 386 | React-jsinspector: 387 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 388 | React-RCTActionSheet: 389 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 390 | React-RCTAnimation: 391 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 392 | React-RCTBlob: 393 | :path: "../node_modules/react-native/Libraries/Blob" 394 | React-RCTImage: 395 | :path: "../node_modules/react-native/Libraries/Image" 396 | React-RCTLinking: 397 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 398 | React-RCTNetwork: 399 | :path: "../node_modules/react-native/Libraries/Network" 400 | React-RCTSettings: 401 | :path: "../node_modules/react-native/Libraries/Settings" 402 | React-RCTText: 403 | :path: "../node_modules/react-native/Libraries/Text" 404 | React-RCTVibration: 405 | :path: "../node_modules/react-native/Libraries/Vibration" 406 | ReactCommon: 407 | :path: "../node_modules/react-native/ReactCommon" 408 | RNCPushNotificationIOS: 409 | :path: "../node_modules/@react-native-community/push-notification-ios" 410 | RNFBApp: 411 | :path: "../node_modules/@react-native-firebase/app" 412 | RNFBMessaging: 413 | :path: "../node_modules/@react-native-firebase/messaging" 414 | Yoga: 415 | :path: "../node_modules/react-native/ReactCommon/yoga" 416 | 417 | SPEC CHECKSUMS: 418 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c 419 | DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 420 | FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f 421 | FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75 422 | Firebase: 458d109512200d1aca2e1b9b6cf7d68a869a4a46 423 | FirebaseAnalytics: 45f36d9c429fc91d206283900ab75390cd05ee8a 424 | FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae 425 | FirebaseCore: 307ea2508df730c5865334e41965bd9ea344b0e5 426 | FirebaseCoreDiagnostics: e9b4cd8ba60dee0f2d13347332e4b7898cca5b61 427 | FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850 428 | FirebaseInstanceID: ebd2ea79ee38db0cb5f5167b17a0d387e1cc7b6e 429 | FirebaseMessaging: 089b7a4991425783384acc8bcefcd78c0af913bd 430 | Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 431 | glog: 1f3da668190260b06b429bb211bfbee5cd790c28 432 | GoogleAppMeasurement: dfe55efa543e899d906309eaaac6ca26d249862f 433 | GoogleDataTransport: b29a21d813e906014ca16c00897827e40e4a24ab 434 | GoogleDataTransportCCTSupport: 6f15a89b0ca35d6fa523e1f752ef818588885988 435 | GoogleUtilities: ad0f3b691c67909d03a3327cc205222ab8f42e0e 436 | nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd 437 | Protobuf: 176220c526ad8bd09ab1fb40a978eac3fef665f7 438 | RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1 439 | RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320 440 | React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78 441 | React-Core: 688b451f7d616cc1134ac95295b593d1b5158a04 442 | React-CoreModules: d04f8494c1a328b69ec11db9d1137d667f916dcb 443 | React-cxxreact: d0f7bcafa196ae410e5300736b424455e7fb7ba7 444 | React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7 445 | React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386 446 | React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0 447 | React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76 448 | React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360 449 | React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72 450 | React-RCTImage: 6b8e8df449eb7c814c99a92d6b52de6fe39dea4e 451 | React-RCTLinking: 121bb231c7503cf9094f4d8461b96a130fabf4a5 452 | React-RCTNetwork: fb353640aafcee84ca8b78957297bd395f065c9a 453 | React-RCTSettings: 8db258ea2a5efee381fcf7a6d5044e2f8b68b640 454 | React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe 455 | React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad 456 | ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd 457 | RNCPushNotificationIOS: ec3e8c17cda6a92a0bb97a53ec5ecf5771d94d21 458 | RNFBApp: 317e22a2ae24ee62c7e7498cb3cfc2059585ef29 459 | RNFBMessaging: 964efffbf078210111b1d751a17c121d00d85881 460 | Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b 461 | 462 | PODFILE CHECKSUM: e52b8e41aab4d68457aed34132efbbfb06053065 463 | 464 | COCOAPODS: 1.7.5 465 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSExceptionDomains 28 | 29 | localhost 30 | 31 | NSExceptionAllowsInsecureHTTPLoads 32 | 33 | 34 | 35 | 36 | NSLocationWhenInUseUsageDescription 37 | 38 | UILaunchStoryboardName 39 | LaunchScreen 40 | UIRequiredDeviceCapabilities 41 | 42 | armv7 43 | 44 | UISupportedInterfaceOrientations 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | UIViewControllerBasedStatusBarAppearance 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications-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/SampleRNPushNotifications.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* SampleRNPushNotificationsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SampleRNPushNotificationsTests.m */; }; 11 | 01307011EC9A21142FD061BA /* libPods-SampleRNPushNotifications-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CA77F24208F53E77C3AB874F /* libPods-SampleRNPushNotifications-tvOSTests.a */; }; 12 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 13 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 14 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 15 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 16 | 24C41F4BAFADDF022EEEF2FB /* libPods-SampleRNPushNotifications-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E65E7F7060DBDC2390289D0 /* libPods-SampleRNPushNotifications-tvOS.a */; }; 17 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 18 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 19 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 20 | 2DCD954D1E0B4F2C00145EB5 /* SampleRNPushNotificationsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SampleRNPushNotificationsTests.m */; }; 21 | B85DAF29368982996F51FDE1 /* libPods-SampleRNPushNotifications.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D3DA778DAAA06BEE68881F78 /* libPods-SampleRNPushNotifications.a */; }; 22 | CF3BEC19D3B8D2CEEDB7166E /* libPods-SampleRNPushNotificationsTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 345B534877562D26CC3903F7 /* libPods-SampleRNPushNotificationsTests.a */; }; 23 | DFDA1DBD242D42E600A42E31 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */; }; 24 | DFDA1DBE242D42E600A42E31 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */; }; 25 | DFDA1DBF242D42E600A42E31 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */; }; 26 | DFDA1DC0242D42E600A42E31 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 35 | remoteInfo = SampleRNPushNotifications; 36 | }; 37 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 42 | remoteInfo = "SampleRNPushNotifications-tvOS"; 43 | }; 44 | /* End PBXContainerItemProxy section */ 45 | 46 | /* Begin PBXFileReference section */ 47 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 48 | 00E356EE1AD99517003FC87E /* SampleRNPushNotificationsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SampleRNPushNotificationsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 00E356F21AD99517003FC87E /* SampleRNPushNotificationsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SampleRNPushNotificationsTests.m; sourceTree = ""; }; 51 | 13B07F961A680F5B00A75B9A /* SampleRNPushNotifications.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleRNPushNotifications.app; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = SampleRNPushNotifications/AppDelegate.h; sourceTree = ""; }; 53 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = SampleRNPushNotifications/AppDelegate.m; sourceTree = ""; }; 54 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 55 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SampleRNPushNotifications/Images.xcassets; sourceTree = ""; }; 56 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SampleRNPushNotifications/Info.plist; sourceTree = ""; }; 57 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = SampleRNPushNotifications/main.m; sourceTree = ""; }; 58 | 2D02E47B1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleRNPushNotifications-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | 2D02E4901E0B4A5D006451C7 /* SampleRNPushNotifications-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "SampleRNPushNotifications-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 2E65E7F7060DBDC2390289D0 /* libPods-SampleRNPushNotifications-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleRNPushNotifications-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 345B534877562D26CC3903F7 /* libPods-SampleRNPushNotificationsTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleRNPushNotificationsTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 43A24BC441309402F6616D9C /* Pods-SampleRNPushNotifications.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications.release.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications/Pods-SampleRNPushNotifications.release.xcconfig"; sourceTree = ""; }; 63 | 6A22AB7E7A33C75CD2249E6A /* Pods-SampleRNPushNotifications-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications-tvOSTests/Pods-SampleRNPushNotifications-tvOSTests.debug.xcconfig"; sourceTree = ""; }; 64 | 74B1C81462CE2436A2E00991 /* Pods-SampleRNPushNotificationsTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotificationsTests.release.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotificationsTests/Pods-SampleRNPushNotificationsTests.release.xcconfig"; sourceTree = ""; }; 65 | 7A95A47C7AE038C8F3487104 /* Pods-SampleRNPushNotifications-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications-tvOS.release.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications-tvOS/Pods-SampleRNPushNotifications-tvOS.release.xcconfig"; sourceTree = ""; }; 66 | CA77F24208F53E77C3AB874F /* libPods-SampleRNPushNotifications-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleRNPushNotifications-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | CC5D122BCBEB995B8FC0A25C /* Pods-SampleRNPushNotifications-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications-tvOSTests/Pods-SampleRNPushNotifications-tvOSTests.release.xcconfig"; sourceTree = ""; }; 68 | D3DA778DAAA06BEE68881F78 /* libPods-SampleRNPushNotifications.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleRNPushNotifications.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 70 | E8F65916A3A3D151323337CF /* Pods-SampleRNPushNotifications-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications-tvOS/Pods-SampleRNPushNotifications-tvOS.debug.xcconfig"; sourceTree = ""; }; 71 | EBBE233D0AE46CA2DAE36387 /* Pods-SampleRNPushNotificationsTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotificationsTests.debug.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotificationsTests/Pods-SampleRNPushNotificationsTests.debug.xcconfig"; sourceTree = ""; }; 72 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 73 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 74 | FFEC1EE48736240E0175DCE1 /* Pods-SampleRNPushNotifications.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleRNPushNotifications.debug.xcconfig"; path = "Target Support Files/Pods-SampleRNPushNotifications/Pods-SampleRNPushNotifications.debug.xcconfig"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | CF3BEC19D3B8D2CEEDB7166E /* libPods-SampleRNPushNotificationsTests.a in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | B85DAF29368982996F51FDE1 /* libPods-SampleRNPushNotifications.a in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 24C41F4BAFADDF022EEEF2FB /* libPods-SampleRNPushNotifications-tvOS.a in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 103 | isa = PBXFrameworksBuildPhase; 104 | buildActionMask = 2147483647; 105 | files = ( 106 | 01307011EC9A21142FD061BA /* libPods-SampleRNPushNotifications-tvOSTests.a in Frameworks */, 107 | ); 108 | runOnlyForDeploymentPostprocessing = 0; 109 | }; 110 | /* End PBXFrameworksBuildPhase section */ 111 | 112 | /* Begin PBXGroup section */ 113 | 00E356EF1AD99517003FC87E /* SampleRNPushNotificationsTests */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 00E356F21AD99517003FC87E /* SampleRNPushNotificationsTests.m */, 117 | 00E356F01AD99517003FC87E /* Supporting Files */, 118 | ); 119 | path = SampleRNPushNotificationsTests; 120 | sourceTree = ""; 121 | }; 122 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 00E356F11AD99517003FC87E /* Info.plist */, 126 | ); 127 | name = "Supporting Files"; 128 | sourceTree = ""; 129 | }; 130 | 13B07FAE1A68108700A75B9A /* SampleRNPushNotifications */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | DFDA1DBC242D42E600A42E31 /* GoogleService-Info.plist */, 134 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 135 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 136 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 137 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 138 | 13B07FB61A68108700A75B9A /* Info.plist */, 139 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 140 | 13B07FB71A68108700A75B9A /* main.m */, 141 | ); 142 | name = SampleRNPushNotifications; 143 | sourceTree = ""; 144 | }; 145 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 149 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 150 | D3DA778DAAA06BEE68881F78 /* libPods-SampleRNPushNotifications.a */, 151 | 2E65E7F7060DBDC2390289D0 /* libPods-SampleRNPushNotifications-tvOS.a */, 152 | CA77F24208F53E77C3AB874F /* libPods-SampleRNPushNotifications-tvOSTests.a */, 153 | 345B534877562D26CC3903F7 /* libPods-SampleRNPushNotificationsTests.a */, 154 | ); 155 | name = Frameworks; 156 | sourceTree = ""; 157 | }; 158 | 37F8934F11B19D454DAEC29B /* Pods */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | FFEC1EE48736240E0175DCE1 /* Pods-SampleRNPushNotifications.debug.xcconfig */, 162 | 43A24BC441309402F6616D9C /* Pods-SampleRNPushNotifications.release.xcconfig */, 163 | E8F65916A3A3D151323337CF /* Pods-SampleRNPushNotifications-tvOS.debug.xcconfig */, 164 | 7A95A47C7AE038C8F3487104 /* Pods-SampleRNPushNotifications-tvOS.release.xcconfig */, 165 | 6A22AB7E7A33C75CD2249E6A /* Pods-SampleRNPushNotifications-tvOSTests.debug.xcconfig */, 166 | CC5D122BCBEB995B8FC0A25C /* Pods-SampleRNPushNotifications-tvOSTests.release.xcconfig */, 167 | EBBE233D0AE46CA2DAE36387 /* Pods-SampleRNPushNotificationsTests.debug.xcconfig */, 168 | 74B1C81462CE2436A2E00991 /* Pods-SampleRNPushNotificationsTests.release.xcconfig */, 169 | ); 170 | path = Pods; 171 | sourceTree = ""; 172 | }; 173 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | ); 177 | name = Libraries; 178 | sourceTree = ""; 179 | }; 180 | 83CBB9F61A601CBA00E9B192 = { 181 | isa = PBXGroup; 182 | children = ( 183 | 13B07FAE1A68108700A75B9A /* SampleRNPushNotifications */, 184 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 185 | 00E356EF1AD99517003FC87E /* SampleRNPushNotificationsTests */, 186 | 83CBBA001A601CBA00E9B192 /* Products */, 187 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 188 | 37F8934F11B19D454DAEC29B /* Pods */, 189 | ); 190 | indentWidth = 2; 191 | sourceTree = ""; 192 | tabWidth = 2; 193 | usesTabs = 0; 194 | }; 195 | 83CBBA001A601CBA00E9B192 /* Products */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | 13B07F961A680F5B00A75B9A /* SampleRNPushNotifications.app */, 199 | 00E356EE1AD99517003FC87E /* SampleRNPushNotificationsTests.xctest */, 200 | 2D02E47B1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS.app */, 201 | 2D02E4901E0B4A5D006451C7 /* SampleRNPushNotifications-tvOSTests.xctest */, 202 | ); 203 | name = Products; 204 | sourceTree = ""; 205 | }; 206 | /* End PBXGroup section */ 207 | 208 | /* Begin PBXNativeTarget section */ 209 | 00E356ED1AD99517003FC87E /* SampleRNPushNotificationsTests */ = { 210 | isa = PBXNativeTarget; 211 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SampleRNPushNotificationsTests" */; 212 | buildPhases = ( 213 | 08E1FA9B32E631AAAEA47202 /* [CP] Check Pods Manifest.lock */, 214 | 00E356EA1AD99517003FC87E /* Sources */, 215 | 00E356EB1AD99517003FC87E /* Frameworks */, 216 | 00E356EC1AD99517003FC87E /* Resources */, 217 | ); 218 | buildRules = ( 219 | ); 220 | dependencies = ( 221 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 222 | ); 223 | name = SampleRNPushNotificationsTests; 224 | productName = SampleRNPushNotificationsTests; 225 | productReference = 00E356EE1AD99517003FC87E /* SampleRNPushNotificationsTests.xctest */; 226 | productType = "com.apple.product-type.bundle.unit-test"; 227 | }; 228 | 13B07F861A680F5B00A75B9A /* SampleRNPushNotifications */ = { 229 | isa = PBXNativeTarget; 230 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications" */; 231 | buildPhases = ( 232 | 86A6505D4477D74073A07911 /* [CP] Check Pods Manifest.lock */, 233 | FD10A7F022414F080027D42C /* Start Packager */, 234 | 13B07F871A680F5B00A75B9A /* Sources */, 235 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 236 | 13B07F8E1A680F5B00A75B9A /* Resources */, 237 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 238 | 220E3834193B5FD793CD350C /* [CP-User] [RNFB] Core Configuration */, 239 | ); 240 | buildRules = ( 241 | ); 242 | dependencies = ( 243 | ); 244 | name = SampleRNPushNotifications; 245 | productName = SampleRNPushNotifications; 246 | productReference = 13B07F961A680F5B00A75B9A /* SampleRNPushNotifications.app */; 247 | productType = "com.apple.product-type.application"; 248 | }; 249 | 2D02E47A1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS */ = { 250 | isa = PBXNativeTarget; 251 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications-tvOS" */; 252 | buildPhases = ( 253 | 919CFBBC63658CAA945A1A89 /* [CP] Check Pods Manifest.lock */, 254 | FD10A7F122414F3F0027D42C /* Start Packager */, 255 | 2D02E4771E0B4A5D006451C7 /* Sources */, 256 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 257 | 2D02E4791E0B4A5D006451C7 /* Resources */, 258 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 259 | ); 260 | buildRules = ( 261 | ); 262 | dependencies = ( 263 | ); 264 | name = "SampleRNPushNotifications-tvOS"; 265 | productName = "SampleRNPushNotifications-tvOS"; 266 | productReference = 2D02E47B1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS.app */; 267 | productType = "com.apple.product-type.application"; 268 | }; 269 | 2D02E48F1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOSTests */ = { 270 | isa = PBXNativeTarget; 271 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications-tvOSTests" */; 272 | buildPhases = ( 273 | 02008389ADBE723A561C43A8 /* [CP] Check Pods Manifest.lock */, 274 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 275 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 276 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 277 | ); 278 | buildRules = ( 279 | ); 280 | dependencies = ( 281 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 282 | ); 283 | name = "SampleRNPushNotifications-tvOSTests"; 284 | productName = "SampleRNPushNotifications-tvOSTests"; 285 | productReference = 2D02E4901E0B4A5D006451C7 /* SampleRNPushNotifications-tvOSTests.xctest */; 286 | productType = "com.apple.product-type.bundle.unit-test"; 287 | }; 288 | /* End PBXNativeTarget section */ 289 | 290 | /* Begin PBXProject section */ 291 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 292 | isa = PBXProject; 293 | attributes = { 294 | LastUpgradeCheck = 0940; 295 | ORGANIZATIONNAME = Facebook; 296 | TargetAttributes = { 297 | 00E356ED1AD99517003FC87E = { 298 | CreatedOnToolsVersion = 6.2; 299 | TestTargetID = 13B07F861A680F5B00A75B9A; 300 | }; 301 | 2D02E47A1E0B4A5D006451C7 = { 302 | CreatedOnToolsVersion = 8.2.1; 303 | ProvisioningStyle = Automatic; 304 | }; 305 | 2D02E48F1E0B4A5D006451C7 = { 306 | CreatedOnToolsVersion = 8.2.1; 307 | ProvisioningStyle = Automatic; 308 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 309 | }; 310 | }; 311 | }; 312 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "SampleRNPushNotifications" */; 313 | compatibilityVersion = "Xcode 3.2"; 314 | developmentRegion = English; 315 | hasScannedForEncodings = 0; 316 | knownRegions = ( 317 | English, 318 | en, 319 | Base, 320 | ); 321 | mainGroup = 83CBB9F61A601CBA00E9B192; 322 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 323 | projectDirPath = ""; 324 | projectRoot = ""; 325 | targets = ( 326 | 13B07F861A680F5B00A75B9A /* SampleRNPushNotifications */, 327 | 00E356ED1AD99517003FC87E /* SampleRNPushNotificationsTests */, 328 | 2D02E47A1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS */, 329 | 2D02E48F1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOSTests */, 330 | ); 331 | }; 332 | /* End PBXProject section */ 333 | 334 | /* Begin PBXResourcesBuildPhase section */ 335 | 00E356EC1AD99517003FC87E /* Resources */ = { 336 | isa = PBXResourcesBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | DFDA1DBE242D42E600A42E31 /* GoogleService-Info.plist in Resources */, 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | }; 343 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 344 | isa = PBXResourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 348 | DFDA1DBD242D42E600A42E31 /* GoogleService-Info.plist in Resources */, 349 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 354 | isa = PBXResourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 358 | DFDA1DBF242D42E600A42E31 /* GoogleService-Info.plist in Resources */, 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 363 | isa = PBXResourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | DFDA1DC0242D42E600A42E31 /* GoogleService-Info.plist in Resources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | /* End PBXResourcesBuildPhase section */ 371 | 372 | /* Begin PBXShellScriptBuildPhase section */ 373 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 374 | isa = PBXShellScriptBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | ); 378 | inputPaths = ( 379 | ); 380 | name = "Bundle React Native code and images"; 381 | outputPaths = ( 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | shellPath = /bin/sh; 385 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 386 | }; 387 | 02008389ADBE723A561C43A8 /* [CP] Check Pods Manifest.lock */ = { 388 | isa = PBXShellScriptBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | inputFileListPaths = ( 393 | ); 394 | inputPaths = ( 395 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 396 | "${PODS_ROOT}/Manifest.lock", 397 | ); 398 | name = "[CP] Check Pods Manifest.lock"; 399 | outputFileListPaths = ( 400 | ); 401 | outputPaths = ( 402 | "$(DERIVED_FILE_DIR)/Pods-SampleRNPushNotifications-tvOSTests-checkManifestLockResult.txt", 403 | ); 404 | runOnlyForDeploymentPostprocessing = 0; 405 | shellPath = /bin/sh; 406 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 407 | showEnvVarsInLog = 0; 408 | }; 409 | 08E1FA9B32E631AAAEA47202 /* [CP] Check Pods Manifest.lock */ = { 410 | isa = PBXShellScriptBuildPhase; 411 | buildActionMask = 2147483647; 412 | files = ( 413 | ); 414 | inputFileListPaths = ( 415 | ); 416 | inputPaths = ( 417 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 418 | "${PODS_ROOT}/Manifest.lock", 419 | ); 420 | name = "[CP] Check Pods Manifest.lock"; 421 | outputFileListPaths = ( 422 | ); 423 | outputPaths = ( 424 | "$(DERIVED_FILE_DIR)/Pods-SampleRNPushNotificationsTests-checkManifestLockResult.txt", 425 | ); 426 | runOnlyForDeploymentPostprocessing = 0; 427 | shellPath = /bin/sh; 428 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 429 | showEnvVarsInLog = 0; 430 | }; 431 | 220E3834193B5FD793CD350C /* [CP-User] [RNFB] Core Configuration */ = { 432 | isa = PBXShellScriptBuildPhase; 433 | buildActionMask = 2147483647; 434 | files = ( 435 | ); 436 | name = "[CP-User] [RNFB] Core Configuration"; 437 | runOnlyForDeploymentPostprocessing = 0; 438 | shellPath = /bin/sh; 439 | shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nset -e\n\n_MAX_LOOKUPS=2;\n_SEARCH_RESULT=''\n_RN_ROOT_EXISTS=''\n_CURRENT_LOOKUPS=1\n_JSON_ROOT=\"'react-native'\"\n_JSON_FILE_NAME='firebase.json'\n_JSON_OUTPUT_BASE64='e30=' # { }\n_CURRENT_SEARCH_DIR=${PROJECT_DIR}\n_PLIST_BUDDY=/usr/libexec/PlistBuddy\n_TARGET_PLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\n_DSYM_PLIST=\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist\"\n\n# plist arrays\n_PLIST_ENTRY_KEYS=()\n_PLIST_ENTRY_TYPES=()\n_PLIST_ENTRY_VALUES=()\n\nfunction setPlistValue {\n echo \"info: setting plist entry '$1' of type '$2' in file '$4'\"\n ${_PLIST_BUDDY} -c \"Add :$1 $2 '$3'\" $4 || echo \"info: '$1' already exists\"\n}\n\nfunction getFirebaseJsonKeyValue () {\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']\"\n else\n echo \"\"\n fi;\n}\n\nfunction jsonBoolToYesNo () {\n if [[ $1 == \"false\" ]]; then\n echo \"NO\"\n elif [[ $1 == \"true\" ]]; then\n echo \"YES\"\n else echo \"NO\"\n fi\n}\n\necho \"info: -> RNFB build script started\"\necho \"info: 1) Locating ${_JSON_FILE_NAME} file:\"\n\nif [[ -z ${_CURRENT_SEARCH_DIR} ]]; then\n _CURRENT_SEARCH_DIR=$(pwd)\nfi;\n\nwhile true; do\n _CURRENT_SEARCH_DIR=$(dirname \"$_CURRENT_SEARCH_DIR\")\n if [[ \"$_CURRENT_SEARCH_DIR\" == \"/\" ]] || [[ ${_CURRENT_LOOKUPS} -gt ${_MAX_LOOKUPS} ]]; then break; fi;\n echo \"info: ($_CURRENT_LOOKUPS of $_MAX_LOOKUPS) Searching in '$_CURRENT_SEARCH_DIR' for a ${_JSON_FILE_NAME} file.\"\n _SEARCH_RESULT=$(find \"$_CURRENT_SEARCH_DIR\" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | head -n 1)\n if [[ ${_SEARCH_RESULT} ]]; then\n echo \"info: ${_JSON_FILE_NAME} found at $_SEARCH_RESULT\"\n break;\n fi;\n _CURRENT_LOOKUPS=$((_CURRENT_LOOKUPS+1))\ndone\n\nif [[ ${_SEARCH_RESULT} ]]; then\n _JSON_OUTPUT_RAW=$(cat \"${_SEARCH_RESULT}\")\n _RN_ROOT_EXISTS=$(ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]\" || echo '')\n\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n _JSON_OUTPUT_BASE64=$(python -c 'import json,sys,base64;print(base64.b64encode(json.dumps(json.loads(open('\"'${_SEARCH_RESULT}'\"').read())['${_JSON_ROOT}'])))' || echo \"e30=\")\n fi\n\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n\n # config.messaging_auto_init_enabled\n _MESSAGING_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"messaging_auto_init_enabled\")\n if [[ $_MESSAGING_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseMessagingAutoInitEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_MESSAGING_AUTO_INIT\")\")\n fi\n\n # config.crashlytics_disable_auto_disabler - undocumented for now - mainly for debugging, document if becomes usful\n _CRASHLYTICS_AUTO_DISABLE_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"crashlytics_disable_auto_disabler\")\n if [[ $_CRASHLYTICS_AUTO_DISABLE_ENABLED == \"true\" ]]; then\n echo \"Disabled Crashlytics auto disabler.\" # do nothing\n else\n _PLIST_ENTRY_KEYS+=(\"firebase_crashlytics_collection_enabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"NO\")\n fi\n\n # config.admob_delay_app_measurement_init\n _ADMOB_DELAY_APP_MEASUREMENT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"admob_delay_app_measurement_init\")\n if [[ $_ADMOB_DELAY_APP_MEASUREMENT == \"true\" ]]; then\n _PLIST_ENTRY_KEYS+=(\"GADDelayAppMeasurementInit\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"YES\")\n fi\n\n # config.admob_ios_app_id\n _ADMOB_IOS_APP_ID=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"admob_ios_app_id\")\n if [[ $_ADMOB_IOS_APP_ID ]]; then\n _PLIST_ENTRY_KEYS+=(\"GADApplicationIdentifier\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_ADMOB_IOS_APP_ID\")\n fi\nelse\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n echo \"warning: A firebase.json file was not found, whilst this file is optional it is recommended to include it to configure firebase services in React Native Firebase.\"\nfi;\n\necho \"info: 2) Injecting Info.plist entries: \"\n\n# Log out the keys we're adding\nfor i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n echo \" -> $i) ${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\"\ndone\n\nfor plist in \"${_TARGET_PLIST}\" \"${_DSYM_PLIST}\" ; do\n if [[ -f \"${plist}\" ]]; then\n\n # paths with spaces break the call to setPlistValue. temporarily modify\n # the shell internal field separator variable (IFS), which normally \n # includes spaces, to consist only of line breaks\n oldifs=$IFS\n IFS=\"\n\"\n\n for i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n setPlistValue \"${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\" \"${plist}\"\n done\n\n # restore the original internal field separator value\n IFS=$oldifs\n else\n echo \"warning: A Info.plist build output file was not found (${plist})\"\n fi\ndone\n\necho \"info: <- RNFB build script finished\"\n\n"; 440 | }; 441 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 442 | isa = PBXShellScriptBuildPhase; 443 | buildActionMask = 2147483647; 444 | files = ( 445 | ); 446 | inputPaths = ( 447 | ); 448 | name = "Bundle React Native Code And Images"; 449 | outputPaths = ( 450 | ); 451 | runOnlyForDeploymentPostprocessing = 0; 452 | shellPath = /bin/sh; 453 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 454 | }; 455 | 86A6505D4477D74073A07911 /* [CP] Check Pods Manifest.lock */ = { 456 | isa = PBXShellScriptBuildPhase; 457 | buildActionMask = 2147483647; 458 | files = ( 459 | ); 460 | inputFileListPaths = ( 461 | ); 462 | inputPaths = ( 463 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 464 | "${PODS_ROOT}/Manifest.lock", 465 | ); 466 | name = "[CP] Check Pods Manifest.lock"; 467 | outputFileListPaths = ( 468 | ); 469 | outputPaths = ( 470 | "$(DERIVED_FILE_DIR)/Pods-SampleRNPushNotifications-checkManifestLockResult.txt", 471 | ); 472 | runOnlyForDeploymentPostprocessing = 0; 473 | shellPath = /bin/sh; 474 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 475 | showEnvVarsInLog = 0; 476 | }; 477 | 919CFBBC63658CAA945A1A89 /* [CP] Check Pods Manifest.lock */ = { 478 | isa = PBXShellScriptBuildPhase; 479 | buildActionMask = 2147483647; 480 | files = ( 481 | ); 482 | inputFileListPaths = ( 483 | ); 484 | inputPaths = ( 485 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 486 | "${PODS_ROOT}/Manifest.lock", 487 | ); 488 | name = "[CP] Check Pods Manifest.lock"; 489 | outputFileListPaths = ( 490 | ); 491 | outputPaths = ( 492 | "$(DERIVED_FILE_DIR)/Pods-SampleRNPushNotifications-tvOS-checkManifestLockResult.txt", 493 | ); 494 | runOnlyForDeploymentPostprocessing = 0; 495 | shellPath = /bin/sh; 496 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 497 | showEnvVarsInLog = 0; 498 | }; 499 | FD10A7F022414F080027D42C /* Start Packager */ = { 500 | isa = PBXShellScriptBuildPhase; 501 | buildActionMask = 2147483647; 502 | files = ( 503 | ); 504 | inputFileListPaths = ( 505 | ); 506 | inputPaths = ( 507 | ); 508 | name = "Start Packager"; 509 | outputFileListPaths = ( 510 | ); 511 | outputPaths = ( 512 | ); 513 | runOnlyForDeploymentPostprocessing = 0; 514 | shellPath = /bin/sh; 515 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 516 | showEnvVarsInLog = 0; 517 | }; 518 | FD10A7F122414F3F0027D42C /* Start Packager */ = { 519 | isa = PBXShellScriptBuildPhase; 520 | buildActionMask = 2147483647; 521 | files = ( 522 | ); 523 | inputFileListPaths = ( 524 | ); 525 | inputPaths = ( 526 | ); 527 | name = "Start Packager"; 528 | outputFileListPaths = ( 529 | ); 530 | outputPaths = ( 531 | ); 532 | runOnlyForDeploymentPostprocessing = 0; 533 | shellPath = /bin/sh; 534 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 535 | showEnvVarsInLog = 0; 536 | }; 537 | /* End PBXShellScriptBuildPhase section */ 538 | 539 | /* Begin PBXSourcesBuildPhase section */ 540 | 00E356EA1AD99517003FC87E /* Sources */ = { 541 | isa = PBXSourcesBuildPhase; 542 | buildActionMask = 2147483647; 543 | files = ( 544 | 00E356F31AD99517003FC87E /* SampleRNPushNotificationsTests.m in Sources */, 545 | ); 546 | runOnlyForDeploymentPostprocessing = 0; 547 | }; 548 | 13B07F871A680F5B00A75B9A /* Sources */ = { 549 | isa = PBXSourcesBuildPhase; 550 | buildActionMask = 2147483647; 551 | files = ( 552 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 553 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 554 | ); 555 | runOnlyForDeploymentPostprocessing = 0; 556 | }; 557 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 558 | isa = PBXSourcesBuildPhase; 559 | buildActionMask = 2147483647; 560 | files = ( 561 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 562 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 563 | ); 564 | runOnlyForDeploymentPostprocessing = 0; 565 | }; 566 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 567 | isa = PBXSourcesBuildPhase; 568 | buildActionMask = 2147483647; 569 | files = ( 570 | 2DCD954D1E0B4F2C00145EB5 /* SampleRNPushNotificationsTests.m in Sources */, 571 | ); 572 | runOnlyForDeploymentPostprocessing = 0; 573 | }; 574 | /* End PBXSourcesBuildPhase section */ 575 | 576 | /* Begin PBXTargetDependency section */ 577 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 578 | isa = PBXTargetDependency; 579 | target = 13B07F861A680F5B00A75B9A /* SampleRNPushNotifications */; 580 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 581 | }; 582 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 583 | isa = PBXTargetDependency; 584 | target = 2D02E47A1E0B4A5D006451C7 /* SampleRNPushNotifications-tvOS */; 585 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 586 | }; 587 | /* End PBXTargetDependency section */ 588 | 589 | /* Begin PBXVariantGroup section */ 590 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 591 | isa = PBXVariantGroup; 592 | children = ( 593 | 13B07FB21A68108700A75B9A /* Base */, 594 | ); 595 | name = LaunchScreen.xib; 596 | path = SampleRNPushNotifications; 597 | sourceTree = ""; 598 | }; 599 | /* End PBXVariantGroup section */ 600 | 601 | /* Begin XCBuildConfiguration section */ 602 | 00E356F61AD99517003FC87E /* Debug */ = { 603 | isa = XCBuildConfiguration; 604 | baseConfigurationReference = EBBE233D0AE46CA2DAE36387 /* Pods-SampleRNPushNotificationsTests.debug.xcconfig */; 605 | buildSettings = { 606 | BUNDLE_LOADER = "$(TEST_HOST)"; 607 | GCC_PREPROCESSOR_DEFINITIONS = ( 608 | "DEBUG=1", 609 | "$(inherited)", 610 | ); 611 | INFOPLIST_FILE = SampleRNPushNotificationsTests/Info.plist; 612 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 613 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 614 | OTHER_LDFLAGS = ( 615 | "-ObjC", 616 | "-lc++", 617 | "$(inherited)", 618 | ); 619 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 620 | PRODUCT_NAME = "$(TARGET_NAME)"; 621 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SampleRNPushNotifications.app/SampleRNPushNotifications"; 622 | }; 623 | name = Debug; 624 | }; 625 | 00E356F71AD99517003FC87E /* Release */ = { 626 | isa = XCBuildConfiguration; 627 | baseConfigurationReference = 74B1C81462CE2436A2E00991 /* Pods-SampleRNPushNotificationsTests.release.xcconfig */; 628 | buildSettings = { 629 | BUNDLE_LOADER = "$(TEST_HOST)"; 630 | COPY_PHASE_STRIP = NO; 631 | INFOPLIST_FILE = SampleRNPushNotificationsTests/Info.plist; 632 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 633 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 634 | OTHER_LDFLAGS = ( 635 | "-ObjC", 636 | "-lc++", 637 | "$(inherited)", 638 | ); 639 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 640 | PRODUCT_NAME = "$(TARGET_NAME)"; 641 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SampleRNPushNotifications.app/SampleRNPushNotifications"; 642 | }; 643 | name = Release; 644 | }; 645 | 13B07F941A680F5B00A75B9A /* Debug */ = { 646 | isa = XCBuildConfiguration; 647 | baseConfigurationReference = FFEC1EE48736240E0175DCE1 /* Pods-SampleRNPushNotifications.debug.xcconfig */; 648 | buildSettings = { 649 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 650 | CURRENT_PROJECT_VERSION = 1; 651 | DEAD_CODE_STRIPPING = NO; 652 | INFOPLIST_FILE = SampleRNPushNotifications/Info.plist; 653 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 654 | OTHER_LDFLAGS = ( 655 | "$(inherited)", 656 | "-ObjC", 657 | "-lc++", 658 | ); 659 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 660 | PRODUCT_NAME = SampleRNPushNotifications; 661 | VERSIONING_SYSTEM = "apple-generic"; 662 | }; 663 | name = Debug; 664 | }; 665 | 13B07F951A680F5B00A75B9A /* Release */ = { 666 | isa = XCBuildConfiguration; 667 | baseConfigurationReference = 43A24BC441309402F6616D9C /* Pods-SampleRNPushNotifications.release.xcconfig */; 668 | buildSettings = { 669 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 670 | CURRENT_PROJECT_VERSION = 1; 671 | INFOPLIST_FILE = SampleRNPushNotifications/Info.plist; 672 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 673 | OTHER_LDFLAGS = ( 674 | "$(inherited)", 675 | "-ObjC", 676 | "-lc++", 677 | ); 678 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 679 | PRODUCT_NAME = SampleRNPushNotifications; 680 | VERSIONING_SYSTEM = "apple-generic"; 681 | }; 682 | name = Release; 683 | }; 684 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 685 | isa = XCBuildConfiguration; 686 | baseConfigurationReference = E8F65916A3A3D151323337CF /* Pods-SampleRNPushNotifications-tvOS.debug.xcconfig */; 687 | buildSettings = { 688 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 689 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 690 | CLANG_ANALYZER_NONNULL = YES; 691 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 692 | CLANG_WARN_INFINITE_RECURSION = YES; 693 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 694 | DEBUG_INFORMATION_FORMAT = dwarf; 695 | ENABLE_TESTABILITY = YES; 696 | GCC_NO_COMMON_BLOCKS = YES; 697 | INFOPLIST_FILE = "SampleRNPushNotifications-tvOS/Info.plist"; 698 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 699 | OTHER_LDFLAGS = ( 700 | "$(inherited)", 701 | "-ObjC", 702 | "-lc++", 703 | ); 704 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.SampleRNPushNotifications-tvOS"; 705 | PRODUCT_NAME = "$(TARGET_NAME)"; 706 | SDKROOT = appletvos; 707 | TARGETED_DEVICE_FAMILY = 3; 708 | TVOS_DEPLOYMENT_TARGET = 9.2; 709 | }; 710 | name = Debug; 711 | }; 712 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 713 | isa = XCBuildConfiguration; 714 | baseConfigurationReference = 7A95A47C7AE038C8F3487104 /* Pods-SampleRNPushNotifications-tvOS.release.xcconfig */; 715 | buildSettings = { 716 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 717 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 718 | CLANG_ANALYZER_NONNULL = YES; 719 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 720 | CLANG_WARN_INFINITE_RECURSION = YES; 721 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 722 | COPY_PHASE_STRIP = NO; 723 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 724 | GCC_NO_COMMON_BLOCKS = YES; 725 | INFOPLIST_FILE = "SampleRNPushNotifications-tvOS/Info.plist"; 726 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 727 | OTHER_LDFLAGS = ( 728 | "$(inherited)", 729 | "-ObjC", 730 | "-lc++", 731 | ); 732 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.SampleRNPushNotifications-tvOS"; 733 | PRODUCT_NAME = "$(TARGET_NAME)"; 734 | SDKROOT = appletvos; 735 | TARGETED_DEVICE_FAMILY = 3; 736 | TVOS_DEPLOYMENT_TARGET = 9.2; 737 | }; 738 | name = Release; 739 | }; 740 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 741 | isa = XCBuildConfiguration; 742 | baseConfigurationReference = 6A22AB7E7A33C75CD2249E6A /* Pods-SampleRNPushNotifications-tvOSTests.debug.xcconfig */; 743 | buildSettings = { 744 | BUNDLE_LOADER = "$(TEST_HOST)"; 745 | CLANG_ANALYZER_NONNULL = YES; 746 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 747 | CLANG_WARN_INFINITE_RECURSION = YES; 748 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 749 | DEBUG_INFORMATION_FORMAT = dwarf; 750 | ENABLE_TESTABILITY = YES; 751 | GCC_NO_COMMON_BLOCKS = YES; 752 | INFOPLIST_FILE = "SampleRNPushNotifications-tvOSTests/Info.plist"; 753 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 754 | OTHER_LDFLAGS = ( 755 | "$(inherited)", 756 | "-ObjC", 757 | "-lc++", 758 | ); 759 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.SampleRNPushNotifications-tvOSTests"; 760 | PRODUCT_NAME = "$(TARGET_NAME)"; 761 | SDKROOT = appletvos; 762 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SampleRNPushNotifications-tvOS.app/SampleRNPushNotifications-tvOS"; 763 | TVOS_DEPLOYMENT_TARGET = 10.1; 764 | }; 765 | name = Debug; 766 | }; 767 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 768 | isa = XCBuildConfiguration; 769 | baseConfigurationReference = CC5D122BCBEB995B8FC0A25C /* Pods-SampleRNPushNotifications-tvOSTests.release.xcconfig */; 770 | buildSettings = { 771 | BUNDLE_LOADER = "$(TEST_HOST)"; 772 | CLANG_ANALYZER_NONNULL = YES; 773 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 774 | CLANG_WARN_INFINITE_RECURSION = YES; 775 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 776 | COPY_PHASE_STRIP = NO; 777 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 778 | GCC_NO_COMMON_BLOCKS = YES; 779 | INFOPLIST_FILE = "SampleRNPushNotifications-tvOSTests/Info.plist"; 780 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 781 | OTHER_LDFLAGS = ( 782 | "$(inherited)", 783 | "-ObjC", 784 | "-lc++", 785 | ); 786 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.SampleRNPushNotifications-tvOSTests"; 787 | PRODUCT_NAME = "$(TARGET_NAME)"; 788 | SDKROOT = appletvos; 789 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SampleRNPushNotifications-tvOS.app/SampleRNPushNotifications-tvOS"; 790 | TVOS_DEPLOYMENT_TARGET = 10.1; 791 | }; 792 | name = Release; 793 | }; 794 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 795 | isa = XCBuildConfiguration; 796 | buildSettings = { 797 | ALWAYS_SEARCH_USER_PATHS = NO; 798 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 799 | CLANG_CXX_LIBRARY = "libc++"; 800 | CLANG_ENABLE_MODULES = YES; 801 | CLANG_ENABLE_OBJC_ARC = YES; 802 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 803 | CLANG_WARN_BOOL_CONVERSION = YES; 804 | CLANG_WARN_COMMA = YES; 805 | CLANG_WARN_CONSTANT_CONVERSION = YES; 806 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 807 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 808 | CLANG_WARN_EMPTY_BODY = YES; 809 | CLANG_WARN_ENUM_CONVERSION = YES; 810 | CLANG_WARN_INFINITE_RECURSION = YES; 811 | CLANG_WARN_INT_CONVERSION = YES; 812 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 813 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 814 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 815 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 816 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 817 | CLANG_WARN_STRICT_PROTOTYPES = YES; 818 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 819 | CLANG_WARN_UNREACHABLE_CODE = YES; 820 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 821 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 822 | COPY_PHASE_STRIP = NO; 823 | ENABLE_STRICT_OBJC_MSGSEND = YES; 824 | ENABLE_TESTABILITY = YES; 825 | GCC_C_LANGUAGE_STANDARD = gnu99; 826 | GCC_DYNAMIC_NO_PIC = NO; 827 | GCC_NO_COMMON_BLOCKS = YES; 828 | GCC_OPTIMIZATION_LEVEL = 0; 829 | GCC_PREPROCESSOR_DEFINITIONS = ( 830 | "DEBUG=1", 831 | "$(inherited)", 832 | ); 833 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 834 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 835 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 836 | GCC_WARN_UNDECLARED_SELECTOR = YES; 837 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 838 | GCC_WARN_UNUSED_FUNCTION = YES; 839 | GCC_WARN_UNUSED_VARIABLE = YES; 840 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 841 | MTL_ENABLE_DEBUG_INFO = YES; 842 | ONLY_ACTIVE_ARCH = YES; 843 | SDKROOT = iphoneos; 844 | }; 845 | name = Debug; 846 | }; 847 | 83CBBA211A601CBA00E9B192 /* Release */ = { 848 | isa = XCBuildConfiguration; 849 | buildSettings = { 850 | ALWAYS_SEARCH_USER_PATHS = NO; 851 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 852 | CLANG_CXX_LIBRARY = "libc++"; 853 | CLANG_ENABLE_MODULES = YES; 854 | CLANG_ENABLE_OBJC_ARC = YES; 855 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 856 | CLANG_WARN_BOOL_CONVERSION = YES; 857 | CLANG_WARN_COMMA = YES; 858 | CLANG_WARN_CONSTANT_CONVERSION = YES; 859 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 860 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 861 | CLANG_WARN_EMPTY_BODY = YES; 862 | CLANG_WARN_ENUM_CONVERSION = YES; 863 | CLANG_WARN_INFINITE_RECURSION = YES; 864 | CLANG_WARN_INT_CONVERSION = YES; 865 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 866 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 867 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 868 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 869 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 870 | CLANG_WARN_STRICT_PROTOTYPES = YES; 871 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 872 | CLANG_WARN_UNREACHABLE_CODE = YES; 873 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 874 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 875 | COPY_PHASE_STRIP = YES; 876 | ENABLE_NS_ASSERTIONS = NO; 877 | ENABLE_STRICT_OBJC_MSGSEND = YES; 878 | GCC_C_LANGUAGE_STANDARD = gnu99; 879 | GCC_NO_COMMON_BLOCKS = YES; 880 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 881 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 882 | GCC_WARN_UNDECLARED_SELECTOR = YES; 883 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 884 | GCC_WARN_UNUSED_FUNCTION = YES; 885 | GCC_WARN_UNUSED_VARIABLE = YES; 886 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 887 | MTL_ENABLE_DEBUG_INFO = NO; 888 | SDKROOT = iphoneos; 889 | VALIDATE_PRODUCT = YES; 890 | }; 891 | name = Release; 892 | }; 893 | /* End XCBuildConfiguration section */ 894 | 895 | /* Begin XCConfigurationList section */ 896 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SampleRNPushNotificationsTests" */ = { 897 | isa = XCConfigurationList; 898 | buildConfigurations = ( 899 | 00E356F61AD99517003FC87E /* Debug */, 900 | 00E356F71AD99517003FC87E /* Release */, 901 | ); 902 | defaultConfigurationIsVisible = 0; 903 | defaultConfigurationName = Release; 904 | }; 905 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications" */ = { 906 | isa = XCConfigurationList; 907 | buildConfigurations = ( 908 | 13B07F941A680F5B00A75B9A /* Debug */, 909 | 13B07F951A680F5B00A75B9A /* Release */, 910 | ); 911 | defaultConfigurationIsVisible = 0; 912 | defaultConfigurationName = Release; 913 | }; 914 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications-tvOS" */ = { 915 | isa = XCConfigurationList; 916 | buildConfigurations = ( 917 | 2D02E4971E0B4A5E006451C7 /* Debug */, 918 | 2D02E4981E0B4A5E006451C7 /* Release */, 919 | ); 920 | defaultConfigurationIsVisible = 0; 921 | defaultConfigurationName = Release; 922 | }; 923 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "SampleRNPushNotifications-tvOSTests" */ = { 924 | isa = XCConfigurationList; 925 | buildConfigurations = ( 926 | 2D02E4991E0B4A5E006451C7 /* Debug */, 927 | 2D02E49A1E0B4A5E006451C7 /* Release */, 928 | ); 929 | defaultConfigurationIsVisible = 0; 930 | defaultConfigurationName = Release; 931 | }; 932 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "SampleRNPushNotifications" */ = { 933 | isa = XCConfigurationList; 934 | buildConfigurations = ( 935 | 83CBBA201A601CBA00E9B192 /* Debug */, 936 | 83CBBA211A601CBA00E9B192 /* Release */, 937 | ); 938 | defaultConfigurationIsVisible = 0; 939 | defaultConfigurationName = Release; 940 | }; 941 | /* End XCConfigurationList section */ 942 | }; 943 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 944 | } 945 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications.xcodeproj/xcshareddata/xcschemes/SampleRNPushNotifications-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/SampleRNPushNotifications.xcodeproj/xcshareddata/xcschemes/SampleRNPushNotifications.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/SampleRNPushNotifications.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | #import 13 | #import 14 | #import 15 | 16 | @import Firebase; 17 | 18 | @implementation AppDelegate 19 | 20 | // Required to register for notifications 21 | - (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings 22 | { 23 | [RNCPushNotificationIOS didRegisterUserNotificationSettings:notificationSettings]; 24 | } 25 | // Required for the register event. 26 | 27 | - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken 28 | { 29 | [RNCPushNotificationIOS didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; 30 | } 31 | // Required for the notification event. You must call the completion handler after handling the remote notification. 32 | - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo 33 | fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler 34 | { 35 | [RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler]; 36 | } 37 | // Required for the registrationError event. 38 | - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error 39 | { 40 | [RNCPushNotificationIOS didFailToRegisterForRemoteNotificationsWithError:error]; 41 | } 42 | 43 | // Required for the localNotification event. 44 | - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification 45 | { 46 | [RNCPushNotificationIOS didReceiveLocalNotification:notification]; 47 | } 48 | 49 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 50 | { 51 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 52 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 53 | moduleName:@"SampleRNPushNotifications" 54 | initialProperties:nil]; 55 | 56 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 57 | 58 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 59 | UIViewController *rootViewController = [UIViewController new]; 60 | rootViewController.view = rootView; 61 | self.window.rootViewController = rootViewController; 62 | [self.window makeKeyAndVisible]; 63 | [FIRApp configure]; 64 | UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter]; 65 | center.delegate = self; 66 | return YES; 67 | } 68 | 69 | //Called when a notification is delivered to a foreground app. 70 | -(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler 71 | { 72 | completionHandler(UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionBadge); 73 | } 74 | 75 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 76 | { 77 | #if DEBUG 78 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 79 | #else 80 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 81 | #endif 82 | } 83 | 84 | @end 85 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications/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/SampleRNPushNotifications/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/SampleRNPushNotifications/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | SampleRNPushNotifications 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | NSExceptionDomains 32 | 33 | localhost 34 | 35 | NSExceptionAllowsInsecureHTTPLoads 36 | 37 | 38 | 39 | 40 | NSLocationWhenInUseUsageDescription 41 | 42 | UILaunchStoryboardName 43 | LaunchScreen 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | UIInterfaceOrientationLandscapeLeft 52 | UIInterfaceOrientationLandscapeRight 53 | 54 | UIViewControllerBasedStatusBarAppearance 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotifications/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotificationsTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/SampleRNPushNotificationsTests/SampleRNPushNotificationsTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 16 | 17 | @interface SampleRNPushNotificationsTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation SampleRNPushNotificationsTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | #ifdef DEBUG 44 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 45 | if (level >= RCTLogLevelError) { 46 | redboxError = message; 47 | } 48 | }); 49 | #endif 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 | #ifdef DEBUG 64 | RCTSetLogFunction(RCTDefaultLogFunction); 65 | #endif 66 | 67 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 68 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 69 | } 70 | 71 | 72 | @end 73 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SampleRNPushNotifications", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "start": "react-native start", 9 | "test": "jest", 10 | "lint": "eslint . --ext .js,.jsx,.ts,.tsx" 11 | }, 12 | "dependencies": { 13 | "@react-native-community/push-notification-ios": "^1.1.0", 14 | "@react-native-firebase/app": "6.4.0-rc4", 15 | "@react-native-firebase/messaging": "6.4.0-rc4", 16 | "@types/react-native-push-notification": "^3.0.8", 17 | "react": "16.9.0", 18 | "react-native": "0.61.5", 19 | "react-native-push-notification": "^3.1.9" 20 | }, 21 | "devDependencies": { 22 | "@babel/core": "^7.6.2", 23 | "@babel/runtime": "^7.6.2", 24 | "@react-native-community/eslint-config": "^0.0.5", 25 | "@types/jest": "^24.0.24", 26 | "@types/react-native": "^0.60.25", 27 | "@types/react-test-renderer": "16.9.1", 28 | "@typescript-eslint/eslint-plugin": "^2.12.0", 29 | "@typescript-eslint/parser": "^2.12.0", 30 | "babel-jest": "^24.9.0", 31 | "eslint": "^6.5.1", 32 | "jest": "^24.9.0", 33 | "metro-react-native-babel-preset": "^0.56.0", 34 | "react-test-renderer": "16.9.0", 35 | "typescript": "^3.7.3" 36 | }, 37 | "jest": { 38 | "preset": "react-native", 39 | "moduleFileExtensions": [ 40 | "ts", 41 | "tsx", 42 | "js", 43 | "jsx", 44 | "json", 45 | "node" 46 | ] 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "compilerOptions": { 4 | /* Basic Options */ 5 | "target": "esnext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ 6 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ 7 | "lib": ["es6"], /* Specify library files to be included in the compilation. */ 8 | "allowJs": true, /* Allow javascript files to be compiled. */ 9 | // "checkJs": true, /* Report errors in .js files. */ 10 | "jsx": "react-native", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 11 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ 12 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 13 | // "outFile": "./", /* Concatenate and emit output to single file. */ 14 | // "outDir": "./", /* Redirect output structure to the directory. */ 15 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 16 | // "removeComments": true, /* Do not emit comments to output. */ 17 | "noEmit": true, /* Do not emit outputs. */ 18 | // "incremental": true, /* Enable incremental compilation */ 19 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 20 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 21 | "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 22 | 23 | /* Strict Type-Checking Options */ 24 | "strict": true, /* Enable all strict type-checking options. */ 25 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 26 | // "strictNullChecks": true, /* Enable strict null checks. */ 27 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 28 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 29 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 30 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 31 | 32 | /* Additional Checks */ 33 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 34 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 35 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 36 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 37 | 38 | /* Module Resolution Options */ 39 | "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 40 | "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 41 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 42 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 43 | // "typeRoots": [], /* List of folders to include type definitions from. */ 44 | // "types": [], /* Type declaration files to be included in compilation. */ 45 | "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 46 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 47 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 48 | 49 | /* Source Map Options */ 50 | // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 51 | // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ 52 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 53 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 54 | 55 | /* Experimental Options */ 56 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 57 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 58 | }, 59 | "exclude": [ 60 | "node_modules", "babel.config.js", "metro.config.js", "jest.config.js" 61 | ] 62 | } 63 | --------------------------------------------------------------------------------