Turbolinks ios

A little more drastic, we’ve also pushed all the commercial database adapters into their own gems. So Rails now only ships with adapters for MySQL, SQLite, and PostgreSQL. These are the databases that we have easy and willing access to test on. But that doesn’t mean the commercial databases are left out in the cold. Rather, they’ve now been set free to have an independent release schedule from the main Rails distribution. And that’s probably a good thing as the commercial databases tend to require a lot more exceptions and hoop jumping on a regular basis to work well.

I'm using Turbolinks 5 on the backend, and turbolinks-ios in my iOS app.

When a page loads in a VisitableViewController , I'd like to have the native app receive (or retrieve?) some metadata from the web page, in order to offer some additional UI affordances using native code.

I know I can do this in a roundabout way by setting some <meta> tags on the server side, and then executing JS in the WKWebView and getting at the meta tags that way, but it seems like a hack.

Another option is executing a turbolinks callback message and receiving via addScriptMessageHandler , but that also seems like a hack.

Any help would be appreciated! Perhaps there is a better, sanctioned way to do this? It seems like it would be a common need.

Turbolinks ios

turbolinks ios


turbolinks iosturbolinks iosturbolinks iosturbolinks iosturbolinks ios