NOTE: VibrationIOS is being deprecated. Use Vibration instead.

The Vibration API is exposed at VibrationIOS.vibrate(). On iOS, calling this function will trigger a one second vibration. The vibration is asynchronous so this method will return immediately.

There will be no effect on devices that do not support Vibration, eg. the iOS simulator.

Vibration patterns are currently unsupported.

Methods

static vibrate()

@deprecated

Examples

'use strict';

var React = require('react');
var ReactNative = require('react-native');
var {
  StyleSheet,
  View,
  Text,
  TouchableHighlight,
  VibrationIOS
} = ReactNative;

exports.framework = 'React';
exports.title = 'VibrationIOS';
exports.description = 'Vibration API for iOS';
exports.examples = [{
  title: 'VibrationIOS.vibrate()',
  render() {
    return (
      <TouchableHighlight
        style={styles.wrapper}
        onPress={() => VibrationIOS.vibrate()}>
        <View style={styles.button}>
          <Text>Vibrate</Text>
        </View>
      </TouchableHighlight>
    );
  },
}];

var styles = StyleSheet.create({
  wrapper: {
    borderRadius: 5,
    marginBottom: 5,
  },
  button: {
    backgroundColor: '#eeeeee',
    padding: 10,
  },
});
PushNotificationIOS.requestPermissions()

static requestPermissions(permissions?) Requests notification permissions

2016-06-23 04:25:02
Linking#openURL()

openURL(url) Try to open the given url with any of the installed apps. You can use

2016-06-23 04:24:19
PushNotificationIOS.getInitialNotification()

static getInitialNotification() If the app launch was triggered by a push

2016-06-23 04:25:01
BackAndroid.addEventListener()

static addEventListener(eventName, handler)

2016-06-23 04:23:42
Linking#constructor()

constructor()

2016-06-23 04:24:19
LayoutAnimation#configChecker

configChecker: CallExpression

2016-06-23 04:24:15
Animated#track()

track(tracking) Typically only used internally.

2016-06-23 04:23:29
AsyncStorage.multiGet()

static multiGet(keys, callback?) multiGet invokes callback with an array

2016-06-23 04:23:40
ToastAndroid#SHORT

SHORT: MemberExpression

2016-06-23 04:25:50
PushNotificationIOS#getSound()

getSound() Gets the sound string from the aps object

2016-06-23 04:24:59