Android Question Camera intent URI error when targetsdk=26

Grant Fullen

Member
Licensed User
Longtime User
With the new Google Play Store rules coming I have my app's targetsdkversion set to 26. I'm getting the
"exposed beyond app through ClipData.Item.getUri()" error on some newer Android devices. How can I make the camera intent work without lowering the target sdk?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…