Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: cbullinger <[email protected]>
  • Loading branch information
krollins-mdb and cbullinger authored Nov 6, 2023
1 parent 12bbef6 commit ae035e1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For an example, refer to :ref:`node-cancel-async-after-timeout`.
Encrypt App Metadata
--------------------

You can encrypt the metadata App Services stores on client devices. Use the
You can encrypt the metadata that App Services stores on client devices. Use the
values of the :js-sdk:`MetadataMode enum <enums/_internal_.MetadataMode.html>`
to determine encryption behavior.

Expand Down
4 changes: 2 additions & 2 deletions source/sdk/node/realm-files/encrypt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ open an encrypted realm:
.. include:: /examples/generated/node/v12/formatted/metadata.test.snippet.encrypt-realm.js.rst


Storing & Reusing Keys
Store & Reuse Keys
----------------------

You **must** pass the same encryption key every time you open the encrypted realm.
Expand Down Expand Up @@ -87,4 +87,4 @@ on-device metadata file to determine changes that should sync.
You can encrypt this metadata file in a similar manner as encrypting your
realm.

To learn more, refer to :ref:`Ecrypt App Metadata <node-encrypt-app-metadata>`.
To learn more, refer to :ref:`Encrypt App Metadata <node-encrypt-app-metadata>`.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ from the ``realm`` package, then pass in your ``App ID``.
Encrypt App Metadata
--------------------

You can encrypt the metadata App Services stores on client devices. Use the
You can encrypt the metadata that App Services stores on client devices. Use the
values of the :js-sdk:`MetadataMode enum <enums/_internal_.MetadataMode.html>`
to determine encryption behavior.

To encrypt App metadata:

#. Import ``MetadataMode`` from ``Realm`` and import other dependencies.
#. Import ``MetadataMode`` from ``Realm`` and import other dependencies:

.. include:: /examples/generated/react-native/v12/EncryptMetadata.snippet.imports.tsx.rst

Expand Down
4 changes: 2 additions & 2 deletions source/sdk/react-native/realm-files/encrypt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ open an encrypted realm:

The following are key impacts to consider when encrypting a realm.

Storing & Reusing Keys
Store & Reuse Keys
----------------------

You **must** pass the same encryption key every time you open the encrypted realm.
Expand Down Expand Up @@ -78,4 +78,4 @@ on-device metadata file to determine changes that should sync.
You can encrypt this metadata file in a similar manner as encrypting your
realm.

To learn more, refer to :ref:`Ecrypt App Metadata <react-native-encrypt-app-metadata>`.
To learn more, refer to :ref:`Encrypt App Metadata <react-native-encrypt-app-metadata>`.

0 comments on commit ae035e1

Please sign in to comment.