Open kate010 opened 4 years ago
We use this package https://github.com/ARDcode/react-native-appmetrica-yandex, it works
Is it for managed workflow?
Sorry, didn’t get the question. What did you mean by “managed workflow”?
I mean ExpoJs has 2 different workflows to wark with react-native: bare and managed. It looks like this module is only for bare worflow.
I gets error when load app with react-native-appmetrica module: Could not find a declaration file for module 'react-native-appmetrica'. '.../node_modules/react-native-appmetrica/index.js' implicitly has an 'any' type. Try
npm install @types/react-native-appmetrica
if it exists or add a new declaration (.d.ts) file containingdeclare module 'react-native-appmetrica';
ts(7016) also when i opens file node_modules\react-native-appmetrica\index.js I get a lot of warnings "Type aliases can only be used in TypeScript files.ts(8008)". How to fix that issue? It looks like index.js infacts is index.ts