isFirstInstallation
Determines if the application is being installed for the first time.
The method checks the presence of a dedicated version file in the cache directory. If the file does not exist, it saves the current application version in the file and returns true
, indicating that this is the first installation. Otherwise, it returns false
to indicate that the application has been installed previously.
Return
true
if this is the first installation of the application, false
otherwise.