Skip to content

Could not find a declaration file for module '@snowplow/react-native-tracker' #217

@snow-leosanches

Description

@snow-leosanches

Describe the bug
Following the Quick Start, added the import to app/_layout.tsx and got the message.

To Reproduce

  • Start a new RN project;
  • Add the following to app/_layout.tsx:
import { newTracker } from '@snowplow/react-native-tracker';

Expected behavior
Import done with no errors.

Screenshots

Image

Smartphone (please complete the following information):

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions