christopherdro / christopherdro/react-native-html-to-pdf
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'HtmlToPdf' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes
- Dominant language
- Kotlin
- Stars
- 461
- Forks
- 273
- PR merge metrics
- No merged PRs in 30d
Description
### Before submitting a new issue
- [x] I tested using the latest version of the library, as the bug might be already fixed.
- [x] I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
- [x] I checked for possible duplicate issues, with possible answers.
### Bug summary
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'HtmlToPdf' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes
### Library version
1.0.3
### Environment info
```shell
no
```
### Steps to reproduce
1. …
2. …
### Reproducible example repository
no
Contributor guide
Research direction
Start by reproducing the error with library version 1.0.3 on a supported React Native version; the issue provides no environment details, file names, tests, or usable reproduction steps. Trace where the HtmlToPdf native module is expected to be registered and verify the module is available in the native binary. Done means the reported example can call HtmlToPdf without the TurboModuleRegistry invariant violation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100