Skip to content

Commit 0ed95d6

Browse files
committed
android: Fix manifest configuration parsing
They're now stored in the right variables [finishes sc-24094]
1 parent b247cc9 commit 0ed95d6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## UPCOMING
2+
3+
**Plugin**
4+
5+
* Android: Fixed an issue where Batch's "advanced device information" was disabled by default and not configurable using the Manifest.
6+
* Android: Manifest configuration of the initial Do Not Disturb state now works as expected.
7+
18
## 1.1.1
29

310
**Plugin**

android/src/main/java/com/batch/batch_flutter/BatchPluginConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ synchronized void initFromManifest(@NonNull Context context) {
4444
apiKey = manifestReader.readString(APIKEY_MANIFEST_KEY, null);
4545
canUseAdvertisingID = manifestReader.readBoolean(GAID_MANIFEST_KEY, true);
4646
canUseAdvancedDeviceInformation = manifestReader.readBoolean(ADVANCED_INFO_MANIFEST_KEY, true);
47-
canUseAdvancedDeviceInformation = manifestReader.readBoolean(INITIAL_DND_STATE_MANIFEST_KEY, false);
47+
initialDoNotDisturbState = manifestReader.readBoolean(INITIAL_DND_STATE_MANIFEST_KEY, false);
4848
}
4949

5050
boolean hasAPIKey() {

0 commit comments

Comments
 (0)