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

ampli status does not recognise Swift functions as parameters #326

Open
jvanderwee opened this issue Jun 6, 2024 · 0 comments
Open

ampli status does not recognise Swift functions as parameters #326

jvanderwee opened this issue Jun 6, 2024 · 0 comments

Comments

@jvanderwee
Copy link

We'd like to use Ampli functions as function parameter e.g.

.onEnded(Ampli.instance.someEvent)

rather than in a trailing closure e.g.

.onEnded { Ampli.instance.someEvent() }

however this does not satisfy the ampli status checks.

Expected Behavior

ampli status passes

Current Behavior

ampli status fails

Environment

Amplitude-Swift 1.5.0

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

No branches or pull requests

1 participant