I discovered that the static method MimeTypeMap.getFileExtensionFromUrl incorrectly retrieves the extension. This became evident when capturing the screen on Samsung Mobile devices, if your app name contains spaces and is added to the saved file name, it can impact the functionality of the getFileExtensionFromUrl method. The presence of spaces in the app name might cause the method to incorrectly extract the file extension. However, on other mobile devices, the application name is not automatically added to the file name
I discovered that the static method
MimeTypeMap.getFileExtensionFromUrl
incorrectly retrieves the extension. This became evident when capturing the screen on Samsung Mobile devices, if your app name contains spaces and is added to the saved file name, it can impact the functionality of the getFileExtensionFromUrl method. The presence of spaces in the app name might cause the method to incorrectly extract the file extension. However, on other mobile devices, the application name is not automatically added to the file name