android-notify 1.60.9.dev0__tar.gz → 1.60.10.dev0__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.
Files changed (54) hide show
  1. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/PKG-INFO +5 -5
  2. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/README.md +4 -4
  3. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/config.py +1 -1
  4. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/logger.py +9 -7
  5. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/PKG-INFO +5 -5
  6. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/pyproject.toml +1 -1
  7. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/__init__.py +0 -0
  8. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/__main__.py +0 -0
  9. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/base.py +0 -0
  10. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/core.py +0 -0
  11. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/fallback-icons/flet-appicon.png +0 -0
  12. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/fallback-icons/pydroid3-appicon.png +0 -0
  13. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/an_types.py +0 -0
  14. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/android.py +0 -0
  15. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/channels.py +0 -0
  16. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/facade.py +0 -0
  17. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/helper.py +0 -0
  18. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/intents.py +0 -0
  19. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/java_classes.py +0 -0
  20. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/internal/permissions.py +0 -0
  21. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/styles.py +0 -0
  22. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/sword.py +0 -0
  23. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/__init__.py +0 -0
  24. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/android_notify_test.py +0 -0
  25. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/base_test.py +0 -0
  26. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/adv/main.py +0 -0
  27. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/adv/tests/__init__.py +0 -0
  28. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/adv/tests/test_android_notify_full.py +0 -0
  29. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/basic/src/core.py +0 -0
  30. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/basic/src/main.py +0 -0
  31. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/flet-working/src/core.py +0 -0
  32. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/flet/flet-working/src/main.py +0 -0
  33. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/main.py +0 -0
  34. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/p4a/hook.py +0 -0
  35. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/serivces/wallpaper.py +0 -0
  36. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_basic_notifications.py +0 -0
  37. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_actions.py +0 -0
  38. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_appearance.py +0 -0
  39. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_behavior.py +0 -0
  40. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_channels.py +0 -0
  41. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_clear.py +0 -0
  42. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_permission.py +0 -0
  43. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_progress.py +0 -0
  44. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_sound.py +0 -0
  45. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/tests/test_notification_styles.py +0 -0
  46. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/widgets/images.py +0 -0
  47. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify/widgets/texts.py +0 -0
  48. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/SOURCES.txt +0 -0
  49. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/dependency_links.txt +0 -0
  50. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/entry_points.txt +0 -0
  51. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/requires.txt +0 -0
  52. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/android_notify.egg-info/top_level.txt +0 -0
  53. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/docs/website/src/pages/data/laner_Sent.py +0 -0
  54. {android_notify-1.60.9.dev0 → android_notify-1.60.10.dev0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: android-notify
3
- Version: 1.60.9.dev0
3
+ Version: 1.60.10.dev0
4
4
  Summary: A Python package that simplifies creating Android notifications in Kivy and Flet apps.
5
5
  Author-email: Fabian <fector101@yahoo.com>
6
6
  License-Expression: MIT
@@ -81,7 +81,7 @@ In your **`buildozer.spec`** file, ensure you include the following:
81
81
 
82
82
  ```ini
83
83
  # Add pyjnius so ensure it's packaged with the build
84
- requirements = python3, kivy, pyjnius, android-notify==1.60.9.dev0
84
+ requirements = python3, kivy, pyjnius, android-notify==1.60.10.dev0
85
85
  # Add permission for notifications
86
86
  android.permissions = POST_NOTIFICATIONS
87
87
  ```
@@ -99,7 +99,7 @@ In your `pyproject.toml` file, ensure you include the following:
99
99
  ```toml
100
100
  [tool.flet.android]
101
101
  dependencies = [
102
- "pyjnius","android-notify==1.60.9.dev0"
102
+ "pyjnius","android-notify==1.60.10.dev0"
103
103
  ]
104
104
 
105
105
  [tool.flet.android.permission]
@@ -117,10 +117,10 @@ dependencies = [
117
117
  <br/>
118
118
 
119
119
  On the [pydroid 3](https://play.google.com/store/apps/details?id=ru.iiec.pydroid3) mobile app for running python code you can test some features.
120
- - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.9.dev0`
120
+ - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.10.dev0`
121
121
  - Minimal working example
122
122
  ```py
123
- # Testing with `android-notify==1.60.9.dev0` on pydroid
123
+ # Testing with `android-notify==1.60.10.dev0` on pydroid
124
124
  from kivy.app import App
125
125
  from kivy.uix.boxlayout import BoxLayout
126
126
  from kivy.uix.button import Button
@@ -58,7 +58,7 @@ In your **`buildozer.spec`** file, ensure you include the following:
58
58
 
59
59
  ```ini
60
60
  # Add pyjnius so ensure it's packaged with the build
61
- requirements = python3, kivy, pyjnius, android-notify==1.60.9.dev0
61
+ requirements = python3, kivy, pyjnius, android-notify==1.60.10.dev0
62
62
  # Add permission for notifications
63
63
  android.permissions = POST_NOTIFICATIONS
64
64
  ```
@@ -76,7 +76,7 @@ In your `pyproject.toml` file, ensure you include the following:
76
76
  ```toml
77
77
  [tool.flet.android]
78
78
  dependencies = [
79
- "pyjnius","android-notify==1.60.9.dev0"
79
+ "pyjnius","android-notify==1.60.10.dev0"
80
80
  ]
81
81
 
82
82
  [tool.flet.android.permission]
@@ -94,10 +94,10 @@ dependencies = [
94
94
  <br/>
95
95
 
96
96
  On the [pydroid 3](https://play.google.com/store/apps/details?id=ru.iiec.pydroid3) mobile app for running python code you can test some features.
97
- - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.9.dev0`
97
+ - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.10.dev0`
98
98
  - Minimal working example
99
99
  ```py
100
- # Testing with `android-notify==1.60.9.dev0` on pydroid
100
+ # Testing with `android-notify==1.60.10.dev0` on pydroid
101
101
  from kivy.app import App
102
102
  from kivy.uix.boxlayout import BoxLayout
103
103
  from kivy.uix.button import Button
@@ -1,6 +1,6 @@
1
1
  import os
2
2
 
3
- __version__ = "1.60.9.dev0"
3
+ __version__ = "1.60.10.dev0"
4
4
 
5
5
 
6
6
  from .internal.java_classes import autoclass, cast, NotificationManager
@@ -40,17 +40,12 @@ def android_print(msg):
40
40
 
41
41
 
42
42
  def kivy_logger_patch():
43
- if not on_kivy_android():
43
+ if on_flet_app():
44
44
  return
45
45
 
46
- handler = logging.StreamHandler(sys.stdout)
47
- formatter = KivyColorFormatter()
48
- handler.setFormatter(formatter)
49
-
46
+ # logs got weird in kivy app (duplicates logs)
50
47
  # Avoid duplicate logs if root logger is configured
51
48
  logger.propagate = False
52
- logger.addHandler(handler)
53
- logger._configured = True
54
49
 
55
50
 
56
51
  class KivyColorFormatter(logging.Formatter):
@@ -76,6 +71,13 @@ class KivyColorFormatter(logging.Formatter):
76
71
 
77
72
 
78
73
  logger = logging.getLogger("android_notify")
74
+
75
+ handler = logging.StreamHandler(sys.stdout)
76
+ formatter = KivyColorFormatter()
77
+ handler.setFormatter(formatter)
78
+ logger.addHandler(handler)
79
+ logger._configured = True
80
+
79
81
  kivy_logger_patch()
80
82
 
81
83
  env_level = os.getenv("ANDROID_NOTIFY_LOGLEVEL")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: android-notify
3
- Version: 1.60.9.dev0
3
+ Version: 1.60.10.dev0
4
4
  Summary: A Python package that simplifies creating Android notifications in Kivy and Flet apps.
5
5
  Author-email: Fabian <fector101@yahoo.com>
6
6
  License-Expression: MIT
@@ -81,7 +81,7 @@ In your **`buildozer.spec`** file, ensure you include the following:
81
81
 
82
82
  ```ini
83
83
  # Add pyjnius so ensure it's packaged with the build
84
- requirements = python3, kivy, pyjnius, android-notify==1.60.9.dev0
84
+ requirements = python3, kivy, pyjnius, android-notify==1.60.10.dev0
85
85
  # Add permission for notifications
86
86
  android.permissions = POST_NOTIFICATIONS
87
87
  ```
@@ -99,7 +99,7 @@ In your `pyproject.toml` file, ensure you include the following:
99
99
  ```toml
100
100
  [tool.flet.android]
101
101
  dependencies = [
102
- "pyjnius","android-notify==1.60.9.dev0"
102
+ "pyjnius","android-notify==1.60.10.dev0"
103
103
  ]
104
104
 
105
105
  [tool.flet.android.permission]
@@ -117,10 +117,10 @@ dependencies = [
117
117
  <br/>
118
118
 
119
119
  On the [pydroid 3](https://play.google.com/store/apps/details?id=ru.iiec.pydroid3) mobile app for running python code you can test some features.
120
- - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.9.dev0`
120
+ - In pip section where you're asked to insert `Libary name` paste `android-notify==1.60.10.dev0`
121
121
  - Minimal working example
122
122
  ```py
123
- # Testing with `android-notify==1.60.9.dev0` on pydroid
123
+ # Testing with `android-notify==1.60.10.dev0` on pydroid
124
124
  from kivy.app import App
125
125
  from kivy.uix.boxlayout import BoxLayout
126
126
  from kivy.uix.button import Button
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "android-notify"
7
- version = "1.60.9.dev0"
7
+ version = "1.60.10.dev0"
8
8
  description = "A Python package that simplifies creating Android notifications in Kivy and Flet apps."
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  authors = [