Skip to content

Add support for Android in React Native 0.75 #110

@Gioee

Description

@Gioee

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions