Michal Šrůtek
Committed by GitHub

Replace master with main (#125)

* Replace master with main

* Update pubspec.yaml

* Update pubspec.yaml

* Update CHANGELOG.md

* Update pubspec.yaml

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update pubspec.yaml

* Update CHANGELOG.md

* Update pubspec.yaml

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: creativecreatorormaybenot <creativecreatorormaybenot@gmail.com>
... ... @@ -16,28 +16,28 @@ from sleeping.
## Getting started
To learn more about the plugin and getting started, you can view [the main package (`wakelock`) README](https://github.com/creativecreatorormaybenot/wakelock/blob/master/wakelock/README.md).
To learn more about the plugin and getting started, you can view [the main package (`wakelock`) README](https://github.com/creativecreatorormaybenot/wakelock/blob/main/wakelock/README.md).
### Plugin structure
The `wakelock` plugin uses the [federated plugins approach](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#federated-plugins).
For this plugin, it means that the basic API is defined using [`pigeon`](https://pub.dev/packages/pigeon). The pigeon files can be found in the [`pigeons` directory](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock/pigeons)
in the main package. The API is defined in Dart in the [`wakelock_platform_interface` package](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface).
Furthermore, the Android and iOS implementations can be found in the main package, while the web implementation is in the [`wakelock_web` package](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface).
For this plugin, it means that the basic API is defined using [`pigeon`](https://pub.dev/packages/pigeon). The pigeon files can be found in the [`pigeons` directory](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock/pigeons)
in the main package. The API is defined in Dart in the [`wakelock_platform_interface` package](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface).
Furthermore, the Android and iOS implementations can be found in the main package, while the web implementation is in the [`wakelock_web` package](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface).
The packages in this repo are the following:
| Package | Implementations |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------- |
| [`wakelock`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock) | Main plugin package + Android & iOS implementations |
| [`wakelock_macos`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_macos) | macOS implementation |
| [`wakelock_platform_interface`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface) | Basic API definition & message handling |
| [`wakelock_web`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_web) | Web implementation |
| [`wakelock_windows`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_windows) | Windows implementation |
| [`wakelock`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock) | Main plugin package + Android & iOS implementations |
| [`wakelock_macos`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_macos) | macOS implementation |
| [`wakelock_platform_interface`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface) | Basic API definition & message handling |
| [`wakelock_web`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_web) | Web implementation |
| [`wakelock_windows`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_windows) | Windows implementation |
## Contributing
If you want to contribute to this plugin, follow the [contributing guide](https://github.com/creativecreatorormaybenot/wakelock/blob/master/.github/CONTRIBUTING.md).
If you want to contribute to this plugin, follow the [contributing guide](https://github.com/creativecreatorormaybenot/wakelock/blob/main/.github/CONTRIBUTING.md).
## Origin
... ...
## 0.5.3+3
* Updated GitHub references to use `main` instead of `master`.
## 0.5.3+2
* Removed empty constructor in Android code.
... ...
... ... @@ -2,8 +2,8 @@ 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.3+2
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock
version: 0.5.3+3
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock
environment:
sdk: '>=2.12.0 <3.0.0'
... ...
## 0.1.0+2
* Updated GitHub references to use `main` instead of `master`.
## 0.1.0+1
* Changed Dart SDK constraint to `>=2.12.0`.
... ...
... ... @@ -8,10 +8,10 @@ Pod::Spec.new do |s|
s.description = <<-DESC
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, macOS, Windows, and web.
DESC
s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock/tree/master/packages/wakelock_macos'
s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock/tree/main/packages/wakelock_macos'
s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.source = { :http => 'https://github.com/creativecreatorormaybenot/wakelock/tree/master/packages/wakelock_macos' }
s.source = { :http => 'https://github.com/creativecreatorormaybenot/wakelock/tree/main/packages/wakelock_macos' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'
... ...
name: wakelock_macos
description: >-2
macOS platform implementation of the wakelock_platform_interface for the wakelock plugin.
version: 0.1.0+1
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_macos
version: 0.1.0+2
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_macos
environment:
sdk: '>=2.12.0 <3.0.0'
... ...
## 0.2.1+2
* Updated GitHub references to use `main` instead of `master`.
## 0.2.1+1
* Changed Dart SDK constraint to `>=2.12.0`.
... ...
... ... @@ -2,9 +2,9 @@ name: wakelock_platform_interface
description: >-2
A common platform interface for the wakelock plugin used by the different platform
implementations.
version: 0.2.1+1
version: 0.2.1+2
homepage: >-2
https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface
https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface
environment:
sdk: '>=2.12.0 <3.0.0'
... ...
## 0.2.0+2
* Updated GitHub references to use `main` instead of `master`.
## 0.2.0+1
* Changed Dart SDK constraint to `>=2.12.0`.
... ...
name: wakelock_web
description: Web platform implementation of the wakelock_platform_interface for the wakelock plugin.
version: 0.2.0+1
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_web
version: 0.2.0+2
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_web
environment:
sdk: '>=2.12.0 <3.0.0'
... ...
## 0.1.0+1
* Updated GitHub references to use `main` instead of `master`.
## 0.1.0
* Initial release
... ...
name: wakelock_windows
description: >-2
Windows platform implementation of the wakelock_platform_interface for the wakelock plugin.
version: 0.1.0
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_windows
version: 0.1.0+1
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_windows
environment:
sdk: '>=2.12.0 <3.0.0'
... ...