@gamedock/cordova-sdk
Advanced tools
Comparing version 5.2.2 to 5.3.0
@@ -8,2 +8,10 @@ # Changelog | ||
## [5.3.0] - 04-11-2022 | ||
### Changed | ||
- Encryption algorithm changed | ||
### Removed | ||
- Tiered Events | ||
### Added | ||
- getConsentStatus added for retrieving User Consent status | ||
## [5.2.2] - 22-09-2022 | ||
@@ -10,0 +18,0 @@ |
{ | ||
"name": "@gamedock/cordova-sdk", | ||
"version": "5.2.2", | ||
"version": "5.3.0", | ||
"description": "Cordova Wrapper for Gamedock SDK", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -233,2 +233,14 @@ import EventEmitter from 'eventemitter3'; | ||
public getConsentStatus(): Promise<any> { | ||
return this.promisfyCordovaCall('GamedockSDKCordova', 'getGDPRSettings', [{}]) | ||
.then((result: any) => { | ||
console.log('Success!', JSON.stringify(result)); | ||
return result; | ||
}) | ||
.catch((error: any) => { | ||
console.log('Error!', JSON.stringify(error)); | ||
return error.message; | ||
}); | ||
} | ||
public showPrivacyPolicySettings(): void { | ||
@@ -235,0 +247,0 @@ this.promisfyCordovaCall('GamedockSDKCordova', 'showPrivacyPolicySettings', [{}]) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1474808
2648