Release 1.4.7 is hitting central

92 views
Skip to first unread message

Stéphane Nicolas

unread,
Sep 21, 2013, 5:18:57 AM9/21/13
to robo...@googlegroups.com
New release includes : 

Enhancements
* New OkHttp module that allows to use OkHttpClient inside a RoboSpice request.
* Notifications now work correctly on Android 4.3 when service is going to background. Thx to Andrew Clark and others for this.
* New SpiceService monitoring system initiated by Andrew Clark. A new sample has been added : robospice-sample-core-monitor to demonstrate how to use this feature.

Bug fixes
* Documentation has been updated in RS Starter Guide thanks to Mathieu Castets.
* removeDataFromCache now returns a future for possible sync. Thanks to sergej-koscejev for the fix in pull request https://github.com/octo-online/robospice/pull/185
* Better handling of aggregation in SpiceManager. It caused a memory leak with many identical SpiceRequests. Thanks to seva-ask. Pull request https://github.com/octo-online/robospice/pull/182
* Issue #189 by Vsevolod Ivanov (seva ask): fix for fast switching. https://github.com/octo-online/robospice/pull/189
* A NPE could be sent when notifying listeners of a request not found when screen was turned on. 

Work In Progress
Thanks to Riccardo Ciovatti, all samples are migrating to Gradle. This work should be complete soon. The RoboSpice library build system will remain maven for now.

Roadmap
RoboSpice is becoming more and more mature and seems to contain no more major bugs.
Its development will go on at a more quiet pace now.

Next major release 1.5.0 or 1.6.0 will feature a "repost" feature proposed by Jerome Van Der Linden : it will be able to resume requests that failed, for instance, if network goes down for half an hour, it will resend all requests that could not be sent when network was off, including those that were pending when network went down.

We hope you enjoy that release again,
RoboSpice dev team

--
Stéphane NICOLAS,
OCTO Technology 
Développeur & Consultant Android / Java
..........................................................
50, Avenue des Champs-Elysées
75008 Paris
+33 (0)6.26.32.34.09
www.octo.com - mobilite.octo.com 
blog.octo.com - www.usievents.com
...........................................................

Vishnu Rao

unread,
Sep 27, 2013, 6:15:55 PM9/27/13
to robo...@googlegroups.com
After i upgraded to 1.4.7 i am seeing this progaurd warning

Warning: com.octo.android.robospice.SpiceService: can't find referenced field 'int priority' in class android.app.Notification

Also i am seeing this error in-spite of having the work round :

if (spiceManager.isStarted()) {
spiceManager.shouldStop();
}


main Could not unbind from service.
        java.lang.IllegalArgumentException: connection is null
        at android.app.ContextImpl.unbindService(ContextImpl.java:1482)
        at android.content.ContextWrapper.unbindService(ContextWrapper.java:508)
        at com.octo.android.robospice.SpiceManager.unbindFromService(SpiceManager.java:1176)
        at com.octo.android.robospice.SpiceManager.shouldStop(SpiceManager.java:296)

-Vishnu.

Vishnu Rao

unread,
Sep 27, 2013, 6:29:12 PM9/27/13
to robo...@googlegroups.com
Commenting on my own question, i think it is safe to ignore this warning since the there is a check in the SpiceManager code to access priority only if it is jelly bean or later. And the priority feild was introduced in API 16.

if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
            note.priority = Notification.PRIORITY_MIN;
}

-Vishnu
Reply all
Reply to author
Forward
0 new messages