You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: