Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEM-2327 Don't send Phoenix analytics event to server in case KS is empty #9

Merged
merged 1 commit into from
Jan 13, 2019

Conversation

x-NR-x
Copy link
Collaborator

@x-NR-x x-NR-x commented Jan 10, 2019

If the ks is empty, not creating the request.

@x-NR-x x-NR-x self-assigned this Jan 10, 2019
@x-NR-x x-NR-x requested a review from noamtamim January 10, 2019 14:29
@@ -49,14 +49,18 @@ public class PhoenixAnalyticsPlugin: BaseOTTAnalyticsPlugin {
/************************************************************/

override func buildRequest(ofType type: OTTAnalyticsEventType) -> Request? {

guard !config.ks.isEmpty else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config.ks can't be nil?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope

@x-NR-x x-NR-x merged commit e40e8b1 into develop Jan 13, 2019
@x-NR-x x-NR-x deleted the FEM-2327 branch January 13, 2019 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants