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

fix(@aws-amplify/analytics): do not send events when analytics modules not configured #3614

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

powerful23
Copy link
Contributor

Issue #, if available:
The signIn, signUp events will be sent no matter analytics module is configured or not.
Description of changes:
Stop sending those events when analytics or auth module is not configured. This can be done by checking the flags authConfigured and analyticsConfigured

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@powerful23 powerful23 merged commit 82e6f28 into aws-amplify:master Jul 9, 2019
tjleing pushed a commit to tjleing/amplify-js that referenced this pull request Jul 19, 2019
jordanranz pushed a commit that referenced this pull request Jul 22, 2019
* Added data-test attributes to React and Angular Sumerian Scene components

* Bump version back down (after using Verdaccio)

* Added some more data-type elements and used includes instead of hardcoded strings

* query string parsing and customChallenge Cognito response case (#3608)

* query string parsing and customChallenge Cognito response case

* checking for metadata from cognito response

* unit tests for react and vue

* fix(@aws-amplify/analytics): do not send events when analytics modules not configured (#3614)

* Added data-test attributes to React and Angular Sumerian Scene components

* Bump version back down (after using Verdaccio)

* chore(release): Publish [ci skip]

 - @aws-amplify/analytics@1.2.18-unstable.1
 - aws-amplify-angular@3.0.5-unstable.2
 - aws-amplify-react@2.3.10-unstable.2
 - aws-amplify-vue@0.2.13-unstable.0
 - aws-amplify@1.1.30-unstable.2

* chore(release): Publish [ci skip]

 - @aws-amplify/analytics@1.2.18
 - @aws-amplify/api@1.0.37
 - @aws-amplify/auth@1.2.26
 - aws-amplify-angular@3.0.5
 - aws-amplify-react-native@2.1.14
 - aws-amplify-react@2.3.10
 - aws-amplify-vue@0.2.13
 - aws-amplify@1.1.30

* Allow customers to add a custom state to federatedSignIn method (#3588)

* Update auth state

* Remove unneeded comments

* updating `isCustomStatePresent` to `combinedState`

* Updating naming conventions

* chore(release): Publish [ci skip]

 - @aws-amplify/api@1.0.38-unstable.0
 - @aws-amplify/auth@1.2.27-unstable.0
 - aws-amplify-angular@3.0.6-unstable.0
 - aws-amplify@1.1.31-unstable.0

* Added some more data-type elements and used includes instead of hardcoded strings

* Revert package-lock.json and yarn.lock

* Newlines at end of lockfiles to get rid of diff
jordanranz pushed a commit that referenced this pull request Jul 22, 2019
…#3710)

* Added data-test attributes to React and Angular Sumerian Scene components

* Bump version back down (after using Verdaccio)

* Added some more data-type elements and used includes instead of hardcoded strings

* query string parsing and customChallenge Cognito response case (#3608)

* query string parsing and customChallenge Cognito response case

* checking for metadata from cognito response

* unit tests for react and vue

* fix(@aws-amplify/analytics): do not send events when analytics modules not configured (#3614)

* Added data-test attributes to React and Angular Sumerian Scene components

* Bump version back down (after using Verdaccio)

* chore(release): Publish [ci skip]

 - @aws-amplify/analytics@1.2.18-unstable.1
 - aws-amplify-angular@3.0.5-unstable.2
 - aws-amplify-react@2.3.10-unstable.2
 - aws-amplify-vue@0.2.13-unstable.0
 - aws-amplify@1.1.30-unstable.2

* chore(release): Publish [ci skip]

 - @aws-amplify/analytics@1.2.18
 - @aws-amplify/api@1.0.37
 - @aws-amplify/auth@1.2.26
 - aws-amplify-angular@3.0.5
 - aws-amplify-react-native@2.1.14
 - aws-amplify-react@2.3.10
 - aws-amplify-vue@0.2.13
 - aws-amplify@1.1.30

* Allow customers to add a custom state to federatedSignIn method (#3588)

* Update auth state

* Remove unneeded comments

* updating `isCustomStatePresent` to `combinedState`

* Updating naming conventions

* chore(release): Publish [ci skip]

 - @aws-amplify/api@1.0.38-unstable.0
 - @aws-amplify/auth@1.2.27-unstable.0
 - aws-amplify-angular@3.0.6-unstable.0
 - aws-amplify@1.1.31-unstable.0

* Added some more data-type elements and used includes instead of hardcoded strings

* Revert package-lock.json and yarn.lock

* Newlines at end of lockfiles to get rid of diff

* Move data-test=sumerianScene.loading so that it actually appears in the DOM
@github-actions
Copy link

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 *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants