using device name reservation, leads to invalid public session link
Android version: 11 -> 1.jan.2021
Device: OnePlus Nord
System language: German
App version: v0.1.0
App source: F-Droid
Steps to reproduce:
In our nextcloud web app we create a new session and activate "devicename registration" for this session, using the name "theDevice". Then we open phonetrack and use "New PhoneTrack protocol Task" to add a tracking task for the new session.
To enable phonetrack to upload positions for the specific device name "theDevice" in the new session, we need to fill in the "device name" field in the phone tracker app by using the hash, previously generated for the registered name in the web app. For example:
key : value
theDevice : c7dd4f769cf3e54e7519afd1151d03ef
If we put in "c7dd4f769cf3e54e7519afd1151d03ef" for device name, the phone tracker app can now successfully upload coordinates for a device named "theDevice".
Now if we want to share a public "PhoneTrack-URL" for this device via PhoneTracker app a problem arises:
As long as the field "device name" holds the value for our name reservation(c7dd4f769cf3e54e7519afd1151d03ef), we are able to track the position but generate an invalid public sharing link. If we change the "device name" field to the key(theDevice), we can no longer track our coordinates but the generated public link is valid and shows the already captured positions.
One option excludes the other as far as i can see. Is that a known bug or working as intended? I'd really like to use both device name registration and sharing that link publicly.
thank you very much!