diff --git a/source/sdk/react-native/app-services/connect-to-app-services-app.txt b/source/sdk/react-native/app-services/connect-to-app-services-app.txt index a5ba79208f..6405012c97 100644 --- a/source/sdk/react-native/app-services/connect-to-app-services-app.txt +++ b/source/sdk/react-native/app-services/connect-to-app-services-app.txt @@ -75,7 +75,9 @@ to determine encryption behavior. To encrypt App metadata: #. Import ``MetadataMode`` from ``Realm`` and other dependencies. + .. include:: /examples/generated/react-native/v12/EncryptMetadata.snippet.imports.tsx.rst + #. Create an App configuration object that contains the ``metadata`` property. #. Set ``metadata.mode`` to a value from the ``MetadataMode`` enum. #. Set ``metadata.encryptionKey`` to the key you want to use for encryption.