I am developing two different hybrid apps in an IBM Worklight 6 project which make use of the Worklight Encrypted Offline Cache (EOC). That being said, everything seems to work fine with each of those apps individually. I can open the EOC, read, write, etc. However, if I try to run one app on the Blackberry10 simulator or the windows phone 8 simulator and then run the other afterward, the EOC gives me a "Credentials mismatch" error.
It seems like the EOC wants both of my apps to use the same credentials to access it.
Has anyone seen this issue or can anyone offer any advice?
I should note that I do not see this issue when using EOC on iOS. (That being said, could this be a simulator issue?)
I found the culprit...
In the config.xml file for each app, there is a line about Widget Configuration:
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.0" id="[APP ID]" rim:backButton="exit">
Both of my apps had somehow ended up with the same APP ID which was causing them to try to access the same encrypted cache.