android-notify 1.51.2__tar.gz → 1.51.3__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: android-notify
3
- Version: 1.51.2
3
+ Version: 1.51.3
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,6 +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
52
  - Support for multiple notification styles:
52
53
  - [Simple](#basic-usage)
53
54
  - [Progress](#progress-bar-notification)
@@ -55,7 +56,7 @@ Dynamic: summary
55
56
  - [Inbox](#inbox-notification-style)
56
57
  - [Large Icon](#notification-with-an-image-large-icon-style)
57
58
  - [Buttons](#notification-with-buttons)
58
- - [Big Text](#big-text-notification-will-display-as-simple-text-if-device-dosent-support)
59
+ - [Big Text](#big-text-notification)
59
60
 
60
61
  This module automatically handles:
61
62
 
@@ -278,6 +279,24 @@ notification = Notification(
278
279
  )
279
280
  ```
280
281
 
282
+ ### Changing Style When Already Sent
283
+
284
+ ```python
285
+ from android_notify import NotificationStyles
286
+
287
+ notification = Notification(
288
+ title="Download..",
289
+ style="progress"
290
+ )
291
+ notification.send()
292
+
293
+ notification.updateTitle("Download Completed")
294
+ notification.removeProgressBar()
295
+ notification.large_icon_path="users/imgs/profile1234.png"
296
+ notification.addNotificationStyle(NotificationStyles.LARGE_ICON,already_sent=True)
297
+
298
+ ```
299
+
281
300
  **Sample Image:**
282
301
  ![channels img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/channel_name.jpg)
283
302
 
@@ -12,6 +12,7 @@
12
12
  - Also Compatible with Android 8.0+.
13
13
  - Supports including images in notifications.
14
14
  - All Notifications can take Functions (version 1.50+) [functions section](#functions).
15
+ - Advanced Notification Handling [section](advanced-features).
15
16
  - Support for multiple notification styles:
16
17
  - [Simple](#basic-usage)
17
18
  - [Progress](#progress-bar-notification)
@@ -19,7 +20,7 @@
19
20
  - [Inbox](#inbox-notification-style)
20
21
  - [Large Icon](#notification-with-an-image-large-icon-style)
21
22
  - [Buttons](#notification-with-buttons)
22
- - [Big Text](#big-text-notification-will-display-as-simple-text-if-device-dosent-support)
23
+ - [Big Text](#big-text-notification)
23
24
 
24
25
  This module automatically handles:
25
26
 
@@ -242,6 +243,24 @@ notification = Notification(
242
243
  )
243
244
  ```
244
245
 
246
+ ### Changing Style When Already Sent
247
+
248
+ ```python
249
+ from android_notify import NotificationStyles
250
+
251
+ notification = Notification(
252
+ title="Download..",
253
+ style="progress"
254
+ )
255
+ notification.send()
256
+
257
+ notification.updateTitle("Download Completed")
258
+ notification.removeProgressBar()
259
+ notification.large_icon_path="users/imgs/profile1234.png"
260
+ notification.addNotificationStyle(NotificationStyles.LARGE_ICON,already_sent=True)
261
+
262
+ ```
263
+
245
264
  **Sample Image:**
246
265
  ![channels img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/channel_name.jpg)
247
266
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: android-notify
3
- Version: 1.51.2
3
+ Version: 1.51.3
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,6 +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
52
  - Support for multiple notification styles:
52
53
  - [Simple](#basic-usage)
53
54
  - [Progress](#progress-bar-notification)
@@ -55,7 +56,7 @@ Dynamic: summary
55
56
  - [Inbox](#inbox-notification-style)
56
57
  - [Large Icon](#notification-with-an-image-large-icon-style)
57
58
  - [Buttons](#notification-with-buttons)
58
- - [Big Text](#big-text-notification-will-display-as-simple-text-if-device-dosent-support)
59
+ - [Big Text](#big-text-notification)
59
60
 
60
61
  This module automatically handles:
61
62
 
@@ -278,6 +279,24 @@ notification = Notification(
278
279
  )
279
280
  ```
280
281
 
282
+ ### Changing Style When Already Sent
283
+
284
+ ```python
285
+ from android_notify import NotificationStyles
286
+
287
+ notification = Notification(
288
+ title="Download..",
289
+ style="progress"
290
+ )
291
+ notification.send()
292
+
293
+ notification.updateTitle("Download Completed")
294
+ notification.removeProgressBar()
295
+ notification.large_icon_path="users/imgs/profile1234.png"
296
+ notification.addNotificationStyle(NotificationStyles.LARGE_ICON,already_sent=True)
297
+
298
+ ```
299
+
281
300
  **Sample Image:**
282
301
  ![channels img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/channel_name.jpg)
283
302
 
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as readme_data:
6
6
 
7
7
  setup(
8
8
  name="android-notify",
9
- version="1.51.2",
9
+ version="1.51.3",
10
10
  author="Fabian",
11
11
  author_email='fector101@yahoo.com',
12
12
  description="A Python package that simpilfies creating Android notifications in Kivy apps.",