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 1
1
declare module 'react-native-adjust' {
2
2
type Environment = 'sandbox' | 'production'
3
3
type LogLevel = string
4
+ type UrlStrategy = string
4
5
5
6
interface AdjustAttribution {
6
7
trackerToken : string
@@ -65,7 +66,7 @@ declare module 'react-native-adjust' {
65
66
public setProcessName ( processName : string ) : void
66
67
public setDefaultTracker ( defaultTracked : string ) : void
67
68
public setExternalDeviceId ( externalDeviceId : string ) : void
68
- public setUrlStrategy ( urlStrategy : string ) : void
69
+ public setUrlStrategy ( urlStrategy : UrlStrategy ) : void
69
70
public setUserAgent ( userAgent : string ) : void
70
71
public setAppSecret (
71
72
secretId : number ,
@@ -123,6 +124,11 @@ declare module 'react-native-adjust' {
123
124
static LogLevelSuppress : LogLevel
124
125
static EnvironmentSandbox : Environment
125
126
static EnvironmentProduction : Environment
127
+ static UrlStrategyChina : UrlStrategy
128
+ static UrlStrategyIndia : UrlStrategy
129
+ static DataResidencyEU : UrlStrategy
130
+ static DataResidencyTR : UrlStrategy
131
+ static DataResidencyUS : UrlStrategy
126
132
}
127
133
128
134
export class AdjustEvent {
You can’t perform that action at this time.
0 commit comments