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

Add support for Android in React Native 0.75 #110

Closed
Gioee opened this issue Oct 3, 2024 · 0 comments · Fixed by #111
Closed

Add support for Android in React Native 0.75 #110

Gioee opened this issue Oct 3, 2024 · 0 comments · Fixed by #111
Assignees
Labels
bug Something isn't working

Comments

@Gioee
Copy link
Member

Gioee commented Oct 3, 2024

Current Behavior

Currently the driver works fine with iOS in every version of React Native/Expo. In Android it doesn't compile native code if the version of React Native is >= 0.75.

Screenshot 2024-10-03 alle 12 38 40

This error is due to the fact that from React Native 0.75 JSIModule is being deprecated and removed.

Someone already opened an issue on the library we're using alexdonh/react-native-fast-base64#1 but the maintainer of the library said he won't push out the fix anytime soon and he closed the issue.

I've tried to replace the react-native-buffer library we're using with the only other library I could find @craftzdog/react-native-buffer which uses react-native-quick-base64 instead of react-native-fast-base64, this library has way more downloads. I didn't get it to work, but while writing this issue I may have found why it wasn't working and it doesn't seem to be related with @craftzdog/react-native-buffer. The last time I've tried this library I've also faced some connection issue with iOS, so I may be do further investigation before pushing a fix.

Expected Behavior

The driver should work in every version.

Steps to Reproduce the Problem

Add the driver to your personal project with react native >=0.75 and try to run the app on Android

Environment

  • Version: >=1.0.255
  • Platform: Mac
  • React Native Version: >=0.75
@Gioee Gioee added the bug Something isn't working label Oct 3, 2024
@Gioee Gioee self-assigned this Oct 3, 2024
@Gioee Gioee closed this as completed in #111 Oct 3, 2024
@Gioee Gioee closed this as completed in b64e67b Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant