AEROGEAR-894 Restadapter threading
by Summers Pittman
So RestAdapter right not has to be used from the UI thread (an Activity or Fragment) otherwise the callback may not be called. More specifically, the callback provided to read, save, etc is only called on the UI thread of the application. This makes it really easy to put UI code in the callback, but the side effect is if the UI thread is blocked or not running then the callback won't get fired.
I don't think this is a huge problem for 1.0 (assuming we document it), but I would like to get it fixed sooner rather than later.
The easiest was to fix it would be to attach a handle to a Thread (via a Handler, Looper, or Thread) to PipeConfig that is passed to the RestAdapter. If one isn't provided we can keep the same behavior we have now otherwise we can use the provided thread.
Make sense?
Summers
11 years, 10 months
Quick Bullets on Functionality
by Kris Borchers
Can someone give me 3 quick bullets on the 3 main pieces of AeroGear-iOS (Pipeline, DataManager, Auth) for a data sheet I'm working on? And by someone I pretty much mean Christos since Matthias is on vacation and if he responds to this message, though I would be appreciative, I would have to give him a severe beating for working on vacation. :-P
Here is what I have for JS as a reference. Just something quick and to the point:
Simple REST based persistence API built on top of jQuery.ajax
Unified local data management API leveraging in memory, session and local storage
REST based authentication model with AeroGear Security integration
Thanks!
11 years, 10 months
[aergoear-js] Building
by Daniel Bevenius
Hi!
Just wanted to post this incase anyone else runs into the same issue with
building aerogear-js. I was previously on an older version of Grunt 0.3.x,
and to build Grunt "~0.4.0rc5" is a requirement.
I've created this gist [1] with the steps that I took to get this to
build successfully . This might common knowledge to most people but I
thought I'd post just in case.
[1] https://gist.github.com/4671767
11 years, 10 months