kadirahq / fast-render

Render you app even before the DDP connection is live. - magic?
MIT License
560 stars 80 forks source link

FR injects data into html in browser but not on mobile #164

Open vohtaski opened 8 years ago

vohtaski commented 8 years ago

I have disabled DDP with FastRender.debugger.blockDDP()

In browser, it works and I see the data injected into DOM inside text/inject-data. screen shot 2016-03-18 at 13 42 17 pm

However, when it's run on mobile (android), the data is not injected. screen shot 2016-03-18 at 13 41 55 pm

Do I need to configure some settings on Cordova to make it work?

thegizzada commented 8 years ago

I am experiencing the same issue, were you able to find a solution?

vohtaski commented 8 years ago

I did not not find a solution yet. The problem is that index.html file is served from the mobile phone, so there is not request that hit server's api, so no data injection.

The solution would to enforce loading of a page from the server, but I did not look into it yet. I wonder is that because of angular or blaze people also have this issue?