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

Replace WebView URL with one that supports JS API #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SamMakesThings
Copy link

As the title says, the WebView URI used doesn't work with the JavaScript API mentioned in the LiveChat docs. Specifically, it doesn't expose access to LC_API, the global object with LiveChat's functions. Using the new link enables that access, so apps can inject JS to update user's name, email, and other variables, without filling in a redundant form.

Also I think it might come with performance improvements on older devices? Not 100% on that one but it feels faster in testing on my old Android.

As the title says, the WebView URI used doesn't work with the JavaScript API mentioned in the LiveChat docs. Specifically, it doesn't expose access to LC_API, the global object with LiveChat's functions. Using the new link enables that access, so apps can inject JS to update user's name, email, and other variables, without filling in a redundant form.

Also I think it might come with performance improvements on older devices? Not 100% on that one but it feels faster in testing on my old Android.
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.

1 participant