talsec / Free-RASP-Flutter

Flutter library for improving app security and threat monitoring on Android and iOS mobile devices.
https://github.com/talsec/Free-RASP-Community
MIT License
194 stars 20 forks source link

App version is not in correct format #150

Open tompsota opened 1 day ago

tompsota commented 1 day ago

Describe the bug A clear and concise description of what the bug is.

The version property of SuspiciousAppInfo in Malware detection contains incorrect value. Upon inspection, it is displaying longVersionCode instead of version of the app.

Expected behavior A clear and concise description of what you expected to happen.

I expect the malware detection to return app version as meaningful string, e.g '2.3.1' instead of '34'. This can be achieved by using PackageInfo.versionName property.

Thanks.