Tag: permissions

  • java.lang.SecurityException with SubscriptionManager – But I declared the permissions!..

    java.lang.SecurityException with SubscriptionManager – But I declared the permissions!..

    Oh my! This is one of those times with Android where you just slap your forehead, like what! This is the official documentation for using SubscriptionManager.addOnSubscriptionChangedListener Register for changes to the list of active SubscriptionInfo records or to the individual records themselves. When a change occurs the onSubscriptionsChanged method of the listener will be invoked immediately if…

  • You have permission to crash

    ### You have permission to crash With targetting Marshmallow, 6.0, API 23, the latest version of Android, strange things can happen if you don’t get your permission flow correct. The code seems legit and yet it crashes every time. You have all the correct permissions in your AndroidManifest, you call the correct API to get…