After checking that the third-party APP crashed after being launched on the Android 13 mobile phone, I checked the relevant changes in Android and initially determined that the essence is still not adapted to the new Bluetooth-related permissions of Android 12.
Android 12 Bluetooth related adaptation records
Increase api to 31 in build.gradle
Add 3 permissions in androidmanifest and make sure exported is true
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/>
Next, dynamically apply for these permissions in your code. If you do not obtain permissions in the business logic, do not perform Bluetooth operations.
Avoid reporting errors
Pay special attention to incomplete information collected by online platforms