Skip to content

Commit 4939eb5

Browse files
Without androidx (#45)
* Enable logging for development in sword.py Set BaseNotification.logs to True for development. * Fix log setting for Android environment * All logs * feat: sent without androidx * ran sword.py without androidx * refact: setDefaults using AndroidNotification and CustomStyle import moved to function * Replace NotificationCompat with AndroidNotification * docs: How to run without Androidx Updated dependencies in README for android_notify. * How to run on pydroid 3 * refact: requesting permission without androidx * refact: removing logs from always on * tests * refact: removing duplicates * refactor: to match config file * Init import error logs * Logging even using mock classes * Removed IconCompat from androidx * refactor: moved set icon androidx into method * turning off logs * refactor: Setting custom icon with no androidx * fix: Needed import for custom small icon * fix: method setSmallIcon calls refresh * fix: permissions flet python * feat: function to get sound URI in res/raw folder * feat: for adding sound from res/raw folder * Fallback Icon for Flet apps and slight refactor (#8) * feat: fallback image for flet apps * Fallback icon for Flet python apps * Test to find package path * Rename icon.png to flet-appicon.png * feat: function for getting flet fallback app icon * feat: using fallback img for flet app icons * refactor: better function name for getting flet fallback icon path * Separated function for getting bitmap from function for getting fullpath+bitmap * fix: separate function for getting icons from package path * Extra test * fix: get_bitmap_from_path(img_full_path) NameError * Fix: extra test * Fix: nameerror * fix: name conflict * Using pydroid to see logs * fix: need to include extra data, complier ignores fumes that are not .py, pain! * Syntax fix * Syntax fix * Pattern change * fix: missing import * refactor: repeated blocks and removed tests * Clean up * cleanup * cleanup * cleanup * Indent fix * Indent fix * refactor: removed unused import * fix: reference error * Delete android_notify/fallback-icons/1 * refactor: hard coded api level * refactor: hard coded api level * Backup icons support (#9) * refactor: added fallback for finding icons * refactor & feat: changed flow to include other fallback icons and added support for pydroid icon * Add files via upload * feat: Implement setWhen method for notification timestamp (#10) * feat: Implement setWhen method for notification timestamp Adds a method to set notification timestamp in the past. * Add Android check for notification timestamp Add conditional check for Android before setting notification time. * Big text set big content title set summary text (#11) * feat: Enhance setBigText with title and summary parameters Added title and summary parameters to setBigText method. * Add checks for BigText title and summary existence before adding * fix: no need to request on android 12 below * Foreground service use and Fixed Services opening app For no androidx branch (#13) * fix; service can now open app * fix: returning right object for pythonactiviy * Stale tests * Create publish.yml * New method of install * New version 1.60.4+nodep * How to install no androidx version * Update pyproject.toml * Update config.py * Update README.md * 1.60.4.dev0 * 1.60.4.dev0 * 1.60.4.dev0 * 16 no permission request popup solution for no androidx branch (#15) opening setting when android doesn't show popup because user already denied twice * Give no androidx main branch features (#17) * unified an_types with main: getting better logs, knowing when using facades * somewhat unified config.py with main: cleaner cli and used pycharm to format file * somewhat unified core.py with main: better catch when not on android, descritive logs and used pycharm to format file * somewhat unified an_utils.py with main: better catch when not on android and used pycharm to format file * reformatted sword.py no additions from main branch * patch: when not on android * Bump version from 1.60.4.dev0 to 1.60.5.dev0 * V1.60.5.dev0 urgent for non Android env * Update android-notify version in README * Feature/pass action to btns1 (#20) * feat: getting package name * feat: using in broadcast class and action for buttons * working with pycharm is enough removing pylint * 1.60.6.dev0 * `android-notify==1.60.6.dev0` broadcast buttons * Sync with main (#24) * passed all tests * fallback-icons icon patch - Vibrate feature - Fixes: Custom xml and icon - Allows Flet apps to open from notification * v1.60.7.dev0 - easiler to maintain * cleanup * nice formatting * only pyjnius * ask permission popup fix, callback execution and tests (#27) * v1.60.8 - fix permission ask and callback (shouldShowRequestPermissionRationale fix) * Ability to run service on PC's and guard block for setData method Main sync (#28) * better logs * facade improvements to run on PC and fill_args replaces start_building * This Allows Logs to be visible on Flet Android Apps when Complied (#29) * permission requests for below android 13 * logger patch * v1.60.9.dev0 - permissions on devices below android 13, flet logger fix and patch to run kivy service on PC * v1.60.10.dev - Fixed logger formating * removed redundant file * .setObeyUserClear - if to update after app users clear from Tray * Control reappears when updated by the app after the user clears it * moved wesite to https://github.com/Fector101/android-notify-docs * Rename CONTRIBUTION.md to CONTRIBUTING.md * Fixed when app is restarted and it overwrites app old notifications. Passed test on pydroid3 * don't overwrite old notifications on-restart #untested * fixed missing get_notification_manager #passed test on pycharm * setOnlyAlertOnce passed scoped test on pyroid3 * untested cleanup * untested cleanup 1 * Reverted the last two commits * Delete todo.md * Deprecated Cleanup (#39) * passed All tests on PC * more info * better naming convention * use legacy request for pydroid3 (#41) * Fix: Vibrate feature Fix BuildVersion check for SDK_INT * V1.61 Fixed Vibrate Feature\n setObeyUserClear - don't show new updates after users clear from tray\n setOnlyAlertOnce - to control notifcation heads-up\n Fixed overwriting old notifications on app restart\n Removed all depreceted stuff * Make Custom sound through absolute file paths (#43) * feat: add support for custom local sound paths and URIs * feat: add documentation for using custom sound paths and URIs in notifications * py ver issue * leave py ver to pyjnius * py ver issue fix * pinning issues fix test * fixed waring in buildozer * no ver pinning * Potential fix for pull request finding 'CodeQL / Binding a socket to all network interfaces' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * conflict resolve * conflict resolve 1 * safe sync * sync 3 IconClass, xmls, helper function and facade * sync 4 custom texts * sync 5 core * sync passed basic test * sync patch circular import * sync patch circular import fix2 --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent c15ce3a commit 4939eb5

0 file changed

File tree

    0 commit comments

    Comments
     (0)