React Native & Flutter
Thin wrappers on the native Android and iOS SDKs, so a cross-platform app asks and records just as a native one does.
What you get
One set of calls
The same simple calls as the native SDKs, from JavaScript or Dart, so your team learns them once.Native underneath
Each wrapper uses the native SDK on the phone, so the screens and records match your native apps exactly.Choices that follow the person
When someone signs in, their choices travel with them across your website and apps.
In code
await DPDPWorkspaceConsent.configure("your-app-id");
await DPDPWorkspaceConsent.askIfNeeded();
if (await DPDPWorkspaceConsent.allowed("marketing-emails")) {
// send the offer
}await DPDPWorkspaceConsent.configure('your-app-id');
await DPDPWorkspaceConsent.askIfNeeded();
if (await DPDPWorkspaceConsent.allowed('marketing-emails')) {
// send the offer
}See it working with your team
We set up the wrappers with your team and show the records they keep.