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.
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:
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.