I am developing a car rental Android native application. I have setup firebase as backend. A user can book the car by paying. I have saved the prices of cars in the firebase real-time database. The selected car price will be fetched from the database and will be used to generate the final payable amount. I want to make it secure so that no one can manipulate the payable price as the code will be present at the client side and anyone with reverse engineering can do so.
is cloud functions will be suitable for it or firebase security rules will be enough?