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

How i can fix error with added AppMetrica to react-native project

$
0
0

I tried add "react-native-appmetrica": "^1.1.0" to my react-native project.

When i tried to AppMetrica.activateWithApiKey("key") it gives an error:

TypeError: null is not an object (evaluating 'AppMetrica.activateWithApiKey')activateWithApiKeyindex.js:19:19AppInitApp.js:91:35<global>app.js:44:23loadModuleImplementationrequire.js:322:6<global>index.ios.js:9loadModuleImplementationrequire.js:322:6guardedLoadModulerequire.js:201:45global codeindex.bundle?platform=ios&dev=true&minify=false:212249:4

Viewing all articles
Browse latest Browse all 6211

Trending Articles



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