Hi, thanks for maintaining this library.
I ran into an Android build failure when using:
"react-native-bluetooth-state-manager": "2.0.4",
"react-native-nitro-modules": "0.35.9",
"react-native": "0.85.3"
The Android build fails during Kotlin compilation for react-native-bluetooth-state-manager:
Task :react-native-bluetooth-state-manager:compileDebugKotlin FAILED
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:31:11 Unresolved reference 'updateNative'.
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:34:3 'updateNative' overrides nothing.
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:36:11 Unresolved reference 'updateNative'.
Downgrading Nitro Modules fixed the issue:
"react-native-bluetooth-state-manager": "2.0.4",
"react-native-nitro-modules": "0.29.4"
So it looks like the generated Nitro/Nitrogen Android code in this package may not yet be compatible with the breaking changes introduced in react-native-nitro-modules 0.35.x.
Would it be possible to update/regenerate this package against the latest Nitro Modules version, or document the currently supported Nitro version range in peerDependencies / README?
Here is the relevant note on the "nitro" release page - link
Environment:
React Native: 0.85.3
react-native-bluetooth-state-manager: 2.0.4
react-native-nitro-modules: 0.35.9 - fails
react-native-nitro-modules: 0.29.4 - works
Platform: Android
Thank you.
Hi, thanks for maintaining this library.
I ran into an Android build failure when using:
"react-native-bluetooth-state-manager": "2.0.4",
"react-native-nitro-modules": "0.35.9",
"react-native": "0.85.3"
The Android build fails during Kotlin compilation for react-native-bluetooth-state-manager:
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:31:11 Unresolved reference 'updateNative'.
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:34:3 'updateNative' overrides nothing.
e: node_modules/react-native-bluetooth-state-manager/nitrogen/generated/android/kotlin/com/margelo/nitro/bluetoothstatemanager/HybridBluetoothStateManagerSpec.kt:36:11 Unresolved reference 'updateNative'.
Downgrading Nitro Modules fixed the issue:
"react-native-bluetooth-state-manager": "2.0.4",
"react-native-nitro-modules": "0.29.4"
So it looks like the generated Nitro/Nitrogen Android code in this package may not yet be compatible with the breaking changes introduced in react-native-nitro-modules 0.35.x.
Would it be possible to update/regenerate this package against the latest Nitro Modules version, or document the currently supported Nitro version range in peerDependencies / README?
Here is the relevant note on the "nitro" release page - link
Environment:
React Native: 0.85.3
react-native-bluetooth-state-manager: 2.0.4
react-native-nitro-modules: 0.35.9 - fails
react-native-nitro-modules: 0.29.4 - works
Platform: Android
Thank you.