<div dir="ltr"><div>Hello,</div><div><br></div><div>I took a look at the Helios server (<a href="https://github.com/helios-framework/helios">https://github.com/helios-framework/helios</a>).</div><div><br></div><div>It is a Sinatra based &quot;Web UI&quot;, on-top of a PostgreSQL Database, which has a RESTful endpoint to accept device registration information/data;</div>
<div><br></div><div>On the (iOS) client, they recommend the usage of the Orbiter client framework (a simple wrapper around AFNetworking);</div><div><br></div><div>I am not planing to use the Orbiter client framework, but just to layout the level of data which, MAY be stored for a registered &quot;application installation&quot; on a device</div>
<div><br></div><div>It has nice hooks to provide a &quot;quite time&quot;, for disabling message delivery in a certain time interval:<br></div><div><a href="https://github.com/mattt/Orbiter/blob/master/Orbiter/Orbiter.h#L86-87">https://github.com/mattt/Orbiter/blob/master/Orbiter/Orbiter.h#L86-87</a></div>
<div><br></div><div>However, the framework collects a lot of other data as well  :)</div><div><br></div><div>For instance... it collects location data (if enabled, on the device), but the API doesn&#39;t really tell you that - it&#39;s collected by the implementation:</div>
<div><a href="https://github.com/mattt/Orbiter/blob/master/Orbiter/Orbiter.m#L100-101">https://github.com/mattt/Orbiter/blob/master/Orbiter/Orbiter.m#L100-101</a></div><div><br></div><div style>So I was surprised to see that in the JSON response :-)</div>
<div><br></div><div><br></div><div>Sure... it&#39;s useful - for some apps - but I think... If we want to allow our uses to store that kind of data, we should:</div><div>- add API hooks (into the client SDK) - may become &#39;verbose&#39;... after a while</div>
<div>- show how to do that and use a generic API (e.g. NSDictionary)</div><div><br></div><div>At a low-level, we really &quot;just&quot; require the device token and the version/variant of the os (e.g. iOS 6.1.3). Any other data is APP specific and really needs to be defined by the application developer that is using our bits. </div>
<div><br></div><div><br></div><div>Any thoughts ?</div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>