Skip to content

Adding sample/vfs support #10

@ebenoist

Description

@ebenoist

Elementary has basic support for loading samples into a "file system". I'd like to expose those APIs via the react-native-elementary library. I'm currently building an API that looks like this in iOS:

RCT_EXPORT_METHOD(loadAudioResource:(NSString *) path
        resolver:(RCTPromiseResolveBlock) resolve
        rejecter:(RCTPromiseRejectBlock) reject)
{
// ...

}

I want to pull this into the shared adapter so I use it in both android and ios implementations. Any thoughts about the method signature? I'm all ears.

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