You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`grantPermissions`? |`"read"`\|`"write"`| Android only: The type of permission to grant to the receiving app that will open the document. This only has effect if you're viewing a file that lives in the app's sandboxed storage. |
14
-
|`headerTitle`? |`string`| iOS only: The title to display in the header of the document viewer. If not provided, the filename will be used. |
15
-
|`mimeType`? |`string`| Optional, but recommended: the mimetype of the document. This will help the Android OS to find the right app(s) to open the document. |
16
-
|`presentationStyle`? |[`PresentationStyle`](index.md#presentationstyle)| iOS only - Controls how the picker is presented, e.g. on an iPad you may want to present it fullscreen. Defaults to `pageSheet`. |
11
+
##### androidApplicationId?
12
+
13
+
> `optional`**androidApplicationId**: `string`
14
+
15
+
Android only - Optional, only provide a value if calling [viewDocument](#viewdocument) rejects with `IllegalArgumentException`. Represents the unique identifier for an Android application. Defaults to application package name, which usually is the same as the application id.
BaseOptions with the bookmark data from the DocumentPicker module. Obtain the bookmark using the "open" mode, with `requestLongTermAccess` flag set to true.
25
59
26
60
A bookmark enables long-term access to a file.
27
61
28
-
#### Type declaration
62
+
#### Type Declaration
29
63
30
64
| Name | Type | Description |
31
65
| ------ | ------ | ------ |
@@ -35,11 +69,11 @@ A bookmark enables long-term access to a file.
The packages are designed to support last 3 stable versions of RN. However, they very likely work with RN 0.73 and up.
21
-
22
-
:::warning
23
-
The document picker package requires iOS 14 or later. If you use Expo, use Expo SDK >= 52 or [Expo build properties](https://docs.expo.dev/versions/latest/sdk/build-properties/#example-appjson-with-config-plugin) to update the `deploymentTarget` to `14`.
24
-
25
-
In regular React Native projects, use RN >= 0.76 or update the [settings in Xcode](https://stackoverflow.com/a/66798215/2070942).
26
-
:::
20
+
The packages are designed to support last 3 stable versions of RN. However, they very likely work with RN 0.76 and up.
0 commit comments