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

Add React Native tracker example #60

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Nov 7, 2024

Add simple example app for the React Native tracker v4.

It contains a few buttons to track some events and also a web view for tracking events with the WebView tracker. The URL for the web view can be configured in the app/index.ts file using the webViewEndpoint const.

@matus-tomlein matus-tomlein force-pushed the issue/add_react_native_example branch from c4a5cf9 to d0ed945 Compare January 2, 2025 13:18
Copy link

@mscwilson mscwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works nicely! LGTM works fine on web and iOS, doesn't work with Android

The main README needs updating with this new example.

react-native-example/app/index.tsx Outdated Show resolved Hide resolved
react-native-example/app/tracking.ts Outdated Show resolved Hide resolved
@mscwilson
Copy link

Getting this error for Android event "error":"ValidationError","dataReports":[{"message":"$.resolution: may only be 20 characters long", from the mobile context entity which has "resolution":"392.72727272727275x791.2727272727273"

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.

2 participants