Use GetUploadsEnabled to return GetShouldUpload
This commit is contained in:
parent
5a1a2616aa
commit
285a36f9de
7 changed files with 31 additions and 7 deletions
|
@ -75,12 +75,16 @@ ID.
|
|||
Returns `Boolean` - Whether reports should be submitted to the server. Set through
|
||||
the `start` method or `setShouldUpload`.
|
||||
|
||||
**NOTE:** This API can only be used from the main process
|
||||
|
||||
### `crashReporter.setShouldUpload(shouldUpload)` _macOS_
|
||||
|
||||
* `shouldUpload` Boolean _macOS_ - Whether reports should be submitted to the server
|
||||
|
||||
This would normally be controlled by user preferences.
|
||||
|
||||
**NOTE:** This API can only be used from the main process
|
||||
|
||||
## Crash Report Payload
|
||||
|
||||
The crash reporter will send the following data to the `submitURL` as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue