Skip to content

Commit

Permalink
Merge branch 'work/9.0.2' of https://github.com/SwiftKickMobile/Swift…
Browse files Browse the repository at this point in the history
…Messages into work/master-fix
  • Loading branch information
wtmoose committed Apr 10, 2021
2 parents 77d3e95 + ba6c3e7 commit 40307d5
Show file tree
Hide file tree
Showing 41 changed files with 2,026 additions and 76 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Change Log
All notable changes to this project will be documented in this file.

## 9.0.2

### Fixes

* Fix app extension compile error when using CocoaPods.

## 9.0.1

### Fixes

* #455 #458 Restore key window after message is interacted with. When a message becomes the key window, such as if the user interacts with the message, iOS does not automatically restore the previous key window when the message is dismissed. SwiftMessages has some logic in `WindowViewController` to restore the key window. This change makes that logic more robust.

## 9.0.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion SwiftMessages.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'SwiftMessages'
spec.version = '9.0.0'
spec.version = '9.0.2'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/SwiftKickMobile/SwiftMessages'
spec.authors = { 'Timothy Moose' => '[email protected]' }
Expand Down
2 changes: 2 additions & 0 deletions SwiftMessages/UIWindow+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import UIKit

extension UIWindow {
#if !SWIFTMESSAGES_APP_EXTENSIONS
static var keyWindow: UIWindow? {
if #available(iOS 13.0, *) {
return UIApplication.shared.connectedScenes
Expand All @@ -21,4 +22,5 @@ extension UIWindow {
return UIApplication.shared.keyWindow
}
}
#endif
}
19 changes: 19 additions & 0 deletions iMessageDemo/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'iMessageDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for iMessageDemo

end

target 'iMessageExtensionDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for iMessageExtensionDemo
pod 'SwiftMessages/AppExtension', :path => "../"

end
16 changes: 16 additions & 0 deletions iMessageDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- SwiftMessages/AppExtension (9.0.1)

DEPENDENCIES:
- SwiftMessages/AppExtension (from `../`)

EXTERNAL SOURCES:
SwiftMessages:
:path: "../"

SPEC CHECKSUMS:
SwiftMessages: b71f53eb919887c0273bf43cbc002bd4f0cfb3d6

PODFILE CHECKSUM: 4cfafdad7d8903d0f4cfadbe05660bcdeff7c9e6

COCOAPODS: 1.10.0
49 changes: 49 additions & 0 deletions iMessageDemo/Pods/Local Podspecs/SwiftMessages.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions iMessageDemo/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,188 changes: 1,188 additions & 0 deletions iMessageDemo/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 40307d5

Please sign in to comment.