-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Analytics client context configurable #855
Analytics client context configurable #855
Conversation
…context-configurable
app_version_code: clientContext.appVersionCode, | ||
app_package_name: clientContext.appPackageName, | ||
}, | ||
env: { |
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.
Can we default some of these to what's detected in Platform? For example platform
could be navigator.product
or browser...etc (if available), perhaps use the common/Platform class?
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.
Using clientInfo
to get the default info.
}, | ||
services: { | ||
mobile_analytics: { | ||
app_id: appId | ||
app_id: appId, | ||
sdk_name: 'aws-amplify' |
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.
can we put this in common/platform ? Just incase we want to use it elsewhere
…b.com/powerful23/aws-amplify into analytics-client-context-configurable
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.
👍
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.
👍
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Issue #, if available:
Description of changes:
To allow user pass configurations into client context
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.