I’m trying to figure out why when installing from an apk, previous installs of the app aren’t always overwritten. Here is the case I just ran into:
- Yesterday I built an apk file with
tns build android --bundleand uploaded it to google drive.
- This morning I made some visual changes to the app (in some of the html files) and was debugging with usb cable via
tns run android.
- Then I wanted to test yesterday’s apk file (when a coworker tried to install from the google apk, the css wasn’t showing up) so I uninstalled the app from my android device, disconnected the usb cable, and download installed yesterday’s apk file from google drive.
- When I open the app I’m still seeing the visual changes I made this morning. There is no way they should be in the apk uploaded to google drive so it’s not getting installed.
My androidManifest has the following:
android:name="com.tns.NativeScriptApplication" tools:replace="android:allowBackup" android:allowBackup="false" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme">
When uninstalling an android app isn’t it wiped completely?