I am looking for best method to create application which are connected to different databases based on client
So basically it is a multi tenancy model for an android app (enterprise use)
Deploy the same app to different customers but connect to different database for different customer.
The things I thought about is making a key and for each customer the key varies and a correct webservice will be contacted based on the key ( individual webservices for each client)?
Has anyone done something similar? What is the best method to approach this. Thanks