{"id":15497700,"url":"https://github.com/x-slayer/bg_launcher","last_synced_at":"2026-03-02T04:34:12.137Z","repository":{"id":62458821,"uuid":"502974414","full_name":"X-SLAYER/bg_launcher","owner":"X-SLAYER","description":"A flutter plugin that brings an in-background android app to the foreground","archived":false,"fork":false,"pushed_at":"2022-06-14T14:33:59.000Z","size":28,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-18T10:41:29.123Z","etag":null,"topics":["android","flutter","flutter-background","flutter-foreground","flutter-intent","flutter-package"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/bg_launcher","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/X-SLAYER.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-13T13:45:53.000Z","updated_at":"2024-06-13T06:47:21.000Z","dependencies_parsed_at":"2022-11-02T00:45:18.276Z","dependency_job_id":null,"html_url":"https://github.com/X-SLAYER/bg_launcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-SLAYER%2Fbg_launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-SLAYER%2Fbg_launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-SLAYER%2Fbg_launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/X-SLAYER%2Fbg_launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/X-SLAYER","download_url":"https://codeload.github.com/X-SLAYER/bg_launcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250330536,"owners_count":21412993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flutter","flutter-background","flutter-foreground","flutter-intent","flutter-package"],"created_at":"2024-10-02T08:40:30.024Z","updated_at":"2026-03-02T04:34:12.094Z","avatar_url":"https://github.com/X-SLAYER.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bg_launcher\n\nA flutter plugin that brings an in-background android app to the foreground (Android only)\n\n# Restrictions on starting activities from the background \n\nApps running on Android 10 or higher can start activities only when one or more of the following conditions are met:\n\n* To make the app works try to add `SYSTEM_ALERT_WINDOW` permission and grant it by the user\n for more info check here [background-starts#exceptions](https://developer.android.com/guide/components/activities/background-starts#exceptions)\n\n## Getting Started\n\ncheck the example folder for a clearer example\n\n```dart\n\n  /// `extras` \u0026 `action` are useful if you want to determine\n  /// what you will do when you bring the app from background\n  /// you can use `receive_intent` package and filter them with\n  /// the action \u0026 extras to show your own UI/ logic ...  \n  \n    BgLauncher.bringAppToForeground(\n      action: 'FBI-OPEN-UP',\n      extras: {\n        \"title\": \"FBI OPEN UP\",\n        \"message\": \"The FBI is open up!\",\n        \"color\": \"#FF0000\",\n        \"priority\": \"high\",\n        \"visibility\": \"public\",\n        \"notificationId\": \"1\",\n      },\n    );\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-slayer%2Fbg_launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx-slayer%2Fbg_launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-slayer%2Fbg_launcher/lists"}