diff --git a/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt b/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt index 1ff3b244..981546bf 100644 --- a/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt +++ b/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt @@ -51,7 +51,7 @@ class ReactNativeFsModule internal constructor(context: ReactApplicationContext) private fun getPickFileLauncher(): ActivityResultLauncher> { if (pickFileLauncher == null) { val registry = (currentActivity as ReactActivity).activityResultRegistry - pickFileLauncher = registry.register, Uri>( + pickFileLauncher = registry.register, Uri?>( "RNFS_pickFile", OpenDocument() ) { uri -> diff --git a/package.json b/package.json index 8e0b0061..94e286b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dr.pogodin/react-native-fs", - "version": "2.25.1", + "version": "2.25.2", "description": "Native filesystem access for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",