android-notify 1.24.2__py3-none-any.whl → 1.24.3__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: android-notify
3
- Version: 1.24.2
3
+ Version: 1.24.3
4
4
  Summary: A Python package that simpilfies creating Android Post notifications using PyJNIus in Kivy apps.
5
5
  Home-page: https://github.com/fector101/android-notify
6
6
  Author: Fabian
@@ -81,8 +81,7 @@ send_notification("Hello", "This is a basic notification.")
81
81
  ```
82
82
 
83
83
  **Example Image:**
84
- ![Basic Notification](path/to/basic-notification-image.png)
85
-
84
+ ![basic notification img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/basicnoti.jpg)
86
85
  #### Notification with an Image (Big Picture Style)
87
86
 
88
87
  ```python
@@ -95,8 +94,22 @@ send_notification(
95
94
  )
96
95
  ```
97
96
 
97
+ **Example Image:**
98
+ ![big_picture img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/bigpicturenoti.jpg)
99
+ #### Notification with an Image (Large Icon Style)
100
+
101
+ ```python
102
+ # Send a notification with Large Icon
103
+ send_notification(
104
+ title='Completed download',
105
+ message='profile.jpg',
106
+ style='large_icon',
107
+ img_path='assets/imgs/icon.png'
108
+ )
109
+ ```
110
+
98
111
  **Example Image:**
99
- ![Big Picture Notification](path/to/big-picture-notification-image.png)
112
+ ![large_icon img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/large_icon.jpg)
100
113
 
101
114
  #### Inbox Notification Style
102
115
 
@@ -109,11 +122,13 @@ send_notification(
109
122
  )
110
123
  ```
111
124
 
112
- **Example Image:**
113
- ![Inbox Notification](path/to/inbox-notification-image.png)
125
+ **Example Image:**
126
+ ![Inbox Notification sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/inboxnoti.jpg)
114
127
 
115
128
  #### Big Text Notification
116
129
 
130
+ - (This will default to normal text if big text unsupported on device)
131
+
117
132
  ```python
118
133
  # Send a Big Text notification
119
134
  send_notification(
@@ -122,28 +137,41 @@ send_notification(
122
137
  style='big_text'
123
138
  )
124
139
  ```
125
-
140
+ <!--
126
141
  **Example Image:**
127
- ![Big Text Notification](path/to/big-text-notification-image.png)
142
+ ![Big Text Notification sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/big_text.jpg) -->
128
143
 
129
144
  ---
130
145
 
131
- ### Version 1.24+ (Channel Name)
146
+ ### Advanced Usage
147
+
148
+ #### Channel Name (channel_name)
132
149
 
133
150
  - Can be found in App Settings where user can turn on/off specific Notifications
134
151
 
135
152
  ```python
136
- # channel_id default is now channel_name in lowercase with spaces replaced for underscores(_)
137
- # In later version channel_id will be used to reference notification
153
+ # if not specified Channel Name default's to "Default Channel"
138
154
  send_notification(
139
155
  title="Download finished"
140
156
  message="How to Catch a Fish.mp4"
141
- channel_name="Downlooad Notifications"
157
+ channel_name="Download Notifications"
142
158
  )
143
159
  ```
144
160
 
145
161
  **Sample Image:**
146
- ![channels](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/channel_name.jpg)
162
+ ![channels img sample](https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/channel_name.jpg)
163
+
164
+ #### Channel Name (channel_id)
165
+
166
+ You can customize notification channels for different types of notifications.(In later version channel_id will be used to reference notification)
167
+
168
+ ```python
169
+ send_notification(
170
+ title='Custom Channel Notification',
171
+ message='This uses a custom notification channel.',
172
+ channel_id='custom_channel'
173
+ )
174
+ ```
147
175
 
148
176
  ---
149
177
 
@@ -229,18 +257,6 @@ uri = get_image_uri('assets/imgs/icon.png')
229
257
 
230
258
  Returns - notification id
231
259
 
232
- ### Advanced Usage
233
-
234
- You can customize notification channels for different types of notifications.
235
-
236
- ```python
237
- send_notification(
238
- title='Custom Channel Notification',
239
- message='This uses a custom notification channel.',
240
- channel_id='custom_channel'
241
- )
242
- ```
243
-
244
260
  ## Contribution
245
261
 
246
262
  Feel free to open issues or submit pull requests for improvements!
@@ -271,6 +287,7 @@ If you find this project helpful, consider buying me a coffee! Or Giving it a st
271
287
 
272
288
  ## Acknowledgments
273
289
 
290
+ - This Project was "Made For Android" and thoroughly "Tested by" the [Laner Project](https://github.com/Fector101/Laner/) - Laner is an application that creates a secure connection between your PC and Phone to Transfer Files Wirelessly.
274
291
  - Thanks to the Kivy and Pyjnius communities for their support.
275
292
 
276
293
  ---
@@ -4,7 +4,7 @@ android_notify/_dev.py,sha256=zGHGQu8Tv2RBtxiPDdIR0H-TLbzDocktIu_d78IgQgU,5207
4
4
  android_notify/advanced_dev.py,sha256=sUY3OjTC3arvtqOKtDpor14QSTRrwsuMI9susyfXwZo,12065
5
5
  android_notify/core.py,sha256=JkI5uiJof_gbuJJQ6YqgwWBTOWkhSKsGtVR8A9IIUN4,6024
6
6
  android_notify/styles.py,sha256=P_8sAqb3Hbf_vbhqSoCVjKeqJ05Fr_CksO-HX5pj8pU,134
7
- android_notify-1.24.2.dist-info/METADATA,sha256=BqvTDe8_B3E95STfS37fCHmj6gNaC_jxh1S8hCMNN24,7320
8
- android_notify-1.24.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
- android_notify-1.24.2.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
10
- android_notify-1.24.2.dist-info/RECORD,,
7
+ android_notify-1.24.3.dist-info/METADATA,sha256=LkrobjLyxHY2WwTNM7kfAQrmw-iRxsUlkN1xLan2Pro,8247
8
+ android_notify-1.24.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
+ android_notify-1.24.3.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
10
+ android_notify-1.24.3.dist-info/RECORD,,