Skip to content

Files other than CSV are shown while adding file (In older android device) #11

Description

@haseebpvt

It seems that, while trying to add a file, regardless of the Intent type is set to "text/comma-separated-values", it still shows other files as selectable in older android devices.

So just setting intent type will not to be enough. We should also check whether the file is CSV or not in onResult.

Steps to reproduce the bug

  1. Open any folder
  2. Click ADD button

Expected Behavior
Only CSV files should be selectable

Actual Behavior
In some (old) Android devices all files are selectable.

Result
App crashes when we click START ALL button after adding the non CSV file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions