react-native-qunatcast
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-native-qunatcast

Qunatcast API

Installation

npm install react-native-qunatcast

Usage

import Qunatcast, { onCmpError, onCmpLoaded, onCmpUIShown, onAdditionalVendorConsentGiven, onIABVendorConsentGiven, onNonIABVendorConsentGiven } from 'react-native-qunatcast';

// ...

 Qunatcast.startChoice("Your-P-Code").then(data => console.log(data)).catch(e=>console.log(e))

 Qunatcast.forceDisplayUI().then((data)=>{
      console.log(data);
    }).catch(e=>{
      console.log(e)
    })



     //EVENTS
    onCmpError((data: any)=>{
      console.log(data);
    })

    onCmpLoaded((data: any)=>{
      console.log(data);
    })

    onCmpUIShown((data: any)=>{
      console.log(data);
    })


    onAdditionalVendorConsentGiven((data: any)=>{
      console.log(data);
    })

    onIABVendorConsentGiven((data: any)=>{
      console.log(data);
    })

    onNonIABVendorConsentGiven((data: any)=>{
      console.log(data);
    })

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-qunatcast

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

900 kB

Total Files

107

Last publish

Collaborators

  • ajithab