Created
April 18, 2022 05:14
-
-
Save raipankaj/64900de901d2b1f1c555e40eff157044 to your computer and use it in GitHub Desktop.
Google provider for downloading font
This file contains hidden or 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
| @OptIn(ExperimentalTextApi::class) | |
| private val googleFontProvider: GoogleFont.Provider by lazy { | |
| GoogleFont.Provider( | |
| providerAuthority = "com.google.android.gms.fonts", | |
| providerPackage = "com.google.android.gms", | |
| certificates = R.array.com_google_android_gms_fonts_certs | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment