Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppMetrika for React native #42

Open
kate010 opened this issue Apr 18, 2020 · 4 comments
Open

AppMetrika for React native #42

kate010 opened this issue Apr 18, 2020 · 4 comments

Comments

@kate010
Copy link

kate010 commented Apr 18, 2020

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 containing declare 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

@natasha08n
Copy link

We use this package https://github.com/ARDcode/react-native-appmetrica-yandex, it works

@ekatherina
Copy link

Is it for managed workflow?

@natasha08n
Copy link

Sorry, didn’t get the question. What did you mean by “managed workflow”?

@ekatherina
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants