├── .buckconfig ├── .editorconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .opensource └── project.json ├── .prettierrc.js ├── .watchmanconfig ├── App.js ├── LICENSE ├── README.md ├── __tests__ └── App-test.js ├── android ├── .editorconfig ├── app │ ├── BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── debug.keystore │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── invertase │ │ │ └── rnfirebasestarter │ │ │ ├── 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 ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── assets └── ReactNativeFirebase.png ├── babel.config.js ├── bin └── rename.js ├── index.js ├── ios ├── Podfile ├── Podfile.lock ├── RNFirebaseStarter-tvOS │ └── Info.plist ├── RNFirebaseStarter-tvOSTests │ └── Info.plist ├── RNFirebaseStarter.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── RNFirebaseStarter-tvOS.xcscheme │ │ └── RNFirebaseStarter.xcscheme ├── RNFirebaseStarter.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── RNFirebaseStarter.xcworkspace:contents.xcworkspacedata ├── RNFirebaseStarter │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── RNFirebaseStarterTests │ ├── Info.plist │ └── RNFirebaseStarterTests.m ├── metro.config.js ├── package.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 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | node_modules/react-native/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | node_modules/react-native/Libraries/polyfills/.* 18 | 19 | ; These should not be required directly 20 | ; require from fbjs/lib instead: require('fbjs/lib/warning') 21 | node_modules/warning/.* 22 | 23 | ; Flow doesn't support platforms 24 | .*/Libraries/Utilities/HMRLoadingView.js 25 | 26 | [untyped] 27 | .*/node_modules/@react-native-community/cli/.*/.* 28 | 29 | [include] 30 | 31 | [libs] 32 | node_modules/react-native/Libraries/react-native/react-native-interface.js 33 | node_modules/react-native/flow/ 34 | 35 | [options] 36 | emoji=true 37 | 38 | esproposal.optional_chaining=enable 39 | esproposal.nullish_coalescing=enable 40 | 41 | module.file_ext=.js 42 | module.file_ext=.json 43 | module.file_ext=.ios.js 44 | 45 | module.system=haste 46 | module.system.haste.use_name_reducers=true 47 | # get basename 48 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 49 | # strip .js or .js.flow suffix 50 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 51 | # strip .ios suffix 52 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 53 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 54 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 55 | module.system.haste.paths.blacklist=.*/__tests__/.* 56 | module.system.haste.paths.blacklist=.*/__mocks__/.* 57 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 58 | module.system.haste.paths.whitelist=/node_modules/react-native/RNTester/.* 59 | module.system.haste.paths.whitelist=/node_modules/react-native/IntegrationTests/.* 60 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/react-native/react-native-implementation.js 61 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 62 | 63 | munge_underscores=true 64 | 65 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 66 | 67 | suppress_type=$FlowIssue 68 | suppress_type=$FlowFixMe 69 | suppress_type=$FlowFixMeProps 70 | suppress_type=$FlowFixMeState 71 | 72 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\) 73 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ 74 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 75 | 76 | [lints] 77 | sketchy-null-number=warn 78 | sketchy-null-mixed=warn 79 | sketchy-number=warn 80 | untyped-type-import=warn 81 | nonstrict-import=warn 82 | deprecated-type=warn 83 | unsafe-getters-setters=warn 84 | inexact-spread=warn 85 | unnecessary-invariant=warn 86 | signature-verification-failure=warn 87 | deprecated-utility=error 88 | 89 | [strict] 90 | deprecated-type 91 | nonstrict-import 92 | sketchy-null 93 | unclear-type 94 | unsafe-getters-setters 95 | untyped-import 96 | untyped-type-import 97 | 98 | [version] 99 | ^0.98.0 100 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | !debug.keystore 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://docs.fastlane.tools/best-practices/source-control/ 51 | 52 | */fastlane/report.xml 53 | */fastlane/Preview.html 54 | */fastlane/screenshots 55 | 56 | # Bundle artifact 57 | *.jsbundle 58 | 59 | # CocoaPods 60 | /ios/Pods/ 61 | -------------------------------------------------------------------------------- /.opensource/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "React Native Firebase Starter", 3 | "type": "sample", 4 | "platforms": ["Android", "iOS"], 5 | "content": "README.md", 6 | "related": ["invertase/react-native-firebase"] 7 | } 8 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bracketSpacing: false, 3 | jsxBracketSameLine: true, 4 | singleQuote: true, 5 | trailingComma: 'all', 6 | }; 7 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyleSheet, Platform, Image, Text, View, ScrollView } from 'react-native'; 3 | 4 | import firebase from 'react-native-firebase'; 5 | 6 | export default class App extends React.Component { 7 | constructor() { 8 | super(); 9 | this.state = {}; 10 | } 11 | 12 | async componentDidMount() { 13 | // TODO: You: Do firebase things 14 | // const { user } = await firebase.auth().signInAnonymously(); 15 | // console.warn('User -> ', user.toJSON()); 16 | 17 | // await firebase.analytics().logEvent('foo', { bar: '123'}); 18 | } 19 | 20 | render() { 21 | return ( 22 | 23 | 24 | 25 | 26 | Welcome to {'\n'} React Native Firebase 27 | 28 | 29 | To get started, edit App.js 30 | 31 | {Platform.OS === 'ios' ? ( 32 | 33 | Press Cmd+R to reload,{'\n'} 34 | Cmd+D or shake for dev menu 35 | 36 | ) : ( 37 | 38 | Double tap R on your keyboard to reload,{'\n'} 39 | Cmd+M or shake for dev menu 40 | 41 | )} 42 | 43 | The following Firebase modules are pre-installed: 44 | {firebase.admob.nativeModuleExists && admob()} 45 | {firebase.analytics.nativeModuleExists && analytics()} 46 | {firebase.auth.nativeModuleExists && auth()} 47 | {firebase.config.nativeModuleExists && config()} 48 | {firebase.crashlytics.nativeModuleExists && crashlytics()} 49 | {firebase.database.nativeModuleExists && database()} 50 | {firebase.firestore.nativeModuleExists && firestore()} 51 | {firebase.functions.nativeModuleExists && functions()} 52 | {firebase.iid.nativeModuleExists && iid()} 53 | {firebase.links.nativeModuleExists && links()} 54 | {firebase.messaging.nativeModuleExists && messaging()} 55 | {firebase.notifications.nativeModuleExists && notifications()} 56 | {firebase.perf.nativeModuleExists && perf()} 57 | {firebase.storage.nativeModuleExists && storage()} 58 | 59 | 60 | 61 | ); 62 | } 63 | } 64 | 65 | const styles = StyleSheet.create({ 66 | container: { 67 | flex: 1, 68 | justifyContent: 'center', 69 | alignItems: 'center', 70 | backgroundColor: '#F5FCFF', 71 | }, 72 | logo: { 73 | height: 120, 74 | marginBottom: 16, 75 | marginTop: 64, 76 | padding: 10, 77 | width: 135, 78 | }, 79 | welcome: { 80 | fontSize: 20, 81 | textAlign: 'center', 82 | margin: 10, 83 | }, 84 | instructions: { 85 | textAlign: 'center', 86 | color: '#333333', 87 | marginBottom: 5, 88 | }, 89 | modules: { 90 | margin: 20, 91 | }, 92 | modulesHeader: { 93 | fontSize: 16, 94 | marginBottom: 8, 95 | }, 96 | module: { 97 | fontSize: 14, 98 | marginTop: 4, 99 | textAlign: 'center', 100 | } 101 | }); 102 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache-2.0 License 2 | ------------------ 3 | 4 | Copyright (c) 2016-present Invertase Limited 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this library except in compliance with the License. 8 | 9 | You may obtain a copy of the Apache-2.0 License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Unless required by applicable law or agreed to in writing, software 14 | distributed under the License is distributed on an "AS IS" BASIS, 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | See the License for the specific language governing permissions and 17 | limitations under the License. 18 | 19 | 20 | Creative Commons Attribution 3.0 License 21 | ---------------------------------------- 22 | 23 | Copyright (c) 2016-present Invertase Limited 24 | 25 | Documentation and other instructional materials provided for this project 26 | (including on a separate documentation repository or it's documentation website) are 27 | licensed under the Creative Commons Attribution 3.0 License. Code samples/blocks 28 | contained therein are licensed under the Apache License, Version 2.0 (the "License"), as above. 29 | 30 | You may obtain a copy of the Creative Commons Attribution 3.0 License at 31 | 32 | https://creativecommons.org/licenses/by/3.0/ 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DEPRECATED 2 | 3 | > **DEPRECATED**: This is for RNFB v5 only. For v6 onwards please follow the [new projects guide](https://invertase.io/oss/react-native-firebase/quick-start/new-project). 4 | 5 | --- 6 | ## React Native Firebase Starter 7 | 8 | [![Backers on Open Collective](https://opencollective.com/react-native-firebase/backers/badge.svg)](#backers) 9 | [![Sponsors on Open Collective](https://opencollective.com/react-native-firebase/sponsors/badge.svg)](#sponsors) 10 | [![npm version](https://img.shields.io/npm/v/react-native-firebase.svg?style=flat-square)](https://www.npmjs.com/package/react-native-firebase) 11 | [![NPM downloads](https://img.shields.io/npm/dm/react-native-firebase.svg?style=flat-square)](https://www.npmjs.com/package/react-native-firebase) 12 | [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg?style=flat-square)](https://discord.gg/C9aK28N) 13 | [![Twitter Follow](https://img.shields.io/twitter/follow/rnfirebase.svg?style=social&label=Follow)](https://twitter.com/rnfirebase) 14 | 15 | --- 16 | 17 | A basic react native app with [`react-native-firebase`](https://github.com/invertase/react-native-firebase) pre-integrated to get you started quickly. 18 | 19 | --- 20 | 21 | # DEPRECATED 22 | 23 | > **DEPRECATED**: This is for RNFB v5 only. For v6 onwards please follow the [new projects guide](https://invertase.io/oss/react-native-firebase/quick-start/new-project). 24 | 25 | --- 26 | 27 | ### Getting Started 28 | 29 | > If you're only developing for one platform you can ignore the steps below that are tagged with the platform you don't require. 30 | 31 | #### 1) Clone & Install Dependencies 32 | 33 | - 1.1) `git clone https://github.com/invertase/react-native-firebase-starter.git` 34 | - 1.2) `cd react-native-firebase-starter` - cd into your newly created project directory. 35 | - 1.3) Install NPM packages with your package manager of choice - i.e run `yarn` or `npm install` 36 | 37 | #### 2) Rename Project 38 | 39 | **You will need to be running Node version 7.6 or greater for the rename functionality to work** 40 | 41 | - 2.1) `npm run rename` - you'll be prompted to enter a project name and company name 42 | - 2.2) Note down the package name value - you'll need this when setting up your Firebase project 43 | 44 | #### 3) **[iOS]** Install Pods `RN < 0.60.0` 45 | 46 | - 3.1) `cd ios` and run `pod install` - if you don't have CocoaPods you can follow [these instructions](https://guides.cocoapods.org/using/getting-started.html#getting-started) to install it. 47 | 48 | #### 4) Add `Google Services` files (plist & JSON) 49 | 50 | - 4.1) **[iOS]** Follow the `add firebase to your app` instructions [here](https://firebase.google.com/docs/ios/setup#add_firebase_to_your_app) to generate your `GoogleService-Info.plist` file if you haven't done so already - use the package name generated previously as your `iOS bundle ID`. 51 | - 4.2) **[iOS]** Place this file in the `ios/` directory of your project. 52 | - Once added to the directory, add the file to your Xcode project using 'File > Add Files to "[YOUR APP NAME]"…' and selecting the plist file. 53 | - 4.3) **[Android]** Follow the `manually add firebase` to your app instructions [here](https://firebase.google.com/docs/android/setup#manually_add_firebase) to generate your `google-services.json` file if you haven't done so already - use the package name generated previously as your `Android package name`. 54 | - 4.4) **[Android]** Place this file in the `android/app/` directory of your project. 55 | 56 | #### 5) AdMob Setup (Or Removal) 57 | 58 | - 5.1) React Native Firebase Starter kit comes with AdMob pre-install. The default Sample AdMob App ID is used in both the `info.plist` **[iOS]** and the `AndroidManifest.xml` **[Android]** files. If you don't want to use AdMob, just remove it. If you do, be sure to update your ID! 59 | - 5.2) **[iOS]** Remove or change in `info.plist` by editing the `GADApplicationIdentifier` key string. 60 | - 5.3) **[Android]** Remove or change in `AndroidManifest.xml` by modifying the content of `` tag within the `` tag. 61 | - 5.4) More instrucation can be found [here](https://developers.google.com/admob/android/quick-start). 62 | 63 | #### 6) Start your app 64 | 65 | - 6.1) Start the react native packager, run `yarn run start` or `npm start` from the root of your project. 66 | - 6.2) **[iOS]** Build and run the iOS app, run `npm run ios` or `yarn run ios` from the root of your project. The first build will take some time. This will automatically start up a simulator also for you on a successful build if one wasn't already started. 67 | - 6.3) **[Android]** If you haven't already got an android device attached/emulator running then you'll need to get one running (make sure the emulator is with Google Play / APIs). When ready run `npm run android` or `yarn run android` from the root of your project. 68 | 69 | If all has gone well you'll see an initial screen like the one below. 70 | 71 | ## Screenshots 72 | 73 | ![preview](https://i.imgur.com/4lG4HuS.png) 74 | 75 | 76 | ## Contributors 77 | 78 | This project exists thanks to all the people who contribute. [[Contribute]](https://github.com/invertase/react-native-firebase/blob/master/CONTRIBUTING.md). 79 | 80 | 81 | 82 | ## Backers 83 | 84 | Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/react-native-firebase#backer)] 85 | 86 | 87 | 88 | 89 | ## Sponsors 90 | 91 | Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/react-native-firebase#sponsor)] 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | ### License 107 | 108 | - See [LICENSE](/LICENSE) 109 | -------------------------------------------------------------------------------- /__tests__/App-test.js: -------------------------------------------------------------------------------- 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/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /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.rnfirebasestarter", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.rnfirebasestarter", 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 | apply plugin: "com.google.firebase.firebase-perf" 3 | apply plugin: 'io.fabric' 4 | 5 | import com.android.build.OutputFile 6 | 7 | /** 8 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 9 | * and bundleReleaseJsAndAssets). 10 | * These basically call `react-native bundle` with the correct arguments during the Android build 11 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 12 | * bundle directly from the development server. Below you can see all the possible configurations 13 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 14 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 15 | * 16 | * project.ext.react = [ 17 | * // the name of the generated asset file containing your JS bundle 18 | * bundleAssetName: "index.android.bundle", 19 | * 20 | * // the entry file for bundle generation 21 | * entryFile: "index.android.js", 22 | * 23 | * // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format 24 | * bundleCommand: "ram-bundle", 25 | * 26 | * // whether to bundle JS and assets in debug mode 27 | * bundleInDebug: false, 28 | * 29 | * // whether to bundle JS and assets in release mode 30 | * bundleInRelease: true, 31 | * 32 | * // whether to bundle JS and assets in another build variant (if configured). 33 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 34 | * // The configuration property can be in the following formats 35 | * // 'bundleIn${productFlavor}${buildType}' 36 | * // 'bundleIn${buildType}' 37 | * // bundleInFreeDebug: true, 38 | * // bundleInPaidRelease: true, 39 | * // bundleInBeta: true, 40 | * 41 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 42 | * // for example: to disable dev mode in the staging build type (if configured) 43 | * devDisabledInStaging: true, 44 | * // The configuration property can be in the following formats 45 | * // 'devDisabledIn${productFlavor}${buildType}' 46 | * // 'devDisabledIn${buildType}' 47 | * 48 | * // the root of your project, i.e. where "package.json" lives 49 | * root: "../../", 50 | * 51 | * // where to put the JS bundle asset in debug mode 52 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 53 | * 54 | * // where to put the JS bundle asset in release mode 55 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 56 | * 57 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 58 | * // require('./image.png')), in debug mode 59 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 60 | * 61 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 62 | * // require('./image.png')), in release mode 63 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 64 | * 65 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 66 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 67 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 68 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 69 | * // for example, you might want to remove it from here. 70 | * inputExcludes: ["android/**", "ios/**"], 71 | * 72 | * // override which node gets called and with what additional arguments 73 | * nodeExecutableAndArgs: ["node"], 74 | * 75 | * // supply additional arguments to the packager 76 | * extraPackagerArgs: [] 77 | * ] 78 | */ 79 | 80 | project.ext.react = [ 81 | entryFile: "index.js", 82 | enableHermes: false, // clean and rebuild if changing 83 | 84 | // Sometimes (like if you use Android API<17) adb forwards don't work, so you need a bundle in the dev APK 85 | bundleInDebug: project.hasProperty("bundleInDebug") ? project.getProperty("bundleInDebug") : false, 86 | ] 87 | 88 | apply from: "../../node_modules/react-native/react.gradle" 89 | 90 | /** 91 | * Set this to true to create two separate APKs instead of one: 92 | * - An APK that only works on ARM devices 93 | * - An APK that only works on x86 devices 94 | * The advantage is the size of the APK is reduced by about 4MB. 95 | * Upload all the APKs to the Play Store and people will download 96 | * the correct one based on the CPU architecture of their device. 97 | */ 98 | def enableSeparateBuildPerCPUArchitecture = false 99 | 100 | /** 101 | * Run Proguard to shrink the Java bytecode in release builds. 102 | */ 103 | def enableProguardInReleaseBuilds = false 104 | 105 | /** 106 | * The preferred build flavor of JavaScriptCore. 107 | * 108 | * For example, to use the international variant, you can use: 109 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 110 | * 111 | * The international variant includes ICU i18n library and necessary data 112 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 113 | * give correct results when using with locales other than en-US. Note that 114 | * this variant is about 6MiB larger per architecture than default. 115 | */ 116 | def jscFlavor = 'org.webkit:android-jsc:+' 117 | 118 | /** 119 | * Whether to enable the Hermes VM. 120 | * 121 | * This should be set on project.ext.react and mirrored here. If it is not set 122 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 123 | * and the benefits of using Hermes will therefore be sharply reduced. 124 | */ 125 | def enableHermes = project.ext.react.get("enableHermes", false); 126 | 127 | android { 128 | compileSdkVersion rootProject.ext.compileSdkVersion 129 | 130 | compileOptions { 131 | sourceCompatibility JavaVersion.VERSION_1_8 132 | targetCompatibility JavaVersion.VERSION_1_8 133 | } 134 | 135 | defaultConfig { 136 | applicationId "com.invertase.rnfirebasestarter" 137 | minSdkVersion rootProject.ext.minSdkVersion 138 | targetSdkVersion rootProject.ext.targetSdkVersion 139 | versionCode 1 140 | versionName "1.0" 141 | 142 | // Needed to support API<21, though there is a small chance proguard shrinks things sufficiently 143 | multiDexEnabled true 144 | } 145 | signingConfigs { 146 | debug { 147 | storeFile file('debug.keystore') 148 | storePassword 'android' 149 | keyAlias 'androiddebugkey' 150 | keyPassword 'android' 151 | } 152 | } 153 | splits { 154 | abi { 155 | reset() 156 | enable enableSeparateBuildPerCPUArchitecture 157 | universalApk false // If true, also generate a universal APK 158 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 159 | } 160 | } 161 | buildTypes { 162 | debug { 163 | signingConfig signingConfigs.debug 164 | } 165 | release { 166 | // Caution! In production, you need to generate your own keystore file. 167 | // see https://facebook.github.io/react-native/docs/signed-apk-android. 168 | signingConfig signingConfigs.debug 169 | minifyEnabled enableProguardInReleaseBuilds 170 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 171 | } 172 | } 173 | // applicationVariants are e.g. debug, release 174 | applicationVariants.all { variant -> 175 | variant.outputs.each { output -> 176 | // For each separate APK per architecture, set a unique version code as described here: 177 | // https://developer.android.com/studio/build/configure-apk-splits.html 178 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 179 | def abi = output.getFilter(OutputFile.ABI) 180 | if (abi != null) { // null for the universal-debug, universal-release variants 181 | output.versionCodeOverride = 182 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 183 | } 184 | } 185 | } 186 | packagingOptions { 187 | pickFirst '**/armeabi-v7a/libc++_shared.so' 188 | pickFirst '**/x86/libc++_shared.so' 189 | pickFirst '**/arm64-v8a/libc++_shared.so' 190 | pickFirst '**/x86_64/libc++_shared.so' 191 | pickFirst '**/x86/libjsc.so' 192 | pickFirst '**/armeabi-v7a/libjsc.so' 193 | } 194 | } 195 | 196 | dependencies { 197 | implementation fileTree(dir: "libs", include: ["*.jar"]) 198 | implementation "com.facebook.react:react-native:+" // From node_modules 199 | 200 | /* ---------------------------- 201 | * REACT NATIVE FIREBASE 202 | * ---------------------------- */ 203 | 204 | // Firebase bom setup 205 | implementation platform("com.google.firebase:firebase-bom:24.3.0") 206 | 207 | /* ---------------- 208 | * FIREBASE SDKS 209 | * ----------------- */ 210 | 211 | implementation('com.google.firebase:firebase-ads') { 212 | // exclude `customtabs` as the support lib version is out of date 213 | // we manually add it as a dependency below with a custom version 214 | exclude group: 'com.android.support', module: 'customtabs' 215 | } 216 | 217 | // Authentication 218 | implementation "com.google.firebase:firebase-auth" 219 | // Analytics 220 | implementation "com.google.firebase:firebase-analytics" 221 | // Performance Monitoring 222 | implementation "com.google.firebase:firebase-perf" 223 | // Remote Config 224 | implementation "com.google.firebase:firebase-config" 225 | // Cloud Storage 226 | implementation "com.google.firebase:firebase-storage" 227 | // Dynamic Links 228 | implementation "com.google.firebase:firebase-dynamic-links" 229 | // Real-time Database 230 | implementation "com.google.firebase:firebase-database" 231 | // Cloud Functions 232 | implementation "com.google.firebase:firebase-functions" 233 | // Cloud Firestore 234 | implementation "com.google.firebase:firebase-firestore" 235 | // Cloud Messaging / FCM 236 | implementation "com.google.firebase:firebase-messaging" 237 | // Crashlytics 238 | implementation('com.crashlytics.sdk.android:crashlytics@aar') { 239 | transitive = true 240 | } 241 | 242 | /* -------------------------------- 243 | * OPTIONAL SUPPORT LIBS 244 | * -------------------------------- */ 245 | 246 | // Needed to support API<21, though there is a small chance proguard shrinks things sufficiently 247 | implementation "androidx.multidex:multidex:2.0.1" 248 | 249 | // For Firebase Ads 250 | //noinspection GradleCompatible 251 | implementation "com.android.support:customtabs:28.0.0" 252 | 253 | // For React Native Firebase Notifications 254 | implementation 'me.leolin:ShortcutBadger:1.1.22@aar' 255 | 256 | if (enableHermes) { 257 | def hermesPath = "../../node_modules/hermesvm/android/"; 258 | debugImplementation files(hermesPath + "hermes-debug.aar") 259 | releaseImplementation files(hermesPath + "hermes-release.aar") 260 | } else { 261 | implementation jscFlavor 262 | } 263 | } 264 | 265 | // Run this once to be able to run the application with BUCK 266 | // puts all compile dependencies into folder libs for BUCK to use 267 | task copyDownloadableDepsToLibs(type: Copy) { 268 | from configurations.compile 269 | into 'libs' 270 | } 271 | 272 | apply plugin: 'com.google.gms.google-services' 273 | 274 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 275 | -------------------------------------------------------------------------------- /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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/android/app/debug.keystore -------------------------------------------------------------------------------- /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 | 5 | 6 | 7 | 8 | 9 | 16 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/invertase/rnfirebasestarter/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.invertase.rnfirebasestarter; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "RNFirebaseStarter"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/invertase/rnfirebasestarter/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.invertase.rnfirebasestarter; 2 | 3 | import androidx.multidex.MultiDexApplication; 4 | 5 | import android.util.Log; 6 | import com.facebook.react.PackageList; 7 | import com.facebook.hermes.reactexecutor.HermesExecutorFactory; 8 | import com.facebook.react.bridge.JavaScriptExecutorFactory; 9 | 10 | import com.facebook.react.ReactApplication; 11 | import com.facebook.react.ReactNativeHost; 12 | import com.facebook.react.ReactPackage; 13 | import com.facebook.soloader.SoLoader; 14 | 15 | // optional packages - add/remove as appropriate 16 | import io.invertase.firebase.admob.RNFirebaseAdMobPackage; 17 | import io.invertase.firebase.analytics.RNFirebaseAnalyticsPackage; 18 | import io.invertase.firebase.auth.RNFirebaseAuthPackage; 19 | import io.invertase.firebase.config.RNFirebaseRemoteConfigPackage; 20 | import io.invertase.firebase.database.RNFirebaseDatabasePackage; 21 | import io.invertase.firebase.fabric.crashlytics.RNFirebaseCrashlyticsPackage; 22 | import io.invertase.firebase.firestore.RNFirebaseFirestorePackage; 23 | import io.invertase.firebase.functions.RNFirebaseFunctionsPackage; 24 | import io.invertase.firebase.instanceid.RNFirebaseInstanceIdPackage; 25 | import io.invertase.firebase.links.RNFirebaseLinksPackage; 26 | import io.invertase.firebase.messaging.RNFirebaseMessagingPackage; 27 | import io.invertase.firebase.notifications.RNFirebaseNotificationsPackage; 28 | import io.invertase.firebase.perf.RNFirebasePerformancePackage; 29 | import io.invertase.firebase.storage.RNFirebaseStoragePackage; 30 | 31 | import java.util.List; 32 | 33 | public class MainApplication extends MultiDexApplication implements ReactApplication { 34 | 35 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 36 | @Override 37 | public boolean getUseDeveloperSupport() { 38 | return BuildConfig.DEBUG; 39 | } 40 | 41 | @Override 42 | protected List getPackages() { 43 | @SuppressWarnings("UnnecessaryLocalVariable") 44 | List packages = new PackageList(this).getPackages(); 45 | // Packages that cannot be autolinked yet can be added manually here, for example: 46 | // add/remove these packages as appropriate 47 | packages.add(new RNFirebaseAdMobPackage()); 48 | packages.add(new RNFirebaseAnalyticsPackage()); 49 | packages.add(new RNFirebaseAuthPackage()); 50 | packages.add(new RNFirebaseRemoteConfigPackage()); 51 | packages.add(new RNFirebaseCrashlyticsPackage()); 52 | packages.add(new RNFirebaseDatabasePackage()); 53 | packages.add(new RNFirebaseFirestorePackage()); 54 | packages.add(new RNFirebaseFunctionsPackage()); 55 | packages.add(new RNFirebaseInstanceIdPackage()); 56 | packages.add(new RNFirebaseLinksPackage()); 57 | packages.add(new RNFirebaseMessagingPackage()); 58 | packages.add(new RNFirebaseNotificationsPackage()); 59 | packages.add(new RNFirebasePerformancePackage()); 60 | packages.add(new RNFirebaseStoragePackage()); 61 | return packages; 62 | } 63 | 64 | @Override 65 | protected String getJSMainModuleName() { 66 | return "index"; 67 | } 68 | }; 69 | 70 | @Override 71 | public ReactNativeHost getReactNativeHost() { 72 | return mReactNativeHost; 73 | } 74 | 75 | @Override 76 | public void onCreate() { 77 | super.onCreate(); 78 | SoLoader.init(this, /* native exopackage */ false); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RNFirebaseStarter 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 | supportLibVersion = "28.0.0" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | maven { 15 | url 'https://maven.fabric.io/public' 16 | } 17 | } 18 | dependencies { 19 | classpath('com.android.tools.build:gradle:3.5.3') 20 | classpath 'com.google.gms:google-services:4.3.3' 21 | classpath 'com.google.firebase:perf-plugin:1.3.1' 22 | classpath 'io.fabric.tools:gradle:1.31.2' 23 | // NOTE: Do not place your application dependencies here; they belong 24 | // in the individual module build.gradle files 25 | } 26 | } 27 | 28 | allprojects { 29 | repositories { 30 | mavenLocal() 31 | maven { 32 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 33 | url("$rootDir/../node_modules/react-native/android") 34 | } 35 | maven { 36 | // Android JSC is installed from npm 37 | url("$rootDir/../node_modules/jsc-android/dist") 38 | } 39 | google() 40 | jcenter() 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /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=768m -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/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/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.4.1-bin.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/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RNFirebaseStarter' 2 | include ':react-native-firebase' 3 | project(':react-native-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase/android') 4 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 5 | include ':app' 6 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RNFirebaseStarter", 3 | "displayName": "RNFirebaseStarter" 4 | } -------------------------------------------------------------------------------- /assets/ReactNativeFirebase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/invertase/react-native-firebase-starter/b12b7e361d99a1757e3f79569836d9af2d5a6c5c/assets/ReactNativeFirebase.png -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /bin/rename.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs-extra'); 2 | const readline = require('readline'); 3 | const replace = require('replace-in-file'); 4 | 5 | const BASE_DIRECTORY = './'; 6 | const DEFAULT_COMPANY_NAME = 'invertase'; 7 | const DEFAULT_PACKAGE_NAME = 'com.invertase.rnfirebasestarter'; 8 | const DEFAULT_PROJECT_NAME = 'RNFirebaseStarter'; 9 | const VALID_CHARACTERS = /^[a-zA-Z\s]+$/; 10 | 11 | const rl = readline.createInterface({ 12 | input: process.stdin, 13 | output: process.stdout 14 | }); 15 | 16 | const readInput = (input) => { 17 | return new Promise((resolve, reject) => { 18 | rl.question(`Enter your ${input}: `, (answer) => { 19 | resolve(answer); 20 | }) 21 | }) 22 | }; 23 | 24 | const replaceInFile = (from, to) => { 25 | return new Promise((resolve, reject) => { 26 | const options = { 27 | files: [ 28 | './android/**', 29 | './ios/**', 30 | './*', 31 | ], 32 | from: new RegExp(from, 'g'), 33 | to: to 34 | }; 35 | replace(options) 36 | .then(changedFiles => { 37 | if (changedFiles) { 38 | console.log('[replaceInFile] Modified files: \n', changedFiles.join('\n')); 39 | } 40 | resolve(); 41 | }) 42 | .catch(error => { 43 | console.error('[replaceInFile] Error occurred: ', error); 44 | reject(error); 45 | }) 46 | }) 47 | }; 48 | 49 | const renameFiles = (dir, from, to) => { 50 | const files = fs.readdirSync(dir); 51 | for (let i = 0; i < files.length; i += 1) { 52 | const filename = files[i]; 53 | const path = dir + '/' + filename; 54 | const file = fs.statSync(path); 55 | let newPath; 56 | if (filename.indexOf(from) !== -1) { 57 | newPath = dir + '/' + filename.replace(from, to); 58 | fs.renameSync(path, newPath); 59 | console.log(`[renameFiles] Renamed: ${path} to: ${newPath}`); 60 | } 61 | // Recursive 62 | if (file.isDirectory()) { 63 | renameFiles(newPath || path, from, to); 64 | } 65 | } 66 | }; 67 | 68 | const updateProjectName = (name) => { 69 | console.log('---------------------------------------'); 70 | console.log(`Updating project name: ${name}`); 71 | console.log('---------------------------------------'); 72 | return replaceInFile(DEFAULT_PROJECT_NAME, name) 73 | .then(() => { 74 | console.log('---------------------------------------'); 75 | console.log('Finished updating project name'); 76 | console.log('---------------------------------------'); 77 | console.log(); 78 | }); 79 | }; 80 | 81 | const updatePackageName = (packageName) => { 82 | console.log('---------------------------------------'); 83 | console.log(`Updating package name: ${packageName}`); 84 | console.log('---------------------------------------'); 85 | return replaceInFile(DEFAULT_PACKAGE_NAME, packageName) 86 | .then(() => { 87 | console.log('---------------------------------------'); 88 | console.log('Finished updating package name'); 89 | console.log('---------------------------------------'); 90 | console.log(); 91 | }); 92 | ; 93 | }; 94 | 95 | const renameProjectFiles = (name) => { 96 | console.log('---------------------------------------'); 97 | console.log(`Rename project files`); 98 | console.log('---------------------------------------'); 99 | return new Promise((resolve, reject) => { 100 | renameFiles(BASE_DIRECTORY, DEFAULT_PROJECT_NAME, name); 101 | renameFiles(BASE_DIRECTORY, DEFAULT_PROJECT_NAME.toLowerCase(), name.toLowerCase()); 102 | console.log('---------------------------------------'); 103 | console.log('Finished renaming project files'); 104 | console.log('---------------------------------------'); 105 | console.log(); 106 | resolve(); 107 | }) 108 | }; 109 | 110 | const renameCompanyFiles = (name) => { 111 | console.log('---------------------------------------'); 112 | console.log(`Rename company files`); 113 | console.log('---------------------------------------'); 114 | return new Promise((resolve, reject) => { 115 | renameFiles(BASE_DIRECTORY, DEFAULT_COMPANY_NAME, name); 116 | console.log('---------------------------------------'); 117 | console.log('Finished renaming company files'); 118 | console.log('---------------------------------------'); 119 | console.log(); 120 | resolve(); 121 | }) 122 | }; 123 | 124 | const run = async () => { 125 | console.log('---------------------------------------------------------'); 126 | let projectName = await readInput('Project name, e.g. My Amazing Project'); 127 | console.log('---------------------------------------------------------'); 128 | if (!projectName || projectName === '' || projectName.trim() === '') { 129 | throw new Error('ERROR: Please supply a project name'); 130 | } 131 | if (!projectName.match(VALID_CHARACTERS)) { 132 | throw new Error('ERROR: The project name must only contain letters or spaces'); 133 | } 134 | 135 | let companyName = await readInput('Company name, e.g. My Company'); 136 | console.log('---------------------------------------------------------'); 137 | if (!companyName || companyName === '' || companyName.trim() === '') { 138 | throw new Error('ERROR: Please supply a company name'); 139 | } 140 | if (!companyName.match(VALID_CHARACTERS)) { 141 | throw new Error('ERROR: The company name must only contain letters or spaces'); 142 | } 143 | 144 | projectName = projectName.replace(/ /g, ''); 145 | companyName = companyName.replace(/ /g, '').toLowerCase(); 146 | 147 | const packageName = `com.${companyName}.${projectName.toLowerCase()}`; 148 | // Close the input 149 | rl.close(); 150 | 151 | updateProjectName(projectName) 152 | .then(() => updatePackageName(packageName)) 153 | .then(() => renameProjectFiles(projectName)) 154 | .then(() => renameCompanyFiles(companyName)) 155 | .then(() => { 156 | console.log(); 157 | console.log('---------------------------------------------------------'); 158 | console.log('Set project parameters to:'); 159 | console.log('---------------------------------------------------------'); 160 | console.log('Project name: ', projectName); 161 | console.log('Company name: ', companyName); 162 | console.log('Package name: ', packageName); 163 | console.log('---------------------------------------------------------'); 164 | console.log(); 165 | }); 166 | }; 167 | 168 | run().catch((error) => { 169 | console.error(error.message); 170 | console.log('---------------------------------------------------------'); 171 | process.exit(); 172 | }); 173 | -------------------------------------------------------------------------------- /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/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | platform :ios, '9.0' 3 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 4 | 5 | target 'RNFirebaseStarter' do 6 | # Pods for RNFirebaseStarter 7 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 8 | # use_frameworks! 9 | 10 | # Pods for RN-firebase-starter 11 | pod 'React', :path => '../node_modules/react-native/' 12 | pod 'React-Core', :path => '../node_modules/react-native/React' 13 | pod 'React-DevSupport', :path => '../node_modules/react-native/React' 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-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket' 24 | pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' 25 | pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' 26 | pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' 27 | pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' 28 | pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga' 29 | pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' 30 | pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' 31 | pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' 32 | 33 | # Required by RNFirebase 34 | pod 'Firebase/Core', '~> 6.13.0' 35 | 36 | # [OPTIONAL PODS] - comment out pods for firebase products you won't be using. 37 | # pod 'Firebase/AdMob', '~> 6.13.0' 38 | pod 'Firebase/Auth', '~> 6.13.0' 39 | pod 'Firebase/Database', '~> 6.13.0' 40 | pod 'Firebase/Functions', '~> 6.13.0' 41 | pod 'Firebase/DynamicLinks', '~> 6.13.0' 42 | pod 'Firebase/Firestore', '~> 6.13.0' 43 | pod 'Firebase/Messaging', '~> 6.13.0' 44 | pod 'Firebase/RemoteConfig', '~> 6.13.0' 45 | pod 'Firebase/Storage', '~> 6.13.0' 46 | pod 'Firebase/Performance', '~> 6.13.0' 47 | pod 'Fabric', '~> 1.10.2' 48 | pod 'Crashlytics', '~> 3.14.0' 49 | 50 | target 'RNFirebaseStarterTests' do 51 | inherit! :search_paths 52 | # Pods for testing 53 | end 54 | 55 | use_native_modules! 56 | 57 | end 58 | 59 | target 'RNFirebaseStarter-tvOS' do 60 | # Uncomment the next line if you're using Swift or would like to use dynamic frameworks 61 | # use_frameworks! 62 | 63 | # Pods for RNFirebaseStarter-tvOS 64 | 65 | target 'RNFirebaseStarter-tvOSTests' do 66 | inherit! :search_paths 67 | # Pods for testing 68 | end 69 | 70 | end 71 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost-for-react-native (1.63.0) 3 | - BoringSSL-GRPC (0.0.3): 4 | - BoringSSL-GRPC/Implementation (= 0.0.3) 5 | - BoringSSL-GRPC/Interface (= 0.0.3) 6 | - BoringSSL-GRPC/Implementation (0.0.3): 7 | - BoringSSL-GRPC/Interface (= 0.0.3) 8 | - BoringSSL-GRPC/Interface (0.0.3) 9 | - Crashlytics (3.14.0): 10 | - Fabric (~> 1.10.2) 11 | - DoubleConversion (1.1.6) 12 | - Fabric (1.10.2) 13 | - Firebase/Auth (6.8.1): 14 | - Firebase/CoreOnly 15 | - FirebaseAuth (~> 6.2.3) 16 | - Firebase/Core (6.8.1): 17 | - Firebase/CoreOnly 18 | - FirebaseAnalytics (= 6.1.1) 19 | - Firebase/CoreOnly (6.8.1): 20 | - FirebaseCore (= 6.2.3) 21 | - Firebase/Database (6.8.1): 22 | - Firebase/CoreOnly 23 | - FirebaseDatabase (~> 6.1.0) 24 | - Firebase/DynamicLinks (6.8.1): 25 | - Firebase/CoreOnly 26 | - FirebaseDynamicLinks (~> 4.0.5) 27 | - Firebase/Firestore (6.8.1): 28 | - Firebase/CoreOnly 29 | - FirebaseFirestore (~> 1.5.0) 30 | - Firebase/Functions (6.8.1): 31 | - Firebase/CoreOnly 32 | - FirebaseFunctions (~> 2.5.1) 33 | - Firebase/Messaging (6.8.1): 34 | - Firebase/CoreOnly 35 | - FirebaseMessaging (~> 4.1.4) 36 | - Firebase/Performance (6.8.1): 37 | - Firebase/CoreOnly 38 | - FirebasePerformance (~> 3.1.4) 39 | - Firebase/RemoteConfig (6.8.1): 40 | - Firebase/CoreOnly 41 | - FirebaseRemoteConfig (~> 4.4.0) 42 | - Firebase/Storage (6.8.1): 43 | - Firebase/CoreOnly 44 | - FirebaseStorage (~> 3.4.1) 45 | - FirebaseABTesting (3.1.1): 46 | - FirebaseAnalyticsInterop (~> 1.3) 47 | - FirebaseCore (~> 6.1) 48 | - Protobuf (~> 3.8) 49 | - FirebaseAnalytics (6.1.1): 50 | - FirebaseCore (~> 6.2) 51 | - FirebaseInstanceID (~> 4.2) 52 | - GoogleAppMeasurement (= 6.1.1) 53 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0) 54 | - GoogleUtilities/MethodSwizzler (~> 6.0) 55 | - GoogleUtilities/Network (~> 6.0) 56 | - "GoogleUtilities/NSData+zlib (~> 6.0)" 57 | - nanopb (~> 0.3) 58 | - FirebaseAnalyticsInterop (1.4.0) 59 | - FirebaseAuth (6.2.3): 60 | - FirebaseAuthInterop (~> 1.0) 61 | - FirebaseCore (~> 6.2) 62 | - GoogleUtilities/AppDelegateSwizzler (~> 6.2) 63 | - GoogleUtilities/Environment (~> 6.2) 64 | - GTMSessionFetcher/Core (~> 1.1) 65 | - FirebaseAuthInterop (1.0.0) 66 | - FirebaseCore (6.2.3): 67 | - FirebaseCoreDiagnostics (~> 1.0) 68 | - FirebaseCoreDiagnosticsInterop (~> 1.0) 69 | - GoogleUtilities/Environment (~> 6.2) 70 | - GoogleUtilities/Logger (~> 6.2) 71 | - FirebaseCoreDiagnostics (1.0.1): 72 | - FirebaseCoreDiagnosticsInterop (~> 1.0) 73 | - GoogleDataTransportCCTSupport (~> 1.0) 74 | - GoogleUtilities/Environment (~> 6.2) 75 | - GoogleUtilities/Logger (~> 6.2) 76 | - FirebaseCoreDiagnosticsInterop (1.0.0) 77 | - FirebaseDatabase (6.1.0): 78 | - FirebaseAuthInterop (~> 1.0) 79 | - FirebaseCore (~> 6.0) 80 | - leveldb-library (~> 1.18) 81 | - FirebaseDynamicLinks (4.0.5): 82 | - FirebaseAnalyticsInterop (~> 1.3) 83 | - FirebaseCore (~> 6.2) 84 | - FirebaseFirestore (1.5.0): 85 | - FirebaseAuthInterop (~> 1.0) 86 | - FirebaseCore (~> 6.2) 87 | - FirebaseFirestore/abseil-cpp (= 1.5.0) 88 | - "gRPC-C++ (= 0.0.9)" 89 | - leveldb-library (~> 1.22) 90 | - nanopb (~> 0.3.901) 91 | - Protobuf (~> 3.1) 92 | - FirebaseFirestore/abseil-cpp (1.5.0): 93 | - FirebaseAuthInterop (~> 1.0) 94 | - FirebaseCore (~> 6.2) 95 | - "gRPC-C++ (= 0.0.9)" 96 | - leveldb-library (~> 1.22) 97 | - nanopb (~> 0.3.901) 98 | - Protobuf (~> 3.1) 99 | - FirebaseFunctions (2.5.1): 100 | - FirebaseAuthInterop (~> 1.0) 101 | - FirebaseCore (~> 6.0) 102 | - GTMSessionFetcher/Core (~> 1.1) 103 | - FirebaseInstanceID (4.2.5): 104 | - FirebaseCore (~> 6.0) 105 | - GoogleUtilities/Environment (~> 6.0) 106 | - GoogleUtilities/UserDefaults (~> 6.0) 107 | - FirebaseMessaging (4.1.4): 108 | - FirebaseAnalyticsInterop (~> 1.3) 109 | - FirebaseCore (~> 6.2) 110 | - FirebaseInstanceID (~> 4.1) 111 | - GoogleUtilities/AppDelegateSwizzler (~> 6.2) 112 | - GoogleUtilities/Environment (~> 6.2) 113 | - GoogleUtilities/Reachability (~> 6.2) 114 | - GoogleUtilities/UserDefaults (~> 6.2) 115 | - Protobuf (~> 3.1) 116 | - FirebasePerformance (3.1.4): 117 | - FirebaseCore (~> 6.2) 118 | - FirebaseInstanceID (~> 4.2) 119 | - FirebaseRemoteConfig (~> 4.4) 120 | - GoogleToolboxForMac/Logger (~> 2.1) 121 | - "GoogleToolboxForMac/NSData+zlib (~> 2.1)" 122 | - GoogleUtilities/Environment (~> 6.2) 123 | - GoogleUtilities/ISASwizzler (~> 6.2) 124 | - GoogleUtilities/MethodSwizzler (~> 6.2) 125 | - GTMSessionFetcher/Core (~> 1.1) 126 | - Protobuf (~> 3.9) 127 | - FirebaseRemoteConfig (4.4.0): 128 | - FirebaseABTesting (~> 3.1) 129 | - FirebaseAnalyticsInterop (~> 1.4) 130 | - FirebaseCore (~> 6.2) 131 | - FirebaseInstanceID (~> 4.2) 132 | - GoogleUtilities/Environment (~> 6.2) 133 | - "GoogleUtilities/NSData+zlib (~> 6.2)" 134 | - Protobuf (~> 3.9) 135 | - FirebaseStorage (3.4.1): 136 | - FirebaseAuthInterop (~> 1.0) 137 | - FirebaseCore (~> 6.0) 138 | - GTMSessionFetcher/Core (~> 1.1) 139 | - Folly (2018.10.22.00): 140 | - boost-for-react-native 141 | - DoubleConversion 142 | - Folly/Default (= 2018.10.22.00) 143 | - glog 144 | - Folly/Default (2018.10.22.00): 145 | - boost-for-react-native 146 | - DoubleConversion 147 | - glog 148 | - glog (0.3.5) 149 | - GoogleAppMeasurement (6.1.1): 150 | - GoogleUtilities/AppDelegateSwizzler (~> 6.0) 151 | - GoogleUtilities/MethodSwizzler (~> 6.0) 152 | - GoogleUtilities/Network (~> 6.0) 153 | - "GoogleUtilities/NSData+zlib (~> 6.0)" 154 | - nanopb (~> 0.3) 155 | - GoogleDataTransport (1.2.0) 156 | - GoogleDataTransportCCTSupport (1.0.3): 157 | - GoogleDataTransport (~> 1.2) 158 | - nanopb 159 | - GoogleToolboxForMac/Defines (2.2.1) 160 | - GoogleToolboxForMac/Logger (2.2.1): 161 | - GoogleToolboxForMac/Defines (= 2.2.1) 162 | - "GoogleToolboxForMac/NSData+zlib (2.2.1)": 163 | - GoogleToolboxForMac/Defines (= 2.2.1) 164 | - GoogleUtilities/AppDelegateSwizzler (6.2.5): 165 | - GoogleUtilities/Environment 166 | - GoogleUtilities/Logger 167 | - GoogleUtilities/Network 168 | - GoogleUtilities/Environment (6.2.5) 169 | - GoogleUtilities/ISASwizzler (6.2.5) 170 | - GoogleUtilities/Logger (6.2.5): 171 | - GoogleUtilities/Environment 172 | - GoogleUtilities/MethodSwizzler (6.2.5): 173 | - GoogleUtilities/Logger 174 | - GoogleUtilities/Network (6.2.5): 175 | - GoogleUtilities/Logger 176 | - "GoogleUtilities/NSData+zlib" 177 | - GoogleUtilities/Reachability 178 | - "GoogleUtilities/NSData+zlib (6.2.5)" 179 | - GoogleUtilities/Reachability (6.2.5): 180 | - GoogleUtilities/Logger 181 | - GoogleUtilities/UserDefaults (6.2.5): 182 | - GoogleUtilities/Logger 183 | - "gRPC-C++ (0.0.9)": 184 | - "gRPC-C++/Implementation (= 0.0.9)" 185 | - "gRPC-C++/Interface (= 0.0.9)" 186 | - "gRPC-C++/Implementation (0.0.9)": 187 | - "gRPC-C++/Interface (= 0.0.9)" 188 | - gRPC-Core (= 1.21.0) 189 | - nanopb (~> 0.3) 190 | - "gRPC-C++/Interface (0.0.9)" 191 | - gRPC-Core (1.21.0): 192 | - gRPC-Core/Implementation (= 1.21.0) 193 | - gRPC-Core/Interface (= 1.21.0) 194 | - gRPC-Core/Implementation (1.21.0): 195 | - BoringSSL-GRPC (= 0.0.3) 196 | - gRPC-Core/Interface (= 1.21.0) 197 | - nanopb (~> 0.3) 198 | - gRPC-Core/Interface (1.21.0) 199 | - GTMSessionFetcher/Core (1.2.2) 200 | - leveldb-library (1.22) 201 | - nanopb (0.3.901): 202 | - nanopb/decode (= 0.3.901) 203 | - nanopb/encode (= 0.3.901) 204 | - nanopb/decode (0.3.901) 205 | - nanopb/encode (0.3.901) 206 | - Protobuf (3.9.0) 207 | - React (0.60.5): 208 | - React-Core (= 0.60.5) 209 | - React-DevSupport (= 0.60.5) 210 | - React-RCTActionSheet (= 0.60.5) 211 | - React-RCTAnimation (= 0.60.5) 212 | - React-RCTBlob (= 0.60.5) 213 | - React-RCTImage (= 0.60.5) 214 | - React-RCTLinking (= 0.60.5) 215 | - React-RCTNetwork (= 0.60.5) 216 | - React-RCTSettings (= 0.60.5) 217 | - React-RCTText (= 0.60.5) 218 | - React-RCTVibration (= 0.60.5) 219 | - React-RCTWebSocket (= 0.60.5) 220 | - React-Core (0.60.5): 221 | - Folly (= 2018.10.22.00) 222 | - React-cxxreact (= 0.60.5) 223 | - React-jsiexecutor (= 0.60.5) 224 | - yoga (= 0.60.5.React) 225 | - React-cxxreact (0.60.5): 226 | - boost-for-react-native (= 1.63.0) 227 | - DoubleConversion 228 | - Folly (= 2018.10.22.00) 229 | - glog 230 | - React-jsinspector (= 0.60.5) 231 | - React-DevSupport (0.60.5): 232 | - React-Core (= 0.60.5) 233 | - React-RCTWebSocket (= 0.60.5) 234 | - React-jsi (0.60.5): 235 | - boost-for-react-native (= 1.63.0) 236 | - DoubleConversion 237 | - Folly (= 2018.10.22.00) 238 | - glog 239 | - React-jsi/Default (= 0.60.5) 240 | - React-jsi/Default (0.60.5): 241 | - boost-for-react-native (= 1.63.0) 242 | - DoubleConversion 243 | - Folly (= 2018.10.22.00) 244 | - glog 245 | - React-jsiexecutor (0.60.5): 246 | - DoubleConversion 247 | - Folly (= 2018.10.22.00) 248 | - glog 249 | - React-cxxreact (= 0.60.5) 250 | - React-jsi (= 0.60.5) 251 | - React-jsinspector (0.60.5) 252 | - React-RCTActionSheet (0.60.5): 253 | - React-Core (= 0.60.5) 254 | - React-RCTAnimation (0.60.5): 255 | - React-Core (= 0.60.5) 256 | - React-RCTBlob (0.60.5): 257 | - React-Core (= 0.60.5) 258 | - React-RCTNetwork (= 0.60.5) 259 | - React-RCTWebSocket (= 0.60.5) 260 | - React-RCTImage (0.60.5): 261 | - React-Core (= 0.60.5) 262 | - React-RCTNetwork (= 0.60.5) 263 | - React-RCTLinking (0.60.5): 264 | - React-Core (= 0.60.5) 265 | - React-RCTNetwork (0.60.5): 266 | - React-Core (= 0.60.5) 267 | - React-RCTSettings (0.60.5): 268 | - React-Core (= 0.60.5) 269 | - React-RCTText (0.60.5): 270 | - React-Core (= 0.60.5) 271 | - React-RCTVibration (0.60.5): 272 | - React-Core (= 0.60.5) 273 | - React-RCTWebSocket (0.60.5): 274 | - React-Core (= 0.60.5) 275 | - RNFirebase (5.5.6): 276 | - Firebase/Core 277 | - React 278 | - RNFirebase/Crashlytics (= 5.5.6) 279 | - RNFirebase/Crashlytics (5.5.6): 280 | - Crashlytics 281 | - Fabric 282 | - Firebase/Core 283 | - React 284 | - yoga (0.60.5.React) 285 | 286 | DEPENDENCIES: 287 | - Crashlytics (~> 3.14.0) 288 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 289 | - Fabric (~> 1.10.2) 290 | - Firebase/Auth (~> 6.8.1) 291 | - Firebase/Core (~> 6.8.1) 292 | - Firebase/Database (~> 6.8.1) 293 | - Firebase/DynamicLinks (~> 6.8.1) 294 | - Firebase/Firestore (~> 6.8.1) 295 | - Firebase/Functions (~> 6.8.1) 296 | - Firebase/Messaging (~> 6.8.1) 297 | - Firebase/Performance (~> 6.8.1) 298 | - Firebase/RemoteConfig (~> 6.8.1) 299 | - Firebase/Storage (~> 6.8.1) 300 | - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`) 301 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 302 | - React (from `../node_modules/react-native/`) 303 | - React-Core (from `../node_modules/react-native/React`) 304 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 305 | - React-DevSupport (from `../node_modules/react-native/React`) 306 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 307 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 308 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 309 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 310 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 311 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 312 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 313 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 314 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 315 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 316 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 317 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 318 | - React-RCTWebSocket (from `../node_modules/react-native/Libraries/WebSocket`) 319 | - RNFirebase (from `../node_modules/react-native-firebase/ios`) 320 | - yoga (from `../node_modules/react-native/ReactCommon/yoga`) 321 | 322 | SPEC REPOS: 323 | https://github.com/cocoapods/specs.git: 324 | - boost-for-react-native 325 | - BoringSSL-GRPC 326 | - Crashlytics 327 | - Fabric 328 | - Firebase 329 | - FirebaseABTesting 330 | - FirebaseAnalytics 331 | - FirebaseAnalyticsInterop 332 | - FirebaseAuth 333 | - FirebaseAuthInterop 334 | - FirebaseCore 335 | - FirebaseCoreDiagnostics 336 | - FirebaseCoreDiagnosticsInterop 337 | - FirebaseDatabase 338 | - FirebaseDynamicLinks 339 | - FirebaseFirestore 340 | - FirebaseFunctions 341 | - FirebaseInstanceID 342 | - FirebaseMessaging 343 | - FirebasePerformance 344 | - FirebaseRemoteConfig 345 | - FirebaseStorage 346 | - GoogleAppMeasurement 347 | - GoogleDataTransport 348 | - GoogleDataTransportCCTSupport 349 | - GoogleToolboxForMac 350 | - GoogleUtilities 351 | - "gRPC-C++" 352 | - gRPC-Core 353 | - GTMSessionFetcher 354 | - leveldb-library 355 | - nanopb 356 | - Protobuf 357 | 358 | EXTERNAL SOURCES: 359 | DoubleConversion: 360 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 361 | Folly: 362 | :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec" 363 | glog: 364 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 365 | React: 366 | :path: "../node_modules/react-native/" 367 | React-Core: 368 | :path: "../node_modules/react-native/React" 369 | React-cxxreact: 370 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 371 | React-DevSupport: 372 | :path: "../node_modules/react-native/React" 373 | React-jsi: 374 | :path: "../node_modules/react-native/ReactCommon/jsi" 375 | React-jsiexecutor: 376 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 377 | React-jsinspector: 378 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 379 | React-RCTActionSheet: 380 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 381 | React-RCTAnimation: 382 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 383 | React-RCTBlob: 384 | :path: "../node_modules/react-native/Libraries/Blob" 385 | React-RCTImage: 386 | :path: "../node_modules/react-native/Libraries/Image" 387 | React-RCTLinking: 388 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 389 | React-RCTNetwork: 390 | :path: "../node_modules/react-native/Libraries/Network" 391 | React-RCTSettings: 392 | :path: "../node_modules/react-native/Libraries/Settings" 393 | React-RCTText: 394 | :path: "../node_modules/react-native/Libraries/Text" 395 | React-RCTVibration: 396 | :path: "../node_modules/react-native/Libraries/Vibration" 397 | React-RCTWebSocket: 398 | :path: "../node_modules/react-native/Libraries/WebSocket" 399 | RNFirebase: 400 | :path: "../node_modules/react-native-firebase/ios" 401 | yoga: 402 | :path: "../node_modules/react-native/ReactCommon/yoga" 403 | 404 | SPEC CHECKSUMS: 405 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c 406 | BoringSSL-GRPC: db8764df3204ccea016e1c8dd15d9a9ad63ff318 407 | Crashlytics: 540b7e5f5da5a042647227a5e3ac51d85eed06df 408 | DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 409 | Fabric: 706c8b8098fff96c33c0db69cbf81f9c551d0d74 410 | Firebase: 9cbe4e5b5eaafa05dc932be58b7c8c3820d71e88 411 | FirebaseABTesting: 662e8de812ceb5d57ad66381f6402f4d28dc5c91 412 | FirebaseAnalytics: 843c7f64a8f9c79f0d03281197ebe7bb1d58d477 413 | FirebaseAnalyticsInterop: d48b6ab67bcf016a05e55b71fc39c61c0cb6b7f3 414 | FirebaseAuth: e7f86c2dfc57281cd01f7da5e4b40e01e4510a4a 415 | FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc 416 | FirebaseCore: e9d9bd1dae61c1e82bc1e0e617a9d832392086a0 417 | FirebaseCoreDiagnostics: 4c04ae09d0ab027c30179828c6bb47764df1bd13 418 | FirebaseCoreDiagnosticsInterop: 6829da2b8d1fc795ff1bd99df751d3788035d2cb 419 | FirebaseDatabase: 518cd94286de2ee999e19383a2a6ae04c81ce993 420 | FirebaseDynamicLinks: db62e9da4788f9c5ebce2028dab933a0c158cfe2 421 | FirebaseFirestore: c5873e279490fbe02239ab2cdfb91c2d546261cc 422 | FirebaseFunctions: 5af7c35d1c5e41608fecbb667eb6c4e672e318d0 423 | FirebaseInstanceID: 550df9be1f99f751d8fcde3ac342a1e21a0e6c42 424 | FirebaseMessaging: 9483ac438b7b223c09dad8712310e9ee7d562c99 425 | FirebasePerformance: a28490ad3b116380ff2d8300a67051626d01d09e 426 | FirebaseRemoteConfig: a1b49ebfddeaccda10d76fd8dc2cc1aa215f9c43 427 | FirebaseStorage: b7c6d00997bc21d4465453bdcc5cc65513110fed 428 | Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 429 | glog: 1f3da668190260b06b429bb211bfbee5cd790c28 430 | GoogleAppMeasurement: 86a82f0e1f20b8eedf8e20326530138fd71409de 431 | GoogleDataTransport: 8f9897b8e073687f24ca8d3c3a8013dec7d2d1cc 432 | GoogleDataTransportCCTSupport: 51134d81fca795c60cc247d1cb6af63c3d67b8d8 433 | GoogleToolboxForMac: b3553629623a3b1bff17f555e736cd5a6d95ad55 434 | GoogleUtilities: e7dc37039b19df7fe543479d3e4a02ac8d11bb69 435 | "gRPC-C++": 9dfe7b44821e7b3e44aacad2af29d2c21f7cde83 436 | gRPC-Core: c9aef9a261a1247e881b18059b84d597293c9947 437 | GTMSessionFetcher: 61bb0f61a4cb560030f1222021178008a5727a23 438 | leveldb-library: 55d93ee664b4007aac644a782d11da33fba316f7 439 | nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48 440 | Protobuf: 1097ca58584c8d9be81bfbf2c5ff5975648dd87a 441 | React: 53c53c4d99097af47cf60594b8706b4e3321e722 442 | React-Core: ba421f6b4f4cbe2fb17c0b6fc675f87622e78a64 443 | React-cxxreact: 8384287780c4999351ad9b6e7a149d9ed10a2395 444 | React-DevSupport: 197fb409737cff2c4f9986e77c220d7452cb9f9f 445 | React-jsi: 4d8c9efb6312a9725b18d6fc818ffc103f60fec2 446 | React-jsiexecutor: 90ad2f9db09513fc763bc757fdc3c4ff8bde2a30 447 | React-jsinspector: e08662d1bf5b129a3d556eb9ea343a3f40353ae4 448 | React-RCTActionSheet: b0f1ea83f4bf75fb966eae9bfc47b78c8d3efd90 449 | React-RCTAnimation: 359ba1b5690b1e87cc173558a78e82d35919333e 450 | React-RCTBlob: 5e2b55f76e9a1c7ae52b826923502ddc3238df24 451 | React-RCTImage: f5f1c50922164e89bdda67bcd0153952a5cfe719 452 | React-RCTLinking: d0ecbd791e9ddddc41fa1f66b0255de90e8ee1e9 453 | React-RCTNetwork: e26946300b0ab7bb6c4a6348090e93fa21f33a9d 454 | React-RCTSettings: d0d37cb521b7470c998595a44f05847777cc3f42 455 | React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2 456 | React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0 457 | React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4 458 | RNFirebase: ac0de8b24c6f91ae9459575491ed6a77327619c6 459 | yoga: 312528f5bbbba37b4dcea5ef00e8b4033fdd9411 460 | 461 | PODFILE CHECKSUM: 12ed60d945a80fb42e8241d7a11d158947e145b1 462 | 463 | COCOAPODS: 1.7.5 464 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter-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/RNFirebaseStarter.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* RNFirebaseStarterTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNFirebaseStarterTests.m */; }; 11 | 039963B89D919933DA02DD1D /* libPods-RNFirebaseStarter-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4A114661868ACFA83CCA60B3 /* libPods-RNFirebaseStarter-tvOS.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 | 27760E91229B6FDF00F5F127 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 27760E6A229B6FDF00F5F127 /* GoogleService-Info.plist */; }; 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 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 21 | 2DCD954D1E0B4F2C00145EB5 /* RNFirebaseStarterTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNFirebaseStarterTests.m */; }; 22 | 66F583A38C047519D1E18159 /* libPods-RNFirebaseStarter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 599A1087F9C545123EFD61BE /* libPods-RNFirebaseStarter.a */; }; 23 | ADDA258B0C3DE0261C60A364 /* libPods-RNFirebaseStarter-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11B23455DE3C4D5673E7318E /* libPods-RNFirebaseStarter-tvOSTests.a */; }; 24 | CB23C3742761BB2944FDCE0B /* libPods-RNFirebaseStarterTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C3AC53CF282E97E63953C49 /* libPods-RNFirebaseStarterTests.a */; }; 25 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 26 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; }; 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 = RNFirebaseStarter; 36 | }; 37 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 42 | remoteInfo = "RNFirebaseStarter-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 /* RNFirebaseStarterTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNFirebaseStarterTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 00E356F21AD99517003FC87E /* RNFirebaseStarterTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFirebaseStarterTests.m; sourceTree = ""; }; 51 | 0B0D8FD9866DDB3E9D5FE660 /* Pods-RNFirebaseStarter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter/Pods-RNFirebaseStarter.release.xcconfig"; sourceTree = ""; }; 52 | 11B23455DE3C4D5673E7318E /* libPods-RNFirebaseStarter-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNFirebaseStarter-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 13B07F961A680F5B00A75B9A /* RNFirebaseStarter.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNFirebaseStarter.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNFirebaseStarter/AppDelegate.h; sourceTree = ""; }; 55 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNFirebaseStarter/AppDelegate.m; sourceTree = ""; }; 56 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 57 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNFirebaseStarter/Images.xcassets; sourceTree = ""; }; 58 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNFirebaseStarter/Info.plist; sourceTree = ""; }; 59 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNFirebaseStarter/main.m; sourceTree = ""; }; 60 | 22D75A04A020FD0E088C0426 /* Pods-RNFirebaseStarter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter/Pods-RNFirebaseStarter.debug.xcconfig"; sourceTree = ""; }; 61 | 27760E6A229B6FDF00F5F127 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "RNFirebaseStarter/GoogleService-Info.plist"; sourceTree = ""; }; 62 | 2D02E47B1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNFirebaseStarter-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 2D02E4901E0B4A5D006451C7 /* RNFirebaseStarter-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RNFirebaseStarter-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | 4A114661868ACFA83CCA60B3 /* libPods-RNFirebaseStarter-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNFirebaseStarter-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | 599A1087F9C545123EFD61BE /* libPods-RNFirebaseStarter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNFirebaseStarter.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | 5C04F7E60E3774814827066E /* Pods-RNFirebaseStarter-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter-tvOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter-tvOS/Pods-RNFirebaseStarter-tvOS.debug.xcconfig"; sourceTree = ""; }; 68 | 7A230A0DEF48DF21D545AA71 /* Pods-RNFirebaseStarter-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter-tvOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter-tvOS/Pods-RNFirebaseStarter-tvOS.release.xcconfig"; sourceTree = ""; }; 69 | 9C3AC53CF282E97E63953C49 /* libPods-RNFirebaseStarterTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNFirebaseStarterTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 70 | AC301B00DE1F70B71BE4D317 /* Pods-RNFirebaseStarterTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarterTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarterTests/Pods-RNFirebaseStarterTests.release.xcconfig"; sourceTree = ""; }; 71 | CA346B7E0D05342E8E702E1C /* Pods-RNFirebaseStarter-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter-tvOSTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter-tvOSTests/Pods-RNFirebaseStarter-tvOSTests.debug.xcconfig"; sourceTree = ""; }; 72 | E36E327AAA5B4552B4028263 /* Pods-RNFirebaseStarterTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarterTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarterTests/Pods-RNFirebaseStarterTests.debug.xcconfig"; sourceTree = ""; }; 73 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 74 | 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; }; 75 | F2C89EE2F4607D097253AE26 /* Pods-RNFirebaseStarter-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNFirebaseStarter-tvOSTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RNFirebaseStarter-tvOSTests/Pods-RNFirebaseStarter-tvOSTests.release.xcconfig"; sourceTree = ""; }; 76 | /* End PBXFileReference section */ 77 | 78 | /* Begin PBXFrameworksBuildPhase section */ 79 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | CB23C3742761BB2944FDCE0B /* libPods-RNFirebaseStarterTests.a in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 92 | 66F583A38C047519D1E18159 /* libPods-RNFirebaseStarter.a in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */, 101 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 102 | 039963B89D919933DA02DD1D /* libPods-RNFirebaseStarter-tvOS.a in Frameworks */, 103 | ); 104 | runOnlyForDeploymentPostprocessing = 0; 105 | }; 106 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 107 | isa = PBXFrameworksBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | ADDA258B0C3DE0261C60A364 /* libPods-RNFirebaseStarter-tvOSTests.a in Frameworks */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | /* End PBXFrameworksBuildPhase section */ 115 | 116 | /* Begin PBXGroup section */ 117 | 00E356EF1AD99517003FC87E /* RNFirebaseStarterTests */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 00E356F21AD99517003FC87E /* RNFirebaseStarterTests.m */, 121 | 00E356F01AD99517003FC87E /* Supporting Files */, 122 | ); 123 | path = RNFirebaseStarterTests; 124 | sourceTree = ""; 125 | }; 126 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 00E356F11AD99517003FC87E /* Info.plist */, 130 | ); 131 | name = "Supporting Files"; 132 | sourceTree = ""; 133 | }; 134 | 0F65422D7FF42AB1B1B439CC /* Pods */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 5C04F7E60E3774814827066E /* Pods-RNFirebaseStarter-tvOS.debug.xcconfig */, 138 | 7A230A0DEF48DF21D545AA71 /* Pods-RNFirebaseStarter-tvOS.release.xcconfig */, 139 | CA346B7E0D05342E8E702E1C /* Pods-RNFirebaseStarter-tvOSTests.debug.xcconfig */, 140 | F2C89EE2F4607D097253AE26 /* Pods-RNFirebaseStarter-tvOSTests.release.xcconfig */, 141 | 22D75A04A020FD0E088C0426 /* Pods-RNFirebaseStarter.debug.xcconfig */, 142 | 0B0D8FD9866DDB3E9D5FE660 /* Pods-RNFirebaseStarter.release.xcconfig */, 143 | E36E327AAA5B4552B4028263 /* Pods-RNFirebaseStarterTests.debug.xcconfig */, 144 | AC301B00DE1F70B71BE4D317 /* Pods-RNFirebaseStarterTests.release.xcconfig */, 145 | ); 146 | name = Pods; 147 | sourceTree = ""; 148 | }; 149 | 13B07FAE1A68108700A75B9A /* RNFirebaseStarter */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 27760E6A229B6FDF00F5F127 /* GoogleService-Info.plist */, 153 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 154 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 155 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 156 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 157 | 13B07FB61A68108700A75B9A /* Info.plist */, 158 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 159 | 13B07FB71A68108700A75B9A /* main.m */, 160 | ); 161 | name = RNFirebaseStarter; 162 | sourceTree = ""; 163 | }; 164 | 2759474C2261A42900BA95C5 /* Recovered References */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | ); 168 | name = "Recovered References"; 169 | sourceTree = ""; 170 | }; 171 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 175 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 176 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 177 | 599A1087F9C545123EFD61BE /* libPods-RNFirebaseStarter.a */, 178 | 4A114661868ACFA83CCA60B3 /* libPods-RNFirebaseStarter-tvOS.a */, 179 | 11B23455DE3C4D5673E7318E /* libPods-RNFirebaseStarter-tvOSTests.a */, 180 | 9C3AC53CF282E97E63953C49 /* libPods-RNFirebaseStarterTests.a */, 181 | ); 182 | name = Frameworks; 183 | sourceTree = ""; 184 | }; 185 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | ); 189 | name = Libraries; 190 | sourceTree = ""; 191 | }; 192 | 83CBB9F61A601CBA00E9B192 = { 193 | isa = PBXGroup; 194 | children = ( 195 | 13B07FAE1A68108700A75B9A /* RNFirebaseStarter */, 196 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 197 | 00E356EF1AD99517003FC87E /* RNFirebaseStarterTests */, 198 | 83CBBA001A601CBA00E9B192 /* Products */, 199 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 200 | 0F65422D7FF42AB1B1B439CC /* Pods */, 201 | 2759474C2261A42900BA95C5 /* Recovered References */, 202 | ); 203 | indentWidth = 2; 204 | sourceTree = ""; 205 | tabWidth = 2; 206 | usesTabs = 0; 207 | }; 208 | 83CBBA001A601CBA00E9B192 /* Products */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | 13B07F961A680F5B00A75B9A /* RNFirebaseStarter.app */, 212 | 00E356EE1AD99517003FC87E /* RNFirebaseStarterTests.xctest */, 213 | 2D02E47B1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS.app */, 214 | 2D02E4901E0B4A5D006451C7 /* RNFirebaseStarter-tvOSTests.xctest */, 215 | ); 216 | name = Products; 217 | sourceTree = ""; 218 | }; 219 | /* End PBXGroup section */ 220 | 221 | /* Begin PBXNativeTarget section */ 222 | 00E356ED1AD99517003FC87E /* RNFirebaseStarterTests */ = { 223 | isa = PBXNativeTarget; 224 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNFirebaseStarterTests" */; 225 | buildPhases = ( 226 | 4FA1736D7C4B627B721868D5 /* [CP] Check Pods Manifest.lock */, 227 | 00E356EA1AD99517003FC87E /* Sources */, 228 | 00E356EB1AD99517003FC87E /* Frameworks */, 229 | 00E356EC1AD99517003FC87E /* Resources */, 230 | ); 231 | buildRules = ( 232 | ); 233 | dependencies = ( 234 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 235 | ); 236 | name = RNFirebaseStarterTests; 237 | productName = RNFirebaseStarterTests; 238 | productReference = 00E356EE1AD99517003FC87E /* RNFirebaseStarterTests.xctest */; 239 | productType = "com.apple.product-type.bundle.unit-test"; 240 | }; 241 | 13B07F861A680F5B00A75B9A /* RNFirebaseStarter */ = { 242 | isa = PBXNativeTarget; 243 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNFirebaseStarter" */; 244 | buildPhases = ( 245 | 68C8DDEF1FB1D75B5BB1B6BF /* [CP] Check Pods Manifest.lock */, 246 | 13B07F871A680F5B00A75B9A /* Sources */, 247 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 248 | 13B07F8E1A680F5B00A75B9A /* Resources */, 249 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 250 | E5B4B8AE4D595D54AD312DFD /* [CP] Copy Pods Resources */, 251 | 494F16552324DA6A0094D17B /* ShellScript */, 252 | ); 253 | buildRules = ( 254 | ); 255 | dependencies = ( 256 | ); 257 | name = RNFirebaseStarter; 258 | productName = "Hello World"; 259 | productReference = 13B07F961A680F5B00A75B9A /* RNFirebaseStarter.app */; 260 | productType = "com.apple.product-type.application"; 261 | }; 262 | 2D02E47A1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS */ = { 263 | isa = PBXNativeTarget; 264 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNFirebaseStarter-tvOS" */; 265 | buildPhases = ( 266 | F2D1C0B3AA54F23E0D104D24 /* [CP] Check Pods Manifest.lock */, 267 | 2D02E4771E0B4A5D006451C7 /* Sources */, 268 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 269 | 2D02E4791E0B4A5D006451C7 /* Resources */, 270 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 271 | ); 272 | buildRules = ( 273 | ); 274 | dependencies = ( 275 | ); 276 | name = "RNFirebaseStarter-tvOS"; 277 | productName = "RNFirebaseStarter-tvOS"; 278 | productReference = 2D02E47B1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS.app */; 279 | productType = "com.apple.product-type.application"; 280 | }; 281 | 2D02E48F1E0B4A5D006451C7 /* RNFirebaseStarter-tvOSTests */ = { 282 | isa = PBXNativeTarget; 283 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNFirebaseStarter-tvOSTests" */; 284 | buildPhases = ( 285 | 79393CDDE0E200C8D21E3C57 /* [CP] Check Pods Manifest.lock */, 286 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 287 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 288 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 289 | ); 290 | buildRules = ( 291 | ); 292 | dependencies = ( 293 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 294 | ); 295 | name = "RNFirebaseStarter-tvOSTests"; 296 | productName = "RNFirebaseStarter-tvOSTests"; 297 | productReference = 2D02E4901E0B4A5D006451C7 /* RNFirebaseStarter-tvOSTests.xctest */; 298 | productType = "com.apple.product-type.bundle.unit-test"; 299 | }; 300 | /* End PBXNativeTarget section */ 301 | 302 | /* Begin PBXProject section */ 303 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 304 | isa = PBXProject; 305 | attributes = { 306 | LastUpgradeCheck = 940; 307 | ORGANIZATIONNAME = Facebook; 308 | TargetAttributes = { 309 | 00E356ED1AD99517003FC87E = { 310 | CreatedOnToolsVersion = 6.2; 311 | TestTargetID = 13B07F861A680F5B00A75B9A; 312 | }; 313 | 2D02E47A1E0B4A5D006451C7 = { 314 | CreatedOnToolsVersion = 8.2.1; 315 | ProvisioningStyle = Automatic; 316 | }; 317 | 2D02E48F1E0B4A5D006451C7 = { 318 | CreatedOnToolsVersion = 8.2.1; 319 | ProvisioningStyle = Automatic; 320 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 321 | }; 322 | }; 323 | }; 324 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNFirebaseStarter" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = English; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | English, 330 | en, 331 | Base, 332 | ); 333 | mainGroup = 83CBB9F61A601CBA00E9B192; 334 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 335 | projectDirPath = ""; 336 | projectRoot = ""; 337 | targets = ( 338 | 13B07F861A680F5B00A75B9A /* RNFirebaseStarter */, 339 | 00E356ED1AD99517003FC87E /* RNFirebaseStarterTests */, 340 | 2D02E47A1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS */, 341 | 2D02E48F1E0B4A5D006451C7 /* RNFirebaseStarter-tvOSTests */, 342 | ); 343 | }; 344 | /* End PBXProject section */ 345 | 346 | /* Begin PBXResourcesBuildPhase section */ 347 | 00E356EC1AD99517003FC87E /* Resources */ = { 348 | isa = PBXResourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 355 | isa = PBXResourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 359 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 360 | 27760E91229B6FDF00F5F127 /* GoogleService-Info.plist in Resources */, 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | }; 364 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 365 | isa = PBXResourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 373 | isa = PBXResourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | /* End PBXResourcesBuildPhase section */ 380 | 381 | /* Begin PBXShellScriptBuildPhase section */ 382 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 383 | isa = PBXShellScriptBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | ); 387 | inputPaths = ( 388 | ); 389 | name = "Bundle React Native code and images"; 390 | outputPaths = ( 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | shellPath = /bin/sh; 394 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 395 | }; 396 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 397 | isa = PBXShellScriptBuildPhase; 398 | buildActionMask = 2147483647; 399 | files = ( 400 | ); 401 | inputPaths = ( 402 | ); 403 | name = "Bundle React Native Code And Images"; 404 | outputPaths = ( 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | shellPath = /bin/sh; 408 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 409 | }; 410 | 494F16552324DA6A0094D17B /* ShellScript */ = { 411 | isa = PBXShellScriptBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | ); 415 | inputFileListPaths = ( 416 | ); 417 | inputPaths = ( 418 | ); 419 | outputFileListPaths = ( 420 | ); 421 | outputPaths = ( 422 | ); 423 | runOnlyForDeploymentPostprocessing = 0; 424 | shellPath = /bin/sh; 425 | shellScript = "if nc -w 5 -z localhost 8081 ; then\nif ! curl -s \"http://localhost:8081/status\" | grep -q \"packager-status:running\" ; then\necho \"Port 8081 already in use, packager is either not running or not running correctly\"\nexit 2\n\nfi\nelse\nopen \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\nfi\n\n"; 426 | }; 427 | 4FA1736D7C4B627B721868D5 /* [CP] Check Pods Manifest.lock */ = { 428 | isa = PBXShellScriptBuildPhase; 429 | buildActionMask = 2147483647; 430 | files = ( 431 | ); 432 | inputFileListPaths = ( 433 | ); 434 | inputPaths = ( 435 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 436 | "${PODS_ROOT}/Manifest.lock", 437 | ); 438 | name = "[CP] Check Pods Manifest.lock"; 439 | outputFileListPaths = ( 440 | ); 441 | outputPaths = ( 442 | "$(DERIVED_FILE_DIR)/Pods-RNFirebaseStarterTests-checkManifestLockResult.txt", 443 | ); 444 | runOnlyForDeploymentPostprocessing = 0; 445 | shellPath = /bin/sh; 446 | 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"; 447 | showEnvVarsInLog = 0; 448 | }; 449 | 68C8DDEF1FB1D75B5BB1B6BF /* [CP] Check Pods Manifest.lock */ = { 450 | isa = PBXShellScriptBuildPhase; 451 | buildActionMask = 2147483647; 452 | files = ( 453 | ); 454 | inputFileListPaths = ( 455 | ); 456 | inputPaths = ( 457 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 458 | "${PODS_ROOT}/Manifest.lock", 459 | ); 460 | name = "[CP] Check Pods Manifest.lock"; 461 | outputFileListPaths = ( 462 | ); 463 | outputPaths = ( 464 | "$(DERIVED_FILE_DIR)/Pods-RNFirebaseStarter-checkManifestLockResult.txt", 465 | ); 466 | runOnlyForDeploymentPostprocessing = 0; 467 | shellPath = /bin/sh; 468 | 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"; 469 | showEnvVarsInLog = 0; 470 | }; 471 | 79393CDDE0E200C8D21E3C57 /* [CP] Check Pods Manifest.lock */ = { 472 | isa = PBXShellScriptBuildPhase; 473 | buildActionMask = 2147483647; 474 | files = ( 475 | ); 476 | inputFileListPaths = ( 477 | ); 478 | inputPaths = ( 479 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 480 | "${PODS_ROOT}/Manifest.lock", 481 | ); 482 | name = "[CP] Check Pods Manifest.lock"; 483 | outputFileListPaths = ( 484 | ); 485 | outputPaths = ( 486 | "$(DERIVED_FILE_DIR)/Pods-RNFirebaseStarter-tvOSTests-checkManifestLockResult.txt", 487 | ); 488 | runOnlyForDeploymentPostprocessing = 0; 489 | shellPath = /bin/sh; 490 | 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"; 491 | showEnvVarsInLog = 0; 492 | }; 493 | E5B4B8AE4D595D54AD312DFD /* [CP] Copy Pods Resources */ = { 494 | isa = PBXShellScriptBuildPhase; 495 | buildActionMask = 2147483647; 496 | files = ( 497 | ); 498 | inputPaths = ( 499 | "${PODS_ROOT}/Target Support Files/Pods-RNFirebaseStarter/Pods-RNFirebaseStarter-resources.sh", 500 | "${PODS_CONFIGURATION_BUILD_DIR}/gRPC-C++/gRPCCertificates-Cpp.bundle", 501 | ); 502 | name = "[CP] Copy Pods Resources"; 503 | outputPaths = ( 504 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/gRPCCertificates-Cpp.bundle", 505 | ); 506 | runOnlyForDeploymentPostprocessing = 0; 507 | shellPath = /bin/sh; 508 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNFirebaseStarter/Pods-RNFirebaseStarter-resources.sh\"\n"; 509 | showEnvVarsInLog = 0; 510 | }; 511 | F2D1C0B3AA54F23E0D104D24 /* [CP] Check Pods Manifest.lock */ = { 512 | isa = PBXShellScriptBuildPhase; 513 | buildActionMask = 2147483647; 514 | files = ( 515 | ); 516 | inputFileListPaths = ( 517 | ); 518 | inputPaths = ( 519 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 520 | "${PODS_ROOT}/Manifest.lock", 521 | ); 522 | name = "[CP] Check Pods Manifest.lock"; 523 | outputFileListPaths = ( 524 | ); 525 | outputPaths = ( 526 | "$(DERIVED_FILE_DIR)/Pods-RNFirebaseStarter-tvOS-checkManifestLockResult.txt", 527 | ); 528 | runOnlyForDeploymentPostprocessing = 0; 529 | shellPath = /bin/sh; 530 | 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"; 531 | showEnvVarsInLog = 0; 532 | }; 533 | /* End PBXShellScriptBuildPhase section */ 534 | 535 | /* Begin PBXSourcesBuildPhase section */ 536 | 00E356EA1AD99517003FC87E /* Sources */ = { 537 | isa = PBXSourcesBuildPhase; 538 | buildActionMask = 2147483647; 539 | files = ( 540 | 00E356F31AD99517003FC87E /* RNFirebaseStarterTests.m in Sources */, 541 | ); 542 | runOnlyForDeploymentPostprocessing = 0; 543 | }; 544 | 13B07F871A680F5B00A75B9A /* Sources */ = { 545 | isa = PBXSourcesBuildPhase; 546 | buildActionMask = 2147483647; 547 | files = ( 548 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 549 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 550 | ); 551 | runOnlyForDeploymentPostprocessing = 0; 552 | }; 553 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 554 | isa = PBXSourcesBuildPhase; 555 | buildActionMask = 2147483647; 556 | files = ( 557 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 558 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 559 | ); 560 | runOnlyForDeploymentPostprocessing = 0; 561 | }; 562 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 563 | isa = PBXSourcesBuildPhase; 564 | buildActionMask = 2147483647; 565 | files = ( 566 | 2DCD954D1E0B4F2C00145EB5 /* RNFirebaseStarterTests.m in Sources */, 567 | ); 568 | runOnlyForDeploymentPostprocessing = 0; 569 | }; 570 | /* End PBXSourcesBuildPhase section */ 571 | 572 | /* Begin PBXTargetDependency section */ 573 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 574 | isa = PBXTargetDependency; 575 | target = 13B07F861A680F5B00A75B9A /* RNFirebaseStarter */; 576 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 577 | }; 578 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 579 | isa = PBXTargetDependency; 580 | target = 2D02E47A1E0B4A5D006451C7 /* RNFirebaseStarter-tvOS */; 581 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 582 | }; 583 | /* End PBXTargetDependency section */ 584 | 585 | /* Begin PBXVariantGroup section */ 586 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 587 | isa = PBXVariantGroup; 588 | children = ( 589 | 13B07FB21A68108700A75B9A /* Base */, 590 | ); 591 | name = LaunchScreen.xib; 592 | path = RNFirebaseStarter; 593 | sourceTree = ""; 594 | }; 595 | /* End PBXVariantGroup section */ 596 | 597 | /* Begin XCBuildConfiguration section */ 598 | 00E356F61AD99517003FC87E /* Debug */ = { 599 | isa = XCBuildConfiguration; 600 | baseConfigurationReference = E36E327AAA5B4552B4028263 /* Pods-RNFirebaseStarterTests.debug.xcconfig */; 601 | buildSettings = { 602 | BUNDLE_LOADER = "$(TEST_HOST)"; 603 | GCC_PREPROCESSOR_DEFINITIONS = ( 604 | "DEBUG=1", 605 | "$(inherited)", 606 | ); 607 | HEADER_SEARCH_PATHS = ( 608 | "$(inherited)", 609 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 610 | ); 611 | INFOPLIST_FILE = RNFirebaseStarterTests/Info.plist; 612 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 613 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 614 | LIBRARY_SEARCH_PATHS = ( 615 | "$(inherited)", 616 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 617 | ); 618 | OTHER_LDFLAGS = ( 619 | "-ObjC", 620 | "-lc++", 621 | ); 622 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 623 | PRODUCT_NAME = "$(TARGET_NAME)"; 624 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNFirebaseStarter.app/RNFirebaseStarter"; 625 | }; 626 | name = Debug; 627 | }; 628 | 00E356F71AD99517003FC87E /* Release */ = { 629 | isa = XCBuildConfiguration; 630 | baseConfigurationReference = AC301B00DE1F70B71BE4D317 /* Pods-RNFirebaseStarterTests.release.xcconfig */; 631 | buildSettings = { 632 | BUNDLE_LOADER = "$(TEST_HOST)"; 633 | COPY_PHASE_STRIP = NO; 634 | HEADER_SEARCH_PATHS = ( 635 | "$(inherited)", 636 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 637 | ); 638 | INFOPLIST_FILE = RNFirebaseStarterTests/Info.plist; 639 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 640 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 641 | LIBRARY_SEARCH_PATHS = ( 642 | "$(inherited)", 643 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 644 | ); 645 | OTHER_LDFLAGS = ( 646 | "-ObjC", 647 | "-lc++", 648 | ); 649 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 650 | PRODUCT_NAME = "$(TARGET_NAME)"; 651 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNFirebaseStarter.app/RNFirebaseStarter"; 652 | }; 653 | name = Release; 654 | }; 655 | 13B07F941A680F5B00A75B9A /* Debug */ = { 656 | isa = XCBuildConfiguration; 657 | baseConfigurationReference = 22D75A04A020FD0E088C0426 /* Pods-RNFirebaseStarter.debug.xcconfig */; 658 | buildSettings = { 659 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 660 | CURRENT_PROJECT_VERSION = 1; 661 | DEAD_CODE_STRIPPING = NO; 662 | HEADER_SEARCH_PATHS = ( 663 | "$(inherited)", 664 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 665 | ); 666 | INFOPLIST_FILE = RNFirebaseStarter/Info.plist; 667 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 668 | OTHER_LDFLAGS = ( 669 | "$(inherited)", 670 | "-ObjC", 671 | "-lc++", 672 | ); 673 | PRODUCT_BUNDLE_IDENTIFIER = com.invertase.RNFirebaseStarter; 674 | PRODUCT_NAME = RNFirebaseStarter; 675 | VERSIONING_SYSTEM = "apple-generic"; 676 | }; 677 | name = Debug; 678 | }; 679 | 13B07F951A680F5B00A75B9A /* Release */ = { 680 | isa = XCBuildConfiguration; 681 | baseConfigurationReference = 0B0D8FD9866DDB3E9D5FE660 /* Pods-RNFirebaseStarter.release.xcconfig */; 682 | buildSettings = { 683 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 684 | CURRENT_PROJECT_VERSION = 1; 685 | HEADER_SEARCH_PATHS = ( 686 | "$(inherited)", 687 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 688 | ); 689 | INFOPLIST_FILE = RNFirebaseStarter/Info.plist; 690 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 691 | OTHER_LDFLAGS = ( 692 | "$(inherited)", 693 | "-ObjC", 694 | "-lc++", 695 | ); 696 | PRODUCT_BUNDLE_IDENTIFIER = com.invertase.RNFirebaseStarter; 697 | PRODUCT_NAME = RNFirebaseStarter; 698 | VERSIONING_SYSTEM = "apple-generic"; 699 | }; 700 | name = Release; 701 | }; 702 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 703 | isa = XCBuildConfiguration; 704 | baseConfigurationReference = 5C04F7E60E3774814827066E /* Pods-RNFirebaseStarter-tvOS.debug.xcconfig */; 705 | buildSettings = { 706 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 707 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 708 | CLANG_ANALYZER_NONNULL = YES; 709 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 710 | CLANG_WARN_INFINITE_RECURSION = YES; 711 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 712 | DEBUG_INFORMATION_FORMAT = dwarf; 713 | ENABLE_TESTABILITY = YES; 714 | GCC_NO_COMMON_BLOCKS = YES; 715 | HEADER_SEARCH_PATHS = ( 716 | "$(inherited)", 717 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 718 | ); 719 | INFOPLIST_FILE = "RNFirebaseStarter-tvOS/Info.plist"; 720 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 721 | LIBRARY_SEARCH_PATHS = ( 722 | "$(inherited)", 723 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 724 | ); 725 | OTHER_LDFLAGS = ( 726 | "-ObjC", 727 | "-lc++", 728 | ); 729 | PRODUCT_BUNDLE_IDENTIFIER = "com.invertase.RNFirebaseStarter-tvOS"; 730 | PRODUCT_NAME = "$(TARGET_NAME)"; 731 | SDKROOT = appletvos; 732 | TARGETED_DEVICE_FAMILY = 3; 733 | TVOS_DEPLOYMENT_TARGET = 9.2; 734 | }; 735 | name = Debug; 736 | }; 737 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 738 | isa = XCBuildConfiguration; 739 | baseConfigurationReference = 7A230A0DEF48DF21D545AA71 /* Pods-RNFirebaseStarter-tvOS.release.xcconfig */; 740 | buildSettings = { 741 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 742 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 743 | CLANG_ANALYZER_NONNULL = YES; 744 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 745 | CLANG_WARN_INFINITE_RECURSION = YES; 746 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 747 | COPY_PHASE_STRIP = NO; 748 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 749 | GCC_NO_COMMON_BLOCKS = YES; 750 | HEADER_SEARCH_PATHS = ( 751 | "$(inherited)", 752 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 753 | ); 754 | INFOPLIST_FILE = "RNFirebaseStarter-tvOS/Info.plist"; 755 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 756 | LIBRARY_SEARCH_PATHS = ( 757 | "$(inherited)", 758 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 759 | ); 760 | OTHER_LDFLAGS = ( 761 | "-ObjC", 762 | "-lc++", 763 | ); 764 | PRODUCT_BUNDLE_IDENTIFIER = "com.invertase.RNFirebaseStarter-tvOS"; 765 | PRODUCT_NAME = "$(TARGET_NAME)"; 766 | SDKROOT = appletvos; 767 | TARGETED_DEVICE_FAMILY = 3; 768 | TVOS_DEPLOYMENT_TARGET = 9.2; 769 | }; 770 | name = Release; 771 | }; 772 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 773 | isa = XCBuildConfiguration; 774 | baseConfigurationReference = CA346B7E0D05342E8E702E1C /* Pods-RNFirebaseStarter-tvOSTests.debug.xcconfig */; 775 | buildSettings = { 776 | BUNDLE_LOADER = "$(TEST_HOST)"; 777 | CLANG_ANALYZER_NONNULL = YES; 778 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 779 | CLANG_WARN_INFINITE_RECURSION = YES; 780 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 781 | DEBUG_INFORMATION_FORMAT = dwarf; 782 | ENABLE_TESTABILITY = YES; 783 | GCC_NO_COMMON_BLOCKS = YES; 784 | HEADER_SEARCH_PATHS = ( 785 | "$(inherited)", 786 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 787 | ); 788 | INFOPLIST_FILE = "RNFirebaseStarter-tvOSTests/Info.plist"; 789 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 790 | LIBRARY_SEARCH_PATHS = ( 791 | "$(inherited)", 792 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 793 | ); 794 | OTHER_LDFLAGS = ( 795 | "-ObjC", 796 | "-lc++", 797 | ); 798 | PRODUCT_BUNDLE_IDENTIFIER = "com.invertase.RNFirebaseStarter-tvOSTests"; 799 | PRODUCT_NAME = "$(TARGET_NAME)"; 800 | SDKROOT = appletvos; 801 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNFirebaseStarter-tvOS.app/RNFirebaseStarter-tvOS"; 802 | TVOS_DEPLOYMENT_TARGET = 10.1; 803 | }; 804 | name = Debug; 805 | }; 806 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 807 | isa = XCBuildConfiguration; 808 | baseConfigurationReference = F2C89EE2F4607D097253AE26 /* Pods-RNFirebaseStarter-tvOSTests.release.xcconfig */; 809 | buildSettings = { 810 | BUNDLE_LOADER = "$(TEST_HOST)"; 811 | CLANG_ANALYZER_NONNULL = YES; 812 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 813 | CLANG_WARN_INFINITE_RECURSION = YES; 814 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 815 | COPY_PHASE_STRIP = NO; 816 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 817 | GCC_NO_COMMON_BLOCKS = YES; 818 | HEADER_SEARCH_PATHS = ( 819 | "$(inherited)", 820 | "$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**", 821 | ); 822 | INFOPLIST_FILE = "RNFirebaseStarter-tvOSTests/Info.plist"; 823 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 824 | LIBRARY_SEARCH_PATHS = ( 825 | "$(inherited)", 826 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 827 | ); 828 | OTHER_LDFLAGS = ( 829 | "-ObjC", 830 | "-lc++", 831 | ); 832 | PRODUCT_BUNDLE_IDENTIFIER = "com.invertase.RNFirebaseStarter-tvOSTests"; 833 | PRODUCT_NAME = "$(TARGET_NAME)"; 834 | SDKROOT = appletvos; 835 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNFirebaseStarter-tvOS.app/RNFirebaseStarter-tvOS"; 836 | TVOS_DEPLOYMENT_TARGET = 10.1; 837 | }; 838 | name = Release; 839 | }; 840 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 841 | isa = XCBuildConfiguration; 842 | buildSettings = { 843 | ALWAYS_SEARCH_USER_PATHS = NO; 844 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 845 | CLANG_CXX_LIBRARY = "libc++"; 846 | CLANG_ENABLE_MODULES = YES; 847 | CLANG_ENABLE_OBJC_ARC = YES; 848 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 849 | CLANG_WARN_BOOL_CONVERSION = YES; 850 | CLANG_WARN_COMMA = YES; 851 | CLANG_WARN_CONSTANT_CONVERSION = YES; 852 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 853 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 854 | CLANG_WARN_EMPTY_BODY = YES; 855 | CLANG_WARN_ENUM_CONVERSION = YES; 856 | CLANG_WARN_INFINITE_RECURSION = YES; 857 | CLANG_WARN_INT_CONVERSION = YES; 858 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 859 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 860 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 861 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 862 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 863 | CLANG_WARN_STRICT_PROTOTYPES = YES; 864 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 865 | CLANG_WARN_UNREACHABLE_CODE = YES; 866 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 867 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 868 | COPY_PHASE_STRIP = NO; 869 | ENABLE_STRICT_OBJC_MSGSEND = YES; 870 | ENABLE_TESTABILITY = YES; 871 | GCC_C_LANGUAGE_STANDARD = gnu99; 872 | GCC_DYNAMIC_NO_PIC = NO; 873 | GCC_NO_COMMON_BLOCKS = YES; 874 | GCC_OPTIMIZATION_LEVEL = 0; 875 | GCC_PREPROCESSOR_DEFINITIONS = ( 876 | "DEBUG=1", 877 | "$(inherited)", 878 | ); 879 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 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 = YES; 888 | ONLY_ACTIVE_ARCH = YES; 889 | SDKROOT = iphoneos; 890 | }; 891 | name = Debug; 892 | }; 893 | 83CBBA211A601CBA00E9B192 /* Release */ = { 894 | isa = XCBuildConfiguration; 895 | buildSettings = { 896 | ALWAYS_SEARCH_USER_PATHS = NO; 897 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 898 | CLANG_CXX_LIBRARY = "libc++"; 899 | CLANG_ENABLE_MODULES = YES; 900 | CLANG_ENABLE_OBJC_ARC = YES; 901 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 902 | CLANG_WARN_BOOL_CONVERSION = YES; 903 | CLANG_WARN_COMMA = YES; 904 | CLANG_WARN_CONSTANT_CONVERSION = YES; 905 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 906 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 907 | CLANG_WARN_EMPTY_BODY = YES; 908 | CLANG_WARN_ENUM_CONVERSION = YES; 909 | CLANG_WARN_INFINITE_RECURSION = YES; 910 | CLANG_WARN_INT_CONVERSION = YES; 911 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 912 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 913 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 914 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 915 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 916 | CLANG_WARN_STRICT_PROTOTYPES = YES; 917 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 918 | CLANG_WARN_UNREACHABLE_CODE = YES; 919 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 920 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 921 | COPY_PHASE_STRIP = YES; 922 | ENABLE_NS_ASSERTIONS = NO; 923 | ENABLE_STRICT_OBJC_MSGSEND = YES; 924 | GCC_C_LANGUAGE_STANDARD = gnu99; 925 | GCC_NO_COMMON_BLOCKS = YES; 926 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 927 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 928 | GCC_WARN_UNDECLARED_SELECTOR = YES; 929 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 930 | GCC_WARN_UNUSED_FUNCTION = YES; 931 | GCC_WARN_UNUSED_VARIABLE = YES; 932 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 933 | MTL_ENABLE_DEBUG_INFO = NO; 934 | SDKROOT = iphoneos; 935 | VALIDATE_PRODUCT = YES; 936 | }; 937 | name = Release; 938 | }; 939 | /* End XCBuildConfiguration section */ 940 | 941 | /* Begin XCConfigurationList section */ 942 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNFirebaseStarterTests" */ = { 943 | isa = XCConfigurationList; 944 | buildConfigurations = ( 945 | 00E356F61AD99517003FC87E /* Debug */, 946 | 00E356F71AD99517003FC87E /* Release */, 947 | ); 948 | defaultConfigurationIsVisible = 0; 949 | defaultConfigurationName = Release; 950 | }; 951 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNFirebaseStarter" */ = { 952 | isa = XCConfigurationList; 953 | buildConfigurations = ( 954 | 13B07F941A680F5B00A75B9A /* Debug */, 955 | 13B07F951A680F5B00A75B9A /* Release */, 956 | ); 957 | defaultConfigurationIsVisible = 0; 958 | defaultConfigurationName = Release; 959 | }; 960 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNFirebaseStarter-tvOS" */ = { 961 | isa = XCConfigurationList; 962 | buildConfigurations = ( 963 | 2D02E4971E0B4A5E006451C7 /* Debug */, 964 | 2D02E4981E0B4A5E006451C7 /* Release */, 965 | ); 966 | defaultConfigurationIsVisible = 0; 967 | defaultConfigurationName = Release; 968 | }; 969 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNFirebaseStarter-tvOSTests" */ = { 970 | isa = XCConfigurationList; 971 | buildConfigurations = ( 972 | 2D02E4991E0B4A5E006451C7 /* Debug */, 973 | 2D02E49A1E0B4A5E006451C7 /* Release */, 974 | ); 975 | defaultConfigurationIsVisible = 0; 976 | defaultConfigurationName = Release; 977 | }; 978 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNFirebaseStarter" */ = { 979 | isa = XCConfigurationList; 980 | buildConfigurations = ( 981 | 83CBBA201A601CBA00E9B192 /* Debug */, 982 | 83CBBA211A601CBA00E9B192 /* Release */, 983 | ); 984 | defaultConfigurationIsVisible = 0; 985 | defaultConfigurationName = Release; 986 | }; 987 | /* End XCConfigurationList section */ 988 | }; 989 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 990 | } 991 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter.xcodeproj/xcshareddata/xcschemes/RNFirebaseStarter-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/RNFirebaseStarter.xcodeproj/xcshareddata/xcschemes/RNFirebaseStarter.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/RNFirebaseStarter.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter.xcworkspace:contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter/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/RNFirebaseStarter/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 "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | [FIRApp configure]; 20 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 22 | moduleName:@"RNFirebaseStarter" 23 | initialProperties:nil]; 24 | 25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 36 | { 37 | #if DEBUG 38 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 39 | #else 40 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 41 | #endif 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter/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/RNFirebaseStarter/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/RNFirebaseStarter/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | RNFirebaseStarter 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 | GADApplicationIdentifier 26 | ca-app-pub-3940256099942544~1458002511 27 | LSRequiresIPhoneOS 28 | 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | NSExceptionDomains 34 | 35 | localhost 36 | 37 | NSExceptionAllowsInsecureHTTPLoads 38 | 39 | 40 | 41 | 42 | NSLocationWhenInUseUsageDescription 43 | 44 | UILaunchStoryboardName 45 | LaunchScreen 46 | UIRequiredDeviceCapabilities 47 | 48 | armv7 49 | 50 | UISupportedInterfaceOrientations 51 | 52 | UIInterfaceOrientationPortrait 53 | UIInterfaceOrientationLandscapeLeft 54 | UIInterfaceOrientationLandscapeRight 55 | 56 | UIViewControllerBasedStatusBarAppearance 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ios/RNFirebaseStarter/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/RNFirebaseStarterTests/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/RNFirebaseStarterTests/RNFirebaseStarterTests.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 Native!" 16 | 17 | @interface RNFirebaseStarterTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation RNFirebaseStarterTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /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": "RNFirebaseStarter", 3 | "version": "5.4.0", 4 | "private": true, 5 | "scripts": { 6 | "android-bundle": "ORG_GRADLE_PROJECT_bundleInDev=true npm run android", 7 | "android": "react-native run-android", 8 | "ios": "react-native run-ios --simulator=\"iPhone 11\"", 9 | "apk": "cd android && ./gradlew assembleRelease", 10 | "rename": "node ./bin/rename.js", 11 | "start": "react-native start", 12 | "test": "jest", 13 | "lint": "eslint .", 14 | "postinstall": "npx jetify" 15 | }, 16 | "dependencies": { 17 | "jetifier": "^1.6.4", 18 | "react": "16.8.6", 19 | "react-native": "0.60.5", 20 | "react-native-firebase": "^5.6.0" 21 | }, 22 | "devDependencies": { 23 | "@babel/core": "^7.6.0", 24 | "@babel/runtime": "^7.6.0", 25 | "@react-native-community/eslint-config": "^0.0.5", 26 | "babel-jest": "^24.9.0", 27 | "eslint": "^6.1.0", 28 | "fs-extra": "^7.0.1", 29 | "jest": "^24.9.0", 30 | "metro-react-native-babel-preset": "^0.56.0", 31 | "react-test-renderer": "16.8.6", 32 | "replace-in-file": "^3.4.4" 33 | }, 34 | "jest": { 35 | "preset": "react-native" 36 | } 37 | } 38 | --------------------------------------------------------------------------------