Since that update, none of my own debug apps can access the Clover SDK and I receive a permissions violation (specifically MERCHANT_R when I call MerchantConnector#getMerchant()).
Things I have tried:
- Reinstalling via the App Market (via the web interface - the option to install is not present in the App Market app on the emulator).
- Restarting the emulator
- Double checking the permissions are of course still checked on the dashboard
- Uploading a new release APK to the dashboard (on an unpublished APK), and then redownloading via the App Market web page.
My emulator is signed in as a production US account which our dev account is tied to (Merchant ID is K8M9CMNXDX1H2)
Finally it seems a shame we can't add our own tags for questions any more, I'm not sure what topics might be available so can't really find anything suitable for this one.
Just to confirm this is not an issue on Clover version 2.0-1864. I have another emulator on that and the apps are fine (I will not update it). 1872 has revoked the permissions of all of our other debug apps.
I have narrowed down the behavior significantly and it's now completely reproducible which is good. The issue arises on a fresh emulator with Clover 1872 when a debug app is uninstalled and then reinstalled. Upon initial installation the app is able to access the SDK without issue. If at any point the app is uninstalled, the app becomes invalidated and can no longer access the SDK. The only solution I can see to this is to reinstall the SDK, and to never uninstall any development apps.