Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 4904dd2

Browse files
authored
Fix workaround for failing dynamic check in Xcode 7/sdk version 9. (#25)
1 parent 7c65935 commit 4904dd2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/url-launcher/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.3.6] - 2017-05-9
2+
3+
* Fix workaround for failing dynamic check in Xcode 7/sdk version 9.
4+
15
## [0.3.5] - 2017-05-8
26

37
* Workaround for failing dynamic check in Xcode 7/sdk version 9.

packages/url-launcher/ios/Classes/UrlLauncherPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ - (void)launchURL:(NSString*)urlString result:(FlutterResult)result {
4040

4141
// Using ifdef as workaround to support running with Xcode 7.0 and sdk version 9
4242
// where the dynamic check fails.
43-
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_10_0
43+
#if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_9_0
4444
[application openURL:url options:@{} completionHandler: ^(BOOL success) {
4545
[self sendResult:success result:result url:url];
4646
}];

packages/url-launcher/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: url_launcher
22

3-
version: 0.3.5
3+
version: 0.3.6
44
description: A Flutter plugin for launching a URL
55
author: Flutter Team <[email protected]>
66
homepage: https://github.com/flutter/plugins
@@ -15,4 +15,4 @@ dependencies:
1515
sdk: flutter
1616

1717
dev_dependencies:
18-
test:
18+
test:

0 commit comments

Comments
 (0)