android-notify 1.53.1__tar.gz → 1.54.1__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.
- {android_notify-1.53.1 → android_notify-1.54.1}/PKG-INFO +31 -3
- {android_notify-1.53.1 → android_notify-1.54.1}/README.md +30 -2
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/core.py +1 -1
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/sword.py +2 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/PKG-INFO +31 -3
- {android_notify-1.53.1 → android_notify-1.54.1}/setup.py +4 -4
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/__init__.py +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/__main__.py +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/facade.py +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify/styles.py +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/SOURCES.txt +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/dependency_links.txt +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/requires.txt +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/top_level.txt +0 -0
- {android_notify-1.53.1 → android_notify-1.54.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: android-notify
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.54.1
|
|
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
|
|
@@ -389,7 +389,35 @@ Notification(
|
|
|
389
389
|
).send()
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
|
|
392
|
+
#### To Use New Version Of Android-Notify
|
|
393
|
+
|
|
394
|
+
To be safe Delete All Old Versions of Android-Notify from `.buildozer` directory
|
|
395
|
+
|
|
396
|
+
##### On Linux run
|
|
397
|
+
|
|
398
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
399
|
+
|
|
400
|
+
##### On Windows (PowerShell) run
|
|
401
|
+
|
|
402
|
+
- If command prints right folder paths Replace `Write-Output` with `Remove-Item`
|
|
403
|
+
|
|
404
|
+
```sh
|
|
405
|
+
cd .buildozer
|
|
406
|
+
Get-ChildItem -Path . -Directory -Filter "android_notify*" | ForEach-Object { Write-Output $_.FullName }
|
|
407
|
+
cd ..
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
##### On Windows Git Bash (if installed)
|
|
411
|
+
|
|
412
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
413
|
+
|
|
414
|
+
##### On macOS run
|
|
415
|
+
|
|
416
|
+
`cd .buildozer && find . -type d -name "android_notify*" -exec rm -r {} + && cd ..`
|
|
417
|
+
|
|
418
|
+
### Development Mode
|
|
419
|
+
|
|
420
|
+
#### For Logs
|
|
393
421
|
|
|
394
422
|
When developing on non-Android platforms, the library provides debugging output:
|
|
395
423
|
|
|
@@ -409,7 +437,7 @@ notification.send()
|
|
|
409
437
|
|
|
410
438
|
args
|
|
411
439
|
|
|
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
|
|
440
|
+
- 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
441
|
|
|
414
442
|
### Instance.send
|
|
415
443
|
|
|
@@ -353,7 +353,35 @@ Notification(
|
|
|
353
353
|
).send()
|
|
354
354
|
```
|
|
355
355
|
|
|
356
|
-
|
|
356
|
+
#### To Use New Version Of Android-Notify
|
|
357
|
+
|
|
358
|
+
To be safe Delete All Old Versions of Android-Notify from `.buildozer` directory
|
|
359
|
+
|
|
360
|
+
##### On Linux run
|
|
361
|
+
|
|
362
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
363
|
+
|
|
364
|
+
##### On Windows (PowerShell) run
|
|
365
|
+
|
|
366
|
+
- If command prints right folder paths Replace `Write-Output` with `Remove-Item`
|
|
367
|
+
|
|
368
|
+
```sh
|
|
369
|
+
cd .buildozer
|
|
370
|
+
Get-ChildItem -Path . -Directory -Filter "android_notify*" | ForEach-Object { Write-Output $_.FullName }
|
|
371
|
+
cd ..
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
##### On Windows Git Bash (if installed)
|
|
375
|
+
|
|
376
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
377
|
+
|
|
378
|
+
##### On macOS run
|
|
379
|
+
|
|
380
|
+
`cd .buildozer && find . -type d -name "android_notify*" -exec rm -r {} + && cd ..`
|
|
381
|
+
|
|
382
|
+
### Development Mode
|
|
383
|
+
|
|
384
|
+
#### For Logs
|
|
357
385
|
|
|
358
386
|
When developing on non-Android platforms, the library provides debugging output:
|
|
359
387
|
|
|
@@ -373,7 +401,7 @@ notification.send()
|
|
|
373
401
|
|
|
374
402
|
args
|
|
375
403
|
|
|
376
|
-
- app_icon: If not specified defaults to app icon, To Change Default app icon use PNG Or Image Will display as a Black Box
|
|
404
|
+
- 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
|
|
377
405
|
|
|
378
406
|
### Instance.send
|
|
379
407
|
|
|
@@ -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.
|
|
3
|
+
Version: 1.54.1
|
|
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
|
|
@@ -389,7 +389,35 @@ Notification(
|
|
|
389
389
|
).send()
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
|
|
392
|
+
#### To Use New Version Of Android-Notify
|
|
393
|
+
|
|
394
|
+
To be safe Delete All Old Versions of Android-Notify from `.buildozer` directory
|
|
395
|
+
|
|
396
|
+
##### On Linux run
|
|
397
|
+
|
|
398
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
399
|
+
|
|
400
|
+
##### On Windows (PowerShell) run
|
|
401
|
+
|
|
402
|
+
- If command prints right folder paths Replace `Write-Output` with `Remove-Item`
|
|
403
|
+
|
|
404
|
+
```sh
|
|
405
|
+
cd .buildozer
|
|
406
|
+
Get-ChildItem -Path . -Directory -Filter "android_notify*" | ForEach-Object { Write-Output $_.FullName }
|
|
407
|
+
cd ..
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
##### On Windows Git Bash (if installed)
|
|
411
|
+
|
|
412
|
+
`cd .buildozer && find . -type d -name "android_notify*" -print0 | xargs -0 rm -r && cd ..`
|
|
413
|
+
|
|
414
|
+
##### On macOS run
|
|
415
|
+
|
|
416
|
+
`cd .buildozer && find . -type d -name "android_notify*" -exec rm -r {} + && cd ..`
|
|
417
|
+
|
|
418
|
+
### Development Mode
|
|
419
|
+
|
|
420
|
+
#### For Logs
|
|
393
421
|
|
|
394
422
|
When developing on non-Android platforms, the library provides debugging output:
|
|
395
423
|
|
|
@@ -409,7 +437,7 @@ notification.send()
|
|
|
409
437
|
|
|
410
438
|
args
|
|
411
439
|
|
|
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
|
|
440
|
+
- 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
441
|
|
|
414
442
|
### Instance.send
|
|
415
443
|
|
|
@@ -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.
|
|
9
|
+
version="1.54.1",
|
|
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.",
|
|
@@ -43,11 +43,11 @@ setup(
|
|
|
43
43
|
'kivy-application'
|
|
44
44
|
],
|
|
45
45
|
project_urls={
|
|
46
|
-
"Documentation": "https://github.com/fector101/android-notify/",
|
|
47
|
-
# "Documentation": "https://github.com/fector101/android-notify/wiki",
|
|
46
|
+
"Documentation": "https://github.com/fector101/android-notify/",
|
|
47
|
+
# "Documentation": "https://github.com/fector101/android-notify/wiki",
|
|
48
48
|
"Source": "https://github.com/fector101/android-notify",
|
|
49
49
|
"Tracker": "https://github.com/fector101/android-notify/issues",
|
|
50
|
-
"Funding": "https://www.buymeacoffee.com/fector101"
|
|
50
|
+
"Funding": "https://www.buymeacoffee.com/fector101"
|
|
51
51
|
},
|
|
52
52
|
license="MIT"
|
|
53
53
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{android_notify-1.53.1 → android_notify-1.54.1}/android_notify.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|