Skip to content

Commit d7ef4c4

Browse files
fix: PN hardkill consent issue
1 parent 6492b00 commit d7ef4c4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sdk/src/main/java/ly/count/android/sdk/ModuleConsent.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ void initFinished(@NonNull final CountlyConfig config) {
284284
if (L.logEnabled()) {
285285
checkAllConsentInternal();
286286
}
287+
} else {
288+
//if consent is not required, we need to make sure that the push consent is set to true
289+
//so that the "getConsentPushNoInit" returns true
290+
doPushConsentSpecialAction(true);
287291
}
288292
}
289293

0 commit comments

Comments
 (0)