Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ jobs:
- name: Run tests
run: flutter test --coverage


- name: Check publish warnings
run: dart pub publish --dry-run
run: flutter pub publish --dry-run
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ migrate_working_dir/
.flutter-plugins
.flutter-plugins-dependencies
build/
coverage/
**/build/
coverage/
**/coverage/
3 changes: 3 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tool/
.vscode/
build
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"dart.lineLength": 80,
"editor.formatOnSave": true,
}
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<img alt="Doki Dont kill my app!" src="https://raw.githubusercontent.com/zoocityboy/flutter_doki/main/assets/doki.png">
<br>

Developed by 🦏 [zoocityboy][zoocityboy_link]

# Flutter Doki - Dont kill my app
Expand Down Expand Up @@ -33,11 +35,11 @@ dart pub add flutter_doki
Opens an In-AppWebView displaying instructions on how to disable battery optimization for your app on the current device.

```dart
Doki.open(appName: 'com.example.app');
Doki().open(appName: 'com.example.app');
```

```dart
Doki.fetch()
Doki().fetch()
.then((response){ ...})
.catchError((e){...});
```
Expand All @@ -58,8 +60,11 @@ DokiBadgeWidget(
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

-------------------

<img alt="Flutter developer Zoocityboy" src="https://raw.githubusercontent.com/zoocityboy/zoo_brand/main/styles/README/zoocityboy_dark.png">

<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/zoocityboy/zoo_brand/main/styles/README/zoocityboy_light.png">
<img alt="Flutter developer Zoocityboy" src="https://raw.githubusercontent.com/zoocityboy/zoo_brand/main/styles/README/zoocityboy_dark.png">
</picture>


[logo_black]:https://raw.githubusercontent.com/zoocityboy/zoo_brand/main/styles/README/zoocityboy_dark.png#gh-light-mode-only
Expand Down
69 changes: 0 additions & 69 deletions README.md.backup

This file was deleted.

9 changes: 7 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
- lines_longer_than_80_chars
analyzer:
exclude:
- "**/*.g.dart"

34 changes: 0 additions & 34 deletions example/ios/.gitignore

This file was deleted.

26 changes: 0 additions & 26 deletions example/ios/Flutter/AppFrameworkInfo.plist

This file was deleted.

2 changes: 0 additions & 2 deletions example/ios/Flutter/Debug.xcconfig

This file was deleted.

2 changes: 0 additions & 2 deletions example/ios/Flutter/Release.xcconfig

This file was deleted.

44 changes: 0 additions & 44 deletions example/ios/Podfile

This file was deleted.

Loading
Loading