Skip to content

Set UserID is not working #96

Description

@abdulahad96

Hi every body,
I am using react native ironsource for offerwall before getting offerwall I set userID for logging data on my server side unluckily i didn't get it request Ironsource but they said something wrong with library.
please assist me If I am missing anything.
setIronsourceUser = async () => {
const { playerId } = this.state;
if (playerId && playerId !== '') {
console.log(playerId)
try {
const { appKey } = await getAppInitKeys()
IronSource.setConsent(true);
await IronSource.initializeIronSource(appKey, playerId, { validateIntegration: true })
} catch (err) {

  }
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions