turbolinks / turbolinks-ios

Native iOS adapter for building hybrid apps with Turbolinks 5
MIT License
881 stars 92 forks source link

Page loading issue #40

Closed kuba108 closed 8 years ago

kuba108 commented 8 years ago

Hi, I do not know what I am doing wrong, but page won't load in my turbolinks test app. I follow steps in this tutorial (https://github.com/turbolinks/turbolinks-ios/blob/master/QuickStartGuide.md) and when I am in step 3 and I run app, title will show but page won't load (see printscreen). I run the plutil command. What I am doing wrong? Thanks for any advice.

image

zachwaugh commented 8 years ago

Are you running the local demo server or did you change the URL? It looks like you may be trying to hit basecamp.com, which doesn't use Turbolinks, so it wouldn't trigger the event to tell the framework the page has loaded. You'll need to make sure you hit a site that uses Turbolinks 5.

kuba108 commented 8 years ago

@zachwaugh Thanks for reaction. You are right that in attached image I am trying Basecamp with URL: https://basecamp.com. However, I also tried localhost app where I have turbolinks and this web app http://mlynkamenice.cz which also runs turbolinks and result is same: title changes but web page won't load.

sstephenson commented 8 years ago

Hi @kuba108,

I don’t know about your local app, but mlynkamenice.cz is not running Turbolinks 5. Your site must be using Turbolinks 5 for the native adapters to work.

Hope this helps!

kuba108 commented 8 years ago

Hi @sstephenson,

sorry, I have overlooked that it must be version 5. So thats it. I knew I will embarrass myself :) Thanks for explanation.

BTW: TB5 is great and your presentation on RailsConf is wonderful.