Closed skykelsey closed 9 years ago
Working my way through reviewing this. Do you have tests for this?
:+1: (but with limited comprehension of the Android lifecycle model)
Also fixes an issue where Surveys could be shown again if the screen orientation changed after they were submitted.
I'd suggest a separate commit for separate issues such as that.
:+1: For easier code review I would suggest breaking changes to each interaction, for example, out into its own commit. And then one commit for adding the superclass Interaction
invoking of EVENT_NAME_LAUNCH
, etc.
...and use that to track Interaction launch across orientation changes, so that Interaction launch Events are only sent once per real Interaction launch. NavigateToLinkInteraction and AppStoreRatingInteraction are exempt from this. Also fixes an issue where Surveys could be shown again if the screen orientation changed after they were submitted.