Skip to content

Android - RN .77.2 Incompatibility #264

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

Open
matiassalles99 opened this issue Apr 3, 2025 · 2 comments
Open

Android - RN .77.2 Incompatibility #264

matiassalles99 opened this issue Apr 3, 2025 · 2 comments

Comments

@matiassalles99
Copy link

Describe the bug

  • When using the latest version of this library (5.0.2) with RN 0.77.2 you run into:

node_modules/react-native-blob-courier/android/src/main/java/io/deckers/blob_courier/upload/UploaderParameterFactory.kt:255:37 Argument type mismatch: actual type is 'kotlin.collections.Map<kotlin.String, kotlin.Any?>', but 'kotlin.collections.Map<kotlin.String, kotlin.Any>' was expected.

To Reproduce

  1. Create a RN app using v0.77.2 (don't use Expo)
  2. Add react-native-blob-courier
  3. npm install
  4. npm run android

Expected behavior

  • Shouldn't crash

Additional context

  • I think this might be due to the Kotlin version RN .77.2 uses (2.0.21)
@edeckers
Copy link
Owner

edeckers commented Apr 6, 2025

Hi @matiassalles99 , thank you for reaching out and reporting this bug! Unfortunately I do not have as much time to spare for this project as I used to have, so while it's still high on my wishlist to give it some love and polishing someday, I do not know when that will happen.

If you feel up to it: I'd love to make some time to review any fixes you provide through PR's and merge them.

@matiassalles99
Copy link
Author

@edeckers yep would love to. I'm not familiar w/Kotlin and native Android but I'll give it a try at some point this week

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

2 participants