This PR adds support for session persistence v2 protocol, whereby the encryption keys for the client to decrypt data and the server public key to encrypt data are stored in the secure enclave (keychain) and reused for future interactions.
The attached video is a demo for this feature, demonstrating how the wallet is able to handle dapp requests even after it was killed without requiring a connection request.
This PR adds support for session persistence v2 protocol, whereby the encryption keys for the client to decrypt data and the server public key to encrypt data are stored in the secure enclave (keychain) and reused for future interactions.
The attached video is a demo for this feature, demonstrating how the wallet is able to handle dapp requests even after it was killed without requiring a connection request.
https://github.com/MetaMask/metamask-ios-sdk/assets/17785504/b5cf22d8-2d25-46a7-9647-09a9aa36076f