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

setCurrentScreenName in Android Native #544

Open
ihgoo opened this issue Mar 5, 2024 · 5 comments
Open

setCurrentScreenName in Android Native #544

ihgoo opened this issue Mar 5, 2024 · 5 comments
Labels
apps Issues specific to Clarity Apps SDK

Comments

@ihgoo
Copy link

ihgoo commented Mar 5, 2024

HI,
Calling setCurrentScreenName in the Android Native SDK always returns false. However, I saw that the React Native SDK changelog has a new setCurrentScreenName API. Does the Android Native SDK not support the setCurrentScreenName function?

Used com.microsoft.clarity:clarity version 2.1.1

@ibradwan
Copy link
Collaborator

ibradwan commented Mar 19, 2024

Hi,

This API is currently limited on ReactNative apps only. Could you please explain the use case in which you'd like to have this functionality?

@ibradwan ibradwan added the apps Issues specific to Clarity Apps SDK label Mar 19, 2024
@ihgoo
Copy link
Author

ihgoo commented Mar 31, 2024

Hi,

This API is currently limited on ReactNative apps only. Could you please explain the use case in which you'd like to have this functionality?

The React Native SDK Changelog states that the setCurrentScreenName API has been added to support setting the current screen name, which enables filtering on a certain screen on the dashboard.

So the native SDK also needs this feature.

@ibradwan
Copy link
Collaborator

We initially designed this API to help RNative users identify different screens in their apps. This is because RNative apps usually have a single screen with different fragments. But we've been getting more and more requests to expose the same API for native apps as well, so we'll be considering that and might need to redesign how it works to best fit all of our customers.

@ihgoo
Copy link
Author

ihgoo commented Apr 22, 2024

We initially designed this API to help RNative users identify different screens in their apps. This is because RNative apps usually have a single screen with different fragments. But we've been getting more and more requests to expose the same API for native apps as well, so we'll be considering that and might need to redesign how it works to best fit all of our customers.

Looking forward to having the same API implemented in the native SDK as well. Thank you!

@roots-ai
Copy link

@ibradwan not working properly with React Native either. #562 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps Issues specific to Clarity Apps SDK
Projects
None yet
Development

No branches or pull requests

3 participants