PhotoEditor SDK for React Native supports serialization and deserialization, allowing your users to save and revise their work at any time.
To use the serialization feature, you first need to enable this option within the
Furthermore, you can select the output format of the serialization. For this example, we are retrieving the serialization as an object. However, you can also change this to be a local file URI.
Process Serialization data#
Once the editor has exported the image successfully, the
PhotoEditorResult also contains a
serialization that you can further process.
The next section explains how to restore the editor state by deserializing these settings.