You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: OneSignal.sendTags callback doesn't ever complete when sending invalid tag (e.g. a date value)
Environment
iOS SDK version 3.5.2
via Cocoapods
Steps to Reproduce Issue:
var tags:[String:Any] = [
"numPosts": user.numPosts,
"rating": user.rating
]
if let date = user.signupDate as? Date{
tags["signup"] = date
}
OneSignal.sendTags(tags, onSuccess: {
_ in
//never gets here and tags are not sent
print("one sig success")
}, onFailure: {
failure in
//never gets here
print("sendTags failure \(failure?.localizedDescription ?? "")")
})
The text was updated successfully, but these errors were encountered:
Previously we would log a warning and return on bad input for the sendTags method. Now we will also call the failure block with an error object with information on what went wrong. This fixes#951
Previously we would log a warning and return on bad input for the sendTags method. Now we will also call the failure block with an error object with information on what went wrong. This fixes#951
Description:
OneSignal.sendTags
callback doesn't ever complete when sending invalid tag (e.g. a date value)Environment
iOS SDK version 3.5.2
via Cocoapods
Steps to Reproduce Issue:
The text was updated successfully, but these errors were encountered: