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: Dashboard app data injection #907

Merged

Conversation

JaideepGuntupalli
Copy link
Contributor

Fixes Dashboard App data injection

Description

Fixes Dashboard App data injection by enabling javascript in WebView and send the data after the webpage loading ends.

Fixes #906

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

You can host index.html from https://github.com/JaideepGuntupalli/chatwoot-sample-dashboard-app/tree/main locally and proxy using ngrok and add as dashboard app to any one of the account. You can open the same account on chatwoot mobile app and try to load this dashboard app. There is no json being sent earlier, but after this change we actually get the json

Checklist:

  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have tested in both Android and iOS platform
  • My changes generate no new warnings

@JaideepGuntupalli
Copy link
Contributor Author

Hey @muhsin-k can you pls take a look at this PR?

@muhsin-k muhsin-k self-requested a review February 27, 2025 06:01
@muhsin-k muhsin-k self-assigned this Feb 27, 2025
Copy link
Member

@muhsin-k muhsin-k left a comment

Choose a reason for hiding this comment

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

LGTM

@muhsin-k muhsin-k changed the title fix: dashboard app data injection fix: Dashboard app data injection Feb 27, 2025
@muhsin-k muhsin-k self-requested a review February 27, 2025 06:38
@muhsin-k muhsin-k merged commit e34631d into chatwoot:develop Feb 27, 2025
1 check passed
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.

Unable to get context data to Dashboard app
2 participants