Skip to content

userlike/UserlikeIOSDemo

Repository files navigation

Userlike iOS Demo

This repository demonstrates how to integrate the Userlike Messenger into a Swift UI application.

The messenger is loaded in a WKWebview and communicates state changes to the host application with window.webkit.messageHandlers.[..].postMessage.

To use, insert your Widget Key in Assets/userlike.html.

TODO

  • demonstrate how to control the messenger with WKWebView.evaluateJavaScript()
  • actively manage WKWebView.websiteDataStore
  • make sure links are properly handled

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published