INJIMOB 1781: bump up target sdk version to 34 (#1580)

* [INJIMOB-1729]: update data push endpoint of telemetry

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1781]: bump up target sdk version to 34

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1781]: update residentmobileapp to v1/mimoto

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
This commit is contained in:
Alka Prasad
2024-08-16 11:35:09 +05:30
committed by GitHub
parent 8feac16137
commit 07be580064
2 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ buildscript {
buildToolsVersion = "33.0.0"
minSdkVersion = 23
compileSdkVersion = 33
targetSdkVersion = 33
targetSdkVersion = 34
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
kotlinVersion = "1.9.0"

View File

@@ -24,8 +24,7 @@ export async function request(
},
timeoutMillis?: undefined | number,
) {
if (path.includes('residentmobileapp'))
headers['X-AppId'] = __AppId.getValue();
if (path.includes('v1/mimoto')) headers['X-AppId'] = __AppId.getValue();
let response;
const requestUrl = path.indexOf('https://') != -1 ? path : host + path;
if (timeoutMillis === undefined) {