Skip to content

Expose ListFiles as public method? #7

@louisgv

Description

@louisgv

Hello,

I love this package. I'm trying to expose the native listFiles method from both Android and IOS from a folk, but have several question. I hope I can get some answer here. I will also try to ping RN folks too. Will definitely make a PR if this feature is desired:

  • How can I return a List from Android Native code?
    • Yes: Will it be a JSON object?
      • Yes: How does it handle public methods of File?
      • No: What would it return?
    • No: How about a List?
  • Can the same be done on the IOS side?
    • Yes: What method should I use that does the same as Android's File.listFiles()?

NOTE: These questions serve as a dev notes. I am reading these docs from RN:
http://facebook.github.io/react-native/docs/native-modules-android.html
http://facebook.github.io/react-native/docs/native-modules-ios.html

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