Skip to content

Commit 7a1b8fa

Browse files
Sample config (#164)
* update build config for sample * update notice for sample + enable ctv support * update sample app notice id
1 parent 302eda4 commit 7a1b8fa

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

sample/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
buildscript {
22
ext {
3-
buildToolsVersion = "34.0.0"
3+
buildToolsVersion = "35.0.0"
44
minSdkVersion = 23
5-
compileSdkVersion = 34
6-
targetSdkVersion = 34
5+
compileSdkVersion = 35
6+
targetSdkVersion = 35
77
ndkVersion = "26.1.10909125"
88
kotlinVersion = "1.9.22"
99
}

sample/src/Methods.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import MethodCall from './MethodCall';
55

66
export default function Methods() {
77
const [apiKey, onChangeApiKey] = React.useState(
8-
'465ca0b2-b96f-43b4-a864-f87e18d2fd38'
8+
'9bf8a7e4-db9a-4ff2-a45c-ab7d2b6eadba'
99
);
1010
const [language, onChangeLanguage] = React.useState('');
1111
const [preferenceType, onChangePreferences] = React.useState('');
@@ -21,7 +21,7 @@ export default function Methods() {
2121
<MethodCall
2222
name="initialize"
2323
call={() => {
24-
Didomi.initialize(apiKey).catch((err) => {
24+
Didomi.initializeWithParameters({ apiKey: apiKey, noticeId: "XWhEXzb9", androidTvEnabled: true, androidTvNoticeId: "mBcaPUEX" }).catch((err) => {
2525
console.log(err);
2626
return false
2727
});

0 commit comments

Comments
 (0)