Skip to content

Commit

Permalink
chores(InitGeniusScanSDK): Doesn't use deprecated 'init' function
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianDevel committed Feb 26, 2024
1 parent 15a2161 commit 6b35425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ object GeniusScanUtils : IGeniusScanUtils {
}

override fun Context.initGeniusScanSdk() = try {
GeniusScanSDK.init(this, GeniusScanEnv.GENIUS_SCAN_KEY)
GeniusScanSDK.setLicenseKey(this, GeniusScanEnv.GENIUS_SCAN_KEY)
true
} catch (licenseException: LicenseException) {
licenseException.printStackTrace()
Expand Down

0 comments on commit 6b35425

Please sign in to comment.