fix ToastAndroid

Differential Revision: D2433671

committer: Service User <svcscm@fb.com>
This commit is contained in:
Dorota Kapturkiewicz 2015-09-11 07:47:34 -07:00 committed by facebook-github-bot-7
parent 789a07c5a4
commit d7ee28e079
1 changed files with 14 additions and 1 deletions

View File

@ -10,4 +10,17 @@
*/
'use strict';
module.exports = require('UnimplementedView');
var warning = require('warning');
var ToastAndroid = {
show: function (
message: string,
duration: number
): void {
warning(false, 'Cannot use ToastAndroid on iOS.');
},
};
module.exports = ToastAndroid;