This codelab will cover the correct way to store data securely in an Android app, how to access data on the device securely and how to limit the amount of data that apps expose.
With the implementation provided in codelabs I couldn't share image from "data privacy" app to Telegram or Whatsapp. Whenever I clicked to share to those apps there was a toast popping up saying "Unsupported content". I hope that you'll find some workaround about that bug, so that developers, learning this project will not meet this bug. Personally, I resolved this issue by replacing the line in shareImage(String path) method intent.setDataAndType(contentUri, "image/png"); to this one sharingIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(contentUri.toString()));