prscX / react-native-bottom-action-sheet

React Native: Native Bottom Action Sheet
Apache License 2.0
633 stars 48 forks source link

[Android] bottomactionsheet/RNBottomActionSheetModule.java:138: error: cannot find symbol #27

Open apski opened 6 years ago

apski commented 6 years ago

Hi - I'm trying to do an Android build but I'm getting this error. Any ideas?

The package is linked and this seems to be a problem with the lib?

> Task :react-native-bottom-action-sheet:compileReleaseJavaWithJavac FAILED
/Users/.../node_modules/react-native-bottom-action-sheet/android/src/main/java/ui/bottomactionsheet/RNBottomActionSheetModule.java:138: error: cannot find symbol
        if (icon == null || icon.toHashMap().size() == 0) {
                                ^
  symbol:   method toHashMap()
  location: variable icon of type ReadableMap
/Users/.../node_modules/react-native-bottom-action-sheet/android/src/main/java/ui/bottomactionsheet/RNBottomActionSheetModule.java:190: error: cannot find symbol
      if (icon == null || icon.toHashMap().size() == 0) {
                              ^
  symbol:   method toHashMap()
  location: variable icon of type ReadableMap
2 errors

FAILURE: Build failed with an exception.
apski commented 5 years ago

Any ideas? This is still broken.