Skip to content

chore: tune error messages for setHiddenApiPolicy #656

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

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa commented Sep 20, 2023

Tune the error message to give more hints for users

@mykola-mokhnach
Copy link
Contributor

ignoring this error won't solve their problems, but rather postpone them. We need to invoke hidden APis anyway, so it would make more sense to just provide such customers with instructions on where to disable such checks (or warn them regarding possible consequences if they would still prefer to ignore the error)

@KazuCocoa
Copy link
Member Author

basically agree. hm, then what about something this

@KazuCocoa KazuCocoa changed the title feat: set ignoreHiddenApiPolicyError defaul true chore: tune error messages for setHiddenApiPolicy Sep 20, 2023
@mykola-mokhnach
Copy link
Contributor

@KazuCocoa Could you please rebase the PR?

@KazuCocoa
Copy link
Member Author

This pr changed to based on the current master with a force push right now

@mykola-mokhnach mykola-mokhnach merged commit 5c076c5 into master Oct 14, 2023
@mykola-mokhnach mykola-mokhnach deleted the default-true branch October 14, 2023 20:38
github-actions bot pushed a commit that referenced this pull request Oct 14, 2023
## [2.31.1](v2.31.0...v2.31.1) (2023-10-14)

### Miscellaneous Chores

* add error log for this.adb.setHiddenApiPolicy error ([#656](#656)) ([5c076c5](5c076c5))
@github-actions
Copy link

🎉 This PR is included in version 2.31.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants