@sudoplatform/sudo-ad-tracker-blockeras a dependency to your project.
SudoAdTrackerBlockerClientclass uses a wasm module to provide high performance filtering and thus needs to load a
.wasmfile at runtime. You can find this file in the following location after installing the Ad/Tracker Blocker package via
initWasmone time in your application. It does not need to be run every time you instantiate a
SudoAdTrackerBlockerClientyou must provide an instance of
sudoUserClientproperty. This is used for obtaining platform authentication tokens. See the Users section for more information about
DefaultSudoUserClientwill not persist any cached data or user preferences. To use persistent storage, you should pass a custom storage provider that implements the
resetmethod. This will clear all cached data and reset user preferences back to defaults.
build.gradleand run Gradle sync.