We need a UI view that allows the user to input OSM username. This will put the correct OSM username with each OSM edit.
I don't think we want the OSM password, at least for now.
Looking at a sample OSM edit file, we actually have a OSM user already stubbed in. OpenMapKit Server can parse this and aggregate submissions by user accordingly.
We need a UI view that allows the user to input OSM username. This will put the correct OSM username with each OSM edit.
I don't think we want the OSM password, at least for now.
Looking at a sample OSM edit file, we actually have a OSM user already stubbed in. OpenMapKit Server can parse this and aggregate submissions by user accordingly.
This is where we want to put in the actual user's OSM username:
https://github.com/AmericanRedCross/OpenMapKitAndroid/blob/4f492f952f70b652965bb6923905fda887184379/app/src/main/java/org/redcross/openmapkit/odkcollect/ODKCollectData.java#L139
Also see:
https://github.com/AmericanRedCross/OpenMapKitServer/issues/9#issuecomment-166726293