File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11declare module 'react-native-adjust' {
22 type Environment = 'sandbox' | 'production'
33 type LogLevel = string
4+ type UrlStrategy = string
45
56 interface AdjustAttribution {
67 trackerToken : string
@@ -65,7 +66,7 @@ declare module 'react-native-adjust' {
6566 public setProcessName ( processName : string ) : void
6667 public setDefaultTracker ( defaultTracked : string ) : void
6768 public setExternalDeviceId ( externalDeviceId : string ) : void
68- public setUrlStrategy ( urlStrategy : string ) : void
69+ public setUrlStrategy ( urlStrategy : UrlStrategy ) : void
6970 public setUserAgent ( userAgent : string ) : void
7071 public setAppSecret (
7172 secretId : number ,
@@ -123,6 +124,11 @@ declare module 'react-native-adjust' {
123124 static LogLevelSuppress : LogLevel
124125 static EnvironmentSandbox : Environment
125126 static EnvironmentProduction : Environment
127+ static UrlStrategyChina : UrlStrategy
128+ static UrlStrategyIndia : UrlStrategy
129+ static DataResidencyEU : UrlStrategy
130+ static DataResidencyTR : UrlStrategy
131+ static DataResidencyUS : UrlStrategy
126132 }
127133
128134 export class AdjustEvent {
You can’t perform that action at this time.
0 commit comments