Skip to content

Commit

Permalink
v11.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Sep 6, 2023
1 parent 6d36916 commit 99f7994
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 13 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -962,5 +962,37 @@
</Locations>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "29006B1C-BB3C-4994-8755-12ED53165816"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../Sources/ObjCSources/GleapFrameManagerViewController.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "511"
endingLineNumber = "511"
landmarkName = "-openURLExternally:fromViewController:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "02397F69-37C9-49FD-BE02-95AEDE69DBC6"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "../Sources/ObjCSources/GleapFrameManagerViewController.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "523"
endingLineNumber = "523"
landmarkName = "-openURLExternally:fromViewController:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
6 changes: 3 additions & 3 deletions Example/Example/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GleapDelegate {

Gleap.setLanguage("de")

//Gleap.setApiUrl("http://localhost:9000")
//Gleap.setFrameUrl("http://localhost:3001/appnew.html")
Gleap.initialize(withToken: "hciNpT8z64tsHATINYZjWBvbirVWCKWt")
// Gleap.setApiUrl("http://localhost:9000")
// Gleap.setFrameUrl("http://localhost:3001/appnew.html")
Gleap.initialize(withToken: "9JDaXydIFNu4CgeLQOw4S50KVazALlMg")

Gleap.sharedInstance().delegate = self

Expand Down
2 changes: 1 addition & 1 deletion Gleap.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "Gleap"
s.version = "11.1.7"
s.version = "11.1.8"
s.summary = "In-App Bug Reporting and Tes2ting for Apps. Learn more at https://gleap.io"
s.homepage = "https://gleap.io"
s.license = { :type => 'Commercial', :file => 'LICENSE.md' }
Expand Down
22 changes: 13 additions & 9 deletions Sources/ObjCSources/GleapFrameManagerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -506,17 +506,21 @@ - (void)loadingFailed:(NSError *)error {
}

- (void)openURLExternally:(NSURL *)url fromViewController:(UIViewController *)presentingViewController {
if ([SFSafariViewController class]) {
SFSafariViewController *viewController = [[SFSafariViewController alloc] initWithURL: url];
viewController.modalPresentationStyle = UIModalPresentationFormSheet;
viewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[presentingViewController presentViewController:viewController animated:YES completion:nil];
} else {
if ([[UIApplication sharedApplication] canOpenURL: url]) {
if (@available(iOS 10.0, *)) {
[[UIApplication sharedApplication] openURL: url options:@{} completionHandler:nil];
@try {
if ([SFSafariViewController class]) {
SFSafariViewController *viewController = [[SFSafariViewController alloc] initWithURL: url];
viewController.modalPresentationStyle = UIModalPresentationFormSheet;
viewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[presentingViewController presentViewController:viewController animated:YES completion:nil];
} else {
if ([[UIApplication sharedApplication] canOpenURL: url]) {
if (@available(iOS 10.0, *)) {
[[UIApplication sharedApplication] openURL: url options:@{} completionHandler:nil];
}
}
}
} @catch (id exp) {

}
}

Expand Down

0 comments on commit 99f7994

Please sign in to comment.