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

Fix workaround for failing dynamic check in Xcode 7/sdk version 9. #25

Merged
merged 1 commit into from
May 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/url-launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.3.6] - 2017-05-9

* Fix workaround for failing dynamic check in Xcode 7/sdk version 9.

## [0.3.5] - 2017-05-8

* Workaround for failing dynamic check in Xcode 7/sdk version 9.
Expand Down
2 changes: 1 addition & 1 deletion packages/url-launcher/ios/Classes/UrlLauncherPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ - (void)launchURL:(NSString*)urlString result:(FlutterResult)result {

// Using ifdef as workaround to support running with Xcode 7.0 and sdk version 9
// where the dynamic check fails.
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_10_0
#if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_9_0
[application openURL:url options:@{} completionHandler: ^(BOOL success) {
[self sendResult:success result:result url:url];
}];
Expand Down
4 changes: 2 additions & 2 deletions packages/url-launcher/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: url_launcher

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

dev_dependencies:
test:
test: