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)
        ...

        val params = ConsentRequestParams.Builder().build()
        
        // Check consent status on every app launch.
        consentInfo = UserMessagingPlatform.getConsentInformation(this)
        consentInfo.requestConsentInfoUpdate(this, params, {
            // Display user consent form if required.
            UserMessagingPlatform.loadAndShowConsentFormIfRequired(this@MainActivity) { formError ->
                // Consent has been gathered.
            }
        },
        { requestError ->
            // Something went wrong.
        })
    }
}

iOS

import SwiftUI
import UserMessagingPlatform

struct MainView: View {
    @State private var hasViewAppeared = false

    var body: some View {
        ...
    }
    .onAppear {
        requestConsentOnce()
    }

    func requestConsentOnce() {
        guard !hasViewAppeared else { return }
        hasViewAppeared = true

        let params = RequestParameters()

        // Check consent status on every app launch.
        ConsentInformation.shared.requestConsentInfoUpdate(with: params) { requestError in
            if requestError != nil {
                // Something went wrong.
                return
            }

            // Display user consent form if required.
            ConsentForm.loadAndPresentIfRequired(from: nil) { formError in
                // Consent has been gathered.
            }
        }
    }
}

React Native

The Google UMP consent dialog is configured at the native level. In a React Native app, use the native Android and iOS setup described above, or a React Native UMP wrapper library such as react-native-google-mobile-ads which provides UMP consent form support.

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

Flutter

await FuseAppPlugin.setAllowPersonalizedAds(false);

React Native

await fuseRef.current?.setAllowPersonalizedAds(false);

If you are using a CMP, then Fuse SDK will automatically detect if the user has provided consent to receive personalized 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: