Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action sheet for android not working #38

Open
tring-gowrishankaran opened this issue Mar 21, 2019 · 4 comments
Open

Action sheet for android not working #38

tring-gowrishankaran opened this issue Mar 21, 2019 · 4 comments

Comments

@tring-gowrishankaran
Copy link

tring-gowrishankaran commented Mar 21, 2019

No description provided.

@yfuks
Copy link
Owner

yfuks commented Mar 21, 2019

Can you provide an error ?

@ConstanzaCurzio
Copy link

I had the same issue. Resolved adding

// file: android/app/src/main/java/com/<...>/MainApplication.java
...

import com.actionsheet.ActionSheetPackage; // <-- add this import

public class MainApplication extends Application implements ReactApplication {
    @Override
    protected List<ReactPackage> getPackages() {
        return Arrays.<ReactPackage>asList(
            new MainReactPackage(),
            new ActionSheetPackage() // <-- add this line
        );
    }
...
}

like it says in the instructions. It seems like the react-native link react-native-action-sheet command did everything but that.

@jamesone
Copy link

Just adding this here - I found that this package throws an error if I use the RN version 0.59.4-0.59.9 (tested on these versions and when I tried to build android it failed). This package does however work on 0.59.3

@yfuks
Copy link
Owner

yfuks commented Jun 26, 2019

Can you provide more informations ?
You should probably create a new issue more specific.
That could help with tracking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants