openvidu-android: Bump targetSdk to 31
* minSdk: API level 21 (Android 5) required by org.webrtc:google-webrtc:1.0.32006 (Google WebRTC). * targetSdk: API level 31 (Android 12) required by Google Play Store, since August 1, 2022. See: https://support.google.com/googleplay/android-developer/answer/11926878 * compileSdkVersion: Should match "targetSdk". The upgrade also required adding `android:exported` to the manifest.
This commit is contained in:
parent
2bab009d77
commit
8e4a12b72b
@ -1,11 +1,21 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
// NOTES
|
||||
// =====
|
||||
//
|
||||
// * minSdk: API level 21 (Android 5) required by org.webrtc:google-webrtc:1.0.32006 (Google WebRTC).
|
||||
// * targetSdk: API level 31 (Android 12) required by Google Play Store, since August 1, 2022.
|
||||
// See: https://support.google.com/googleplay/android-developer/answer/11926878
|
||||
// * compileSdkVersion: Should match "targetSdk".
|
||||
//
|
||||
// For a complete table of all Android API levels, check https://apilevels.com/
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
compileSdk 31
|
||||
defaultConfig {
|
||||
applicationId "io.openvidu.openvidu_android"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
minSdk 21
|
||||
targetSdk 31
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@ -8,8 +8,10 @@
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity android:name="io.openvidu.openvidu_android.activities.SessionActivity"
|
||||
android:label="OpenVidu Android">
|
||||
<activity
|
||||
android:name="io.openvidu.openvidu_android.activities.SessionActivity"
|
||||
android:label="OpenVidu Android"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user