creativecreatorormaybenot
Committed by GitHub

[wakelock] add macOS Podspec (#111)

* Create wakelock.podspec

* Update CHANGELOG.md

* Update pubspec.yaml
## 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.
... ...
#
# 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' => 'creativecreatorormaybenot@gmail.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.platform = :osx
s.osx.deployment_target = '10.11'
end
... ...
... ... @@ -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:
... ...