osmandapp / OsmAnd-tools

OsmAnd tools to generate new maps & to test OsmAnd files on PC
osmand.net
Other
97 stars 82 forks source link

Hotfix aid as not required for submit_analytics #886

Closed RZR-UA closed 2 months ago

RZR-UA commented 2 months ago
public class AnalyticsHelper extends SQLiteOpenHelper {
...
    private static final String PARAM_USER_ID = "aid";
...
                    if (app.isUserAndroidIdAllowed()) {
                        additionalData.put(PARAM_USER_ID, app.getUserAndroidId());
                    }

=>

2024-08-17 16:12:23.574 WARN [http-nio-127.0.0.1-8090-exec-1]: Resolved [org.springframework.web.bind.MissingServletRequestParameterException: Required request parameter 'aid' for method parameter type String is not present]