Record the package and edition on the device so you can distinguish a store build from a provider-branded build.
Use Android's app signing documentation and the publisher's verification evidence. Account for documented signing lineage when a key rotates.
Check the official store update first. If the publisher file reports a mismatch, stop and confirm which distribution signing key applies to that edition.
Android uses signing identity to decide whether a file can update a particular installed package. A matching app name or icon tells you very little. Record the package and edition on the device so you can distinguish a store build from a provider-branded build.
Why did a package install but fail to update the old app?
Confirm the installed package ID and signing lineage against the official update channel. The old app may use a different signing key or edition even if its name matches.