android-notify 1.53.1__py3-none-any.whl → 1.54__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/core.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """ Non-Advanced Stuff """
2
2
  import random
3
3
  import os
4
-
4
+ print("This function has deprecated use Notification() class")
5
5
  ON_ANDROID = False
6
6
  try:
7
7
  from jnius import autoclass,cast # Needs Java to be installed
android_notify/sword.py CHANGED
@@ -142,6 +142,7 @@ class Notification(BaseNotification):
142
142
  print(f'new notification title: {self.title}')
143
143
  if ON_ANDROID:
144
144
  self.__builder.setContentTitle(String(self.title))
145
+ self.notification_manager.notify(self.__id, self.__builder.build())
145
146
 
146
147
  def updateMessage(self,new_message):
147
148
  """Changes Old Message
@@ -154,6 +155,7 @@ class Notification(BaseNotification):
154
155
  print(f'new notification message: {self.message}')
155
156
  if ON_ANDROID:
156
157
  self.__builder.setContentText(String(self.message))
158
+ self.notification_manager.notify(self.__id, self.__builder.build())
157
159
 
158
160
  def updateProgressBar(self,current_value,message:str=''):
159
161
  """Updates progress bar current value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: android-notify
3
- Version: 1.53.1
3
+ Version: 1.54
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
@@ -409,7 +409,7 @@ notification.send()
409
409
 
410
410
  args
411
411
 
412
- - app_icon: If not specified defaults to app icon, To Change Default app icon use PNG Or Image Will display as a Black Box
412
+ - app_icon: If not specified defaults to app icon, To Change Default app icon use PNG format Or Image Will display as a Black Box
413
413
 
414
414
  ### Instance.send
415
415
 
@@ -0,0 +1,10 @@
1
+ android_notify/__init__.py,sha256=lcLjyfegXgU7cyGhfSphAOBipXwemrVkdYy3mcF6X5Y,172
2
+ android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ android_notify/core.py,sha256=sIFx2o58CDGkM-ktf6sGm9INxQ21BIyk4dW8Q96kmq4,6176
4
+ android_notify/facade.py,sha256=A19qXM703aUeZux87SsM2BpDpXOpiC-kVdRS7yZy-5k,729
5
+ android_notify/styles.py,sha256=3olKruhAbTrk5OzuhDnk_Pgpv8XYk8dWFmr48Q9rQVk,352
6
+ android_notify/sword.py,sha256=fCLUpf5OQkY8xDgYAoarv4DMtUwfLL0b_TMf444fMP8,30272
7
+ android_notify-1.54.dist-info/METADATA,sha256=yxPQq75hAW2mC3LOa10rxWSKAJx-AbMq3Yt0wuqM5pA,15320
8
+ android_notify-1.54.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
9
+ android_notify-1.54.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
10
+ android_notify-1.54.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +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/facade.py,sha256=A19qXM703aUeZux87SsM2BpDpXOpiC-kVdRS7yZy-5k,729
5
- android_notify/styles.py,sha256=3olKruhAbTrk5OzuhDnk_Pgpv8XYk8dWFmr48Q9rQVk,352
6
- android_notify/sword.py,sha256=6ilaK2-OsooGIx1bREM9uUx0w4AtD_RXwljhXxCrmLE,30112
7
- android_notify-1.53.1.dist-info/METADATA,sha256=3zQJVC_8sN6PBfcN8fRck2ezCcWqqGNx6ZnRHmhAflw,15315
8
- android_notify-1.53.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
9
- android_notify-1.53.1.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
10
- android_notify-1.53.1.dist-info/RECORD,,