Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

React Native/Expo Documentation/Support #301

Open
addreeh opened this issue Mar 22, 2024 · 0 comments
Open

React Native/Expo Documentation/Support #301

addreeh opened this issue Mar 22, 2024 · 0 comments

Comments

@addreeh
Copy link

addreeh commented Mar 22, 2024

Describe the bug
Currently, mtproto does not appear to support React Native or Expo environments. This results in errors when attempting to use the library within a React Native project. Specifically, encountering a "Hermes" error suggests an incompatibility with the JavaScript engine used by React Native.

Expected behavior
Ideally, mtproto would either:

  1. Provide native support for React Native/Expo: This would allow seamless integration of the library into React Native projects without encountering errors.
  2. Offer clear documentation for manual integration: If native support isn't feasible, comprehensive documentation outlining the steps for manual integration within a React Native/Expo project would be immensely helpful.

Context
Library environment: React Native
Library version: latest
Node version: 20LTS

Additional context
The specific error encountered is related to Hermes, the JavaScript engine used by React Native. This suggests a potential incompatibility with the library's current implementation.

Request:
We kindly request that the development team consider one of the following options:

  1. Implement native support for React Native/Expo.
  2. Provide detailed documentation for manual integration within React Native/Expo projects.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant