-
Notifications
You must be signed in to change notification settings - Fork 51
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
packageName returns null #12
Comments
Are you sure that Allow usage tracking is enabled? |
Like @imspikey suggested, please confirm you added the right permissions, and also request them in runtime. Try to run the example and see if it works on the same device. The reason why it returns null is because it's not capable of retrieving the packageName, and one of the reasons is permissions not having been granted. |
packageName always give me null.
Im calling the code inside a service,
TIA.
The text was updated successfully, but these errors were encountered: