Commit Graph
16 Commits
Author SHA1 Message Date
Benoit St-Pierre 4090195f15 Database Interop (#1865)
* Register Database with Interop

+ Add AuthInterop dependency
+ Have Database register with Interop component container
+ Add weak dependency on Auth
~ Cleaned up imports

* Use Interop for Auth token fetching

+ Use macro to get auth component
~ Change `getTokenForcingRefresh:withCallback:` call to use Interop component version of Auth
~ Clean up imports

* Implement necessary protocols

+ Added FIRComponentRegistrant and FIRDatabaseNilProtocol to FIRDatabase

* Squash of my previous local commits for Database Interop

Register Database with Interop:

  + Add AuthInterop dependency
  + Have Database register with Interop component container
  + Add weak dependency on Auth
  ~ Cleaned up imports

Use Interop for Auth token fetching:

  + Use macro to get auth component
  ~ Change `getTokenForcingRefresh:withCallback:` call to use Interop component version of Auth
  ~ Clean up imports

Implement necessary protocols:

  + Added FIRComponentRegistrant and FIRDatabaseNilProtocol to FIRDatabase

Clean up Database tests:

  - Removed all unnecessary header files
  ~ Ran style.sh across all the tests

Cleaned Up project file:

  Some header removals were missed in the last commit.

Sorted some test files

Fix Database Fake App Tests:

  + Added container property
  + Added an Auth fake in the container
  + Added the Shared utils files to the necessary targets
  + Added a missing XCTest reference in a test that didn't compile for me

* Revert "Squash of my previous local commits for Database Interop"

This reverts commit c0d0421237.

* Cleaned Up project file

Some header removals were missed in the last commit.

* Sorted some test files

* Fix Database Fake App Tests

+ Added container property
+ Added an Auth fake in the container
+ Added the Shared utils files to the necessary targets
+ Added a missing XCTest reference in a test that didn't compile for me

* PR Feedback Changes

+ Created new FIRDatabaseComponent class to encapsulate instance creation
+ Updated FAuthTokenProvider to only use an auth instance rather than an app.

* PR Feedback Follow-Up

- Removed FIRDatabase registration code

* pod deintegrate

* Move instance management

Somes tests may still be out of date.

* Fix Auth integration test

* pod deintegrate -- again

* PR Feedback

* PR Feedback

Added the FIRComponentLifecycleMaintainer protocol to FIRDatabaseComponent

* Update Firebase/Database/Api/FIRDatabaseComponent.m

Missed some small changes

* Get integration tests compiling

* Fix some tests

* Fixed more tests

Component needs to be cacheable in order to get the appWIllBeDeleted callback.

* Update target memberships

* Revert project file changes

* Add FIRAuthInteropFake for broken targets

* PR feedback

* Spacing and Style

* Moved `instances` to ivar

* Simplify FIRDatabaseDictionary

It's now keyed on the URL with the app being implied since each app will get its own `FIRDatabaseComponent`
2018-11-19 07:36:05 -05:00
Paul Beusterien fc2c234b59 Restore SafariServices framework (#2002)
* SafariServices not available on tvOS and not used on osx
2018-10-25 09:42:45 -07:00
Paul Beusterien 420dfc257b Comply with c99 standard (#1992)
* Trigger travis for Firestore podspec changes
2018-10-24 11:04:00 -07:00
Paul Beusterien 1e8fc1ac13 Update versions for Release 5.8.0 2018-09-05 13:21:46 -04:00
Paul Beusterien ac3654572e Update versions for Release 5.4.0 2018-06-27 07:57:56 -07:00
Ryan Wilson 21c17dd188 Bump version numbers for 5.1.0 (#1320)
* Bump version numbers for 5.1.0

* Update push pods script for releasing SDKs.

* Fix Core library version string.
2018-05-23 10:31:30 -04:00
Paul Beusterien 4f754ba72e community not experimental 2018-04-25 08:34:10 -07:00
Paul Beusterien 71aaeb57b1 Remove non-technical FirebaseAnalytics dependencies (#1130) 2018-04-25 08:34:10 -07:00
Paul Beusterien d1ee622dfb podspec updates for Firebase 5 2018-04-25 08:34:10 -07:00
Paul Beusterien 85dc1d4ec9 Version bumps for Firebase 4.10.0 (#859) 2018-02-27 07:25:18 -08:00
Paul Beusterien ef55eeff42 Require official 1.4.0 for min CocoaPods version (#806) 2018-02-16 07:43:20 -08:00
Benoit St-Pierre d5012f3fec Version bump for 4.8.1 Release
Updated the version numbers of pods which are being released in 4.8.1
2018-01-11 12:30:04 -05:00
Paul Beusterien f08b5044d6 Add Community Supported tvOS (#590)
Add Community Supported tvOS for Core, Auth, Database and Storage.
Add tvOS unit tests
Add tvOS sample app
Update README.md
Add tvOS to travis testing
2018-01-03 12:12:22 -08:00
Kyle Ju e16c38688b Update component versions for Firebase 4.8.0 (#561) 2017-12-12 17:24:19 -05:00
Paul Beusterien 53d2359f00 Update component versions for Firebase 4.7.0 (#497) 2017-11-28 07:26:57 -08:00
Paul Beusterien 3e592526ec Buildable and interoperable source pods (#444) 2017-11-21 17:02:22 -08:00