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.
Current API choices
Section titled “Current API choices”- Keep
Marker.markTextfor text-only work. - Keep
Marker.markImagefor image-only work. - Use
Marker.markfor ordered text and image layers in one render pass. - Use
positionon each layer.positionOptionsremains only for compatibility. - Use the plural
watermarkImagesarray instead ofwatermarkImageandwatermarkPositions.
Moving from older v1 code
Section titled “Moving from older v1 code”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 }, },],Adding a Web target
Section titled “Adding a Web target”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.
Historical references
Section titled “Historical references”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.