Showing
6 changed files
with
5 additions
and
129 deletions
wakelock/example/ios/Podfile
deleted
100644 → 0
| 1 | -# Uncomment this line to define a global platform for your project | ||
| 2 | -# platform :ios, '9.0' | ||
| 3 | - | ||
| 4 | -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
| 5 | -ENV['COCOAPODS_DISABLE_STATS'] = 'true' | ||
| 6 | - | ||
| 7 | -project 'Runner', { | ||
| 8 | - 'Debug' => :debug, | ||
| 9 | - 'Profile' => :release, | ||
| 10 | - 'Release' => :release, | ||
| 11 | -} | ||
| 12 | - | ||
| 13 | -def flutter_root | ||
| 14 | - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) | ||
| 15 | - unless File.exist?(generated_xcode_build_settings_path) | ||
| 16 | - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" | ||
| 17 | - end | ||
| 18 | - | ||
| 19 | - File.foreach(generated_xcode_build_settings_path) do |line| | ||
| 20 | - matches = line.match(/FLUTTER_ROOT\=(.*)/) | ||
| 21 | - return matches[1].strip if matches | ||
| 22 | - end | ||
| 23 | - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" | ||
| 24 | -end | ||
| 25 | - | ||
| 26 | -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) | ||
| 27 | - | ||
| 28 | -flutter_ios_podfile_setup | ||
| 29 | - | ||
| 30 | -target 'Runner' do | ||
| 31 | - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) | ||
| 32 | -end | ||
| 33 | - | ||
| 34 | -post_install do |installer| | ||
| 35 | - installer.pods_project.targets.each do |target| | ||
| 36 | - flutter_additional_ios_build_settings(target) | ||
| 37 | - end | ||
| 38 | -end |
wakelock/example/ios/Podfile.lock
deleted
100644 → 0
| 1 | -PODS: | ||
| 2 | - - Flutter (1.0.0) | ||
| 3 | - - integration_test (0.0.1): | ||
| 4 | - - Flutter | ||
| 5 | - - wakelock (0.0.1): | ||
| 6 | - - Flutter | ||
| 7 | - | ||
| 8 | -DEPENDENCIES: | ||
| 9 | - - Flutter (from `Flutter`) | ||
| 10 | - - integration_test (from `.symlinks/plugins/integration_test/ios`) | ||
| 11 | - - wakelock (from `.symlinks/plugins/wakelock/ios`) | ||
| 12 | - | ||
| 13 | -EXTERNAL SOURCES: | ||
| 14 | - Flutter: | ||
| 15 | - :path: Flutter | ||
| 16 | - integration_test: | ||
| 17 | - :path: ".symlinks/plugins/integration_test/ios" | ||
| 18 | - wakelock: | ||
| 19 | - :path: ".symlinks/plugins/wakelock/ios" | ||
| 20 | - | ||
| 21 | -SPEC CHECKSUMS: | ||
| 22 | - Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a | ||
| 23 | - integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1 | ||
| 24 | - wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f | ||
| 25 | - | ||
| 26 | -PODFILE CHECKSUM: da6cafc552cabecbcfc14b81246265fade7d4e24 | ||
| 27 | - | ||
| 28 | -COCOAPODS: 1.10.2 |
wakelock/example/macos/Podfile
deleted
100644 → 0
| 1 | -platform :osx, '10.11' | ||
| 2 | - | ||
| 3 | -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
| 4 | -ENV['COCOAPODS_DISABLE_STATS'] = 'true' | ||
| 5 | - | ||
| 6 | -project 'Runner', { | ||
| 7 | - 'Debug' => :debug, | ||
| 8 | - 'Profile' => :release, | ||
| 9 | - 'Release' => :release, | ||
| 10 | -} | ||
| 11 | - | ||
| 12 | -def flutter_root | ||
| 13 | - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) | ||
| 14 | - unless File.exist?(generated_xcode_build_settings_path) | ||
| 15 | - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" | ||
| 16 | - end | ||
| 17 | - | ||
| 18 | - File.foreach(generated_xcode_build_settings_path) do |line| | ||
| 19 | - matches = line.match(/FLUTTER_ROOT\=(.*)/) | ||
| 20 | - return matches[1].strip if matches | ||
| 21 | - end | ||
| 22 | - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" | ||
| 23 | -end | ||
| 24 | - | ||
| 25 | -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) | ||
| 26 | - | ||
| 27 | -flutter_macos_podfile_setup | ||
| 28 | - | ||
| 29 | -target 'Runner' do | ||
| 30 | - use_frameworks! | ||
| 31 | - use_modular_headers! | ||
| 32 | - | ||
| 33 | - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) | ||
| 34 | -end | ||
| 35 | - | ||
| 36 | -post_install do |installer| | ||
| 37 | - installer.pods_project.targets.each do |target| | ||
| 38 | - flutter_additional_macos_build_settings(target) | ||
| 39 | - end | ||
| 40 | -end |
wakelock/example/macos/Podfile.lock
deleted
100644 → 0
| 1 | -PODS: | ||
| 2 | - - FlutterMacOS (1.0.0) | ||
| 3 | - - wakelock_macos (0.0.1): | ||
| 4 | - - FlutterMacOS | ||
| 5 | - | ||
| 6 | -DEPENDENCIES: | ||
| 7 | - - FlutterMacOS (from `Flutter/ephemeral`) | ||
| 8 | - - wakelock_macos (from `Flutter/ephemeral/.symlinks/plugins/wakelock_macos/macos`) | ||
| 9 | - | ||
| 10 | -EXTERNAL SOURCES: | ||
| 11 | - FlutterMacOS: | ||
| 12 | - :path: Flutter/ephemeral | ||
| 13 | - wakelock_macos: | ||
| 14 | - :path: Flutter/ephemeral/.symlinks/plugins/wakelock_macos/macos | ||
| 15 | - | ||
| 16 | -SPEC CHECKSUMS: | ||
| 17 | - FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424 | ||
| 18 | - wakelock_macos: f1457c9101563f8ddc3498664d8da40d9117309d | ||
| 19 | - | ||
| 20 | -PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c | ||
| 21 | - | ||
| 22 | -COCOAPODS: 1.10.1 |
| @@ -2,7 +2,7 @@ name: wakelock | @@ -2,7 +2,7 @@ name: wakelock | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on | 3 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on |
| 4 | Android, iOS, macOS, Windows, and web. | 4 | Android, iOS, macOS, Windows, and web. |
| 5 | -version: 0.6.0 | 5 | +version: 0.6.0+1 |
| 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock | 6 | repository: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock |
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
-
Please register or login to post a comment