This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[cloud_functions] Support for cloud functions emulators #1887
Merged
collinjackson
merged 14 commits into
flutter-team-archive:master
from
DavoBR:allow-emulator-fns
Jul 28, 2019
Merged
Changes from 7 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f68b628
Allow use emulator functions
7143c48
updated CHANGELOG.md to add a description of the change
cf24c8f
updated pubspec.yaml with an appropriate new version
11d4a03
Fix useFunctionsEmulator method name
4b20b7d
Update packages/cloud_functions/lib/src/cloud_functions.dart
DavoBR 5737aa1
Merge branch 'master' into allow-emulator-fns
DavoBR 3769244
Using asterisks instead of hyphens.
DavoBR 63ee242
Updating description of the change
DavoBR 49cd0d1
Changing to useFunctionsEmulator to fix the test
DavoBR 4ea504d
Fix version of the change
DavoBR 4acfee5
Update CHANGELOG.md
DavoBR 2fa73b9
Update version in pubspec.yaml
bd2f8b5
Fix up readme
collinjackson cc90890
Format
collinjackson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,99 +1,103 @@ | ||
| ## 0.4.1 | ||
|
|
||
| - Automatically use version from pubspec.yaml when reporting usage to Firebase. | ||
|
|
||
| ## 0.4.0+3 | ||
|
DavoBR marked this conversation as resolved.
|
||
|
|
||
| * Update google-services Android gradle plugin to 4.3.0 in documentation and examples. | ||
| - Update google-services Android gradle plugin to 4.3.0 in documentation and examples. | ||
|
|
||
| ## 0.4.0+2 | ||
|
|
||
| * Automatically use version from pubspec.yaml when reporting usage to Firebase. | ||
| - Automatically use version from pubspec.yaml when reporting usage to Firebase. | ||
|
DavoBR marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## 0.4.0+1 | ||
|
|
||
| * Remove reference to unused header file. | ||
| - Remove reference to unused header file. | ||
|
|
||
| ## 0.4.0 | ||
|
|
||
| * Removed unused `parameters` param from `getHttpsCallable`. | ||
| - Removed unused `parameters` param from `getHttpsCallable`. | ||
|
|
||
| ## 0.3.0+1 | ||
|
|
||
| * Update iOS dependencies to latest. | ||
| - Update iOS dependencies to latest. | ||
|
|
||
| ## 0.3.0 | ||
|
|
||
| * Update Android dependencies to latest. | ||
| - Update Android dependencies to latest. | ||
|
|
||
| ## 0.2.0+1 | ||
|
|
||
| * Removed flaky timeout test. | ||
| - Removed flaky timeout test. | ||
|
|
||
| ## 0.2.0 | ||
|
|
||
| * **Breaking change**. Updated Dart API to replace `call` with `getHttpsCallable`. | ||
| * Added support for timeouts. | ||
| * Additional integration testing. | ||
| - **Breaking change**. Updated Dart API to replace `call` with `getHttpsCallable`. | ||
| - Added support for timeouts. | ||
| - Additional integration testing. | ||
|
|
||
| ## 0.1.2+1 | ||
|
|
||
| * Added a driver test. | ||
| - Added a driver test. | ||
|
|
||
| ## 0.1.2 | ||
|
|
||
| * Specifying a version for Cloud Functions CocoaPod dependency to prevent build errors on iOS. | ||
| * Fix on iOS when using a null region. | ||
| * Upgrade the firebase_core dependency of the example app. | ||
| - Specifying a version for Cloud Functions CocoaPod dependency to prevent build errors on iOS. | ||
| - Fix on iOS when using a null region. | ||
| - Upgrade the firebase_core dependency of the example app. | ||
|
|
||
| ## 0.1.1+1 | ||
|
|
||
| * Log messages about automatic configuration of the default app are now less confusing. | ||
| - Log messages about automatic configuration of the default app are now less confusing. | ||
|
|
||
| ## 0.1.1 | ||
|
|
||
| * Support for regions and multiple apps | ||
| - Support for regions and multiple apps | ||
|
|
||
| ## 0.1.0+1 | ||
|
|
||
| * Log a more detailed warning at build time about the previous AndroidX | ||
| - Log a more detailed warning at build time about the previous AndroidX | ||
| migration. | ||
|
|
||
| ## 0.1.0 | ||
|
|
||
| * **Breaking change**. Migrate from the deprecated original Android Support | ||
| - **Breaking change**. Migrate from the deprecated original Android Support | ||
| Library to AndroidX. This shouldn't result in any functional changes, but it | ||
| requires any Android apps using this plugin to [also | ||
| migrate](https://developer.android.com/jetpack/androidx/migrate) if they're | ||
| using the original support library. | ||
|
|
||
| ## 0.0.5 | ||
|
|
||
| * Set iOS deployment target to 8.0 (minimum supported by both Firebase SDKs and Flutter), fixes compilation errors. | ||
| * Fixes null pointer error when callable function fails with exception (iOS). | ||
| - Set iOS deployment target to 8.0 (minimum supported by both Firebase SDKs and Flutter), fixes compilation errors. | ||
| - Fixes null pointer error when callable function fails with exception (iOS). | ||
|
|
||
| ## 0.0.4+1 | ||
|
|
||
| * Bump Android dependencies to latest. | ||
| - Bump Android dependencies to latest. | ||
|
|
||
| ## 0.0.4 | ||
|
|
||
| * Fixed podspec to use static_framework | ||
| - Fixed podspec to use static_framework | ||
|
|
||
| ## 0.0.3 | ||
|
|
||
| * Added missing dependency on meta package. | ||
| - Added missing dependency on meta package. | ||
|
|
||
| ## 0.0.2 | ||
|
|
||
| * Bump Android and Firebase dependency versions. | ||
| - Bump Android and Firebase dependency versions. | ||
|
|
||
| ## 0.0.1 | ||
|
|
||
| * The Cloud Functions for Firebase client SDKs let you call functions | ||
| - The Cloud Functions for Firebase client SDKs let you call functions | ||
| directly from a Firebase app. This plugin exposes this ability to | ||
| Flutter apps. | ||
|
|
||
| [Callable functions](https://firebase.google.com/docs/functions/callable) | ||
| are similar to other HTTP functions, with these additional features: | ||
|
|
||
| - With callables, Firebase Authentication and FCM tokens are | ||
| automatically included in requests. | ||
| - The functions.https.onCall trigger automatically deserializes | ||
| the request body and validates auth tokens. | ||
| - With callables, Firebase Authentication and FCM tokens are | ||
| automatically included in requests. | ||
| - The functions.https.onCall trigger automatically deserializes | ||
| the request body and validates auth tokens. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.