Mention setUploadToServer only has effect after start

This commit is contained in:
Kevin Sawicki 2016-11-28 15:03:10 -08:00
parent f4be3782a2
commit 02cbd24165

View file

@ -75,15 +75,16 @@ ID.
Returns `Boolean` - Whether reports should be submitted to the server. Set through
the `start` method or `setUploadToServer`.
**NOTE:** This API can only be used from the main process
**Note:** This API can only be used from the main process.
### `crashReporter.setUploadToServer(uploadToServer)` _macOS_
* `uploadToServer` Boolean _macOS_ - Whether reports should be submitted to the server
This would normally be controlled by user preferences.
This would normally be controlled by user preferences. This has no effect if
called before `start` is called.
**NOTE:** This API can only be used from the main process
**Note:** This API can only be used from the main process.
## Crash Report Payload