File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
android/src/main/java/com/freeraspreactnative Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
113113 .supportedAlternativeStores(androidConfig.getArraySafe(" supportedAlternativeStores" ))
114114 .prod(config.getBooleanSafe(" isProd" ))
115115
116- if (androidConfig.hasKey(" malware " )) {
117- val malwareConfig = androidConfig.getMapThrowing(" malware " )
116+ if (androidConfig.hasKey(" malwareConfig " )) {
117+ val malwareConfig = androidConfig.getMapThrowing(" malwareConfig " )
118118 talsecBuilder.whitelistedInstallationSources(malwareConfig.getArraySafe(" whitelistedInstallationSources" ))
119119 talsecBuilder.blocklistedHashes(malwareConfig.getArraySafe(" blocklistedHashes" ))
120120 talsecBuilder.blocklistedPermissions(malwareConfig.getNestedArraySafe(" blocklistedPermissions" ))
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const App = () => {
3030 packageName : 'com.freeraspreactnativeexample' ,
3131 certificateHashes : [ 'AKoRuyLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0=' ] ,
3232 // supportedAlternativeStores: ['storeOne', 'storeTwo'],
33- malware : {
33+ malwareConfig : {
3434 blocklistedHashes : [ 'FgvSehLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0u' ] ,
3535 blocklistedPackageNames : [ 'com.wultra.app.screenlogger' ] ,
3636 blocklistedPermissions : [
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type TalsecAndroidConfig = {
1111 packageName : string ;
1212 certificateHashes : string [ ] ;
1313 supportedAlternativeStores ?: string [ ] ;
14- malware ?: TalsecMalwareConfig ;
14+ malwareConfig ?: TalsecMalwareConfig ;
1515} ;
1616
1717export type TalsecIosConfig = {
You can’t perform that action at this time.
0 commit comments