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

index.d.ts #103

Open
billnbell opened this issue Jan 17, 2022 · 3 comments
Open

index.d.ts #103

billnbell opened this issue Jan 17, 2022 · 3 comments

Comments

@billnbell
Copy link

You probably need to add -

cancelButtonTestID?: string;
confirmButtonTestID?: string;

To AwesomeAlertProps. Interestingly, after I add them in IOS I don't see them using the Xcode Accessibility tool.

Can you add accessibilityLabel and TestID? Then I can get it to work on both devices as well.

But updating cancelButtonTestID, confirmButtonTestID and testing that is step 1.

@rishabhbhatia
Copy link
Owner

@billnbell Hey William, IMO testID should work just fine. Feel free to dig deeper and submit a PR. I'll also have a look when I'm able to spare some time.

@billnbell
Copy link
Author

TestID does not work on Android devices.

@rishabhbhatia
Copy link
Owner

TestID does not work on Android devices.

Hey William, I'm confused you're saying testIDs don't show in XCode or they don't show in android? What testing tool are you using? Just had someone run Appium on a React Native app, they could find the testIDs.

Sorry, works been rough. Can you share some specific details so we can resolve this one?

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

2 participants