Skip to content

Commit faeb99c

Browse files
committed
fix: revert market field, up android GP version
1 parent 52dff08 commit faeb99c

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ string(TIMESTAMP CURRENT_DATE "%Y-%m-%d")
2828
set(RELEASE_DATE "${CURRENT_DATE}")
2929

3030
set(APP_MAJOR_VERSION ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}.${CMAKE_PROJECT_VERSION_PATCH})
31-
set(APP_ANDROID_VERSION_CODE 2124)
31+
set(APP_ANDROID_VERSION_CODE 2125)
3232

3333
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
3434
set(MZ_PLATFORM_NAME "linux")

client/core/controllers/api/servicesCatalogController.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,6 @@ ErrorCode ServicesCatalogController::fillAvailableServices(QJsonObject &services
217217
apiPayload[apiDefs::key::appVersion] = QString(APP_VERSION);
218218
apiPayload[apiDefs::key::cliName] = QString(APPLICATION_NAME);
219219
apiPayload[apiDefs::key::appLanguage] = m_appSettingsRepository->getAppLanguage().name().split("_").first();
220-
#if defined(Q_OS_ANDROID)
221-
apiPayload[apiDefs::key::market] = QStringLiteral("playmarket");
222-
#else
223-
apiPayload[apiDefs::key::market] = QStringLiteral("appstore");
224-
#endif
225-
226220

227221
QByteArray responseBody;
228222
ErrorCode errorCode = executeRequest(QString("%1v1/services"), apiPayload, responseBody);

client/core/utils/constants/apiKeys.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ namespace apiDefs
4040
constexpr QLatin1String lastDownloaded("last_downloaded");
4141
constexpr QLatin1String sourceType("source_type");
4242
constexpr QLatin1String appLanguage("app_language");
43-
constexpr QLatin1String market("market");
4443

4544
constexpr QLatin1String activeDeviceCount("active_device_count");
4645
constexpr QLatin1String maxDeviceCount("max_device_count");

0 commit comments

Comments
 (0)