Description of the problem:
Im develop using some cordova plugins :
com-sarriaroman-photoviewer
cordova-plugin-badge
cordova-plugin-market
cordova-plugin-whitelist
When application running on Android device im got unwanted dialogs appearing in applications, dialog is ads from unknown source. Im searching on app and did not found any script who make dialog for ads. So im testing on another device with same spec and running without unwanted dialogs, its running well on another device. So i conclude this is because intent scheme injection on my first Android Device who already infected with malware. Im already setting on config.xml and capacitor.config.json to blocking access get and post resource from unwanted domain. But unwanted ads dialog still apearing.
This is config.xml, are config.xml will not used when using capacitor?
Capacitor doesn't block scripts or iframes, you have to do that with a Content-Security-Policy tag in the index.html
https://content-security-policy.com/
Description of the problem: Im develop using some cordova plugins :
When application running on Android device im got unwanted dialogs appearing in applications, dialog is ads from unknown source. Im searching on app and did not found any script who make dialog for ads. So im testing on another device with same spec and running without unwanted dialogs, its running well on another device. So i conclude this is because intent scheme injection on my first Android Device who already infected with malware. Im already setting on config.xml and capacitor.config.json to blocking access get and post resource from unwanted domain. But unwanted ads dialog still apearing.
This is config.xml, are config.xml will not used when using capacitor?
config.capacitor.json
is my setting correct?
This is screenshots From unwanted script :
Affected platform
OS of the development machine
Other information: Capacitor version: 1.1.0 node version: 9.11.1 npm version: 5.7.1 Android version: Nougat7.0 Cordova version: 7.1.0