Checking shouldLogUserPrivacyConsentErrorMessage for Outcomes#1409
Checking shouldLogUserPrivacyConsentErrorMessage for Outcomes#1409
Conversation
jkasten2
left a comment
There was a problem hiding this comment.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @emawby, @Jeasmine, and @nan-li)
OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java, line 3293 at r1 (raw file):
} if (shouldLogUserPrivacyConsentErrorMessageForMethodName("sendOutcome()")) {
Failing test that looks related to this changes:
https://app.travis-ci.com/github/OneSignal/OneSignal-Android-SDK/builds/235207484#L2091-L2098
We might have to move this after the taskRemoteController below.
a2eae09 to
e42b17e
Compare
e42b17e to
f72f6b1
Compare
emawby
left a comment
There was a problem hiding this comment.
Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @Jeasmine, @jkasten2, and @nan-li)
OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java, line 3293 at r1 (raw file):
Previously, jkasten2 (Josh Kasten) wrote…
Failing test that looks related to this changes:
https://app.travis-ci.com/github/OneSignal/OneSignal-Android-SDK/builds/235207484#L2091-L2098We might have to move this after the
taskRemoteControllerbelow.
moved it below the queue task block!
jkasten2
left a comment
There was a problem hiding this comment.
LGTM
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @Jeasmine and @nan-li)
|
Tests failed but seems we have a flaky unrelated test: |
Currently OneSignal crashes if an App sends outcomes or unique outcomes when requires privacy consent is true.
Now we will log an error message and return instead.
This change is