Skip to content
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

Merged
merged 2 commits into from
Sep 13, 2024
Merged

prepare patch release 7.8.2 #218

merged 2 commits into from
Sep 13, 2024

Conversation

Ulrico972
Copy link
Contributor

No description provided.

@Ulrico972 Ulrico972 self-assigned this Sep 13, 2024
@Ulrico972 Ulrico972 requested a review from a team as a code owner September 13, 2024 19:52
@@ -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(),
Copy link
Collaborator

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?

Copy link
Contributor Author

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()
Copy link
Contributor Author

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

@Ulrico972 Ulrico972 merged commit 2732ffd into main Sep 13, 2024
3 checks passed
@Ulrico972 Ulrico972 deleted the release-7.8.2 branch September 13, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants