react-native-kontaktio icon indicating copy to clipboard operation
react-native-kontaktio copied to clipboard

[iOS] TypeError: stopRangingBeaconsInAllRegions(...).then is not a function

Open ekoooo opened this issue 7 months ago • 0 comments

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.

ekoooo avatar Nov 22 '23 07:11 ekoooo