-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare patch release 7.8.2 #218
Conversation
ios/Classes/SwiftAirshipPlugin.swift
Outdated
@@ -452,7 +452,8 @@ public class SwiftAirshipPlugin: NSObject, FlutterPlugin { | |||
return try AirshipJSON.wrap(flag).unWrap() | |||
|
|||
case "featureFlagManager#trackInteraction": | |||
guard let arg = try? call.requireAnyArg() as? String else { | |||
guard let argument = try? call.requireAnyArg(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have a requireStringArg, maybe that would clena things up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try that
throw AirshipErrors.error("Call requires a String argument") | ||
} | ||
|
||
let arg = try call.requireStringArg() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also removed the optional try, I think that's the reason why it was failing before
No description provided.