Skip to content

Compile and target Android API 31 #5181

@AjeshRPai

Description

@AjeshRPai

Parent #wordpress-mobile/WordPress-Android#16062

As part of the migration of WP Android to Android 12, the targetSdkVersion on the dependent libraries can be updated to 31. The Wordpress Android had a targetSdkVersion of 30 which now has been updated to 31 in this PR - wordpress-mobile/WordPress-Android#17153. So in order to keep the targetSdkVersion to be consistent with the apps, this change needs to be taken up.

UPDATE: The following Android dependencies need also to be updated to Android 12:

Dependencies from forked repositories (published to JitPack)

Dependencies from NPM packages (published to S3 via react-native-libraries-publisher)

UPDATE: The following libraries are external so we won't be updating them for now.

  • react-native-get-random-values
  • react-native-reanimate
  • react-native-safe-area-context
  • react-native-screen
  • react-native-svg
  • react-native-webview
  • react-native-masked-view
  • react-native-clipboard
  • react-native-gesture-handler
  • react-native-fast-image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions