I'm trying to lint my project, but it keeps failing on this package( It builds and runs perfectly)
Execution failed for task ':react-native-incall-manager:lint'.
Lint found errors in the project; aborting build.
Fix the issues identified by lint, or add the following to your build script to proceed with errors:
* What went wrong:
Execution failed for task ':react-native-incall-manager:lint'.
> Lint found errors in the project; aborting build.
Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
lintOptions {
abortOnError false
}
}
...
The first 3 errors (out of 20) were:
/Users/choegeun-won/Documents/GitHub/aha/AhaApp/node_modules/react-native-incall-manager/android/src/main/java/com/zxcpoiu/incallmanager/AppRTC/AppRTCBluetoothManager.java:267: Error: Missing permissions required by BluetoothAdapter.getProfileConnectionState: android.permission.BLUETOOTH_CONNECT [MissingPermission]
+ stateToString(bluetoothAdapter.getProfileConnectionState(BluetoothProfile.HEADSET)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/choegeun-won/Documents/GitHub/aha/AhaApp/node_modules/react-native-incall-manager/android/src/main/java/com/zxcpoiu/incallmanager/AppRTC/AppRTCBluetoothManager.java:367: Error: Missing permissions required by BluetoothHeadset.getConnectedDevices: android.permission.BLUETOOTH_CONNECT [MissingPermission]
List<BluetoothDevice> devices = bluetoothHeadset.getConnectedDevices();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/choegeun-won/Documents/GitHub/aha/AhaApp/node_modules/react-native-incall-manager/android/src/main/java/com/zxcpoiu/incallmanager/AppRTC/AppRTCBluetoothManager.java:376: Error: Missing permissions required by BluetoothDevice.getName: android.permission.BLUETOOTH_CONNECT [MissingPermission]
Log.d(TAG, "Connected bluetooth headset: "
Hi,
I'm trying to lint my project, but it keeps failing on this package( It builds and runs perfectly)
Execution failed for task ':react-native-incall-manager:lint'.
Fix the issues identified by lint, or add the following to your build script to proceed with errors:
And above is my AndroidManifest
RN: 0.66.3 react-native-incall-manager: ^3.3.0
Anyone ran into this problem?