Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Replace WebView URL with one that supports JS API#68

Open
SamMakesThings wants to merge 1 commit intolivechat:masterfrom
SamMakesThings:patch-1
Open

Replace WebView URL with one that supports JS API#68
SamMakesThings wants to merge 1 commit intolivechat:masterfrom
SamMakesThings:patch-1

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 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.

1 participant