Skip to content

Commit ee5ca95

Browse files
authored
Merge pull request #1239 from NativeScript/bektchiev/fix-inspector-error
fix(inspector): JS Error due to missing methods from InspectorFrontendHost
2 parents 68ae24c + 3ba0515 commit ee5ca95

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

build/npm/inspector_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tns-ios-inspector",
33
"description": "Telerik NativeScript Inspector for iOS Runtime",
4-
"version": "6.3.0",
4+
"version": "6.3.1",
55
"keywords": [
66
"NativeScript",
77
"iOS",

src/debugging/Inspector/Inspector/NativeScript Inspector/InspectorFrontendHost.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,14 @@ - (NSString*)userInterfaceLayoutDirection {
8787
return @"ltr";
8888
}
8989

90+
- (void)reset {
91+
}
92+
93+
- (void)setSheetRect {
94+
}
95+
96+
- (bool)isRemote {
97+
return false;
98+
}
99+
90100
@end

src/debugging/Inspector/Inspector/NativeScript Inspector/InspectorFrontendHostProtocol.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
- (void)showContextMenu;
1919
- (void)openInNewTab;
2020
- (NSString*)userInterfaceLayoutDirection;
21+
- (void)reset;
22+
- (void)setSheetRect;
23+
- (bool)isRemote;
2124

2225
@end

src/debugging/debugger-proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PacketStream.prototype._transform = function(packet, encoding, done) {
3232
};
3333

3434
var server = new ws.Server({
35-
port: 8080
35+
port: 41000
3636
});
3737
server.on("connection", function(webSocket) {
3838
console.info("Frontend client connected.");

0 commit comments

Comments
 (0)