Skip to content

Commit ababcb2

Browse files
committed
test: update web bridge test app with newly added soruce files
1 parent 5335b4f commit ababcb2

File tree

4 files changed

+30
-18
lines changed

4 files changed

+30
-18
lines changed

AdjustTests/AdjustTestApp/AdjustTestApp/ViewController.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
#import <UIKit/UIKit.h>
1010

1111
// simulator
12-
static NSString * baseUrl = @"http://127.0.0.1:8080";
13-
static NSString * gdprUrl = @"http://127.0.0.1:8080";
14-
static NSString * subscriptionUrl = @"http://127.0.0.1:8080";
15-
static NSString * controlUrl = @"ws://127.0.0.1:1987";
12+
//static NSString * baseUrl = @"http://127.0.0.1:8080";
13+
//static NSString * gdprUrl = @"http://127.0.0.1:8080";
14+
//static NSString * subscriptionUrl = @"http://127.0.0.1:8080";
15+
//static NSString * controlUrl = @"ws://127.0.0.1:1987";
1616
// device
17-
// static NSString * baseUrl = @"http://192.168.86.65:8080";
18-
// static NSString * gdprUrl = @"http://192.168.86.65:8080";
19-
// static NSString * subscriptionUrl = @"http://192.168.86.65:8080";
20-
// static NSString * controlUrl = @"ws://192.168.86.65:1987";
17+
static NSString * baseUrl = @"http://192.168.86.44:8080";
18+
static NSString * gdprUrl = @"http://192.168.86.44:8080";
19+
static NSString * subscriptionUrl = @"http://192.168.86.44:8080";
20+
static NSString * controlUrl = @"ws://192.168.86.44:1987";
2121

2222
@interface ViewController : UIViewController
2323

AdjustTests/AdjustWebBridgeTestApp/AdjustWebBridgeTestApp.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
6FD0412E211C71D9008D42D0 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6FD0412D211C71D9008D42D0 /* AdSupport.framework */; };
7373
6FD04130211C71E8008D42D0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6FD0412F211C71E8008D42D0 /* Foundation.framework */; };
7474
6FD04132211C71EF008D42D0 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6FD04131211C71EE008D42D0 /* UIKit.framework */; };
75+
9D0B5C1B29297B40007009C1 /* ADJSKAdNetwork.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D0B5C1929297B40007009C1 /* ADJSKAdNetwork.m */; };
76+
9D0B5C1C29297B40007009C1 /* ADJSubscription.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D0B5C1A29297B40007009C1 /* ADJSubscription.m */; };
7577
9D3A2AD52626510200BD6E44 /* ADJAdRevenue.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D3A2AD42626510200BD6E44 /* ADJAdRevenue.m */; };
7678
9DAA5C6C25B0F81F00C718DD /* AdServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DAA5C6B25B0F81F00C718DD /* AdServices.framework */; };
7779
9DF3822D260E9BC90033F5A1 /* NSNumber+ADJAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF3822C260E9BC90033F5A1 /* NSNumber+ADJAdditions.m */; };
@@ -204,6 +206,10 @@
204206
6FD0412D211C71D9008D42D0 /* AdSupport.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdSupport.framework; path = System/Library/Frameworks/AdSupport.framework; sourceTree = SDKROOT; };
205207
6FD0412F211C71E8008D42D0 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
206208
6FD04131211C71EE008D42D0 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
209+
9D0B5C1729297B40007009C1 /* ADJSKAdNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSKAdNetwork.h; sourceTree = "<group>"; };
210+
9D0B5C1829297B40007009C1 /* ADJSubscription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSubscription.h; sourceTree = "<group>"; };
211+
9D0B5C1929297B40007009C1 /* ADJSKAdNetwork.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJSKAdNetwork.m; sourceTree = "<group>"; };
212+
9D0B5C1A29297B40007009C1 /* ADJSubscription.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJSubscription.m; sourceTree = "<group>"; };
207213
9D3A2AD32626510200BD6E44 /* ADJAdRevenue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJAdRevenue.h; sourceTree = "<group>"; };
208214
9D3A2AD42626510200BD6E44 /* ADJAdRevenue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJAdRevenue.m; sourceTree = "<group>"; };
209215
9DAA5C6B25B0F81F00C718DD /* AdServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdServices.framework; path = System/Library/Frameworks/AdServices.framework; sourceTree = SDKROOT; };
@@ -349,6 +355,10 @@
349355
6F7AF6EC21187CFE00F730B2 /* Adjust */ = {
350356
isa = PBXGroup;
351357
children = (
358+
9D0B5C1729297B40007009C1 /* ADJSKAdNetwork.h */,
359+
9D0B5C1929297B40007009C1 /* ADJSKAdNetwork.m */,
360+
9D0B5C1829297B40007009C1 /* ADJSubscription.h */,
361+
9D0B5C1A29297B40007009C1 /* ADJSubscription.m */,
352362
6F7AF6ED21187CFE00F730B2 /* ADJConfig.h */,
353363
6F7AF6EF21187CFE00F730B2 /* ADJTimerOnce.m */,
354364
6F7AF6F021187CFE00F730B2 /* ADJAttributionHandler.m */,
@@ -565,11 +575,13 @@
565575
6F7AF74F21187CFF00F730B2 /* ADJUserDefaults.m in Sources */,
566576
6F7AF74B21187CFF00F730B2 /* ADJUtil.m in Sources */,
567577
6F6F75D52327C08B00F47E64 /* PSWebSocket.m in Sources */,
578+
9D0B5C1B29297B40007009C1 /* ADJSKAdNetwork.m in Sources */,
568579
6F6F75CB2327C08B00F47E64 /* ATLTestInfo.m in Sources */,
569580
6F7AF73921187CFF00F730B2 /* ADJEventFailure.m in Sources */,
570581
6F7AF73321187CFF00F730B2 /* ADJAttributionHandler.m in Sources */,
571582
6F6F75CE2327C08B00F47E64 /* ATLControlSignal.m in Sources */,
572583
6F6F75A423279D4D00F47E64 /* WKWebViewJavascriptBridge.m in Sources */,
584+
9D0B5C1C29297B40007009C1 /* ADJSubscription.m in Sources */,
573585
6F7AF62B211878BA00F730B2 /* AppDelegate.m in Sources */,
574586
6F7AF75121187CFF00F730B2 /* ADJActivityHandler.m in Sources */,
575587
6F7AF73E21187CFF00F730B2 /* ADJSessionParameters.m in Sources */,

AdjustTests/AdjustWebBridgeTestApp/AdjustWebBridgeTestApp/TestLibraryBridge.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
#import "AdjustBridgeRegister.h"
1212

1313
// simulator
14-
static NSString * baseUrl = @"http://127.0.0.1:8080";
15-
static NSString * gdprUrl = @"http://127.0.0.1:8080";
16-
static NSString * controlUrl = @"ws://127.0.0.1:1987";
14+
//static NSString * baseUrl = @"http://127.0.0.1:8080";
15+
//static NSString * gdprUrl = @"http://127.0.0.1:8080";
16+
//static NSString * controlUrl = @"ws://127.0.0.1:1987";
1717
// device
18-
// static NSString * baseUrl = @"http://192.168.86.65:8080";
19-
// static NSString * gdprUrl = @"http://192.168.86.65:8080";
20-
// static NSString * controlUrl = @"ws://192.168.86.65:1987";
18+
static NSString * baseUrl = @"http://192.168.86.44:8080";
19+
static NSString * gdprUrl = @"http://192.168.86.44:8080";
20+
static NSString * controlUrl = @"ws://192.168.86.44:1987";
2121

2222
@interface TestLibraryBridge : NSObject<AdjustCommandDelegate>
2323

AdjustTests/AdjustWebBridgeTestApp/AdjustWebBridgeTestApp/TestLibraryBridge.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// simulator
2-
var localBaseUrl = 'http://127.0.0.1:8080';
3-
var localGdprUrl = 'http://127.0.0.1:8080';
2+
//var localBaseUrl = 'http://127.0.0.1:8080';
3+
//var localGdprUrl = 'http://127.0.0.1:8080';
44
// device
5-
// var localBaseUrl = 'http://192.168.86.65:8080';
6-
// var localGdprUrl = 'http://192.168.86.65:8080';
5+
var localBaseUrl = 'http://192.168.86.44:8080';
6+
var localGdprUrl = 'http://192.168.86.44:8080';
77

88
// local reference of the command executor
99
// originally it was this.adjustCommandExecutor of TestLibraryBridge var

0 commit comments

Comments
 (0)