Commit Graph
11 Commits
Author SHA1 Message Date
karenyz 217a348448 Fix RC db flags (#8897)
* Fix RC db flags

* Add changelog
2021-11-02 16:54:49 -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
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
vic-flair 95cf1d3508 Add support for other Firebase products to integrate with Remote Config. (#6692) 2020-10-22 17:19:47 -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
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
dmandar 90235b5e0d Reset RC per-instance userdefaults if config database was not found. (#4896)
* Reset the RC per-instance user defaults if the config database was not found.

* Add unit test.

* Ignore the non-object arguments when stubbing the fetchWithExpirationDuration method.

* Update changelog.
2020-02-14 15:07:57 -08:00
dmandar 865e289614 Fix an issue around deleting records from the database. (#3926)
* Assign weakself to self.

* Add unit test.

* Style fixes.

* Address review comments.

* Review comments.
2019-09-27 23:02:42 -07:00
Paul Beusterien 6f249cae07 Fix Remote Config travis flakes (#3738) 2019-09-03 12:37:17 -07:00
Paul Beusterien b594723572 Update formatters for the Xcode 10.3 Travis image (#3739) 2019-09-03 08:46:21 -07:00
Paul Beusterien 9335275306 Open Sourcing Remote Config (#3645) 2019-08-21 14:26:41 -07:00