tunapanda / funzo-app

Cordova app running ember and h5p
2 stars 3 forks source link

book/course import from URL hangs #42

Closed usernamenumber closed 8 years ago

usernamenumber commented 8 years ago

Unless we set up some kind of content server the app is configured to look at, the user is going to need to specify a URL from which to download a book. Toward this end I created an add-book component, which for now is just add-course with s/course/book/ in a new branch, book-import_book. However, it looks like neither component actually successfully downloads a file. The progress meter just sits there at 0%, and there is no evidence of an attempt to initiate the actual download.

It's possible that this code wasn't supposed to work yet, but I'm seeing this for both the course and book import from url buttons, both in emulation and after loading the app on my phone, and it's likely we're going to need to get the book install working asap. @Jakeii, do you have any insight into this?

usernamenumber commented 8 years ago

for testing purposes, the default download url for the book import, http://104.131.84.213/funzo-books/FOO.zip, should point to a usable demo book (though I haven't tested that much; I'll settle for just getting it to download for starters)

usernamenumber commented 8 years ago

fixed / no longer relevant