Skip to content

Update changes from FirebaseExtended/flutterfire #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
Apr 6, 2020

Conversation

Eddydpyl
Copy link
Owner

@Eddydpyl Eddydpyl commented Apr 6, 2020

No description provided.

lanmonster and others added 30 commits January 7, 2020 13:14
* [firebase_core] Update documentation for web setup.
* [firebase_auth] Update documentation for web setup.

Fixes #1635
Fixes #1746
* Add macos to CI

* Add lint script
)

* add 'app' to signature of FirebaseAuthPlatform.confirmPasswordReset

* Update packages/firebase_auth/firebase_auth_platform_interface/CHANGELOG.md

Co-authored-by: Collin Jackson <[email protected]>
…ementation. (#1796)

* [firebase_auth_platform_interface] Fix typo in the MethodChannel implementation.

Bump version and update changelog.

Fixes flutter/flutter#46045
… in js.allowInterop (#1809)

Dart functions need to be wrapped in js.allowInterop to be called from JavaScript. The current test is failing on dart2js.

* Fix firebase auth test by wrapping Dart functions in js.allowInterop.
* Fix the Promise.then mock. The JS version of Promise.then takes two parameters.
* Update pubspec.yaml and CHANGELOG
* Added unit test for the onAuthStateChanged stream (from JS).
* Migrate tests from jsify to package:js
* Update version and CHANGELOG

Fixes #1685
* Phase 1 of web implementation: add a platform interface for the cloud_functions plugin.

* Remove comment about default timeout, leave default timeout as null.

* Move existing cloud_functions plugin code into its own subfolder, to isolate it from following changes.

* Update CloudFunctionsPlatform to extend PlatformInterface. Change the interface to be a close reflection of the MethodChannel interface.

* Clean up imports

* Reformat with dartfmt

* Fix document comments, remove CloudFunctionsException

* Update signature of callCloudFunction() to return a Future. Update copyright date in LICENSE.
…1854)

* Phase 1 of web implementation: add a platform interface for the cloud_functions plugin.

* Fix timeout for Android (which had been ignoring explicit timeouts due to unit mismatch).

* Move existing cloud_functions plugin code into its own subfolder, to isolate it from following changes.

* Update CloudFunctionsPlatform to extend PlatformInterface. Change the interface to be a close reflection of the MethodChannel interface.

* Update the cloud_functions plugin to use the platform interface.

* Update pubspec with published version of platform interface.
…g in TRUE (iOS only) (#1407)

* Fix bool argument handling

- Previously, it was always `true` even though set to `false`
…all (#1868)

* Solves the error `No implementation found for method CloudFunctions#call` introduced in the `0.4.1+7` release
…ound actions for v1 … (#1863)

* Keep a local registrar to get activity for foreground actions for v1 embedder.
* Add support for `confirmPasswordReset` on Android and iOS.

Co-authored-by: Collin Jackson <[email protected]>
Co-authored-by: Ben Getsug <[email protected]>
* Initial release of cloud_functions_web
* implement missing auth functionality for web

* add changelog

* bump pubspec version

* add missing method to changelog

* fix interface
…ns_web (#1908)

* create no-op stubs for iOS/Android in cloud_functions_web

* Update CHANGELOG

* Update version number to accomodate check.

* Remove AndroidX from no-op plugin implementation
…es a deprecated API (#1886)

* ignore .flutter-plugins-dependencies

* Core, Analytics, Crashlytics fix uses or overrides a deprecated API

* update pubspec.yaml and CHANGELOG.md
* Update example, add web plugin to cloud_functions dependencies

* Add web plugin section to pubspec

* Bump version for cloud_functions_web to pull in README changes

* Appease version checker
…face (#1686)

* Created firestore platform interface package.

Part 1/3 of flutter/flutter#45293 

Co-authored-by: David Iglesias <[email protected]>
Co-authored-by: Collin Jackson <[email protected]>
Migrate the cloud_firestore core plugin to use the platform_interface package. All the "method channel" implementation now lives in the platform_interface package.

The plugin is now ready to support federated implementations.

Co-authored-by: David Iglesias <[email protected]>
Co-authored-by: Collin Jackson <[email protected]>
Add an implementation of `cloud_firestore_platform_interface` for the web platform.

Co-authored-by: David Iglesias <[email protected]>
Co-authored-by: Collin Jackson <[email protected]>
* [cloud_firestore] Endorse cloud_firestore_web.

This change makes `cloud_firestore_web` the official implementation of `cloud_firestore` for the Web target.

It also adds web support to the `example` app.

Co-authored-by: Amr Yousef <[email protected]>
…tion. (#1982)

* [flutterfire] Mark cloud_firestore and cloud_functions as available for Web in the main feature matrix.
* [cloud_firestore] Add Web integration instructions to README.
* [cloud_firestore_web] Add post-endorsement web integration instructions.
cbenhagen and others added 29 commits February 19, 2020 13:38
* Add macOS support

* Remove unused code

* Remove UserAgent.h

* Add macos example and depend on macos firebase_core

* Set platform

* Add .xcworkspace

* Share code between iOS and macOS

* Require firebase_core_web from hosted

* Use shared code on iOS

* Add link to addApplicationDelegate issue
* Add macOS availability to the README.
…tform interface) (#2060)

* Updated `FieldValueFactoryPlatform` to use generics.
* `FieldValuePlatform` no longer extends `PlatformInterface`.
* `MethodChannelFieldValue` no longer extends `FieldValuePlatform` and supports equality comparison.
* Fixed the file name of a test.
…eb) (#2062)

* Support equality comparison of field values.
* `FieldValueWeb` no longer extends `FieldValuePlatform`.
* Updated platform interface dependency.
…pp-facing) (#2063)

* Support equality comparison on `FieldValue` instances.
* Updated version of endorsed web implementation.
…ce (#2065)

* [firebase_core_platform_interface] Migrate to plugin_platform_interface

* Remove unused import. Fix whitespace in CHANGELOG

* Update version

* Add meta back as a dependency
* Update firebase_core to use new platform interface

* Fix version in pubspec
* [firebase_auth] Update platform interface version to 1.1.7

* Update changelog
…tSnapshotPlatform and FieldValueFactoryWeb (#2105)

* [cloud_firestore_web] Ensure FieldValueFactoryWeb encodes params.
* [cloud_firestore] Ensure `DocumentSnapshotPlatform` is well encoded.

Also tweak some integ tests so everything passes now, in Android.

Fixes #2044
* Update project.json

* only update platform interface plugins
…2166)

This change ensures that the package:firestore Query objects are created with properly encoded values when done so from the start/end (pagination) methods.

This also adds some Timestamps to the unit tests to verify the behavior of Timestamp -> DateTime in the web implementation.

(There are some integration tests in cloud_firestore that cover this behavior further.)

Fixes #2153

* [cloud_firestore_platform_interface] Fix 'equal_keys_in_map' lint (unrelated fix, but this change triggered an analysis in a sibling package)
#2209)

Even though my last push didn't have conflicts with the base branch,
there was a change that I missed:

4d7b2bd#diff-e36a6cd96b7ef43422dfb1197627e7f8

I fixed the same issue in my change, but deleting the OTHER 'source' key
in the map:

bd9bcd4#diff-e36a6cd96b7ef43422dfb1197627e7f8

This commit reverts my part of the change, so tests pass again.
* [firebase_storage] Add macOS support

* Remove UserAgent

Co-authored-by: Francisco Magdaleno <[email protected]>
@Eddydpyl Eddydpyl merged commit dafc188 into Eddydpyl:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.