Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
[wakelock] add macOS Podspec (#111)
Browse files Browse the repository at this point in the history
* Create wakelock.podspec

* Update CHANGELOG.md

* Update pubspec.yaml
  • Loading branch information
creativecreatorormaybenot authored May 10, 2021
1 parent 00be673 commit db843e4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
4 changes: 4 additions & 0 deletions wakelock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1+1

* Added Podspec to the `wakelock` package to avoid build issues on macOS.

## 0.5.1

* Resolved a crash on iOS which was caused by 2 observers on idleTimerDisabled.
Expand Down
21 changes: 21 additions & 0 deletions wakelock/macos/wakelock.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'wakelock'
s.version = '0.0.1'
s.summary = 'No-op implementation of the macos wakelock plugin to avoid build issues on macos'
s.description = <<-DESC
No-op implementation of the wakelock plugin to avoid build issues on macos.
https://github.com/flutter/flutter/issues/46618
DESC
s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock'
s.license = { :file => '../LICENSE' }
s.author = { 'creativecreatorormaybenot' => '[email protected]' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'

s.platform = :osx
s.osx.deployment_target = '10.11'
end
2 changes: 1 addition & 1 deletion wakelock/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: wakelock
description: >-2
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on
Android, iOS, macOS, Windows, and web.
version: 0.5.1
version: 0.5.1+1
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock

environment:
Expand Down

0 comments on commit db843e4

Please sign in to comment.