Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in missing attribution functions #219

Merged
merged 5 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.620.0)
aws-sdk-core (3.132.0)
aws-partitions (1.621.0)
aws-sdk-core (3.134.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
Expand Down Expand Up @@ -112,7 +112,7 @@ GEM
ethon (0.15.0)
ffi (>= 1.15.0)
excon (0.92.4)
faraday (1.10.1)
faraday (1.10.2)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -187,7 +187,8 @@ GEM
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
git (1.11.0)
git (1.12.0)
addressable (~> 2.8)
rchardet (~> 1.8)
google-apis-androidpublisher_v3 (0.25.0)
google-apis-core (>= 0.7, < 2.a)
Expand Down Expand Up @@ -243,7 +244,7 @@ GEM
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
minitest (5.16.2)
minitest (5.16.3)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.0.0)
Expand Down Expand Up @@ -294,7 +295,7 @@ GEM
tty-cursor (~> 0.7)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.4)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unf (0.1.4)
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
ext.assertj_version = '3.22.0'
ext.mockk_version = '1.12.3'
ext.gradle_maven_publish = '0.19.0'
ext.purchases_version = '5.5.0'
ext.purchases_version = '5.6.0'
taquitos marked this conversation as resolved.
Show resolved Hide resolved
ext.billing_unityiap_purchases_version = '3.0.3'

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ fun setMparticleID(mparticleID: String?) {
Purchases.sharedInstance.setMparticleID(mparticleID)
}

fun setCleverTapID(cleverTapID: String?) {
Purchases.sharedInstance.setCleverTapID(cleverTapID)
}

fun setMixpanelDistinctID(mixpanelDistinctID: String?) {
Purchases.sharedInstance.setMixpanelDistinctID(mixpanelDistinctID)
}

fun setFirebaseAppInstanceID(firebaseAppInstanceID: String?) {
Purchases.sharedInstance.setFirebaseAppInstanceID(firebaseAppInstanceID)
}

fun setOnesignalID(onesignalID: String?) {
Purchases.sharedInstance.setOnesignalID(onesignalID)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,12 @@ import RevenueCat
@objc static func collectDeviceIdentifiers() {
Purchases.shared.attribution.collectDeviceIdentifiers()
}

@objc static func setAdjustID(_ adjustID: String?) {
Purchases.shared.attribution.setAdjustID(adjustID)
}
@objc static func setCleverTapID(_ cleverTapID: String?) {
Purchases.shared.attribution.setCleverTapID(cleverTapID)
}
@objc static func setAppsflyerID(_ appsflyerID: String?) {
Purchases.shared.attribution.setAppsflyerID(appsflyerID)
}
Expand All @@ -416,6 +418,12 @@ import RevenueCat
@objc static func setMparticleID(_ mParticleID: String?) {
Purchases.shared.attribution.setMparticleID(mParticleID)
}
@objc static func setMixpanelDistinctID(_ mixpanelDistinctID: String?) {
Purchases.shared.attribution.setMixpanelDistinctID(mixpanelDistinctID)
}
@objc static func setFirebaseAppInstanceID(_ firebaseAppInstanceID: String?) {
Purchases.shared.attribution.setFirebaseAppInstanceID(firebaseAppInstanceID)
}
@objc static func setOnesignalID(_ onesignalID: String?) {
Purchases.shared.attribution.setOnesignalID(onesignalID)
}
Expand Down