-
Notifications
You must be signed in to change notification settings - Fork 5
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
Post beta fixes #352
Post beta fixes #352
Conversation
options={{ | ||
host: PUBLIC_POSTHOG_HOST, | ||
disableGeoip: true, | ||
enable: settingsLoadedFromStorage && analytics && !!analyticsId, |
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.
It could be that this line was the issue? :/
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.
The docs say:
// If set to false, tracking will be disabled until `optIn` is called
https://posthog.com/docs/libraries/react-native#configuration-options
@@ -59,7 +59,7 @@ const AddressCard = ({ style, addressHash, onSettingsPress }: AddressCardProps) | |||
|
|||
const [loading, setLoading] = useState(false) | |||
|
|||
const totalAddressBalance = BigInt(address?.balance ?? 0) + BigInt(address?.lockedBalance ?? 0) | |||
const totalAddressBalance = BigInt(address?.balance ?? 0) |
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.
I can't believe we did not notice this mistake... User reported it at #353
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.
Wth!
@mvaivre I am not sure why we have so few analytics recorded on PostHog... My dev client seems to be working fine once I remove the condition that checks if
__DEV__
is true.https://stackoverflow.com/questions/34315274/react-native-detect-dev-or-production-env
I hope this PR fixes the issue...