callstack / react-native-image-editor

A library providing an API for cropping images from the web and the local file system.
MIT License
383 stars 118 forks source link

Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? /* = java.util.HashMap<String, Any?>? */ was expected #161

Closed HariPrasanthR closed 3 months ago

HariPrasanthR commented 3 months ago

Description

Task :react-native-community_image-editor:compileReleaseKotlin FAILED e: file: /node_modules/@react-native-community/image-editor/android/src/main/java/com/reactnativecommunity/imageeditor/ImageEditorModuleImpl.kt:161:29 Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? / = java.util.HashMap<String, Any?>? / was expected e: file: /node_modules/@react-native-community/image-editor/android/src/main/java/com/reactnativecommunity/imageeditor/ImageEditorModuleImpl.kt:164:72 Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? / = java.util.HashMap<String, Any?>? / was expected

Reproducible Demo

RN version 0.75.2

retyui commented 3 months ago

fixed in https://github.com/callstack/react-native-image-editor/releases/tag/4.2.1