Skip to content

Android - RN .77.2 Incompatibility #264

@matiassalles99

Description

@matiassalles99

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions