ReactNativeAssetContainer.upload() method
Uploads new asset.
Signature:
upload(uri: string, options: UploadAssetOptions): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
uri | string | Asset data URI |
options | UploadAssetOptions | Upload options |
Returns:
Promise<string>
Asset name