Skip to content
R

react-native-prompt-android

Polyfill for Alert.prompt on Android

by bellzhongFree

#1094in UI Libraries
0In stores

Description

react-native-prompt-android is a polyfill that brings Alert.prompt to Android in React Native. React Native provides Alert.prompt on iOS, so…

Highlights

  • Alert.prompt for Android in React Native
  • Works on iOS through AlertIOS.prompt
  • Input types, including secure text and email
  • Default value, placeholder and keyboard type
  • Cancelable option

Ratings & Reviews

No ratings yet

Be the first to rate react-native-prompt-android.

People also visit

R

react-native-advanced-input-mask

Text input mask for React Native on iOS, Android and web

UI Libraries
Launch
R

react-native-mask-input

TextInput with mask for ReactNative on both iOS and Android

UI Libraries
Launch
R

react-native-date-picker

A datetime picker for React Native

UI Libraries
Launch
R

react-native-phone-input

Phone input box for React Native

UI Libraries
Launch
R

@react-native-community/datetimepicker

DateTimePicker component for React Native

UI Libraries
Launch
R

react-native-date-picker

Native date and time picker for Android and iOS

UI Libraries
Launch

react-native-prompt-android FAQ

What does this library do?

It adds an Alert.prompt equivalent for Android in React Native, so a text prompt dialog works on both platforms.

How do I install it?

Install it from npm, then link the native library with react-native-cli or rnpm, as the README describes.

What input types are available?

The type prop supports numeric, secure text, phone pad and email address, and the default is a standard text field.

Can the prompt be cancelled?

The cancelable prop controls this, as listed in the props table.

What does it use on iOS?

The README says the iOS side uses AlertIOS.prompt.

What are the best react-native-prompt-android alternatives?

Popular alternatives to react-native-prompt-android include react-native-advanced-input-mask, react-native-mask-input and react-native-date-picker. See all react-native-prompt-android alternatives

Developer Stuff

Badges