You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Flutter plugin for accessing the Android AlarmManager service, and running
12
10
Dart code in the background when alarms fire.
@@ -17,9 +15,18 @@ Dart code in the background when alarms fire.
17
15
| :-----: |
18
16
| ✅ |
19
17
18
+
## Requirements
19
+
20
+
- Flutter >=3.3.0
21
+
- Dart >=2.18.0 <4.0.0
22
+
- Android `compileSDK` 34
23
+
- Java 17
24
+
- Android Gradle Plugin >=8.3.0
25
+
- Gradle wrapper >=8.4
26
+
20
27
## Getting Started
21
28
22
-
> [!IMPORTANT]
29
+
> [!IMPORTANT]
23
30
> You would also need a plugin to request [SCHEDULE_EXACT_ALARM](https://developer.android.com/reference/android/Manifest.permission#SCHEDULE_EXACT_ALARM) permission if your app targets Android 14 and newer.
24
31
> Google introduced SCHEDULE_EXACT_ALARM permission in [Android 12](https://developer.android.com/about/versions/12/behavior-changes-12#exact-alarm-permission). In Android 13 it was granted by default.
25
32
> Since Android 14 this permission [is denied by default](https://developer.android.com/about/versions/14/changes/schedule-exact-alarms) and apps need to ask user to provide it.
@@ -95,7 +102,7 @@ using.
95
102
96
103
## Receiving show intents for alarm clocks
97
104
98
-
If your app is an alarm clock app and sets alarms using the `alarmClock` argument in [`oneShot`](https://pub.dev/documentation/android_alarm_manager_plus/latest/android_alarm_manager_plus/AndroidAlarmManager/oneShot.html) or [`oneShotAt`](https://pub.dev/documentation/android_alarm_manager_plus/latest/android_alarm_manager_plus/AndroidAlarmManager/oneShotAt.html), you can receive [intents](https://developer.android.com/reference/android/content/Intent) when user interacts with system UI that shows the next alarm. An example is the alarm tile in Android [quick-setting tiles](https://developer.android.com/develop/ui/views/quicksettings-tiles). This functionality is to allow you to show users the relevant alarm, or allow them to edit it when they tap on such UIs.
105
+
If your app is an alarm clock app and sets alarms using the `alarmClock` argument in [`oneShot`](https://pub.dev/documentation/android_alarm_manager_plus/latest/android_alarm_manager_plus/AndroidAlarmManager/oneShot.html) or [`oneShotAt`](https://pub.dev/documentation/android_alarm_manager_plus/latest/android_alarm_manager_plus/AndroidAlarmManager/oneShotAt.html), you can receive [intents](https://developer.android.com/reference/android/content/Intent) when user interacts with system UI that shows the next alarm. An example is the alarm tile in Android [quick-setting tiles](https://developer.android.com/develop/ui/views/quicksettings-tiles). This functionality is to allow you to show users the relevant alarm, or allow them to edit it when they tap on such UIs.
99
106
100
107
This intent has the action `android.intent.action.MAIN` and includes the following `extras`:
101
108
-`id`: The alarm id that you passed when scheduling the alarm.
This plugin allows Flutter apps to discover network info and configure
14
10
themselves accordingly.
@@ -21,6 +17,17 @@ themselves accordingly.
21
17
22
18
The functionality is not supported on Web.
23
19
20
+
## Requirements
21
+
22
+
- Flutter >=3.3.0
23
+
- Dart >=2.18.0 <4.0.0
24
+
- iOS >=12.0
25
+
- MacOS >=10.14
26
+
- Android `compileSDK` 34
27
+
- Java 17
28
+
- Android Gradle Plugin >=8.3.0
29
+
- Gradle wrapper >=8.4
30
+
24
31
## Usage
25
32
26
33
You can get Wi-Fi related information using:
@@ -131,7 +138,7 @@ The example application for this project, implements number 1 using the [permiss
131
138
132
139
Also, **your application needs the "com.apple.developer.networking.wifi-info" entitlement.**
133
140
134
-
This entitlement can be configured in xcode with the name "Access Wi-Fi information", and it is also found in the file `Runner.entitlements` in the example project. However,
141
+
This entitlement can be configured in xcode with the name "Access Wi-Fi information", and it is also found in the file `Runner.entitlements` in the example project. However,
135
142
**this entitlement is only possible when using a professional development team** and not a "Personal development team".
136
143
137
144
Without complying with these conditions, the calls to `.getWifiBSSID()` and `.getWifiName()` will return null.
0 commit comments