-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
uxcam integration and screen naming #474
Conversation
app/src/main/java/com/hover/stax/permissions/PermissionsFragment.kt
Outdated
Show resolved
Hide resolved
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.
Code additions look excellent and straightforward, but just a minor however vital request.
Could we make the UXCam log consistently with other existing logs?
For example in all screens (fragments) we already have the AnalyticsUtil.logAnalyticsEvent(string, context)
which logs for firebase, amplitude and appsflyer.
I think inside the functions would be the perfect place to add the UXCam.tagScreenName(); without the need for extra new strings.
However, this AnalyticsUtil.logAnalyticsEvent(string, context)
is also used for other logs other than "visited screen" so we might want add an extra flag in the function for example AnalyticsUtil.logAnalyticsEvent(string, context, isForScreenVisit: Boolean? = false)
; and pass "true" inside each "visit logs"; this is so that we can appropriately check if we should log or not the UXCam in the AnalyticsUtil.logAnalyticsEvent
.
Please let me know if you need further clarifications or its clear.
Thanks
@androidmaven makes sense, except when I do that the function calls without the |
I see your point @mijiga . Instead of going through that change. You could do something like logAnalyticsEvent(event: String, ...:Object){ |
@androidmaven review |
Looking good Chief, but one last thing as a cleanup. Thanks. |
Done |
Thanks! Currently doing functional testing. I will revert in a bit. |
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.
LGTM
No description provided.