diff --git a/sample/android/build.gradle b/sample/android/build.gradle index f536a792..fa2c5126 100644 --- a/sample/android/build.gradle +++ b/sample/android/build.gradle @@ -1,9 +1,9 @@ buildscript { ext { - buildToolsVersion = "34.0.0" + buildToolsVersion = "35.0.0" minSdkVersion = 23 - compileSdkVersion = 34 - targetSdkVersion = 34 + compileSdkVersion = 35 + targetSdkVersion = 35 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.22" } diff --git a/sample/src/Methods.tsx b/sample/src/Methods.tsx index 1838b11a..fa07b3e1 100644 --- a/sample/src/Methods.tsx +++ b/sample/src/Methods.tsx @@ -5,7 +5,7 @@ import MethodCall from './MethodCall'; export default function Methods() { const [apiKey, onChangeApiKey] = React.useState( - '465ca0b2-b96f-43b4-a864-f87e18d2fd38' + '9bf8a7e4-db9a-4ff2-a45c-ab7d2b6eadba' ); const [language, onChangeLanguage] = React.useState(''); const [preferenceType, onChangePreferences] = React.useState(''); @@ -21,7 +21,7 @@ export default function Methods() { { - Didomi.initialize(apiKey).catch((err) => { + Didomi.initializeWithParameters({ apiKey: apiKey, noticeId: "XWhEXzb9", androidTvEnabled: true, androidTvNoticeId: "mBcaPUEX" }).catch((err) => { console.log(err); return false });