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>
Showing
12 changed files
with
42 additions
and
22 deletions
| @@ -16,28 +16,28 @@ from sleeping. | @@ -16,28 +16,28 @@ from sleeping. | ||
| 16 | 16 | ||
| 17 | ## Getting started | 17 | ## Getting started |
| 18 | 18 | ||
| 19 | -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). | 19 | +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). |
| 20 | 20 | ||
| 21 | ### Plugin structure | 21 | ### Plugin structure |
| 22 | 22 | ||
| 23 | The `wakelock` plugin uses the [federated plugins approach](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#federated-plugins). | 23 | The `wakelock` plugin uses the [federated plugins approach](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#federated-plugins). |
| 24 | -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) | ||
| 25 | -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). | ||
| 26 | -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). | 24 | +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) |
| 25 | +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). | ||
| 26 | +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). | ||
| 27 | 27 | ||
| 28 | The packages in this repo are the following: | 28 | The packages in this repo are the following: |
| 29 | 29 | ||
| 30 | | Package | Implementations | | 30 | | Package | Implementations | |
| 31 | | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------- | | 31 | | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------- | |
| 32 | -| [`wakelock`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock) | Main plugin package + Android & iOS implementations | | ||
| 33 | -| [`wakelock_macos`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_macos) | macOS implementation | | ||
| 34 | -| [`wakelock_platform_interface`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface) | Basic API definition & message handling | | ||
| 35 | -| [`wakelock_web`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_web) | Web implementation | | ||
| 36 | -| [`wakelock_windows`](https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_windows) | Windows implementation | | 32 | +| [`wakelock`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock) | Main plugin package + Android & iOS implementations | |
| 33 | +| [`wakelock_macos`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_macos) | macOS implementation | | ||
| 34 | +| [`wakelock_platform_interface`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface) | Basic API definition & message handling | | ||
| 35 | +| [`wakelock_web`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_web) | Web implementation | | ||
| 36 | +| [`wakelock_windows`](https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_windows) | Windows implementation | | ||
| 37 | 37 | ||
| 38 | ## Contributing | 38 | ## Contributing |
| 39 | 39 | ||
| 40 | -If you want to contribute to this plugin, follow the [contributing guide](https://github.com/creativecreatorormaybenot/wakelock/blob/master/.github/CONTRIBUTING.md). | 40 | +If you want to contribute to this plugin, follow the [contributing guide](https://github.com/creativecreatorormaybenot/wakelock/blob/main/.github/CONTRIBUTING.md). |
| 41 | 41 | ||
| 42 | ## Origin | 42 | ## Origin |
| 43 | 43 |
| @@ -2,8 +2,8 @@ name: wakelock | @@ -2,8 +2,8 @@ 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.5.3+2 | ||
| 6 | -homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock | 5 | +version: 0.5.3+3 |
| 6 | +homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock | ||
| 7 | 7 | ||
| 8 | environment: | 8 | environment: |
| 9 | sdk: '>=2.12.0 <3.0.0' | 9 | sdk: '>=2.12.0 <3.0.0' |
| @@ -8,10 +8,10 @@ Pod::Spec.new do |s| | @@ -8,10 +8,10 @@ Pod::Spec.new do |s| | ||
| 8 | s.description = <<-DESC | 8 | s.description = <<-DESC |
| 9 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, macOS, Windows, and web. | 9 | Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, macOS, Windows, and web. |
| 10 | DESC | 10 | DESC |
| 11 | - s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock/tree/master/packages/wakelock_macos' | 11 | + s.homepage = 'https://github.com/creativecreatorormaybenot/wakelock/tree/main/packages/wakelock_macos' |
| 12 | s.license = { :type => 'BSD', :file => '../LICENSE' } | 12 | s.license = { :type => 'BSD', :file => '../LICENSE' } |
| 13 | s.author = { 'Your Company' => 'email@example.com' } | 13 | s.author = { 'Your Company' => 'email@example.com' } |
| 14 | - s.source = { :http => 'https://github.com/creativecreatorormaybenot/wakelock/tree/master/packages/wakelock_macos' } | 14 | + s.source = { :http => 'https://github.com/creativecreatorormaybenot/wakelock/tree/main/packages/wakelock_macos' } |
| 15 | s.source_files = 'Classes/**/*' | 15 | s.source_files = 'Classes/**/*' |
| 16 | s.dependency 'FlutterMacOS' | 16 | s.dependency 'FlutterMacOS' |
| 17 | 17 |
| 1 | name: wakelock_macos | 1 | name: wakelock_macos |
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | macOS platform implementation of the wakelock_platform_interface for the wakelock plugin. | 3 | macOS platform implementation of the wakelock_platform_interface for the wakelock plugin. |
| 4 | -version: 0.1.0+1 | ||
| 5 | -homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_macos | 4 | +version: 0.1.0+2 |
| 5 | +homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_macos | ||
| 6 | 6 | ||
| 7 | environment: | 7 | environment: |
| 8 | sdk: '>=2.12.0 <3.0.0' | 8 | sdk: '>=2.12.0 <3.0.0' |
| @@ -2,9 +2,9 @@ name: wakelock_platform_interface | @@ -2,9 +2,9 @@ name: wakelock_platform_interface | ||
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | A common platform interface for the wakelock plugin used by the different platform | 3 | A common platform interface for the wakelock plugin used by the different platform |
| 4 | implementations. | 4 | implementations. |
| 5 | -version: 0.2.1+1 | 5 | +version: 0.2.1+2 |
| 6 | homepage: >-2 | 6 | homepage: >-2 |
| 7 | - https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_platform_interface | 7 | + https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_platform_interface |
| 8 | 8 | ||
| 9 | environment: | 9 | environment: |
| 10 | sdk: '>=2.12.0 <3.0.0' | 10 | sdk: '>=2.12.0 <3.0.0' |
| 1 | name: wakelock_web | 1 | name: wakelock_web |
| 2 | description: Web platform implementation of the wakelock_platform_interface for the wakelock plugin. | 2 | description: Web platform implementation of the wakelock_platform_interface for the wakelock plugin. |
| 3 | -version: 0.2.0+1 | ||
| 4 | -homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_web | 3 | +version: 0.2.0+2 |
| 4 | +homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_web | ||
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
| 7 | sdk: '>=2.12.0 <3.0.0' | 7 | sdk: '>=2.12.0 <3.0.0' |
| 1 | name: wakelock_windows | 1 | name: wakelock_windows |
| 2 | description: >-2 | 2 | description: >-2 |
| 3 | Windows platform implementation of the wakelock_platform_interface for the wakelock plugin. | 3 | Windows platform implementation of the wakelock_platform_interface for the wakelock plugin. |
| 4 | -version: 0.1.0 | ||
| 5 | -homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_windows | 4 | +version: 0.1.0+1 |
| 5 | +homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/main/wakelock_windows | ||
| 6 | 6 | ||
| 7 | environment: | 7 | environment: |
| 8 | sdk: '>=2.12.0 <3.0.0' | 8 | sdk: '>=2.12.0 <3.0.0' |
-
Please register or login to post a comment