Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable data protection when opening the Rmq2PersistentStore #2963
Other issue that have touched this is #401.
The error shown in my logs is:
The reproduction of this issue is interesting and requires quite a few steps. The gist is that the Rmq2 persistent store can not be opened when the phone has a passcode AND is locked AND the App is woken up AND it somehow touches the firebase messaging code.
In our case this was reproduced this way:
The folks over at FMDB have seen this before:
And the Apple Mailing lists have this Gem:
Once I patched my local firebase messaging plugin with this PR, the errors went away.
This PR changes the Rmq database protection to not-protected. As all App data is sandboxed anyway, I think this may not have negative security implications.
Thanks for adding the fix.