Hello iOS lovers,
I’ve just found an issue with our aerogear-ios-http library [1] that we think is a blocker
for our 2.1 release planned on Friday.
The problem occurs when using Http object as local variable rather than instance variable,
the root cause is the releasing of NSURLSession happening too early. But the problem
brought to our attention some code confusion around the usage of the public API. We would
like to fix the issue with some serious refactor.
Where to go from here?
After sitting down with Christos, we think a solid http ground is essential to support our
oauth2 lib, we’ve got some ideas on how we want to refactor. This issue is our main
priority and as soon as we’ve got a fix, we’ll do the release. Christos is already working
full time on this refactor so we can deliver as soon as possible the next exciting version
of our libs.
If you have any questions, concerns, this is the thread to ask.
++
Corinne
[1]
https://issues.jboss.org/browse/AGIOS-325
On 16 Dec 2014, at 07:36, Christos Vasilakis
<cvasilak(a)gmail.com> wrote:
Hi AeroGear community,
we are happy to announce a pre-release of our various iOS libraries. Here are few of new
features introduced in each respective list:
- aerogear-ios-jsonsz (new)
A newly introduced library which will take care the cumbersome plumbing required when
performing JSON serialisation back and forth from your Swift object model. For an example
usage of the library together with our http-lib check our Buddies cookbook example.
- aerogear-ios-http
We added the ability to perform basic/digest authentication when performing REST
Requests. Check out our Authentication cookbook example, for an example usage of the API
but remember to prefer HTTPS over plain HTTP when performing authentication of this type.
- aerogear-ios-oauth2
Continuing the development of our OAuth2 library, OpenID Connect support was added to
the library in the form of a ‘login’ request. Checkout out our ‘SharedShoot’ cookbook
example that login's to KeyCloak using OpenID connect for an example usage.
- aerogear-ios-httpstub
Stubbed responses from the local file system can be used instead of coding them in your
code. This will make easier to stub responses, especially big ones and be much ‘closer’ to
the reality. Check out our tests for an example usage.
Last, this release introduces Cocoapod support for our libraries. Although Cocoapods
hasn’t yet officially support ‘Swift’ that is planned for the next 0.36 release, a branch
on the project is working on it and already libraries starting to adopt. Just make sure to
include a Gemfile in your project pointing to that cocoapods branch (see here for more
detailed instructions) and in your Podfile include the desired library. For example usage,
see our cookbook repository where all of our demos have been converted.
So, give the libraries and demos a spin and let us know what you think. If no bad things
heard we are planning to tag and officially release 2.1 this Friday.
Have fun!
Corinne & Christos
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev