-
-
Save miguelmontemayor/c499a5491bab425eef315dc426590631 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use PackageManagerCompat to access Cookie API. | |
val packageManager = InstantApps.getPackageManagerCompat(this) | |
val cookieData = packageManager.getInstantAppCookie() | |
// Clear the cookie data once it has been read to clear it. | |
packageManager.setInstantAppCookie(null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment