Commit Graph
11 Commits
Author SHA1 Message Date
Morgan Chen 9b06fc124c Fix typos in doc comments (#5038) 2020-03-06 15:50:14 -08:00
christibbs f4d742f8fa M66 changelog for FIAM and ABT SDKs (#4920)
* M65 changelog for ABT SDK

* Improve CHANGELOG notes

* Fix CHANGELOG version

* M66 changelog for both FIAM & ABT

* Fix formatting

* Fix formatting pt2

* Put deprecated method in backticks
2020-03-06 13:21:58 -05:00
christibbs 4c776d1f74 Support AB testing of Firebase In-App Messages (#5005)
* Parse out experiment payload for experimental FIAMs and store it on FIRIAMMessageDefinition

* Fix bugs in parsing experimental payload

* Add nullable experiment payload to FIAM message definition. Add method in FIRExperimenmtController to validate running experiments and call this when new messages are fetched from FIAM backend

* Add and document new ABT methods, update FirebaseInAppMessaging.podspec to depend on ABT

* Clean up deprecated public message initializers, add experiment payload to private initializers

* Activate experiment for experimental messages upon impression

* Clean up activateExperiment API

* Add experimental payload to all message definition initializers

* Add unit test coverage for new ABT methods

* Add test coverage for parsing experimental messages

* Verify experiment payload gets passed to message superclass

* Scripts/style.sh

* Update Podfile for UI test app to include AB Testing SDK

* Add back deprecated initializers for now, these are needed for the test app

* Test for non-nil experiment payload

* Use mutable array directly, better memory usage

* Bump ABTesting podspec version, depend on new ABT in FIAM

* Remove mentions of FIREventOrigins.h

* Remove experiment payload from public API, hide it in private

* Scripts/style.sh

* Fix comment indentation, allow for FIAM to depend on minor version updates of ABTesting

* Move ABTExperimentPayload import to private header
2020-03-03 19:46:37 -05:00
christibbs 7587c3c2e4 Add a completion handler to FIRExperimentController's updateExperimentsWithServiceOrigin: method (#4897)
* Add completion handler to FIRExperimentController updateExperimentsWithServiceOrigin:

* Update tests to verify completion handler is called

* Add error param to the completion handler in updateExperimentsWithServiceOrigin:

* Rename error domain for ABT SDK  errors, rename method to set CUPs via the user property controller-- it doesn't do anything in the background

* Add back support for updateExperiments method without completion

* Add description for Failed to get conditional user properties error

* Fix string argument warning

* Deprecate updateExperimentsWithServiceOrigin method that doesn't have a completion handler

* Ignore deprecated warning in tests

* Run scripts/styles.sh
2020-02-18 20:01:52 -05:00
christibbs 0d0f90593e Iterate from array copy in latestExperimentStartTimestampBetweenTimestamp: (#3764) 2019-09-03 16:38:20 -04:00
Paul Beusterien 238c336edd Update ABT Changelog for M55 (#3703) 2019-08-27 10:01:15 -07:00
Paul Beusterien a1a3834d5f Fix ABTesting analyzer issue (#3622) 2019-08-19 12:05:23 -04:00
Paul Beusterien dbd960db22 Add interop API to prepare for RC open sourcing (#3582) 2019-08-13 18:23:59 -07:00
Paul Beusterien 6620c858c0 Fix a typo (#3576) 2019-08-13 10:56:20 -07:00
Paul Beusterien dea4aa24ed Initial FirebaseABTesting/CHANGELOG.md (#3565) 2019-08-12 17:03:32 -07:00
Paul Beusterien 3b0ed0ee4a Open Source ABTesting (#3507)
* CI for ABTesting
* README update
2019-08-05 19:30:54 -07:00