Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sample/android/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down
4 changes: 2 additions & 2 deletions sample/src/Methods.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
Expand All @@ -21,7 +21,7 @@ export default function Methods() {
<MethodCall
name="initialize"
call={() => {
Didomi.initialize(apiKey).catch((err) => {
Didomi.initializeWithParameters({ apiKey: apiKey, noticeId: "mBcaPUEX", androidTvEnabled: true, androidTvNoticeId: "mBcaPUEX" }).catch((err) => {
Comment thread
nicolas-chaix-didomi marked this conversation as resolved.
Outdated
console.log(err);
return false
});
Expand Down