Skip to content
Menu
Auto
English

Versions and migration

The main documentation describes the current v1.x release line. Older snapshots are kept as migration references rather than separate copies of the whole site.

  • Keep Marker.markText for text-only work.
  • Keep Marker.markImage for image-only work.
  • Use Marker.mark for ordered text and image layers in one render pass.
  • Use position on each layer. positionOptions remains only for compatibility.
  • Use the plural watermarkImages array instead of watermarkImage and watermarkPositions.
watermarkTexts: [
{
text: 'Demo',
positionOptions: { position: Position.center },
position: { position: Position.center },
},
]
watermarkImage: { src: logo },
watermarkPositions: { position: Position.topRight },
watermarkImages: [
{
src: logo,
position: { position: Position.topRight },
},
],

The Marker method names and options do not change. For Web, convert numeric React Native assets to browser URLs, expect a data URL instead of a temporary file path, and configure CORS for remote images. See Compatibility for browser-specific differences.

If an older app depends on platform versions below iOS 13 or Android API 24, use the older line listed in Compatibility instead of forcing the current native implementation into that baseline.