AdaSupport / ios-sdk

EmbedFramework is a small iOS SDK that is used to embed the Ada Chat bot into native iOS applications.
MIT License
4 stars 21 forks source link

CXP-181: Deprecate mobile webview sdk url #13

Closed NicHaley closed 4 years ago

NicHaley commented 4 years ago

Description

This PR is intended to deprecate the mobile-sdk-webview with a local HTML file. This will help to simplify architecture, make code changes to the HTML file easier, and increase loading speed of the Chat window.

Everything seems to be working fine except for persistence. When closing the app and re-opening, chatter persistence is never maintained.

This seems to be an issue relating to setting localStorage in the Webview with a local file. I've tried this SO suggestion, but so far no luck. Not sure if this is possible.

ALSO, just noticed but for some reason the AdaEmbed.html can't be committed to version control (you will notice it doesn't show up in "Files changed"). I've tried deleting add re-adding through Xcode ("Add Files to..."), but no dice.


Checklist