* 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
* 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
* Remove Protobuf dependency, add struct-ish class that mimics ABTExperimentPayload
* Remove a lot of the compiler errors, but not all of them. We need to figure out how RC serializes the NSData objects passed to FIRExperimentController in updateExperimentsWithServiceOrigin:
* Add ABTExperimentPayload class that replaces generated proto, refactor classes that depend on it
* Add unit testing class for ABTExperimentPayload
* Updates to ABTExperimentPayload API, tests for ABTConditionalUserPropertyTest, add tests for ABTExperimentPayload
* Update podspec to pull in testing resources
* Add utility class for parsing test files. Use it in ABTExperimentPayloadTests
* Fix FIRExperimentController tests
* Better documentation
* Run scripts/styles.sh
* Fix whitespace
* Remove protobuf imports
* Bump pod spec version for ABT SDK, depend on new ABT SDK in RC. Fix up RemoteConfigExperiment to use new ABTExperimentPayload object
* scripts/style.sh
* Update In-app messaging to use new ABTExperimentPayload class, which involves extending the ABTExperimentPayload initializer to accept different values for overflowPolicy and experimentStartTime
* Delete test payload
* Revert scripts/check_imports.swift
* Better initialization tags for ABTExperimentLite
* Update CHANGELOGs
* Remove private headers in podspec, use integerValue to parse integers
* Refactor ABTExperimentPayload header into Private headers. Fix integer types for millisecond metadata
* scripts/styles.sh
* Fix integer parsing
* Fix copyrights
* Fix CHANGELOG typo:
* Add private_header_files to public_header_files
* Try just using NSInteger for experimentStartTimeMillis
* Bump FIAM dependency on ABTesting
* Use long long for milli parameters (32-bit apps)
* Use longlong in test timestamps
* Don't cast to nsnumber in tests
* Use in64_t
* Fix Test Overflow
* Bump major version on ABT SDK
* Bump ABTesting version in Firebase.podspec
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
* Update podspec to replace IID with installations SDK.
* Update sample app podfile to include installations sdk.
* Source code changes to support migration to FIS. The FIS SDK now supports multi-app FIS ids and tokens.
* Update RC test app to use FIS SDK.
* WIP: Unit tests for incorporating FIS with Remote Config.
* Remote Config: fix Installations tests (#5109)
* Fix Installations tests.
* Fix Firebase/Auth version (#5106)
* Remote Config: enable ARC for tests.
* run ./scripts/style.sh
* Fix warnings
* Remote Config: enable ARC for tests. (#5108)
* Remote Config: enable ARC for tests.
* run ./scripts/style.sh
* Fix warnings
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
* Add the installations token as an HTTP header.
* Add changelog for FIS changes.
Co-authored-by: Maksym Malyhin <mmaksym@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
* 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.
* Disable multi-instance tests until partial mocking for OCMock is figured out.
* Remove extra OCMStub.
* Explicitely cast partial mocks to id to stopMocking.
* Fix typo.
* Do not continue with fetch if we do not get a valid IID.
* Address review changes to test file.
* Update test file based on review comments.
* Fix warnings.
* Fix build.
* Fix build.
* FIS: Throw exception on incomplete Firebase config.
* API docs updated.
* FirebaseInstallations bump minor version: 1.1.0
* Fix tests
* Text fixed
* Make exception message more informative
* Fix Remote Config tests.
* Tests updated to use GCMSenderID if projectID is not available.
* Use `GCMSenderID` when `projectID` is not available.
* ./scripts/style.sh
* Comments
* GCMSenderID and projectID validation updated.
* Comment
* FirebaseInstallations: version bump to 1.0.1.
* FIS changelog
* FirebaseInstallations: version bump to 1.1.0
* FIS and Core changelogs.
* Changelogs remove GCMSenderID
* Typo
* Typo
* fix link
* Revert Core changelog
* FIS changelog fix.
* Firebase Installations: Instance ID now uses FIS under the hood. (#3398)
* Fix merge errors
* Use modular import for FIRInstanceID_Private.h
* Use modular imports for FirebaseInstanceID.h (#3509)
* Changes missing during the fix.
* Changes missing during merge.
* Fix header import.
* ./scripts/style.sh
* Fix FCM tests. (#3888)
* Fix IID FCM token check.
* FirebaseInstallation: merge master into FIS integration branch (#4076)
* Fix IID FCM token check.
* Unused constant deleted.
* FCM tests: fix bad merge.
* Remote Config test app: use local IID and FIS. (#4089)
* token request should pass through if token is not fresh (#4104)
* Merge errors fix.
* IID with FIS: send FIS auth token with IID token request (#4152)
* FIRInstanceIDTokenOperation: add FIS auth token to the IID token request.
* IID tests: don't use FIS private headers.
* IID: indication of compatibility with FIS (#4262)
* FIS: IID incompatible version exception.
* FirebaseInstallations.podspec: set preprocessor flags based on env vars.
* FIS Travis: set required env vars
* /scripts/style.sh
* IID: method to indicate FIS usege added.
* FIS: FIRInstantiationTimingEagerInDefaultApp
* FIS: FIRInstantiationTimingAlwaysEager
* IID: make compatibility method static.
* Make -[FIRInstanceID appInstanceID:] safe to be called from any thread (#4482)
* IID: use a cached value of FID for -[FIRInstanceID appInstanceID:]
* TODO comment
* TODO updated
* FirebaseInstallations: prepare IID with FIS dependency for release (#4522)
* Bump FIrebaseInstallations to 1.0.0
* Travis: remove mm/fis-integration-master branch
* Travis: if_changed script updated to reflect IID dependency on FIS.
* Revert "Travis: remove mm/fis-integration-master branch"
This reverts commit 534dff990a.
* Travis: remove mm/fis-integration-master branch (#4526)
* Formatting and spelling.
* Firebase example proj: pod deintegrate
Co-authored-by: Chen Liang <chliang@google.com>
* Add RC test app.
* Add private header files to podspec used by 2P.
* Rename FIRRemoteConfig_Internal.h to FIRRemoteConfig_Private.h.
* Fix style.
* Add copyright notice.
* Fix relative path to RCNConfigSettings for tests.
* Fix style.
* Rename to FIRRemoteConfig_Private.h for unit tests.
* Rename to coorect relative path.