mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
[react_native] Stub VibrationIOS on Android
This commit is contained in:
parent
345f161399
commit
d5d9d9b9c1
18
Libraries/Vibration/VibrationIOS.android.js
Normal file
18
Libraries/Vibration/VibrationIOS.android.js
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Copyright 2004-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* Stub of VibrationIOS for Android.
|
||||
*
|
||||
* @providesModule VibrationIOS
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var warning = require('warning');
|
||||
|
||||
var VibrationIOS = {
|
||||
vibrate: function() {
|
||||
warning('VibrationIOS is not supported on this platform!');
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = VibrationIOS;
|
Loading…
x
Reference in New Issue
Block a user