@react-native-documents/picker 10.1.2 → 10.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -254,12 +254,12 @@ class RNDocumentPickerModule(reactContext: ReactApplicationContext) :
254
254
  reactApplicationContext.contentResolver.takePersistableUriPermission(uri, takeFlags)
255
255
  val encodedBookmark =
256
256
  Base64.encodeToString(uri.toString().toByteArray(Charsets.UTF_8), Base64.DEFAULT)
257
- map.putString("status", "success")
257
+ map.putString("bookmarkStatus", "success")
258
258
  map.putString("bookmark", encodedBookmark)
259
259
  } catch (e: Exception) {
260
260
  val error =
261
261
  e.localizedMessage ?: e.message ?: "Unknown error with takePersistableUriPermission"
262
- map.putString("status", "error")
262
+ map.putString("bookmarkStatus", "error")
263
263
  map.putString("bookmarkError", error)
264
264
  }
265
265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-documents/picker",
3
- "version": "10.1.2",
3
+ "version": "10.1.3",
4
4
  "description": "A react native interface to access documents from dropbox, google drive, iCloud...",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",