Skip to content

Commit 39b87ba

Browse files
docs: updates for geolocation and http (#463)
1 parent d4939b5 commit 39b87ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/apis/geolocation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ The following table list all the plugin errors:
246246
| OS-PLUG-GLOC-0007 | Android, iOS | Location services are not enabled. |
247247
| OS-PLUG-GLOC-0008 | iOS | Application's use of location services was restricted. |
248248
| OS-PLUG-GLOC-0009 | Android | Request to enable location was denied. |
249-
| OS-PLUG-GLOC-0010 | Android | Could not obtain location in time. Try with a higher timeout. |
249+
| OS-PLUG-GLOC-0010 | Android, iOS | Could not obtain location in time. Try with a higher timeout. |
250250
| OS-PLUG-GLOC-0011 | Android | Timeout needs to be a positive value. |
251251
| OS-PLUG-GLOC-0012 | Android | WatchId not found. |
252252
| OS-PLUG-GLOC-0013 | Android | WatchId needs to be provided. |

docs/apis/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const doPost = () => {
8686

8787
## Large File Support
8888

89-
Due to the nature of the bridge, parsing and transferring large amount of data from native to the web can cause issues. Support for downloading and uploading files to the native device is planned to be added to the `@capacitor/filesystem` plugin in the near future. One way to potentially circumvent the issue of running out of memory in the meantime (specifically on Android) is to edit the `AndroidManifest.xml` and add `android:largeHeap="true"` to the `application` element. Most apps should not need this and should instead focus on reducing their overall memory usage for improved performance. Enabling this also does not guarantee a fixed increase in available memory, because some devices are constrained by their total available memory.
89+
Due to the nature of the bridge, parsing and transferring large amount of data from native to the web can cause issues. Support for downloading and uploading files has been added to the [`@capacitor/file-transfer`](https://capacitorjs.com/docs/apis/file-transfer) plugin. In many cases, you may also need [`@capacitor/filesystem`](https://capacitorjs.com/docs/apis/filesystem) to generate a valid [file URI](https://capacitorjs.com/docs/apis/filesystem#geturi).
9090

9191
## API
9292

0 commit comments

Comments
 (0)