if (Platform.OS === 'ios' || Platform.OS === 'macos') {
      if (typeof type !== 'undefined') {
        console.warn('Alert.alert() with a 5th "type" parameter is deprecated and will be removed. Use AlertIOS.prompt() instead.');
        AlertIOS.alert(title, message, buttons, type);
        return;
      }
      AlertIOS.alert(title, message, buttons);
    }
Launches an alert dialog with the specified title and message.

See http://facebook.github.io/react-native/docs/alert.html#alert