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

feat(inApp): functional dispatchEvent & setConflictHandler APIs #12231

Merged

Conversation

Samaritan1011001
Copy link
Member

Description of changes

Adds helpers, utils and APIs for dispatchEvent and setConflictHandler

Issue #, if available

Description of how you validated changes

Campaign messages were synced using syncMessages API and dispatchEvent API was used to trigger the listeners and result was verified through console logs. After the addition of notifyListeners APIs it can be validated end to end. setConflictHandler was used to set a custom conflict handler for dispatchEvent API to use.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

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

@Samaritan1011001 Samaritan1011001 requested review from a team as code owners October 6, 2023 22:59
HuiSF
HuiSF previously approved these changes Oct 9, 2023
@Samaritan1011001 Samaritan1011001 merged commit f5bcc3a into aws-amplify:next/main Oct 10, 2023
23 of 24 checks passed
Samaritan1011001 added a commit to Samaritan1011001/amplify-js that referenced this pull request Oct 10, 2023
…amplify#12231)

* chore: truncate comments and typo

---------

Co-authored-by: Aaron S <[email protected]>
Co-authored-by: Jim Blanchard <[email protected]>
@Samaritan1011001 Samaritan1011001 deleted the feat/inapp/dispatchEvent branch April 26, 2024 19:01
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.

5 participants