Commit Graph
144 Commits
Author SHA1 Message Date
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Maksym Malyhin dfffd85572 FIS: disable IID migration tests by default (#6619)
* FIS: disable IID migration tests by default

* remove redundant env variable

* Fix merge errors
2020-10-01 16:08:39 -04:00
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
Paul Beusterien 204f483225 Add static-framework testing to CI (#6599) 2020-09-30 10:38:22 -07:00
Gran 5ce6167b3a Update versions automation (#6550) 2020-09-24 14:28:05 -07:00
Ryan Wilson f6642efced Refactoring archive testing to a single yml file. (#6510)
* Refactoring archive testing to a single yml file.

This reduces the duplication in each of the workflow files. This also
will make archive testing with SwiftPM more straightforward.

* Prefixed with 'pod' name

* Commenting out to run archive testing on PR for now.

* Put array on single line

The yml won't be parsed unless the `pod` array is on a single line.

* Fix to run on PRs to the yml itself.

* Fix naming of AppDistro

* Remove schemes.
2020-09-24 12:07:21 -04:00
Paul Beusterien f3b8461157 SwiftPM for FCM (#6541) 2020-09-23 13:55:15 -07:00
Paul Beusterien 0c6dd55adc Use Xcode 12 in CI instead of the beta (#6542) 2020-09-23 13:40:07 -07:00
Gran 9f8d395637 Add release candidate prerelease workflow. (#6487)
This also update cocoapods source to cocoapods repo since cdn is failed to connect.
2020-09-22 19:46:23 -07:00
Paul Beusterien c03bbf7203 Update dependent Swift repo to fix CI breakage (#6514) 2020-09-21 15:26:10 -07:00
Gran b7fc8997cd Update release workflow (#6481) 2020-09-17 10:29:53 -07:00
Gran fcfe9eea19 Test workflows with tag. (#6423) 2020-09-11 14:53:40 -07:00
Paul Beusterien b7ab23b7c0 SPM test infra fixes (#6427) 2020-09-10 07:32:57 -07:00
Gran 1922510a27 Update path able to be read in sed (#6412) 2020-09-08 10:56:19 -07:00
Maksym Malyhin 02fd66d4e1 Functions: replace InstanceID by Messaging (master) (#6395)
* FIRMessagingInterop introduced

* Typo fix

* Use FIRMessagingInterop in functions

* Functions tests fix

* Delete FUNInstanceIDProxy

* InstanceID cleanup

* ./scripts/style.sh

* Reduce FIRMessagingInterop to required minimum

* Cleanup

* Functions changelog

* Fix FIRMessagingInteropFake.h import

* Update integration tests

* Fix start.sh script

* GHA: add FCM interop to funstions paths
2020-09-03 14:45:56 -04:00
Gran 7da6c9faa3 Add release tests. (#6389) 2020-09-02 11:00:40 -07:00
Gran 3c943f08ed Update tool of pushing podspecs. (#6370) 2020-09-01 16:12:57 -07:00
Gran 90a1aff41d Update release workflow to update spec repo. (#6335) 2020-08-28 15:29:08 -07:00
Ryan Wilson bdf84c0a7b Archive testing on GHA (#6338)
* Testing generating archives on GHA

* Removed unnecessary quotes.

* Fix arguments again.

* Attempt to archive macOS and tvOS too

* Fix naming

* arg parsing

* Fix parentheses style.

* End case for bash script.

* Try Catalyst support, too.

* Try Catalyst support, too for real.

* Catalyst again

* Revert Catalyst build.

This was wrong (scheme should have been App-iOS) but then that failed
with a different error:

```
firebase-ios-sdk/gen/FirebaseCore/Target Support Files/nanopb/nanopb-prefix.pch:2:9: fatal error: 'UIKit/UIKit.h' file not found
        ^~~~~~~~~~~~~~~
1 error generated.

```

I'll revert it for now and address later.

* Add ALL THE SDKS

* Run on cron job only

* Removed Installations test.

* Remove uploading of archive, print size on disk

* Temporarily run Core on PRs for testing.

* Re-enable cron only for Core.
2020-08-27 13:34:08 -04:00
Paul Beusterien c13201babf Delete done TODO (#6323) 2020-08-24 07:08:35 -07:00
Paul Beusterien 6c5e04df03 Unit tests don't run for watchOS (#6273) 2020-08-13 14:34:10 -07:00
Paul Beusterien 508f29dff7 Add distributed SPM CI builds and tests (#6271) 2020-08-13 13:50:56 -07:00
Brian 7c3235d511 Crashlytics watchOS support (#6262) 2020-08-13 11:05:30 -07:00
Ryan WilsonandHarri Hohteri 5fb9d2a448 watchOS support for FirebaseAuth. (#6260)
* watchOS support for FirebaseAuth.

This is a redo of #5585, which was a re-implementation of #4632. This
ignores any changes to GoogleUtilities, those will be done in a later
PR to create a common KeyedArchiver utility.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>

* Fixed lint errors, added GHA tests.

* Enabled GHA for PRs as well.

Co-authored-by: Harri Hohteri <harri.hohteri@gmail.com>
2020-08-12 16:13:45 -04:00
Paul Beusterien 202df4134d Update swiftformat and control its version via mint (#6229) 2020-08-07 17:05:17 -07:00
Paul Beusterien e2214e2dd3 SPM - Initial Analytics (#6215) 2020-08-06 14:08:25 -07:00
Paul Beusterien 67948dac3c Speedup SPM presubmit (#6184) 2020-08-03 09:02:17 -07:00
16e062c355 Switch App Distribution SDK from AppAuth to FirebaseInstallations (#6126)
* Adding error handling and returning correct error codes

* * Handling auth cancellation a few other error cases

* Adding some logging for EAP (Using NSLogs temporarily. DONOT MERGE)

* Add in a setter for clientID to allow overrides (#5514)

* Add in a setter for clientID to allow overrides

* Update styling

* Adding some result parsing logs

* Fixing code hash logging

* Add FirebaseAppDistribution to ZipBuilder

* * Making sure keychain is accesible after first unlock even if app is backgrounded (#5563)
* Fix auth persistence logging and invalid type casting (#5631)
* Logging app id requesting releases (#5655)

* AppDistribution keychain access fixes (#5683)

* Using the GULKeychainUtils instead of custom keychain utility. Also added better logging

* Updating keychain name and fixing tests

* Code review feedback updates

* Making serviceID unique per app

* Adding gmp app id to the keychain along with the bundle id

* Moving Keychain Utility functions in the AuthPersistence class and deleting the utility class

* Lazy initialize auth state (#5755)

* Lazy initialize auth state

* Making sure we dont log an error is auth state is not persisted in the keychain

* Switch from NSLog to FIRFADLogger (#5756)

* Add FIRLogger
* Switch from NSLog to FIRFADLogger

* * Use FIS Auth for authenticating the tester
* Remove AppAuth and start wiring up interceptor to do sign in

* Extracting registration flow UI in interceptor

* Adding support for iOS 9 and 10

* Create app distribution api service to handle tester api calls. (#6060)

* Pull out calls to the FAD API to make them reuseable

* Fix tests and run styl updates

* Uncomment FIRFADLog Statements

* Use [] accessor rather than . accessor

* Re-running style updates

* Trying to get these checks to pass the first time around

* App distribution signin persist (#6063)

* Pull out calls to the FAD API to make them reuseable

* Fix tests and run styl updates

* Add in UserDefaults storage after a tester has signed in

* Add testing for the main AppDistribution file

* Ran style.sh

* Remove FIRFADLocalStorage and call GULUserDefaults directly. Update tests to stop mocking on teardown.

* Add support for dynamic url schemes and fix two crashes (#6081)

* Add support for dynamic url schemes and fix two crashes

  * Add support for dynamic url schemes in the format appdistribution-<app id without colons>
  * Fix crash when launching an app directly via a URL scheme
  * Fix a crash on iOS 10 simulator caused by calling NSLogv twice
  * Remove uses of NSLog
  * Fix warnings

* Switch encodedAppId to be a class method

* Fix styles

* Create changelog and readme in preparation for release. (#6095)

Just changing markdown files so will not wait for gha checks.

* Change slices property from copy to strong (#6097)

Fix lint warning

* Change error handlers to return bool values instead of void (#6101)

* Mapping sign in flow errors to app distribution errors. Also renaming AppDelegateInterceptor to FIRAppDistributionUIService (#6099)

* Add github action for App Distribution (#6094)

* Updating app distribution deployment target to iOS 9 (#6118)

* Making sure we return granular errors during sign in persistence. Also fixing some naming and comment issues (#6117)

* Encoding colons to dashes in the app id (#6119)

* Move Internal headers to Sources (#6106)

* Move Internal headers to Sources/ folder

* PR feedback

* Remove appDistribution from zip builder

* Respond to code review feedback (#6138)

* Initializing UIWindow using initWithWindowScene for ios 13 and removing UI code from main FIRAppDistribution.m (#6144)

* Initializing UIWindow using initWithWindowScene for ios 13. Also making sure we only reset window in the App delegate if a registration flow is in progress.

* Remove UI code from main class, add unit tests, and clean up UIService

* stylish

* Remove defines in favor of solely 'if (@available(iOS 13.0, *))'

* Respond to code review feedback

Co-authored-by: Cleo Schneider <cleoschneider@google.com>

Co-authored-by: Pranav Rajgopal <pranavrajgopal@google.com>
Co-authored-by: Cleo Schneider <cleoschneider@google.com>
2020-07-28 16:39:29 -04:00
Paul Beusterien 8a612ae6f2 retry and xcpretty for spm ci (#6137) 2020-07-27 15:16:45 -07:00
Gran 0ed26aedb8 Update testing time. (#6112) 2020-07-24 11:41:00 -07:00
Gran 25e17066fa Set up release testing. (#6088)
Run release test using SpecStaging repo.
2020-07-24 11:39:35 -07:00
Denver Coneybeare 719eb59f74 Set Python3 as the default Python in "check" and "firestore" GitHub workflows (#6114) 2020-07-24 14:01:05 -04:00
Paul Beusterien 40b805bccd Fix RemoteConfig sample (#6113) 2020-07-23 10:01:02 -07:00
Paul Beusterien 28ff0c7f58 Move Core Publics so imports match between SPM and CocoaPods (#6096) 2020-07-23 05:47:01 -07:00
Visu 05e73db5f9 Make the E2E test apps run once every 4 hours. (#6111)
* Make the E2E test apps run once every 4 hours.
2020-07-22 16:59:47 -07:00
Gran cb3929f78a Remove zip testings from sdk workflows (#6085)
Remove zip testing from sdk workflows.
2020-07-20 16:04:19 -07:00
Gran 3e0698769e Update artifacts name (#6067) 2020-07-17 10:12:35 -07:00
Gran 1aad6ae0c7 Migrate zip test to zip workflow. (#6045)
* Migrate zip test to zip workflow.
2020-07-17 00:57:39 -07:00
Nick Cooke 2ceb9d64c1 Remote Config Console API for Testing (#6009)
* Added Remote Config Console API and some tests

* Added workflow scripts

* Update path in remote config workflow

* Update path in remote config workflow 2.0

* Adding print statements to debug

* Update generate_access_token.sh

* Style and script cleanup

* Updated README and script

* reordering workflow tests for faster dev

* Updated generate_access_token.sh

* Removed unneeded part of path

* Set env var in GHA rather than script

* Fix env var in GHA

* Fix env var in GHA 2.0

* Refactored actions into one script

* removed back slash

* Removed unneeded workflow step

* Refactored script and added comments

* Minor tweaks

* Added new line

* well nvm that tweak

* Reordered workflow steps back to original order

* Only generate access token for ios runs

* Fixed readme, organized tests, improved RemoteConfigConsole

* Fixed test

* reordering tests for dev

* Removed README.md

* Added local dev mode for script

* Reset the ordering of tests to original order

* Update README

* Update README again

* Trailing space

* trailing space..again

* Cleanup up cloned repo in script

* Resolved feedback

* Style

* Gotta love trailing spaces

* Resolved feedback 2.0

* Resolved feedback 3.0

* Changed param type for update APIs

* Fixed type in updateRemoteConfigValue  method
2020-07-16 11:13:04 -04:00
Gran f6538e3789 Update zip (#6033) 2020-07-14 16:06:58 -07:00
James Liu 0b97a2410d Enable cron job schedule for Firebase Performance tests on private repository (#6034) 2020-07-13 15:33:56 -07:00
Gran 8211bec134 Move checkout first which will reset the workspace. (#6020)
* Move checkout first which will reset the workspace.
2020-07-10 10:07:30 -07:00
Paul Beusterien d33b8b3ae1 SPM - Auth unit tests (#6011) 2020-07-09 13:31:53 -07:00
Gran 5f07a79f12 Fix path. (#6012) 2020-07-09 13:01:58 -07:00
Gran 4a264a58d2 Update path (#6004) 2020-07-08 11:08:13 -07:00
Gran 23e53a9cd9 Migrate remoteconfig zip test to zip workflow. (#5996)
* Add remoteconfig test in zip workflow.
2020-07-07 17:39:28 -07:00
Gran ddce6e9ebe Swift Firestore Framework Testing (#5982) 2020-07-07 14:39:29 -07:00
Paul Beusterien a9a0a10c5c SPM: Core ObjC unit tests (#5959) 2020-07-06 09:29:20 -07:00
Paul Beusterien 09c03e3750 Stop last scheduled job still on Private (#5974) 2020-07-06 07:25:02 -07:00
Gran 2440f56039 Disable zip testing in private repo. (#5968)
Update database, dynamiclinks and storage.
2020-07-02 17:11:51 -07:00