docs(media): improve description (#1744)

(still bad as usage hint is in there, but at least not the only thing any more)
This commit is contained in:
Jan Piotrowski 2017-06-30 02:04:00 +02:00 committed by Ibby Hadeed
parent 27fdac91fd
commit 51fc5332ff

View File

@ -120,6 +120,8 @@ export type MediaErrorCallback = (error: MediaError) => void;
/**
* @name Media
* @description
* This plugin provides the ability to record and play back audio files on a device.
*
* Some hints if you are using iOS and recording doesn't work:
* 1.) Try to use a absolute file path but remove beginning "file://".
* Then it looks like: `/var/mobile/Containers/Data/Application/AF438B8B-7724-4FBB-8E69-083463224FC4/tmp/my_file.m4a`