Skip to content

Commit

Permalink
feat: update Android SDK to 12.0.0 and iOS SDK to 6.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tompsota committed Nov 14, 2024
1 parent f32c699 commit afedf16
Show file tree
Hide file tree
Showing 30 changed files with 241 additions and 229 deletions.
238 changes: 126 additions & 112 deletions CHANGELOG.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"start": "ionic cordova run android",
"test": "ng test",
"lint": "ng lint"
},
Expand Down
6 changes: 3 additions & 3 deletions example/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export class AppComponent implements OnInit {
packageName: 'com.cordova.example',
certificateHashes: ['AKoRuyLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0='],
malwareConfig: {
blocklistedHashes: ['FgvSehLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0u'],
blocklistedPackageNames: ['com.wultra.app.screenlogger'],
blocklistedPermissions: [
blacklistedHashes: ['FgvSehLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0u'],
blacklistedPackageNames: ['com.wultra.app.screenlogger'],
suspiciousPermissions: [
[
'android.permission.INTERNET',
'android.permission.ACCESS_COARSE_LOCATION',
Expand Down
6 changes: 3 additions & 3 deletions src/android/TalsecPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ class TalsecPlugin : CordovaPlugin() {
if (androidConfig.has("malwareConfig")) {
val malwareConfig = androidConfig.getJSONObject("malwareConfig")
talsecBuilder.whitelistedInstallationSources(malwareConfig.getArraySafe("whitelistedInstallationSources"))
talsecBuilder.blocklistedHashes(malwareConfig.getArraySafe("blocklistedHashes"))
talsecBuilder.blocklistedPermissions(malwareConfig.getNestedArraySafe("blocklistedPermissions"))
talsecBuilder.blocklistedPackageNames(malwareConfig.getArraySafe("blocklistedPackageNames"))
talsecBuilder.blacklistedHashes(malwareConfig.getArraySafe("blacklistedHashes"))
talsecBuilder.blacklistedPackageNames(malwareConfig.getArraySafe("blacklistedPackageNames"))
talsecBuilder.suspiciousPermissions(malwareConfig.getNestedArraySafe("suspiciousPermissions"))
}
return talsecBuilder.build()
}
Expand Down
2 changes: 1 addition & 1 deletion src/android/talsec.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repositories {
}

dependencies {
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-Cordova:11.1.3"
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-Cordova:12.0.0"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
}

Expand Down
Binary file modified src/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit afedf16

Please sign in to comment.