mattermost / mattermost/react-native-paste-input

Expo compatibility

Open
#7 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
213
Forks
38
Avg merge
12h 25m
Merged PRs (30d)
1

Description

Hello and thank you for your package!

It looks very promising, but I'd like to clarify whether this package is compatible with React Native apps that use the Expo managed workflow?

Currently, I getting the following error when trying to use code from your example in Expo managed app:

Invariant Violation: requireNativeComponent: "PasteInput" was not found in the UIManager.

This error is located at:
    in PasteInput (at src/index.tsx:307)
    in TouchableWithoutFeedback (at src/index.tsx:298)
    in ForwardRef (at component.tsx:88)
    ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the usage example and the references to src/index.tsx:307 and component.tsx:88, then trace how PasteInput is registered with UIManager. Check whether the reported Expo managed-workflow environment can load that native component; done means documenting compatibility and the required supported setup or confirming the needed change.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.