You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Prince115 I think this is because of the image file name on arbic locale, the library have a method to get the timestamp using device default so it could returns the time timestamp in arabic and it really not supported as a valid filename.
private fun getTimestamp(): String { val timeFormat = "yyyyMMdd_HHmmssSSS" return SimpleDateFormat(timeFormat, Locale.getDefault()).format(Date()) }
solution is change it to US locale
private fun getTimestamp(): String { val timeFormat = "yyyyMMdd_HHmmssSSS" return SimpleDateFormat(timeFormat, Locale.US).format(Date()) }
Hi,
I am using this library to upload images using camera and gallery.
I am facing issue while Arabic is default language for mobile and upload or capture the image using app.
So anyone have any solution please guide me to resolve the issue.
Thanks in advance
The text was updated successfully, but these errors were encountered: