Glad that you like the article
Hi, WebviewResourceMappingHelper class has util methods that takes the incoming url and returns name of the local asset path (either from bundled assets or downloaded file) if a local asset is found. Else, it will return an empty string. If it returns an empty string, we make regular network call to load the webasset.
I have added sample code here https://gist.github.com/chethann/bfa24f3517864a4be39757b987d58a17