joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

iOS app #154

Open davidyanezv opened 11 years ago

davidyanezv commented 11 years ago

Hi

I wanted to include monocle in the main bundle of my IOS app. When I render the main html file in an in app webView that includes the monocle files and the content of the book. Probably because of the cross domain restriction of using file://. Is there anyway to make it work ?

Thanks

afloresalmeida commented 11 years ago

Hi,

I did it using Phonegap / Apache Cordova. This application solves the cross domain problem.

Hope it helps.

Att.,

Alexandre

De: David Yanez Enviado: ‎14‎ de ‎novembro‎ de ‎2012 ‎19‎:‎24 Para: joseph/Monocle Assunto: [Monocle] iOS app (#154)

Hi

I wanted to include monocle in the main bundle of my IOS app. When I render the main html file in an in app webView that includes the monocle files and the content of the book. Probably because of the cross domain restriction of using file://. Is there anyway to make it work ?

Thanks

— Reply to this email directly or view it on GitHub.

NirbhayK commented 11 years ago

I have also implemented using cordova + monocle combo and it solved the cross domain issues.