Using an Encrypted Realm in a background or notification processes?
Note: This post's primary purpose is to help me think through this problem. I have no prescribed solution at the end of it. The conversation will continue on Stack Overflow. I will update this post once I have a final approach. Realm has a great write up and sample code for encrypting your database. This documentation and sample work as intended, until you try to decrypt realm when: A user has a password on their phone The device is locked Your app is trying to do work with Realm when a remote notification…