-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TouchBooksAlloy Sample Issues #92
Comments
By manually creating a Alloy project in Ti Studio and copy the src files over, I am able to compile & run the sample from within Ti Studio. It's fine to create new books and replicate to remote server. However the App could not display books. Have to check what's wrong. |
I revisited the sample again. Having a Cloudant DB setup. I could add book from the UI and see Cloudant DB get updated to different versions by changes in the edit book UI. Also see the App receiving update_from_server event too. Even attachment got synced to server as well. However same as before, the book list never shown. Traced and found that the $.tableView.refresh was never invoked. What could go wrong? |
I can also see books.cblite time stamp being updated in the iOS simulator directory too. It seems that fetching is not triggered. |
Well, finally get the App running as expected ... |
I'm reopening this issue to remind me to update the sample app. Sorry you had so much trouble getting it working. |
Thanks Paul. 👍 Your solution & couchDB fits my use case so well, such that I can't give up digging your sample sources, I do learn quiet many new concepts and programming techniques from the happy "troubles". By the way, directly using your sample code, the "Run" options are grayed out in Ti Studio UI, however the sample App could be launched by going through "Run Configurations" in Ti Studio instead of CLI. There must be some missing new stuff required by Studio since your last code. I haven't figured out them yet, but it should be better to recreate the Alloy project. |
Hi, I'm a Ti developer with a few offline-only Apps experience. Starting to explore apps like TouchBooksAlloy.
I could import the sample project to Ti Studio, however the "Run" button is dimmed for the project while it's fine for my other projects. CLI building is okay though. Since the sample is said to be "full source", I'd like to know what's missing ?
Or is the sample supposed to build up from an empty Ti Alloy project ?
Thanks!
The text was updated successfully, but these errors were encountered: