I added shareduserid to my apps, when trying to update app from google play store I get -504 error.Device log is below. Manifest file is correct and when install from androi
If sharedUserId is added or removed from the AndroidManifest, users will not be able to update the application because the OS userid the Android OS is assigning to the application has changed.
Unfortunately for the users, at this point they can only move forward by doing an uninstall and re-install. There are no ways for you to fix this so that they can do an update.
I am really, really sorry this happened to you and your users. I have asked Google Play to add a warning to the Dev Console that alerts developers about this.
Take some cold comfort in the fact that you are not the only one who has had this issue. I've been there, and it sucks.