android-notify 1.24.2__py3-none-any.whl → 1.24.4__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.24.2.dist-info → android_notify-1.24.4.dist-info}/METADATA +44 -27
- {android_notify-1.24.2.dist-info → android_notify-1.24.4.dist-info}/RECORD +4 -4
- {android_notify-1.24.2.dist-info → android_notify-1.24.4.dist-info}/WHEEL +0 -0
- {android_notify-1.24.2.dist-info → android_notify-1.24.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: android-notify
|
|
3
|
-
Version: 1.24.
|
|
3
|
+
Version: 1.24.4
|
|
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
|
-

|
|
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
|
+

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-
 -->
|
|
128
143
|
|
|
129
144
|
---
|
|
130
145
|
|
|
131
|
-
###
|
|
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
|
-
#
|
|
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="
|
|
157
|
+
channel_name="Download Notifications"
|
|
142
158
|
)
|
|
143
159
|
```
|
|
144
160
|
|
|
145
161
|
**Sample Image:**
|
|
146
|
-

|
|
162
|
+

|
|
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!
|
|
@@ -252,8 +268,8 @@ Found a bug? Please open an issue on our [GitHub Issues](https://github.com/Fect
|
|
|
252
268
|
## Author
|
|
253
269
|
|
|
254
270
|
- Fabian - <fector101@yahoo.com>
|
|
255
|
-
- GitHub:
|
|
256
|
-
- Twitter:
|
|
271
|
+
- GitHub: [Android Notify Repo](https://github.com/Fector101/android_notify)
|
|
272
|
+
- Twitter: [FabianDev_](https://twitter.com/intent/user?user_id=1246911115319263233) -- 😊 I'm sure to answer
|
|
257
273
|
|
|
258
274
|
For feedback or contributions, feel free to reach out!
|
|
259
275
|
|
|
@@ -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.
|
|
8
|
-
android_notify-1.24.
|
|
9
|
-
android_notify-1.24.
|
|
10
|
-
android_notify-1.24.
|
|
7
|
+
android_notify-1.24.4.dist-info/METADATA,sha256=AAvllXEKklI9vH9uOZPQATr4aA7wd_veWGKYJ8nfYtg,8311
|
|
8
|
+
android_notify-1.24.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
9
|
+
android_notify-1.24.4.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
|
|
10
|
+
android_notify-1.24.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|