Skip to content

return type of getApplicationEnabledSetting() is in real int and not bool #17

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

Open
Jean28518 opened this issue Mar 17, 2025 · 0 comments

Comments

@Jean28518
Copy link

Jean28518 commented Mar 17, 2025

According to: https://developer.android.com/reference/android/content/pm/PackageManager#getApplicationEnabledSetting(java.lang.String)

The function getApplicationEnabledSetting() returns an int, not a bool.

After changing the source code of the local .dart code in pub_cache of this addon it finally works.

@Jean28518 Jean28518 changed the title getApplicationEnabledSetting() is in real not return type bool but its int return type of getApplicationEnabledSetting() is in real int and not bool Mar 17, 2025
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

1 participant