Privacy

Fuse is compatible with all IAB compliant CMPs.

If you wish to use your own CMP, please notify Publift during the on-boarding process.

Below we provide an example CMP implementation which can be used in your app.

Example: Google UMP

Google’s User Messaging Platform library provides a CMP for Android and iOS apps.

Detailed instructions are available online (Android, iOS)

Android:

class MainActivity : ... {
    private lateinit var consentInfo: ConsentInformation
    ...
    
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        ...
        
        // Check consent status on every app launch.
        consentInfo = UserMessagingPlatform.getConsentInformation(this)
        val params = ConsentRequestParams.Builder().build()
        consentInfo.requestConsentInfoUpdate(this, params, {
            
            // Display user consent form if required.
            UserMessagingPlatform.loadAndShowConsentFormIfRequired(this@MainActivity) { formError ->
                // Consent has been gathered.
            }
        },
        { requestError ->
            // Something went wrong.
        })
    }
}

iOS:

struct MainView: View {
    @State private var hasViewAppeared = false
    
    var body: some View {
        ...
    }
    .onAppear {
        requestConsentOnce()
    }
    
    func requestConsentOnce() {
        guard !hasViewAppeared else { return }
        hasViewAppeared = true
        
        let params = UMPRequestParameters()
        
        // Check consent status on every app launch.
        UMPConsentInformation.sharedInstance.requestConsentInfoUpdate(with: params) { requestError in
            if requestError != nil {
                // Something went wrong.
                return
            }
            
            // Display user consent form if required.
            UMPConsentForm.loadAndPresentIfRequired(from: nil) { formError in
                // Consent has been gathered.
            }
        }
    }
}

Personalized Ads

By default, users will receive personalized ads.

You can manually disable personalized ads at runtime as follows:

Android:

FuseSDK.allowPersonalizedAds = false

iOS:

FuseSDK.shared.allowPersonalizedAds = false

If you are using a CMP, then Fuse SDK will automatically detect if the user has provided consent to receive personlized ads.

If personalized ads are disabled (either explicitly or by the CMP user consent controls), features permitting the use of PPID (publisher provided ID) for targeting ads will be disabled.

Further information: