Skip to content

Implicit dependency on @react-navigation/native #770

@AdrienPoupa

Description

@AdrienPoupa

After updating to 2.0.4, I removed this patch: #678 (comment)

But now my build fails with

 Error: Unable to resolve module @react-navigation/native from /home/runner/work/app/node_modules/@iterable/react-native-sdk/lib/module/inbox/components/IterableInbox.js: @react-navigation/native could not be found within the project or in these directories:
  1 | "use strict";
  2 |
> 3 | import { useIsFocused } from '@react-navigation/native';

I'm not using the inbox feature or any UI component. Iterable should not depend on @react-navigation/native. We're using Wix's React-Native Navigation and do not have @react-navigation/native installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file, or issues which involve a fix/change to a dependency

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions