Skip to content

Commit

Permalink
Release/2.4.0 (#172)
Browse files Browse the repository at this point in the history
* [MT-1342] Target XCode 15 and iOS 12 (#168)

Update all dependencies
Fix and standardise podspecs
Remove pods warnings
Add missing licenses
Remove Arm64 exclusions

* [MT-1506] - Incomplete callback fixes and Android de-init fix. Android dependency updates (#169)

* [MT-1342] Target XCode 15 and iOS 12

Update all dependencies
Fix and standardise podspecs
Remove pods warnings
Add missing licenses
Remove Arm64 exclusions

* Incomplete callback fixes and Android de-init fix. Android dependency updates

* return type changes for backward compatability with typescript definitions

* Gradle 8+ support

* rollback unnecessary changes, and formatting

* gatherTrackData callback fix

---------

Co-authored-by: Enrico Zannini <[email protected]>

---------

Co-authored-by: Enrico Zannini <[email protected]>
  • Loading branch information
jameskeith and Enricoza authored Apr 11, 2024
1 parent bda7ade commit e1f1ab5
Show file tree
Hide file tree
Showing 43 changed files with 807 additions and 519 deletions.
1 change: 0 additions & 1 deletion example/.ruby-version

This file was deleted.

14 changes: 14 additions & 0 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@ export default class App extends Component<{}> {
Tealium.getData(DataLayer.TestSessionData, value => {
console.log(`${DataLayer.TestSessionData}: ${value}`)
})

new Promise((resolve, reject) => {
Tealium.getData("missing_data", value => {
if (value) {
resolve(value)
} else {
reject("Data for 'missing_data' not found.")
}
})
}).then((value) => {
console.log("missing_data: " + value)
}).catch((err) => {
console.log("Error fetching data: " + err)
})
}

gatherTrackData() {
Expand Down
Loading

0 comments on commit e1f1ab5

Please sign in to comment.