jacklam718 / react-native-action-sheet-component

React Native Action Sheet Component for iOS & Android.
MIT License
61 stars 17 forks source link

Not working for android #1

Closed rexlow closed 7 years ago

rexlow commented 7 years ago

Integrated in my app, works for iOS 10.2 but not on android

jacklam718 commented 7 years ago

@rexlow thanks for reporting the issue. I'll investigate it.

rexlow commented 7 years ago

@jacklam718 Should you need any leads, here's my repo https://github.com/rexlow/Castle/blob/master/src/containers/tabContainers/AddExpenses.js

jacklam718 commented 7 years ago

@rexlow Thank you!

jacklam718 commented 7 years ago

@rexlow sorry I still have no idea why it doesn't work on android.

jmancherje commented 7 years ago

Any updates? I would really like to use this but I'm trying to stick to cross platform components as long as possible.

stief510 commented 7 years ago

I get the following error on Android build:

error: bundling: ReferenceError: Unknown plugin "flow-react-proptypes" specified in "../mobile/node_modules/react-native-action-sheet-component/.babelrc.env.development" at 0, attempted to resolve relative to "../mobile/node_modules/react-native-action-sheet-component"
jacklam718 commented 7 years ago

@stief510 Are you still getting that error? Just want to clarify.

stief510 commented 7 years ago

@jacklam718 I had to do npm i babel-plugin-flow-react-proptypes to my own package.json

jacklam718 commented 7 years ago

@stief510 It So weird 🤔 I already declared that plugin as dev env and I already point to build version in package.json https://github.com/jacklam718/react-native-action-sheet-component/blob/master/package.json#L5

jacklam718 commented 7 years ago

@rexlow I've fixed the issue please install latest version.