Hello,
This PR is intended to fix some issues I encountered while using the SDK for flutter.
Changes:
Remove the unnecessaryNSError when customerIdentifier casted as [String: String].
Remove the unnecessary casting customerIdentifier to [String: String] as the customer ID is nil despite of preferring to use full customer data like email, phone, etc..
Add null check to Customer.customerId even before calling the native channel.
Hello, This PR is intended to fix some issues I encountered while using the SDK for flutter.
Changes:
NSError
whencustomerIdentifier
casted as[String: String]
.customerIdentifier
to[String: String]
as the customer ID isnil
despite of preferring to use full customer data likeemail
,phone
, etc..null
check toCustomer.customerId
even before calling the native channel.Thanks for your amazing SDK.