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

Feature Usage Callback #89

Closed
szeidner opened this issue Mar 18, 2024 · 3 comments
Closed

Feature Usage Callback #89

szeidner opened this issue Mar 18, 2024 · 3 comments

Comments

@szeidner
Copy link

Other versions of the SDK seem to have a callback on feature usage (e.g. onFeatureUsage in the React SDK), but I didn't see an equivalent for the Kotlin SDK. Is this something that could be added?

@Bohdan-Kim
Copy link
Contributor

It sounds like spying on feature usage. Could you please specify the use case where it can be needed?

@szeidner
Copy link
Author

We use onFeatureUsage in React Native to log analytics when useFeatureValue is called.

@szeidner szeidner changed the title Feature Usage Calback Feature Usage Callback Apr 25, 2024
@Bohdan-Kim
Copy link
Contributor

The pull request was created according to this issue.
After new release the usage will be like:

image

You can see the 'whether featureUsageCallback is called' test for more info.

vazarkevych added a commit that referenced this issue May 3, 2024
Feature Usage Callback
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

3 participants