Commit Graph
480 Commits
Author SHA1 Message Date
Chen Liang 51ded3fefb should not persist context message ID in loggedMessageIDs (#3670) 2019-08-26 11:13:50 -07:00
Paul Beusterien d70c873654 Release 6.7.0 (#3646) 2019-08-21 15:41:58 -07:00
Paul Beusterien 2741ec345d Move two internal iid headers to private for RC open sourcing (#3621) 2019-08-19 07:41:57 -07:00
Chuan Ren 1c42c8efbe Add support of GSI 5 (#3611) 2019-08-16 09:26:55 -07:00
Paul Beusterien ce0386a24e Lock GoogleSignIn to major version 4 (#3608) 2019-08-15 16:50:41 -07:00
Chuan Ren ca19aba3c4 Update email test can now handle email conflict (#3577) 2019-08-14 17:30:40 -07:00
Ryan Wilson 615c20cf17 Ensure Messaging instance is usable after FIRApp's delete (#3579)
* Ensure Messaging instance is usable after FIRApp's `delete`

This fixes #3411. Test fails before the code change, and succeeds
afterwards.

* Update CHANGELOG.md

* Use Bug number instead of PR number
2019-08-14 15:06:22 -04:00
Paul Beusterien dbd960db22 Add interop API to prepare for RC open sourcing (#3582) 2019-08-13 18:23:59 -07:00
Chen Liang eade6bd374 kill debug assert and unnecessary macros (#3556) 2019-08-13 14:11:59 -07:00
Paul Beusterien 0f856905f0 Run Auth integration tests only in Auth travis phase (#3573) 2019-08-13 08:27:00 -07:00
dmandar b3bebbdc3f Add support for initializing custom domains without Core. This is required for 1P. (#3540) 2019-08-08 18:52:28 -07:00
Chen Liang f090a3cb80 remove internalHeader folder whose file is only used in unit test (#3537) 2019-08-08 13:00:47 -07:00
Paul Beusterien f3cc48a944 IID unit test update for Catalyst (#3534) 2019-08-08 09:57:39 -07:00
Chen Liang 5f0118d61f Update all the header path to pod repo relative (#3527)
* update all the path to pod repo relative

* fix a few missed out headers

* reorder the headers
2019-08-08 09:50:35 -07:00
Chen Liang 564e33834d use repo-root relative path for unit test files (#3515) 2019-08-07 17:00:01 -07:00
Paul Beusterien 24a58ad86a Release 6.6.0 (#3518) 2019-08-07 11:03:41 -07:00
Paul Beusterien 3b1ebfdc70 Update Database for Catalyst (#3512) 2019-08-07 06:55:51 -07:00
Chuan Ren c67c32afda Add table view index to the sample app (#3513) 2019-08-06 14:35:48 -07:00
Sebastian Schmidt c706ce9508 Support the RTDB emulator (#3491) 2019-08-05 16:54:37 -07:00
Sebastian Schmidt 9bfbb9ece0 Enable clang-format for RTDB (#3506) 2019-08-05 13:27:47 -07:00
Chuan Ren 91770e3317 Make sure the first valid auth domain is retrieved (#3493) 2019-08-02 11:40:58 -07:00
Chuan Ren a55467a225 Unify naming of keychain services and user defaults (#3473) 2019-07-31 13:24:16 -07:00
Chen Liang 5c26ae4e01 Always call getToken before subscription/unsubscription (#3438) 2019-07-30 13:59:29 -07:00
Paul Beusterien 55463b1551 Update to latest version of FirebaseAnalyticsInterop (#3463) 2019-07-29 16:39:29 -07:00
Collin Jackson 526a1adda2 fix for signInProvider property of FIRAuthTokenResult returning nil (#3446)
* fix for signInProvider

* Add a test

* Use constant
2019-07-29 11:19:43 -07:00
Collin Jackson a69b8d2e2d providerID should be nil in additionalUserInfo for signInAnonymouslyWithCompletion: (#3452)
* Testing for additionalUserInfo when signing in anonymously
2019-07-29 11:18:45 -07:00
Maksym Malyhin f2536cf71f FirebaseApp: send Core Diagnostics data on appDidBecomeActive (#3437)
* FIRApp: send CoreDiagnostics data on appDidBecomeActive.

* ./scripts/style.sh

* Renaming.

* FIRAppTest: stub  FIRCoreDiagnosticsConnector to avoid invoking FIRCoreDiagnostics methods in the tests.

* Run ./scripts/style.sh

* Rename to `logCoreTelemetry`
2019-07-29 06:56:09 -04:00
Chuan Ren 8dcac966e5 Fix an email unlink bug (#3442) 2019-07-26 14:54:34 -07:00
Maksym Malyhin 2bcdeb6b6a CoreDiagnostics tests code style. (#3423) 2019-07-25 09:34:25 -04:00
Maksym Malyhin f1d0ecc8dc CoreDiagnostics: set missing flag has_sdk_name for heartbeats. (#3422)
* CoreDiagnostics: set missing flag `has_sdk_name` for heartbeats.

* Validate `has_sdk_name` in tests.
2019-07-24 13:49:39 -04:00
Paul Beusterien 35b9f31af2 Update versions for Release 6.5.0 (#3388) 2019-07-19 10:33:02 -07:00
Michael Haney 783ee5b126 Implement Firebase CoreDiagnostics (#3129)
* Implement CoreDiagnostics interop

For use by FirebaseCore.

Please pay special attention to the changes in FIRApp, I've replaced passing FIRApp in the notification with a data object that will eventually replace the same information that FIRDiagnostics extracted.

* Add CoreDiagnosticsInterop to the Example Podfile

* Style and xcodeproj updates

* Update Podfiles that dep on FirebaseCore

So that they also have a dep on FirebaseCoreDiagnosticsInterop

* ran pod deintegrate to remove unintended xcodeproj changes

* Fix Podfile paths

* Add FCD to if_changed and travis.yml

* Fix building with Firestore

* Style

* Whitespace

* Fix a changed internal API

* Make pod paths consistent

* Restore connectivity_monitor_noop.cc style

* Remove logging prior to [FIRApp configure]

Also remove sendLogsWithServiceName:version:

* style

* Remove nil checks from diagnostics data

* Put back some deleted symbols

* Restore the sendLogsWithServiceName:version: method, but as a no-op

* Restore the original version of sendLogs...

* Allow an unused parameter

* Remove obsolete nsnotificationcenter related stuff

* Whoops, missed the header change.

* Final changes to support FIRCoreDiagnostics

These changes are necessary because FIRCore has a hard dep on FIRCoreDiagnostics (FIRCD) and FIRCoreDiagnosticsInterop.

Components can't be used because FIRCD would need to have a hard dep on FIRCore to get access to FIRLibrary, FIRComponent, FIRComponentContainer, and FIRComponentCreationBlock and this would create a dep cycle. So, an extern has been put into the interop lib and the variable is implemented in the connector class inside of FIRCore, but it's unset. FIRCD actually sets that variable in +load, allowing use of FIRCD.

FIRCD can also be removed as a dependency with no ill effect by end users setting the environment variable DISABLE_FIREBASE_DIAGNOSTICS=1

* Add nanopb and project generation infrastructure

* Convert FIRCoreDiagnostics to canonical nanopb, and move to OSS.

* Remove custom build steps for CoreDiagnostics

* Addressing review comments

* Update versions, tags, and port the relevant unit tests for FIRCD

* Version and platform fixes

* Fix podspec expected tags

* A hack to solve a chicken-and-egg problem with pod lib linting.

* Heartbeat implementation

* FIRDiagnosticsDateFileStorageTests

* Fix tests for non-iOS platforms

* Heartbeat tests

* Fix initialization.

* Cleanup Installation ID.

* Fix testProtoPopulation.

* Merge conflict fix

* Typo fix.

* Remove FIRCore dep from FIRCD unit tests and move symbols to interop

* Run ./scripts/style.sh

* Typo

* #ifdef comment

* File license header.

* Import FIRDiagnosticsDateFileStorage.h using relative path.

* FIRDiagnostics -> FIRCoreDiagnostics

* Docs syntax

* Docs

* Docs typo

* Add shared variables to the interop lib

I know this goes against the convention, but it's actually the only way to resolve this very unique problem.

* Fix comment

* Style

* Removed lib version passing.

* Remove env checking for conditional deps

* Style

* Address whitespace issues

* Add copyright notice

* Add new deps to Podfiles

* Fix trailing space

* Some changes to fix working in an extension.

* Fix type in Podfile

* GDT: begin/end background task only for iOS and TVOS applications.

* Fix typo

* Style

* Stop sharing kFIRService strings across pods

* Travis test

* Change all TARGET_OS_TVOS macros to TARGET_OS_TV

TARGET_OS_TVOS doesn't exist.

Also macro out a UIApplication reference.

* style

* Update all Podfiles with deps on FIRCore

* Fix trailing whitespace

* Update Firestore cmake

* Fix FIAM build break (#3254)

* Additional cmake changes

* Fix linker issue with deprecated CoreDiagnostics (#3257)

* Adding more deps to cmake

* Fix linker error (#3266)

* Rerun only IAM tests

* whitespace

* No xcpretty or frameworks run

* Fix typo

* Revert "No xcpretty or frameworks run"

This reverts commit afc1abba37.

* Revert "whitespace"

This reverts commit fd06955a56.

* Revert "Rerun only IAM tests"

This reverts commit 98ce07600f.

* Run travis on this branch

* Add support for expanding PODS_TARGET_SRCROOT in CMake (#3267)

* Fix a few things that should have been splatted but weren't

* Define PODS_TARGET_SRCROOT in CMake for compatibility with CocoaPods

* Compile pods we depend upon with looser settings

* Rename the nanopb dependency to match what CMake actually has

* Make #include <nanopb/pb.h> work

Remove the old way of #include <pb.h> once we change the Firestore
nanopb generator to match.

* Fix warnings that fail the build

* Remove typed enum and fix a comment.

* Fix an import

* Change a line so it's not altered by Copybara

* More changes to stop copybara from altering the wrong sources

* Remove trailing whitespace

* Fix copybara modifying python.

* Add additional field in firebasecore.proto (#3273)

* Remove the dependency on interop to populate a shared variable.

* style

* Create travis jobs for FirebaseCoreDiagnostics (#3245)

* Create travis jobs for FirebaseCoreDiagnostics

And update the pod lib lints for GDT.

Remove the mph-master branch before merging to master.

* Add support for FIRCD to if_changed.sh

* Adjust tests

* Unavailable init methods should not be nullable (#3276)

* Allow firestore api to work with Codable objects + ExplicitNull + Integration tests (#3261)

* Convinience api for codables

* Integration Tests

* ExplicitNull implementation

* Update to CocoaPods 1.7.3 (#3280)

* Import GULLoggerLevel.h via public framework header (#3277)

* Put the need to include Firestore/Source/Public in the podspec (#3288)

This removes the need to munge the pods project after the fact and makes
it so that customers can click through to our headers too.

* Ensure Storage initializer doesn't get called (#3294)

* FIROptions.appGroupID introduced (#3293)

* Use a consistent set of dependencies on all platforms (#3289)

* Use a consistent set of dependencies on all platforms

* pod install for uniform dependencies

* Store the coerced base value in the BaseMutation (#3292)

* In card message: set the text color on the body text view (#3286)

* In card message: set the text color on the body text view

* Fix bug where card messages in test app were showing up with two of the same buttons

* Revert change to text color

* [docs] add missing semicolon (#3305)

Add missing semicolon to code example

* Add explicit Foundation import. (#3309)

This is causing issues when building an XCFramework.

* Pass the correct compiler flag for CoreDiagnostics. (#3312)

* Pass the correct compiler flag for CoreDiagnostics.

When CoreDiagnostics is open sourced, we'll need to ensure that the
right compiler flag is passed. This doesn't add support for Carthage yet
but allows the frameworkbuilder to pass the flag for carthage as well.
An update to the zipbuilder to allow for carthage will follow shortly.

* Remove accidental change.

* Fix and rewrite sync_project.rb (#3296)

* Fix and rewrite sync_project.rb

Ever since we added multiple platforms, removing a file has been broken.
This fixes that issue.

Also, rewrite target synchronization to make more sense. Essentially now
there's one diff between the filesystem and the groups and then an
explicit diff is done between project files and target contents.

* Run sync_project.rb on post-install

* pod lib linting should output something every minute while running

* DEBUG: This commit should be reverted

* DEBUG: This commit should be reverted

* DEBUG: This commit should be reverted

* Remove mph-master from travis

* Fix constant name conflic between old and new diagnostics (#3329)

* Rename kFIRDiagnosticsHeartbeatDateFileName -> kFIRCoreDiagnosticsHeartbeatDateFileName to avoid conflicts with FIRDiagnostics.

* Travis: temporary add `mph-master` to run tests.

* Rempve mph-master again

* Fix imports in FIRCDConnector

* Fix another import

* Fix yet another import

* Attempt to read crashing test logs from disk

* Implement printing of failed/crashed test logs.

* Print only crashed tests, rmdir between runs

* Revert reading crashing log changes

* Write CHANGELOG for all new FIRCD associated libraries

* Change all GUL deps to >= 6.2

* Revert ZipBuilder changes and do some last bits of cleanup

* Remove an assertion and populate an error instead
2019-07-18 09:54:06 -07:00
Ryan Wilson a5da88d3c1 Fix unaccessible init in FDL tests. (#3338)
This causes a breakage with internal tests.
2019-07-12 13:44:42 -04:00
Maksym Malyhin 3238603bbb Update versions for Release 6.4.0 (#3324) 2019-07-09 18:24:15 -04:00
Chuan Ren 69fad8d60a Migrate auth api tests to a dedicated firebase project (#3318) 2019-07-09 09:36:22 -07:00
Maksym Malyhin c665b6e94e FIROptions.appGroupID introduced (#3293) 2019-07-02 17:09:03 -04:00
Paul Beusterien 4e9fdab905 Reenable CocoaPods CDN (#3271) 2019-06-27 10:08:24 -07:00
Ryan Wilson d22192659c Fix indentation of database test helper class. (#3263) 2019-06-26 10:16:51 -04:00
Morgan Chen d6af8615e2 Fix token fetch not invoking callback for unchanged token (#3251) 2019-06-25 10:47:59 -07:00
Ryan Wilson 3374daafd8 Merging the 6.3.0 release into master (#3217)
* Update versions for Release 6.3.0

* Revert "Raise exception when log into Facebook using OAuth.  (#3138)" (#3208) (#3209)

This reverts commit 393d060710.
2019-06-19 16:28:25 -04:00
Sebastian Schmidt 143caf95a3 Storage: Add List API (#3176) 2019-06-13 12:01:29 -07:00
Morgan Chen 93307d253e Disable CocoaPods CDN in pod installs (#3165) (#3166) 2019-06-10 17:58:32 -07:00
Paul Beusterien daab8e3d11 Add FirebaseAuth test_spec (#3123) 2019-06-05 20:33:21 -07:00
Yue-Wang-Google 0da5d91574 Add Sign in with GitHub headful lite to sample app (#3140) 2019-06-04 16:52:09 -07:00
Paul Beusterien fdbdbb489a Update versions for Release 6.2.0 (#3134) 2019-06-04 09:39:57 -07:00
Chuan Ren df418c71f6 Update AccountInfoTests.m (#3125) 2019-06-03 10:34:44 -07:00
Paul Beusterien 52e42c0fe7 Use CocoaPods CDN (#3124) 2019-06-03 10:09:26 -07:00
Paul Beusterien d2fd372aa9 DynamicLinks test_spec (#3115) 2019-05-31 15:43:49 -07:00
Chen Liang 7eb1747e4b Adding macOS support for Messaging and InstanceID (#2880) 2019-05-30 15:31:38 -07:00
Yue-Wang-Google 12ab9b658f Add Twitter, LinkedIn, Yahoo OAuth provider to sample app. (#3117) 2019-05-30 14:16:16 -07:00