aalto-trafficsense / regular-routes-client

"Learning Regular Routes" -client
MIT License
0 stars 0 forks source link

Device ID doesn't update before you once open visualization #28

Closed ktkarhu closed 9 years ago

finnlander commented 9 years ago

I think that device id updates only when resuming the application. Anyways, after implementing authentication, "device id" is going to be obsolete/removed as such -> no fix.

Ps. You can get your id (number) for visualizing by checking the url when you press "visualize" and open it in browser.

finnlander commented 9 years ago

I noticed that I had put a 'force update' to device id -field that occurs when opening visualization. The other place for update is the onResume() -method that was the original timing for update.

When I get the authentication feature working, the UI will show device id (number) already in the ui instead of some uuid. Also devices-api will be removed and device id query will use only device-api that return single device id but requires authentication + session_token to work.