How to update pega android apps to use SDK (API level 34)

Hi pega Community ! ,

Android new policy forcing every app to target SDK 34 / android 14

But pega mobile building servers generates app with SDK 33

How to update the SDK to 34 so google approve our app ?! iam using pega

Version Pega PlatformInfinity '23

@piekd @Mateusz could you answer this Pega Mobile question?

@Mazen Pega keeps the target SDK version up-to-date so that app authors can always publish to Google Play. Remember that the default Mobile Client version shouldn’t be overridden on your mobile channel as this introduces the risk of an older version being used by the build service.

@MazenTo update your Pega Android app to target SDK 34 (Android 14) in Pega Infinity '23, open Dev Studio > Mobile > Mobile Channels, select your mobile app, and check if the SDK level can be modified there. If not, export the mobile app project from Pega, extract it, and update the build.gradle file by changing both targetSdkVersion and compileSdkVersion to 34. Re-import the modified project and rebuild the APK using the Mobile Channel. If the option to update the SDK level is still unavailable, you may need to contact Pega Support to check if the mobile build server requires an update. Finally, test the updated APK to ensure it targets API Level 34 and meets Google Play’s compliance standards ​​​​​

@Mazen

This issue is addressed with Mobile client version 12.0.0. Please rebuild with “new” Mobile client version to take advantage of new features and fixes.

Reference ticket: INC-B28287

Hello everyone i managed to solve this issue by giving spacifc mobile client version in the mobile channel which is (12.2.1) and rebuild