Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
carmelo-iriti committed Oct 25, 2023
2 parents a82db09 + fb2b783 commit 86ab8c2
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 7.4.2 (October, 25, 2023)
* [DIA-2918](https://sourcepoint.atlassian.net/browse/DIA-2918) Fix ConsentStatus missing (#726)

## 7.4.1 (October, 24, 2023)
* [DIA-2542](https://sourcepoint.atlassian.net/browse/DIA-2542) Local data versioning (#712)
* [DIA-2757](https://sourcepoint.atlassian.net/browse/DIA-2757) UI test for the applies condition (#714)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To use `cmplibrary` in your app, include `com.sourcepoint.cmplibrary:cmplibrary:
```
...
dependencies {
implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.1'
implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.2'
}
```

Expand Down
2 changes: 1 addition & 1 deletion cmplibrary/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME = 7.4.1
VERSION_NAME = 7.4.2

POM_NAME = cmplibrary
POM_REPO = sourcepoint
Expand Down
5 changes: 1 addition & 4 deletions cmplibrary/release_note.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
* [DIA-2542](https://sourcepoint.atlassian.net/browse/DIA-2542) Local data versioning (#712)
* [DIA-2757](https://sourcepoint.atlassian.net/browse/DIA-2757) UI test for the applies condition (#714)
* [DIA-2901](https://sourcepoint.atlassian.net/browse/DIA-2901) onConsentReady Fires GDPR Applies False After Saving Partial Consent (#714)
* [DIA-2851](https://sourcepoint.atlassian.net/browse/DIA-2851) Automation test for the no internet exception (#713)
* [DIA-2918](https://sourcepoint.atlassian.net/browse/DIA-2918) Fix ConsentStatus missing (#726)
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,22 @@ private class CampaignManagerImpl(
val hasNonEligibleLocalDataVersion =
dataStorage.localDataVersion != DataStorage.LOCAL_DATA_VERSION_HARDCODED_VALUE

return (isGdprOrCcpaUuidPresent && isLocalStateEmpty) ||
val res = (isGdprOrCcpaUuidPresent && isLocalStateEmpty) ||
isV6LocalStatePresent ||
isV6LocalStatePresent2 ||
hasNonEligibleLocalDataVersion

logger?.computation(
tag = "shouldCallConsentStatus",
msg = """
isGdprOrCcpaUuidPresent[$isGdprOrCcpaUuidPresent] - isLocalStateEmpty[$isLocalStateEmpty]
isV6LocalStatePresent[$isV6LocalStatePresent] - isV6LocalStatePresent2[$isV6LocalStatePresent2]
hasNonEligibleLocalDataVersion[$hasNonEligibleLocalDataVersion]
res[$res]
""".trimIndent()
)

return res
}

override var gdprMessageMetaData: MessageMetaData?
Expand Down
2 changes: 1 addition & 1 deletion samples/metaapp/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Mon Sep 04 08:31:34 UTC 2023
VERSION_CODE=99
VERSION_CODE=100
2 changes: 1 addition & 1 deletion samples/native-message-demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.1'
implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.2'
}
2 changes: 1 addition & 1 deletion samples/web-message-demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.1'
implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.4.2'
}

0 comments on commit 86ab8c2

Please sign in to comment.