Even after reinstalling data is not removed in ROOM database

I have developed a simple e-commerce app, even after reinstalling I am still getting the products saved in ROOM database. I have clear data and cleared cache and reinstalled the app still I am getting the datas back. I have deleted individual data manually in ROOM database and was not showing, after reinstalling I am getting the datas back. I have no idea how to delete permently from the ROOM database.

ext.room_version = "2.4.0"

implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"

Solution 1:

In your AndroidManifest file, inside "application" tag do this:

android:allowBackup="false"