Skip to content

docs: add migration guide from 8.0 to 8.1.0 and other docs#28

Open
alexgerardojacinto wants to merge 11 commits intofeat/RMET-4099/camera-unificationfrom
docs/add-migration-8.1
Open

docs: add migration guide from 8.0 to 8.1.0 and other docs#28
alexgerardojacinto wants to merge 11 commits intofeat/RMET-4099/camera-unificationfrom
docs/add-migration-8.1

Conversation

@alexgerardojacinto
Copy link
Copy Markdown
Collaborator

@alexgerardojacinto alexgerardojacinto commented Apr 6, 2026

@alexgerardojacinto alexgerardojacinto changed the title docs: add migration guide from 8.0 to 8.1.0 docs: add migration guide from 8.0 to 8.1.0 and other docs Apr 7, 2026
@alexgerardojacinto alexgerardojacinto self-assigned this Apr 7, 2026
source: CameraSource.Camera,
quality: 90,
allowEditing: true,
resultType: CameraResultType.Uri,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhere here or before, we should state that the other CameraResultType's are not supported, and maybe link to "Result type changes" section or something like that?

README.md Outdated
const imageUrl = result.webPath;
```

#### `CameraSource.Photos` → `chooseFromGallery`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is a non-problem, but just wondered if the capacitor-docs website support these unicode characters for sections, or would links to those sections be broken? I mean they probably do, but worth checking first as I can't think of one place where we have these kinds of characters in section title?

Or, if we don't want to bother checking, the safe route is changing "→" to "with" or "to"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's a good point, I think we should just play it safe then

| `height` | `targetHeight` | `takePhoto`, `chooseFromGallery` |
| `direction` | `cameraDirection` | `takePhoto` |
| `allowEditing` | `editable: 'in-app'` | `takePhoto`, `chooseFromGallery` |
| `resultType` | — (removed) | — |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link to "result type changes" section?

Comment on lines 296 to 298
* [Enums](#enums)

</docgen-index>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually here in other plugins with this error structure we have added a line saying:

For list of existing error codes, see [Errors](#errors).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you're right. Just a minor correction, I believe it should be:

For a list of existing error codes, see Errors

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah fair enough, I copy-pasted that from another plugin (I think file transfer, but maybe there's others), which could probably use a typo correction then heh.

README.md Outdated

### Errors

The plugin returns structured errors on Android and iOS. Each error has a `code` (e.g. `OS-PLUG-CAMR-0003`) and a `message` with a human-readable description.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth stating, only available for native, and only since 8.1.0, and only for the new methods added in 8.1.0

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added that, can you check? Thank you!

alexgerardojacinto and others added 7 commits April 8, 2026 08:12
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants