Skip to content

Commit 62fe0a5

Browse files
mixed: changelog, new name
1 parent a6ab181 commit 62fe0a5

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
## XX.XX.XX
2-
* Added a new config option `disableStoreDefaultPushConsent()` to change push consent storing behavior. When enabled default push consent will be stored if consent is not required.
3-
4-
* Mitigated an issue where push notifications were blocked when consent was not required.
1+
## 25.4.8
2+
* Mitigated an issue where push notifications were not shown when consent was not required and app is killed. To reverse that behavior you can call config option `disableStoringDefaultPushConsent()`.
53

64
## 25.4.7
75
* Mitigated an issue where the navigation bar showed an unwanted shadow during content display.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ org.gradle.configureondemand=true
2222
android.useAndroidX=true
2323
android.enableJetifier=true
2424
# RELEASE FIELD SECTION
25-
VERSION_NAME=25.4.7
25+
VERSION_NAME=25.4.8
2626
GROUP=ly.count.android
2727
POM_URL=https://github.com/Countly/countly-sdk-android
2828
POM_SCM_URL=https://github.com/Countly/countly-sdk-android

sdk/src/androidTest/java/ly/count/android/sdk/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class TestUtils {
4444
public final static String commonAppKey = "appkey";
4545
public final static String commonDeviceId = "1234";
4646
public final static String SDK_NAME = "java-native-android";
47-
public final static String SDK_VERSION = "25.4.7";
47+
public final static String SDK_VERSION = "25.4.8";
4848
public static final int MAX_THREAD_COUNT_PER_STACK_TRACE = 50;
4949

5050
public static class Activity2 extends Activity {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ of this software and associated documentation files (the "Software"), to deal
4747
*/
4848
public class Countly {
4949

50-
private final String DEFAULT_COUNTLY_SDK_VERSION_STRING = "25.4.7";
50+
private final String DEFAULT_COUNTLY_SDK_VERSION_STRING = "25.4.8";
5151
/**
5252
* Used as request meta data on every request
5353
*/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public class CountlyConfig {
214214
boolean disableGradualRequestCleaner = false;
215215

216216
// If set to true, the SDK will not store the default push consent state on initialization for not requiring consent
217-
boolean disableStoreDefaultPushConsent = false;
217+
boolean disableStoringDefaultPushConsent = false;
218218

219219
/**
220220
* THIS VARIABLE SHOULD NOT BE USED
@@ -1111,8 +1111,8 @@ public synchronized CountlyConfig disableGradualRequestCleaner() {
11111111
*
11121112
* @return Returns the same config object for convenient linking
11131113
*/
1114-
public synchronized CountlyConfig disableStoreDefaultPushConsent() {
1115-
this.disableStoreDefaultPushConsent = true;
1114+
public synchronized CountlyConfig disableStoringDefaultPushConsent() {
1115+
this.disableStoringDefaultPushConsent = true;
11161116
return this;
11171117
}
11181118

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void initFinished(@NonNull final CountlyConfig config) {
284284
if (L.logEnabled()) {
285285
checkAllConsentInternal();
286286
}
287-
} else if (!config.disableStoreDefaultPushConsent) {
287+
} else if (!config.disableStoringDefaultPushConsent) {
288288
//if consent is not required, we need to make sure that the push consent is set to true
289289
//so that the "getConsentPushNoInit" returns true
290290
doPushConsentSpecialAction(true);

0 commit comments

Comments
 (0)