Tiqr / tiqr

Obsolete Github repo for the tiqr.org project. Note that the repository is split into several individual repos, all with a tiqr- prefix
35 stars 16 forks source link

BWC Tiqr iPhone #14

Closed thijsdamen closed 11 years ago

thijsdamen commented 11 years ago

Android coming soon, this makes the iPhone app BWC.

Server add's a new field to the metadata call which providers the protocol it supports (highest protocol, all tiqr servers should be BWC, so protocol 1 supports everything up-to 1, but not guaranteed anything after 1)

thijsdamen commented 11 years ago

updated new json format for bwc

ijansch commented 11 years ago

I think there is an architectural issue with this approach. The metadata is cached by the clients. This means that if you've seen a server when it was on version 1.0, and it then gets upgraded, the client still thinks it's talking to 1.0. If the protocol is versioned, then the versioning should be part of the header of every request.

ijansch commented 11 years ago

I'm closing this pull. I've pulled in thijs's proposed changes into my own repo and will create an aggregated pull request later.