Skip to content

Commit 15c6f1a

Browse files
authored
fix: suppress enableOnBackInvokedCallback API level warning (#42)
- Add tools:targetApi="33" to suppress lint warning for enableOnBackInvokedCallback - Attribute is safely ignored on devices below API 33 - Ensures predictive back gesture support on Android 13+ devices
1 parent ea5308d commit 15c6f1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ xmlns:tools="http://schemas.android.com/tools">
2525
android:fullBackupContent="false"
2626
android:dataExtractionRules="@xml/no_backup"
2727
android:enableOnBackInvokedCallback="true"
28+
tools:targetApi="33"
2829
android:icon="@mipmap/ic_launcher"
2930
android:label="@string/app_name"
3031
android:supportsRtl="true"

0 commit comments

Comments
 (0)