Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant