File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ const PromotionActionType = {
6262 Click : 1
6363}
6464
65+ const ATTAuthStatus = {
66+ NotDetermined : 0 ,
67+ Restricted : 1 ,
68+ Denied : 2 ,
69+ Authorized : 3
70+ } ;
71+
6572// ******** Main API ********
6673
6774const logEvent = ( eventName , type = EventType . Other , attributes = null ) => {
@@ -80,6 +87,7 @@ const logScreenEvent = (screenName, attributes = null) => {
8087 NativeModules . MParticle . logScreenEvent ( screenName , attributes )
8188}
8289
90+ // Use ATTAuthStatus constants for status
8391const setATTStatus = ( status , timestamp = null ) => {
8492 NativeModules . MParticle . setATTStatus ( status , timestamp )
8593}
@@ -600,6 +608,7 @@ const MParticle = {
600608 UserAttributeType,
601609 ProductActionType,
602610 PromotionActionType,
611+ ATTAuthStatus,
603612
604613 Product, // Classes
605614 Impression,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ target 'MParticleSample' do
1313 #
1414 # (See https://github.com/mparticle/mparticle/apple-sdk for the latest version)
1515 #
16- pod 'mParticle-Apple-SDK' , :path => '../../../../mparticle-apple-sdk '
16+ pod 'mParticle-Apple-SDK' , '~> 8 '
1717
1818 #
1919 # And, if you want to include kits, you can do so as follows:
You can’t perform that action at this time.
0 commit comments