Skip to content

Commit

Permalink
minor fix for swift function (lukasgit#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze91 authored Apr 23, 2020
1 parent 34d9eae commit 2844aeb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.4.4] - April 23, 2020

* Fixed swift function name

## [0.4.3] - April 22, 2020

* Fixed getContactsForEmail with iOSLocalizedLabels (@pavanbuzz)
Expand Down
1 change: 1 addition & 0 deletions example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"contacts_service","dependencies":[]},{"name":"permission_handler","dependencies":[]}]}
10 changes: 10 additions & 0 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/libe/Documents/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/libe/Documents/flutter_contacts/example"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_FRAMEWORK_DIR=/Users/libe/Documents/flutter/bin/cache/artifacts/engine/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
2 changes: 1 addition & 1 deletion ios/Classes/SwiftContactsServicePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public class SwiftContactsServicePlugin: NSObject, FlutterPlugin, CNContactViewC
while let nextView = currentViewController?.presentedViewController {
currentViewController = nextView
}
let activityIndicatorView = UIActivityIndicatorView.init(style: UIActivityIndicatorView.Style.gray)
let activityIndicatorView = UIActivityIndicatorView.init(activityIndicatorStyle: UIActivityIndicatorView.Style.gray)
activityIndicatorView.frame = (UIApplication.shared.keyWindow?.frame)!
activityIndicatorView.startAnimating()
activityIndicatorView.backgroundColor = UIColor.white
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: contacts_service
description: A Flutter plugin to retrieve and manage contacts on Android and iOS devices.
version: 0.4.3
version: 0.4.4
authors:
- Lukas Dickie <lukas@changefly.com>
- Clovis Nicolas <clovisnicolas0@gmail.com>
Expand Down

0 comments on commit 2844aeb

Please sign in to comment.