This PR adds the ability to pass in the AES encryption key from a native memory region. After opening the Realm the caller can reset this native memory region to reduce the window where the key is available clear in memory.
[ ] Update Core when it's ready
[x] Test will not pass on Android (need to add a helper method in JNI to allocate native memory for the openEncryptedRealmWithEncryptionKeyCallback test)
This PR adds the ability to pass in the AES encryption key from a native memory region. After opening the Realm the caller can reset this native memory region to reduce the window where the key is available clear in memory.
openEncryptedRealmWithEncryptionKeyCallback
test)Closes #1705