From 4555e21f83cf48c15f84e36636f2b3ea645b7246 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Fri, 20 Nov 2015 18:47:35 -0800 Subject: [PATCH 1/2] Set minSDK to 16 as required by react-native 0.14 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 03a8c64..96b0586 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -16,7 +16,7 @@ android { buildToolsVersion "23.0.1" defaultConfig { - minSdkVersion 14 + minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" From 929557dae7581ea8a474f9dadda695feedee8c17 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Fri, 20 Nov 2015 18:49:43 -0800 Subject: [PATCH 2/2] Rename ReadableMapKeySeyIterator to ReadableMapKeySetIterator --- .../aakashns/reactnativedialogs/modules/DialogAndroid.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/aakashns/reactnativedialogs/modules/DialogAndroid.java b/android/src/main/java/com/aakashns/reactnativedialogs/modules/DialogAndroid.java index 54a98d4..3572f41 100644 --- a/android/src/main/java/com/aakashns/reactnativedialogs/modules/DialogAndroid.java +++ b/android/src/main/java/com/aakashns/reactnativedialogs/modules/DialogAndroid.java @@ -12,7 +12,7 @@ import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; -import com.facebook.react.bridge.ReadableMapKeySeyIterator; +import com.facebook.react.bridge.ReadableMapKeySetIterator; import java.lang.reflect.InvocationTargetException; @@ -37,7 +37,7 @@ public class DialogAndroid extends ReactContextBaseJavaModule { MaterialDialog.Builder builder, ReadableMap options ) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException { - ReadableMapKeySeyIterator iterator = options.keySetIterator(); + ReadableMapKeySetIterator iterator = options.keySetIterator(); while(iterator.hasNextKey()) { String key = iterator.nextKey();