Commit Graph
80 Commits
Author SHA1 Message Date
Paul Beusterien c24966dcd8 [auth-swift] Build and test Sample with SPM instead of CocoaPods (#12924) 2024-05-08 16:56:43 -07:00
Paul Beusterien 3d09cc0ca6 Merge remote-tracking branch 'origin/main' into auth-swift 2024-01-02 14:18:05 -08:00
Nick Cooke 16ddaabbc1 [Infra] Move ClientApp/ out of repo root (#12218) 2023-12-26 19:00:01 -05:00
Paul Beusterien 7d82f4e3af Merge origin/master to auth-swift 2023-10-06 15:17:37 -07:00
Nick Cooke bb1dd5754c [Config] Move 'ClientApp' out of 'SwiftPMTests' directory (#11741) 2023-08-29 16:31:24 +00:00
Nick Cooke ab7228ef6b [Config] Add CocoaPods test app to test library imports (#11734) 2023-08-29 10:40:47 -04:00
Paul Beusterien c378630c2c [auth-swift] Swift Sample App Groundwork (#11651) 2023-08-07 11:55:59 -07:00
AashishandPeter Friese 67ae9555da [Messaging] Standalone Watch App Sample (#10552)
* [Messaging] Standalone Watch App Sample

* Add comment on disabling method swizzling

* Add dividers

* Rename to notificationCenter

* Add README with instructions

* Fix whitespace

* #no-changelog, build regression test

* fixes to yml and scripts for sample

* Add podfile

* podfile fixes

* podfile fixes

* Make project format xcode 13 compatible

* fix scheme in build.sh

* fix reference to service info file

* fix assets compile failure

* fix podfile linkage

Co-authored-by: Peter Friese <peter@peterfriese.de>
2022-12-07 11:00:51 -08:00
Paul Beusterien e408699a85 Run CI on macos12 (#9745) 2022-05-05 12:03:28 -07:00
Paul Beusterien e979c6c0d7 Remove never released Firebase Segmentation (#9215) 2022-01-18 11:29:06 -08:00
Chen Liang fdeb13df42 Reuse the content view from other test app in the new SwiftUI test app (#9176) 2022-01-10 14:34:06 -08:00
Paul Beusterien e74765ae08 Canonical directory structure for Functions (#8918) 2021-11-02 16:38:55 -07:00
Peter Friese fb3654167d Merge branch 'master' into combine-main
Signed-off-by: Peter Friese <peter@peterfriese.de>

# Conflicts:
#	.swiftpm/xcode/xcshareddata/xcschemes/Firebase-Package.xcscheme
2021-04-14 11:08:14 +02:00
Paul Beusterien b163ec5058 Firebase pod support for watchOS for RC and RTDB (#7841) 2021-04-05 11:41:33 -07:00
Peter Friese 1a9076eeb8 Merge branch 'master' into combine-main
Signed-off-by: Peter Friese <peter@peterfriese.de>
2021-02-15 11:57:03 +01:00
manjanac 37ff45e5d4 Sample app (#7240)
* Restores ML Pods after M77.

* Fix Package.swift

* Re-add catalyst to GHA workflow.

* Sample app for model downloader.

* Lint fix.

* Lint fix.

* Lint fix.

* Copyright fix.

* Update sample app to point to latest branch.

* Add public init to ModelConditions.

* Make Podfile point to latest changes on master.

* Make Podfile point to latest changes on sample-app.

* Add build test to GHA.

* Fix GoogleService-Info.plist path.

* Fixed typo in README.md

* Update Podfile to point to local SDK for testing.

* Update Podfile to point to local SDK for testing.
2021-01-27 10:20:56 -08:00
Peter Friese d90594069a Add basic support for Combine (#6976)
* 🎉 Add basic infrastructure for supporting Combine in Firebase
* ✨ Add publisher for AuthStateListener
* 💉 Add podspec for FirebaseCombineSwift
* 🖋️ Add changelog
* 👩🏻‍🔬 Add basic test infrastructure
* 📦 Export combine support on a per-SDK basis
2021-01-13 17:13:46 +01:00
Paul Beusterien 5dac2bf4df Update sample app for Firebase 7 and add build test to CI (#6949) 2020-11-11 14:15:22 -08:00
Paul Beusterien 40b805bccd Fix RemoteConfig sample (#6113) 2020-07-23 10:01:02 -07:00
Paul Beusterien e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 2020-06-24 14:09:46 -07:00
Paul Beusterien 4f0196bb2b Delete unused travis code (#5696) 2020-05-28 17:00:57 -07:00
Paul Beusterien 66a44cb4f8 Migrate RTDB to GHA (#5681) 2020-05-27 09:29:27 -07:00
Sebastian Schmidt 885f296f3b Update Database tests to run against the emulator (#5650) 2020-05-20 23:12:10 -07:00
Doudou Nan a2fbd12168 Build GDTCCT watchOS test apps in GHA (#5495) 2020-04-29 11:58:54 -07:00
Chen Liang dabfd91dea Move messaging sample app to the new FirebaseMessaging folder (#5476) 2020-04-27 16:31:17 -07:00
Paul Beusterien 629c2ae20d Fix InstanceID cron build regression (#5468) 2020-04-27 10:54:34 -07:00
Chen Liang ed52d0d8f6 Add a new firebase messaging test app using swiftui (#5301) 2020-04-08 20:12:26 -07:00
Paul Beusterien df75e500b0 Migrate Auth to canonical directory structure (#5318) 2020-04-08 17:52:56 -07:00
Paul Beusterien 7593515f9e FirebasePod, SymbolCollision and Interop tests to GHA (#5273) 2020-04-03 10:36:24 -07:00
Gil 69d6ee794b Add a travis output filter (#4866)
* Use a travis-optimized output filter with xcpretty

* Capture and show raw xcodebuild log on failure
2020-02-10 10:26:39 -08:00
Gil 9d202ae761 Drop support for building Firestore with Xcode 8 (#4842) 2020-02-06 17:37:16 -08:00
Paul Beusterien dc85cd9339 Update secrets for QuickStart test fix (#4815) 2020-02-04 15:20:13 -08:00
Gil 36c29e4451 Prepare build scripts for building Firestore on GitHub Actions (#4764)
* Make build.sh cases match script argument order

* Allow install_rereqs to take command-line arguments

* Group Firestore rules together

* Make build.sh work on Linux too

* Invoke setup_bundler.sh from install_prereqs.sh

Also fix typos in setup_bundler.sh

* Get install_prereqs.sh to run on Linux

* Fix Xcode 8 version checks in install_prereqs.sh

* Ensure that PLATFORM is in the environment.
2020-01-29 15:34:58 -08:00
christibbs 48aa5ed5ee FIAM Consolidation (#4705)
* Move display SDK source and resources into FIAM SDK

* Change files prefixed with FID to be prefixed FIRIAM

* Restructure example apps in firebase-ios-sdk directory

* Fix directory structure for FIAM

* Move proto files into base directory

* Fix up proto files

* Move unit test files to Firebase/InAppMessaging/Tests

* Move FIRIAMSDKModeManagerTests and require app host in podspec

* Move sample apps to tests folder

* Add empty repo for FIAMDisplay that generates a warning

* Fix up functional tests app

* Fix up default UI test app

* Re-generate protos

* Add warning to remove display pod

* Remove display podspec from .travis.yml

* Remove trailing whitespace

* Fix import in test app

* Add changes to point to the default test app

* Wrap iOS version conditionals

* Add line in podspec about deprecation

* Delete whitespace in podspec

* Delete pods section in project file

* Update changelog with consolidation info

* Fix indentation in podspecs

* Fix some import issues

* Fix indent on FirebaseInAppMessaging.podspec

* Delete FirebaseInAppMessagingDisplay, update podfile for external test app

* Update podfiles, bump iOS min version to 9, remove iOS 9 checks in FIRIAMActionUrlFollowerTests

*  Add line in CHANGELOG referencing deletion of display sdk pod

* Remove unused podfile

* Update min version on Podfiles to iOS 9

* Add back FirebaseInAppMessagingDisplay.h

* Add iOS support message to CHANGELOG.md

* Wrap necessary deprecated iOS 9 call
2020-01-22 10:57:00 -05:00
Gil a5727ac00e Cache ccache output (#4611)
This should reuse object files from unchanged sources between builds.

This brings a rebuild of the Firestore CMake build down from 20 min 37 sec,  to 9 min 13 sec:

  * Before: https://travis-ci.org/firebase/firebase-ios-sdk/jobs/635423433
  * After: https://travis-ci.org/firebase/firebase-ios-sdk/jobs/635295223

#no-changelog
2020-01-11 17:00:08 -08:00
Jason Hu 355131cc21 Enable CI for Crashlytics (#4630) 2020-01-08 16:54:11 -05:00
Paul Beusterien efa9bd9cd4 Remove Firebase xcode project (#4588) 2020-01-03 12:19:41 -08:00
Paul Beusterien b6cd99e30a Update Firebase Storage directory structure (#4573) 2020-01-03 07:22:33 -08:00
Maksym Malyhin 942a23dc17 FirebaseInstanceID integration tests (#4560)
* InstanceID integration tests

* ./scripts/style.sh

* Travis: run install_prereqs.sh for IID

* install_prereqs.sh: run `install_secrets` for IID

* Flag to disable IID integration tests

* Travis: IID disable integration tests for forks.

* ./scripts/style.sh

* Temporary disable IID test due to b/147102327

* Travis: IID integration tests enabled for all IID builds.
2020-01-02 19:29:29 -05:00
Paul Beusterien 6aea0af5db Run QuickStart Integration Tests from CI (#4567) 2020-01-02 10:27:52 -08:00
Paul Beusterien 7481e8b97f travis job consolidation for Core, GDT, and FIAM (#4385) 2019-11-22 16:57:08 -08:00
Paul Beusterien d8e3a11bb1 Restore Firebase pod to closed source location (#4112) 2019-10-17 09:45:04 -07:00
Paul Beusterien 5895838392 Add Firebase Pod to the repo (#4021) 2019-10-08 14:57:07 -07:00
Paul Beusterien 4c19a13651 Make FIAM tests more robust in Travis (#3952) 2019-09-30 15:32:03 -07:00
Paul Beusterien bb563c8497 Migrate travis to Xcode 10.3 and single platform builds (#3714) 2019-08-29 12:26:30 -07:00
Maksym Malyhin 89bae97cd5 Firebase Installations: integration tests on Travis (#3652) 2019-08-27 17:43:49 -04:00
Gil c42bf815a5 Fix Firestore builds under Xcode 8 (#3647)
* Fix Firestore builds under Xcode 8

* FirebaseCore must be a local pod

Otherwise pod install won't pick up local edits to that podspec
2019-08-21 17:15:57 -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
Chuan Ren 69fad8d60a Migrate auth api tests to a dedicated firebase project (#3318) 2019-07-09 09:36:22 -07:00
Paul Beusterien 4e9fdab905 Reenable CocoaPods CDN (#3271) 2019-06-27 10:08:24 -07:00