android-notify 1.50__py3-none-any.whl → 1.50.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/sword.py +5 -9
- {android_notify-1.50.dist-info → android_notify-1.50.1.dist-info}/METADATA +1 -1
- android_notify-1.50.1.dist-info/RECORD +9 -0
- android_notify-1.50.dist-info/RECORD +0 -9
- {android_notify-1.50.dist-info → android_notify-1.50.1.dist-info}/WHEEL +0 -0
- {android_notify-1.50.dist-info → android_notify-1.50.1.dist-info}/top_level.txt +0 -0
android_notify/sword.py
CHANGED
|
@@ -220,7 +220,11 @@ class Notification:
|
|
|
220
220
|
checkInReference([inputted_kwargs['style']],self.style_values,'values')
|
|
221
221
|
|
|
222
222
|
def __setArgs(self,options_dict:dict):
|
|
223
|
+
non_string_keys=['progress_max_value','progress_current_value','callback','logs']
|
|
224
|
+
|
|
223
225
|
for key,value in options_dict.items():
|
|
226
|
+
if key not in non_string_keys: # Fixing Types
|
|
227
|
+
value = str(value)
|
|
224
228
|
if key == 'channel_name' and value.strip():
|
|
225
229
|
setattr(self,key, value[:40])
|
|
226
230
|
elif key == 'channel_id' and value.strip(): # If user input's a channel id (i format properly)
|
|
@@ -509,15 +513,7 @@ class NotificationHandler:
|
|
|
509
513
|
|
|
510
514
|
@classmethod
|
|
511
515
|
def bindNotifyListener(cls):
|
|
512
|
-
"""
|
|
513
|
-
```
|
|
514
|
-
from kivy.app import App
|
|
515
|
-
from android_notify import bindNotifyListener
|
|
516
|
-
class Myapp(App):
|
|
517
|
-
def on_start(self):
|
|
518
|
-
bindNotifyListener() # if successfull returns True
|
|
519
|
-
```
|
|
520
|
-
"""
|
|
516
|
+
"""This Creates a Listener for All Notification Clicks and Functions"""
|
|
521
517
|
if not cls.is_on_android():
|
|
522
518
|
return "Not on Android"
|
|
523
519
|
#Beta TODO Automatic bind when Notification object is called the first time use keep trying BroadcastReceiver
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
android_notify/__init__.py,sha256=lcLjyfegXgU7cyGhfSphAOBipXwemrVkdYy3mcF6X5Y,172
|
|
2
|
+
android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
android_notify/core.py,sha256=B3gOgbLGGI6tz-Q_T2wmk74oggOSDX0Qz4lqj00vaFo,6114
|
|
4
|
+
android_notify/styles.py,sha256=I2p31qStg9DaML9U4nXRvdpGzpppK6RS-qlDKuOv_Tk,328
|
|
5
|
+
android_notify/sword.py,sha256=2T9JlFRqTLDDMtqFWrn6qvYeCQsO6Aky2UlAWuIYYVY,23172
|
|
6
|
+
android_notify-1.50.1.dist-info/METADATA,sha256=RLYXmIWoV6O5-DRLqvPVJ6NqMbmsnD4CZtBmo18dZGA,13165
|
|
7
|
+
android_notify-1.50.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
8
|
+
android_notify-1.50.1.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
|
|
9
|
+
android_notify-1.50.1.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
android_notify/__init__.py,sha256=lcLjyfegXgU7cyGhfSphAOBipXwemrVkdYy3mcF6X5Y,172
|
|
2
|
-
android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
android_notify/core.py,sha256=B3gOgbLGGI6tz-Q_T2wmk74oggOSDX0Qz4lqj00vaFo,6114
|
|
4
|
-
android_notify/styles.py,sha256=I2p31qStg9DaML9U4nXRvdpGzpppK6RS-qlDKuOv_Tk,328
|
|
5
|
-
android_notify/sword.py,sha256=6dmlTQRYtuhHUyO8E4fh3YlnLJC1FCvkLtgBKGvJnmI,23252
|
|
6
|
-
android_notify-1.50.dist-info/METADATA,sha256=wsjtRKHMF7StrEJi5PrWA0GVarbgfczDTvRJoVktwqw,13163
|
|
7
|
-
android_notify-1.50.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
8
|
-
android_notify-1.50.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
|
|
9
|
-
android_notify-1.50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|