From 8dfabc7df4de6580653d449015de7dcebddf4d8c Mon Sep 17 00:00:00 2001 From: Desu Sai Venkat Date: Tue, 29 Aug 2023 16:11:09 +0530 Subject: [PATCH] fix: fixed issues for encryption configuration on android platform --- .../com/rudderstack/sdk/flutter/RudderSdkFlutterPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/rudder_plugin_android/android/src/main/java/com/rudderstack/sdk/flutter/RudderSdkFlutterPlugin.java b/packages/plugins/rudder_plugin_android/android/src/main/java/com/rudderstack/sdk/flutter/RudderSdkFlutterPlugin.java index 37c901c3..7da472ec 100644 --- a/packages/plugins/rudder_plugin_android/android/src/main/java/com/rudderstack/sdk/flutter/RudderSdkFlutterPlugin.java +++ b/packages/plugins/rudder_plugin_android/android/src/main/java/com/rudderstack/sdk/flutter/RudderSdkFlutterPlugin.java @@ -241,7 +241,7 @@ public RudderConfig getRudderConfig(Map configMap) { Boolean enabled = (Boolean) dbEncryptionMap.get("enabled"); String encryptionKey = (String) dbEncryptionMap.get("key"); if(enabled && encryptionKey!=null && encryptionKey.length() > 0) { - builder.withDBEncryption(RudderConfig.DBEncryption(enabled, encryptionKey)); + builder.withDbEncryption(new RudderConfig.DBEncryption(enabled, encryptionKey)); } }