Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Type Error: null is not an object (evaluating KontakModule.stopDiscovery')

$
0
0

An error occurred

Type Error: null is not an object (evaluating KontakModule.stopDiscovery')

because

import Kontakt, { KontaktModule } from 'react-native-kontaktio';

after installing 'react-native-kontaktio'

What I have tried and it didn't work out:

Version

  • react: 16.9.0
  • react-native-cli: 2.0.1
  • react-native: 0.61.5
  • react-native-kontaktio: 2.7.0

I have tried using this library on Android and it worked perfectly. I really need help on this because I'm just a year 2 student and I need to add a feature on an app to scan for beacons nearby as soon as possible. I have no clue why does this happens but the problem is probably due to linking and compiling libraries because it is saying that a function imported is null (I tried to comment out each function one by one and I can conclude that all of the functions are null.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>