Commit Graph
130 Commits
Author SHA1 Message Date
Paul Beusterien b9eccb7457 Control async/await testing from source instead of podspec (#9080) 2021-12-11 10:29:32 -08:00
Nick Cooke 6e488bfc57 Update CHANGELOGs for 8.10.0 (#8979) 2021-11-16 21:49:45 -08:00
karenyz 217a348448 Fix RC db flags (#8897)
* Fix RC db flags

* Add changelog
2021-11-02 16:54:49 -07:00
Paul Beusterien fd4572c291 Async/await variations of existing RC Swift API tests (#8825) 2021-10-19 09:54:22 -07:00
Paul Beusterien 10e364c54b Restore RC SwiftAPI Tests (#8792) 2021-10-12 13:39:45 -07:00
Paul Beusterien 33692eb578 Fix Remote Config Integration CI (#8774) 2021-10-11 07:38:51 -07:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Paul Beusterien 5a7c348596 Fix typo (#8690) 2021-09-22 14:50:52 -07:00
Artem VolkovandArtem Volkov 56be86ed23 Fix RemoteConfig multithreading (#8626)
* Fix RemoteConfig multithreading

* RCNConfigContent multithreading tests

av/rc-fix-threads-stuck

* RCNConfigContent test style

av/rc-fix-threads-stuck

* RCNConfigContent test more asserts

av/rc-fix-threads-stuck

Additional info: it seems safe to put XCTAssert in non-main queue.
Apple example: https://developer.apple.com/documentation/xctest/asynchronous_tests_and_expectations/testing_asynchronous_operations_with_expectations?language=objc
Callback in example "is executed on the delegate queue" https://developer.apple.com/documentation/foundation/nsurlsession/1410330-datataskwithurl?language=objc

Co-authored-by: Artem Volkov <artem.volkov@aliexpress.ru>
2021-09-20 11:08:48 -07:00
Wipoo Shinsirikul 4046281e64 Typo fixed (#8656) 2021-09-14 16:04:34 -04:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
Paul Beusterien fd36167c8c Migrate back to unforked OCMock for SPM (#8042) 2021-05-11 11:39:55 -07:00
Paul Beusterien 4662da7514 8.0.0 changlelog formatting (#7987) 2021-04-27 14:36:20 -07:00
karenyz be2729afd1 Block calls to get config until DB load completes (#7975)
* Block calls to get config until DB load completes

* Add changelog

* Add TODO for refactoring
2021-04-27 14:26:48 -07:00
Chen Liang 429bac463c Remove InstanceID from Github repo (#7970) 2021-04-27 11:54:03 -07:00
karenyz a1732dae3d Only update fetch throttle interval for server errors (#7901) 2021-04-15 12:11:12 -07:00
Ryan Wilson a978896540 Use private header import for FIRVersion.h (#7896)
* Use direct import for public FirebaseCore header.

This is an exception mentioned in https://github.com/firebase/firebase-ios-sdk/blob/master/HeadersImports.md#imports---for-header-file-consumers

* Fix import path.

The exception only applies to public headers *from other public headers*.
2021-04-14 10:10:20 -04:00
karenyz ebfd37010f Return FirebaseVersion as FIRRemoteConfigPodVersion (#7892) 2021-04-13 14:53:43 -07:00
Paul Beusterien d3306b194e Remove unreleased from Changelogs (#7809) 2021-03-30 13:20:31 -07:00
karenyz 6e11684c2a Throw exception when projectID is missing from FIROptions (#7725) 2021-03-19 09:48:40 -07:00
Paul Beusterien 79645640c2 Don't generate missing Analytics warning on Catalyst (#7719) 2021-03-15 10:27:44 -07:00
Ryan Wilson 58eca9695d Enable RC for watchOS in SwiftPM (#7696) 2021-03-11 15:13:42 -05:00
Ryan Wilson 774db3ca4b Update versions for Release 7.8.0 (#7655) 2021-03-04 16:48:29 -05:00
karenyz a67da04b64 Only update experiments for firebase namespace (#7604)
* Only update experiments for firebase namespace

* Update tests

* Add changelog
2021-02-25 16:52:17 -08:00
karenyz 32922df544 Store and update config metadata entries by namespace (#7373)
* Insert and load config metadata by namespace

* Deprecate existing metadata table name

* Update tests

* Fix delete method and update naming

* Add test for writing metadate for multiple namespaces
2021-02-22 10:21:41 -08:00
Paul Beusterien cf49cbaa54 Incorporate SpecsDev (#7561) 2021-02-19 07:18:59 -08:00
Chen Liang 8b01de9552 updage changelog (#7540) 2021-02-16 15:31:50 -08:00
Chen Liang 80a45125a0 Enable watchOS for Remote Config and ABTesting (#7481) 2021-02-12 11:41:35 -08:00
Chen Liang 4ad7e69d3b the network connection should be stubbed instead of using OCMExpect (#7498) 2021-02-10 09:55:15 -08:00
Paul Beusterien ae306788c5 Fixed build warnings introduced with Xcode 12.5 (#7432) 2021-02-02 18:26:05 -08:00
Paul Beusterien 54d28547d3 Remove GDT from repo (#7384) 2021-01-27 07:51:12 -08:00
Paul Beusterien 02488e99b7 Remove GoogleUtilities from repo (#7315) 2021-01-21 07:09:50 -08:00
vic-flair 899b562685 Standardize support for Firebase products that integrate with Remote Config. (#7094) 2021-01-19 19:25:40 -08:00
christibbs a764d00d25 Remote Config: Revert to previous nil check on experiment JSON (#7269)
* Revert to previous nil check on experiment JSON

* Update CHANGELOG
2021-01-08 15:57:13 -05:00
Paul Beusterien 8864ff9e41 Fix typo in test (#7255) 2021-01-06 10:22:59 -08:00
vic-flair 95cf1d3508 Add support for other Firebase products to integrate with Remote Config. (#6692) 2020-10-22 17:19:47 -07:00
karenyz e587d7dcd5 Minor RC cleanup (#6722)
* Cleanup developer mode variables

* Fix README link

* Use fully qualified namespace in test to avoid errors

* Fix whitespace
2020-10-13 16:27:08 -07:00
karenyz 2cd0c6e420 Use completion handler when updating experiments after activation (#6711)
* Use completion handler when updating experiments after activation

* Fix Travis

* Add changelog

* Fix whitespace

* Nonnull initializers
2020-10-12 12:26:19 -07:00
karenyz 409a3ccade Update API documentation referencing removed methods (#6667)
* Update API documentation to remove references to removed methods

* Add changelog

* Address comments
2020-10-08 12:09:54 -07:00
Ryan Wilson 19159a4b25 Fix tvOS storage issues. (#6658)
* Fix tvOS storage issues.

On tvOS devices, the ApplicationSupport directory cannot be used.
Unfortunately this doesn't come up in simulator testing, only on device.
This hasn't been fully tested on device but given that any writes to the
ApplicationSupport directory fail on tvOS, this change can't break much.

Fixes #6612

@defagos can you please give this a test?

* Fixed changed dir name for RC

* Fixed test naming, too.

* Fix the documentation comment for GoogleUtilities.

* Updated changelog.

* Review feedback
2020-10-08 11:28:41 -04:00
Maksym Malyhin a3a59c1bfc FIS: require projectID and valid API Key format (#6678)
* FIRInstallations validation: remove GCMSenderID fallback for missing projectID

* FIRInstallationsIDController: remove GCMSenderID fallback for  missing projectID

* Add API Key validation

* Changelog

* changelog

* Constant for API key lenght

* array] -> alloc] init]

* typo

* message

* ./scripts/style.sh

* Fix dummy API key in integration tests

* Update dummy API Keys to match the expected format

* debug test quickstart with no xcpretty

* fix debug

* Use debug QS repo branch

* print debug

* Add missing allowed characters `-`, `_`

* Nicer dummy API Keys

* Comment

* Revert "Use debug QS repo branch"

This reverts commit 69739dd6ae.

* Revert "fix debug"

This reverts commit 84fcbc7543.

* Revert "debug test quickstart with no xcpretty"

This reverts commit 1fa21ed62a.
2020-10-07 17:25:03 -04:00
karenyz b1ebf80d10 Call fetchAndActivate completion handler on main thread (#6665)
* Call fetchAndActivate completion handler on main thread

* Add changelog

* Update changelog to use issue number
2020-10-05 17:35:50 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Paul Beusterien 12c9e3fef0 Stop using CocoaPods private headers (#6572) 2020-10-02 09:11:21 -07:00
karenyz f56afe9ba1 Remove deprecated RC APIs (#6637)
* Remove deprecated method declarations and implementations
2020-10-01 16:11:16 -07:00
karenyz 4f7a88b68b Change numberValue to be nonnull (#6623)
* Change numberValue to be nonnull

* Add changelog
2020-10-01 09:30:28 -07:00
Paul Beusterien 6a2b9a9556 Merge remote-tracking branch 'origin/master' into pb-merge-firebase7 2020-09-30 16:49:31 -07:00
karenyz fa9c24ad29 Clean up usage of deprecated methods in unit tests (#6618)
* Clean up usage of deprecated methods in unit tests

* Add back second namespace tests

* Remove test for setDefaults:namespace:
2020-09-30 15:37:28 -07:00
Paul Beusterien 5d0a1c8ccb Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7 2020-09-30 14:23:40 -07:00
christibbs 416fb43748 Remove deprecated method in ABT public header (#6602)
* Remove deprecated method, implementation

* Replace call to deprecated method in RC, fix tests

* Update changelogs
2020-09-29 15:29:43 -04:00