Skip to content

Instantly share code, notes, and snippets.

@jgonfer
Last active May 23, 2018 22:08
Show Gist options
  • Save jgonfer/e2b80b368dba37a027d4095b7483ce75 to your computer and use it in GitHub Desktop.
Save jgonfer/e2b80b368dba37a027d4095b7483ce75 to your computer and use it in GitHub Desktop.
To enable GDPR data collection restrictions. This method should be called before chartboost_init_sdk.
chartboost_restrict_data_collection(1);
// You can also use the new macros CBYes and CBNo
chartboost_restrict_data_collection(CBYes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment