diff --git a/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInterface.kt b/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInterface.kt index 208953c..dff7c11 100644 --- a/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInterface.kt +++ b/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInterface.kt @@ -17,9 +17,9 @@ interface BlotoutAnalyticsInterface { fun getUserId():String - fun transaction(transactionData: TransactionData, withInformation:HashMap?) + fun transaction(transactionData: TransactionData, withInformation:HashMap) - fun item(itemData: Item, withInformation:HashMap?) + fun item(itemData: Item, withInformation:HashMap) - fun persona(personaData: Persona, withInformation:HashMap?) + fun persona(personaData: Persona, withInformation:HashMap) } \ No newline at end of file diff --git a/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInternal.kt b/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInternal.kt index b21ffd0..beaf55b 100644 --- a/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInternal.kt +++ b/blotoutSDK/src/main/java/com/analytics/blotout/BlotoutAnalyticsInternal.kt @@ -144,7 +144,7 @@ open class BlotoutAnalyticsInternal : BlotoutAnalyticsInterface { } @Synchronized - override fun transaction(transactionData: TransactionData, withInformation: HashMap?) { + override fun transaction(transactionData: TransactionData, withInformation: HashMap) { CoroutineScope(Dispatchers.Default).launch { try { val _withInformation = withInformation ?: hashMapOf() @@ -164,7 +164,7 @@ open class BlotoutAnalyticsInternal : BlotoutAnalyticsInterface { } @Synchronized - override fun item(itemData: Item, withInformation: HashMap?) { + override fun item(itemData: Item, withInformation: HashMap) { CoroutineScope(Dispatchers.Default).launch { try { val _withInformation = withInformation ?: hashMapOf() @@ -184,7 +184,7 @@ open class BlotoutAnalyticsInternal : BlotoutAnalyticsInterface { } @Synchronized - override fun persona(personaData: Persona , withInformation: HashMap?) { + override fun persona(personaData: Persona , withInformation: HashMap) { CoroutineScope(Dispatchers.Default).launch { try { val _withInformation = withInformation ?: hashMapOf()