Skip to content

Commit d32bcf4

Browse files
committed
Run addlicense -f header_template.txt .
1 parent 467c403 commit d32bcf4

File tree

631 files changed

+2899
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

631 files changed

+2899
-0
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
blank_issues_enabled: false
26
contact_links:
37
- name: Feature Request

.github/ISSUE_TEMPLATE/ios_background_message_handling.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: iOS background message handling bug report for Firebase Messaging
26
description:
37
Create an issue specific to receiving Firebase Messaging messages in the background on iOS.

.github/move.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
# Configuration for move-issues - https://github.com/dessant/move-issues
26

37
# Delete the command comment when it contains no other content.

.github/workflows/all_plugins.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: all_plugins
26

37
concurrency:

.github/workflows/e2e_tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: e2e
26

37
concurrency:

.github/workflows/firebase_firestore.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: firebase_firestore
26

37
concurrency:

.github/workflows/firebase_firestore_odm.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: firebase_firestore_odm
26

37
concurrency:

.github/workflows/firebase_performance.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: firebase_performance
26

37
concurrency:

.github/workflows/pr_title.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: pr_title
26

37
on:

.github/workflows/publish_old_docs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: publish_old_docs
26

37
on:

.github/workflows/scripts/build-example.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26

37
DEFAULT_TARGET="./test_driver/MELOS_PARENT_PACKAGE_NAME_e2e.dart"
48

.github/workflows/scripts/drive-example.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26

37
ACTION=$1
48

.github/workflows/scripts/functions/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
import * as assert from 'assert';
28
import * as functions from 'firebase-functions';
39

.github/workflows/scripts/install-flutter.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26

37
BRANCH=$1
48
git clone https://github.com/flutter/flutter.git --depth 1 -b $BRANCH "$GITHUB_WORKSPACE/_flutter"

.github/workflows/scripts/install-tools.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26

37
flutter config --no-analytics
48
flutter pub global activate melos 2.4.0
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26
curl -v -X DELETE "http://localhost:8080/emulator/v1/projects/react-native-firebase-testing/databases/(default)/documents"

.github/workflows/scripts/start-firebase-emulator.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26
if ! [ -x "$(command -v firebase)" ]; then
37
echo "❌ Firebase tools CLI is missing."
48
exit 1

.github/workflows/scripts/validate-formatting.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
# for details. All rights reserved. Use of this source code is governed by a
4+
# BSD-style license that can be found in the LICENSE file.
5+
26
if [[ $(git ls-files --modified) ]]; then
37
echo ""
48
echo ""

melos.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: FlutterFire
26
repository: https://github.com/firebase/flutterfire
37

packages/_flutterfire_internals/lib/_flutterfire_internals.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
// DO NOT MOVE THIS FILE
37
//

packages/_flutterfire_internals/lib/src/interop_shimmer.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// A library that mimicks package:firebase_core_web/firebase_core_web_interop.dart
26
// for platforms that do not target dart2js
37

packages/_flutterfire_internals/pubspec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: _flutterfire_internals
26
description: A package hosting Dart code shared between FlutterFire plugins.
37
homepage: https://firebase.google.com/docs/firestore

packages/_flutterfire_internals/test/guard_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:_flutterfire_internals/_flutterfire_internals.dart';
26
import 'package:_flutterfire_internals/src/interop_shimmer.dart';
37
import 'package:flutter_test/flutter_test.dart';

packages/cloud_firestore/cloud_firestore/android/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
for details. All rights reserved. Use of this source code is governed by a
4+
BSD-style license that can be found in the LICENSE file.
5+
-->
6+
17
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
28
package="io.flutter.plugins.firebase.firestore">
39
<application>

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/DocumentSnapshotsStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/LoadBundleStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/OnTransactionResultListener.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import java.util.Map;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/QuerySnapshotsStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/SnapshotsInSyncStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import com.google.firebase.firestore.FirebaseFirestore;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import android.os.Handler;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExceptionConverter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.utils;
28

39
import android.util.Log;

packages/cloud_firestore/cloud_firestore/dartpad/dartpad_metadata.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
# for details. All rights reserved. Use of this source code is governed by a
3+
# BSD-style license that can be found in the LICENSE file.
4+
15
name: Cloud Firestore Example
26
mode: flutter
37
files:

packages/cloud_firestore/cloud_firestore/example/android/app/src/debug/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
for details. All rights reserved. Use of this source code is governed by a
4+
BSD-style license that can be found in the LICENSE file.
5+
-->
6+
17
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
28
package="com.example.example">
39
<!-- Flutter needs it to communicate with the running application

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
for details. All rights reserved. Use of this source code is governed by a
4+
BSD-style license that can be found in the LICENSE file.
5+
-->
6+
17
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
28
package="com.example.example">
39
<application

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package com.example.example
28

39
import io.flutter.embedding.android.FlutterActivity

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/res/drawable-v21/launch_background.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
4+
for details. All rights reserved. Use of this source code is governed by a
5+
BSD-style license that can be found in the LICENSE file.
6+
-->
7+
28
<!-- Modify this file to customize your launch splash screen -->
39
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
410
<item android:drawable="?android:colorBackground" />

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/res/drawable/launch_background.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
4+
for details. All rights reserved. Use of this source code is governed by a
5+
BSD-style license that can be found in the LICENSE file.
6+
-->
7+
28
<!-- Modify this file to customize your launch splash screen -->
39
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
410
<item android:drawable="@android:color/white" />

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/res/values-night/styles.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
4+
for details. All rights reserved. Use of this source code is governed by a
5+
BSD-style license that can be found in the LICENSE file.
6+
-->
7+
28
<resources>
39
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
410
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">

packages/cloud_firestore/cloud_firestore/example/android/app/src/main/res/values/styles.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
4+
for details. All rights reserved. Use of this source code is governed by a
5+
BSD-style license that can be found in the LICENSE file.
6+
-->
7+
28
<resources>
39
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
410
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">

packages/cloud_firestore/cloud_firestore/example/android/app/src/profile/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
for details. All rights reserved. Use of this source code is governed by a
4+
BSD-style license that can be found in the LICENSE file.
5+
-->
6+
17
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
28
package="com.example.example">
39
<!-- Flutter needs it to communicate with the running application

packages/cloud_firestore/cloud_firestore/example/ios/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import UIKit
26
import Flutter
37

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
#import "GeneratedPluginRegistrant.h"

packages/cloud_firestore/cloud_firestore/example/lib/firebase_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'dart:io';
26

37
import 'package:firebase_core/firebase_core.dart';

packages/cloud_firestore/cloud_firestore/example/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import Cocoa
26
import FlutterMacOS
37

0 commit comments

Comments
 (0)