Skip to content

Commit

Permalink
Readme changed
Browse files Browse the repository at this point in the history
  • Loading branch information
İbrahim Demirci committed Jan 18, 2022
1 parent 0688450 commit e0b0864
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# work_manager_async
## What is this project
This project fetchs Album object from API per 15 minute and pushs local notification to device.

A new Flutter project.

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
4 changes: 3 additions & 1 deletion lib/api_test/view/home_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import 'package:workmanager/workmanager.dart';
const String tag = "BackGround_Work";

class BackGroundWorkSample extends StatefulWidget {
const BackGroundWorkSample({Key? key}) : super(key: key);

@override
_BackGroundWorkSampleState createState() => _BackGroundWorkSampleState();
}
Expand All @@ -19,7 +21,7 @@ class _BackGroundWorkSampleState extends State<BackGroundWorkSample> {
Workmanager().registerPeriodicTask(
tag,
"simplePeriodicTask",
initialDelay: Duration(seconds: 10),
initialDelay: const Duration(seconds: 10),
);
}

Expand Down

0 comments on commit e0b0864

Please sign in to comment.