android-notify 1.51.3__py3-none-any.whl → 1.52.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of android-notify might be problematic. Click here for more details.
- {android_notify-1.51.3.dist-info → android_notify-1.52.1.dist-info}/METADATA +21 -17
- {android_notify-1.51.3.dist-info → android_notify-1.52.1.dist-info}/RECORD +4 -4
- {android_notify-1.51.3.dist-info → android_notify-1.52.1.dist-info}/WHEEL +0 -0
- {android_notify-1.51.3.dist-info → android_notify-1.52.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: android-notify
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.52.1
|
|
4
4
|
Summary: A Python package that simpilfies creating Android notifications in Kivy apps.
|
|
5
5
|
Home-page: https://github.com/fector101/android-notify
|
|
6
6
|
Author: Fabian
|
|
@@ -48,7 +48,7 @@ Dynamic: summary
|
|
|
48
48
|
- Also Compatible with Android 8.0+.
|
|
49
49
|
- Supports including images in notifications.
|
|
50
50
|
- All Notifications can take Functions (version 1.50+) [functions section](#functions).
|
|
51
|
-
- Advanced Notification Handling [section](advanced-features).
|
|
51
|
+
- Advanced Notification Handling [section](#advanced-features).
|
|
52
52
|
- Support for multiple notification styles:
|
|
53
53
|
- [Simple](#basic-usage)
|
|
54
54
|
- [Progress](#progress-bar-notification)
|
|
@@ -256,6 +256,8 @@ notification = Notification(
|
|
|
256
256
|
title="Download..",
|
|
257
257
|
style="progress"
|
|
258
258
|
)
|
|
259
|
+
# send notification
|
|
260
|
+
notification.send()
|
|
259
261
|
|
|
260
262
|
# Update progress
|
|
261
263
|
notification.updateProgressBar(30, "30% downloaded")
|
|
@@ -264,21 +266,6 @@ notification.updateProgressBar(30, "30% downloaded")
|
|
|
264
266
|
notification.removeProgressBar("Download Complete")
|
|
265
267
|
```
|
|
266
268
|
|
|
267
|
-
### Channel Management
|
|
268
|
-
|
|
269
|
-
Notifications are organized into channels. You can customize the channel name and ID:
|
|
270
|
-
|
|
271
|
-
- Custom Channel Name's Gives User ability to turn on/off specific
|
|
272
|
-
|
|
273
|
-
```python
|
|
274
|
-
notification = Notification(
|
|
275
|
-
title="Download finished",
|
|
276
|
-
message="How to Catch a Fish.mp4",
|
|
277
|
-
channel_name="Download Notifications", # Will create User-visible name "Download Notifications"
|
|
278
|
-
channel_id="downloads_notifications" # Optional: specify custom channel ID
|
|
279
|
-
)
|
|
280
|
-
```
|
|
281
|
-
|
|
282
269
|
### Changing Style When Already Sent
|
|
283
270
|
|
|
284
271
|
```python
|
|
@@ -292,11 +279,28 @@ notification.send()
|
|
|
292
279
|
|
|
293
280
|
notification.updateTitle("Download Completed")
|
|
294
281
|
notification.removeProgressBar()
|
|
282
|
+
|
|
283
|
+
# Change Notification Style
|
|
295
284
|
notification.large_icon_path="users/imgs/profile1234.png"
|
|
296
285
|
notification.addNotificationStyle(NotificationStyles.LARGE_ICON,already_sent=True)
|
|
297
286
|
|
|
298
287
|
```
|
|
299
288
|
|
|
289
|
+
### Channel Management
|
|
290
|
+
|
|
291
|
+
Notifications are organized into channels. You can customize the channel name and ID:
|
|
292
|
+
|
|
293
|
+
- Custom Channel Name's Gives User ability to turn on/off specific
|
|
294
|
+
|
|
295
|
+
```python
|
|
296
|
+
notification = Notification(
|
|
297
|
+
title="Download finished",
|
|
298
|
+
message="How to Catch a Fish.mp4",
|
|
299
|
+
channel_name="Download Notifications", # Will create User-visible name "Download Notifications"
|
|
300
|
+
channel_id="downloads_notifications" # Optional: specify custom channel ID
|
|
301
|
+
)
|
|
302
|
+
```
|
|
303
|
+
|
|
300
304
|
**Sample Image:**
|
|
301
305
|

|
|
302
306
|
|
|
@@ -3,7 +3,7 @@ android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
3
3
|
android_notify/core.py,sha256=B3gOgbLGGI6tz-Q_T2wmk74oggOSDX0Qz4lqj00vaFo,6114
|
|
4
4
|
android_notify/styles.py,sha256=3olKruhAbTrk5OzuhDnk_Pgpv8XYk8dWFmr48Q9rQVk,352
|
|
5
5
|
android_notify/sword.py,sha256=P1P1leYCqnLwtvUC0KDWGp8DI3wkwVjHw8bBB1xSgcE,26002
|
|
6
|
-
android_notify-1.
|
|
7
|
-
android_notify-1.
|
|
8
|
-
android_notify-1.
|
|
9
|
-
android_notify-1.
|
|
6
|
+
android_notify-1.52.1.dist-info/METADATA,sha256=RfHYr4Ofsy1_4h942gcZUVAGPihDk2B8hmAfIJEBxZ4,13236
|
|
7
|
+
android_notify-1.52.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
8
|
+
android_notify-1.52.1.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
|
|
9
|
+
android_notify-1.52.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|