From 833bd74dc71660209c8081cecf408357238f04e3 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Date: Sat, 20 Jul 2019 21:25:53 -0400 Subject: [PATCH 1/2] Update index.ios.js --- index.ios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ios.js b/index.ios.js index b68126a..4f9d72d 100644 --- a/index.ios.js +++ b/index.ios.js @@ -1,5 +1,5 @@ import { - AlertIOS + Alert } from 'react-native'; export default function prompt( @@ -8,5 +8,5 @@ export default function prompt( callbackOrButtons?: ?((text: string) => void) | Object, options?: Object ): void { - AlertIOS.prompt(title, message, callbackOrButtons, options.type, options.defaultValue, options.keyboardType); + Alert.prompt(title, message, callbackOrButtons, options.type, options.defaultValue, options.keyboardType); }; From 87bf3adb5f22b4d1ecaa517e93347101372398f5 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Date: Sat, 20 Jul 2019 21:26:39 -0400 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc3f7e4..0c08d10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-prompt-android", - "version": "0.3.5", + "version": "0.3.6", "description": "Polyfill for Alert.prompt on Android", "repository": { "type": "git",