Two apps of same type in a device.( customer & vendor )

I have created two apps in ionic 4. One is for the customer and the second one is for Vendor. Things are working fine if I install one application in a device but if I install both applications, another one stopped working with an error.
“Unable to load the app.”

Any chance both apps have the same widget id in their config.xml?