react-native-kontaktio
react-native-kontaktio copied to clipboard
[iOS] TypeError: stopRangingBeaconsInAllRegions(...).then is not a function
bug code from
https://github.com/Driversnote-Dev/react-native-kontaktio/blob/ce932cb127f505a939dea59882269ef292abf842/index.ts#L142-L143
fix code
const stopRangingBeaconsInAllRegions: () => Promise<void> =
KontaktModule.stopRangingBeaconsInAllRegions;
Finally, thanks for providing this library.