Releases: ThatStella7922/battery-webhook
1.3
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This release of Battery Webhook contains new features and quality-of-life fixes. Here's what's new:
iOS and watchOS
- Added support for iOS and iPadOS 14
- Added support for Shortcuts on iOS and iPadOS 15 or older, enabling the use of automations on older devices
- Added an option to override the webhook's preset avatar & name with your own avatar and display name (for Discord webhooks)
- Added an option to show author details in automated battery info, not just manually sent battery info (for Discord webhooks)
- Added support for sending to multiple webhooks of the same type by listing them comma separated
- Fixed an issue where Battery Webhook would rarely be unable to accurately determine the OS version
- Author details will now be shown in automated battery info, not just manually sent battery info (#9)
- Lots of code improvements
- Other minor bug fixes
macOS and visionOS
- Added an option to override the webhook's preset avatar & name with your own avatar and display name (for Discord webhooks)
- Added an option to show author details in automated battery info, not just manually sent battery info (for Discord webhooks)
- Added support for sending to multiple webhooks of the same type by listing them comma separated
- Other minor bug fixes and code improvements
Full changelog
All platforms
- Implement and use shared data container
- Copy settings from old container to shared data container automatically
- Fix isiOSPre16 returning true on iOS patch versions (eg 17.0.2)
- Add support for sending to multiple webhooks of the same type by providing a comma delimited webhook URL
- Add automation saved date to debug view
- Add differentiator for debug builds (ex: "1.3(1) Dev")
- Add option to override the webhook's preset avatar & name with your own avatar and display name (for Discord webhooks)
- Add option to show author details in automated battery info, not just manually sent battery info (for Discord webhooks)
macOS
- No platform-specific changes
iOS and watchOS
- Add support for iOS 14 by cleaning up some code in SettingsView
- Add support for Shortcuts automations on iOS 15 and 14 with SiriKit
visionOS
- File format updates for the app icon
Usage
Usage is described on Battery Webhook's documentation website
Installation
- Download from the App Store on iOS, macOS and visionOS!
- Easiest and recommended installation method
OR
- Get access beta builds of Battery Webhook on TestFlight by subscribing to my Patreon's Quad-core tier.
OR
- Install manually
- On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device
- On macOS, extract the NotarizedMacUniversal ZIP archive and drop the app into the Applications folder
- On visionOS, sideload with Xcode after signing with your developer account.
1.2
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is a quality-of-life release for Battery Webhook. Here's what's new:
macOS
- Fixed an issue where the app's main window would be shown after launching, even though the main window was set to be hidden
- Updated the menu bar extra to use Battery Webhook's icon
- Added an automation for fully charging your Mac
- Added an automation for the app launching on your Mac
- Added an option to automatically launch Battery Webhook when you log in
- Improved text and tooltips options specific to Mac
- Updated onboarding experience
- Other minor bug fixes and code improvements
iOS and watchOS
- Fixed an issue where onboarding text would be cut off on smaller devices
- Fixed an issue where the Automations page would say that devices not running iOS 16 or later support Shortcuts Automations
- Improved labeling for identity settings
- Improved onboarding on watchOS
- Other minor bug fixes and code improvements
visionOS
- Support for visionOS!
Full changelog
All platforms
- Show welcome view as sheet
- Clean up code and remove unused code
- Minor wording updates
- Fix GetDeviceModel including a terminating character on Apple Silicon Macs
- Set up automatic test notes for TestFlight
- Move Stella links above the GitHub link in About
macOS
- Fix the app's main window being shown after launching it with the main window disabled
- New menu bar extra image based on the app icon
- New full charge automation
- New open app automation
- New option for launching on login
- Improve text and tooltips on Mac-specific options
- Enforce proper sizing on the debug sheet in About
iOS and watchOS
- Show field name for identity settings
- Fix welcome view on watchOS
- Fix Automations reporting that the device is capable of Shortcuts Automations even on iOS 15
visionOS
- Automations now reports being capable of Shortcuts Automations instead of reporting that the device is ineligible
- Enforce proper sizing on the debug sheet in About
- Finish the initial support for this platform
Usage
Usage is described on Battery Webhook's documentation website
Installation
- Download from the App Store on iOS, macOS and visionOS!
- Easiest and recommended installation method
or if you don't want to use the App Store:
- On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device
- On macOS, extract the NotarizedMacUniversal ZIP archive and drop the app into the Applications folder
- On visionOS, sideload with Xcode after signing with your developer account.
1.1
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is a small bugfix release for Battery Webhook. Here's what's new:
- Fix 'Unknown: x86_64' model being shown on on Intel Macs
- Fix automations views (not eligible/needs shortcuts views) being off-center
- Fix command menu item/menu bar extra items being disabled even after the configuration is made valid (and vice versa)
- Fix automations showing '275 months since last update'
- Debug view is now accessible on all builds
- Tap the Battery Webhook logo in the About view five times to show it
Usage
Usage is described on Battery Webhook's documentation website
Installation
- Download from the App Store on macOS and iOS!
- Easiest and recommended installation method
or if you don't want to use the App Store:
- On macOS, extract the MacUniversalNotarized ZIP archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva)
- On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device.
1.0
Battery Webhook: one year in the making
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
Send your battery info to popular services using webhooks!
- Fully modern, built in Swift and SwiftUI
- Device info functions (name, battery info, etc)
- Date saving, formatting, comparison, etc
- Full configuration infrastructure with UserDefaults
- Full programmatic building of various embeds in JSON format
- HTTP interaction with webhooks
- Manual sending of battery info in the app
- Automations support on iOS with Shortcuts Automations
- Automations support on macOS with IOPowerManagement events and IOKit for high power efficiency
- Siri Shortcuts support on all compatible platforms
- Menu bar extra on macOS
Usage
Usage is described on Battery Webhook's documentation website
Installation
- Download from the iOS App Store
or
- On macOS, extract the MacUniversalNotarized ZIP archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva)
The Mac version of Battery Webhook will be available on the Mac App Store with version 1.1, but for now download the copy below.
1.0b50rc
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is intended to be the final non-release version of Battery Webhook. Here's the highlights on what's new:
- Add support for automations on macOS!
- Requires no external apps, just enable the automations inside of Battery Webhook
- Add automations view to all supported platforms to clear up support
- Bug fixes
Automations support for macOS was very difficult to do as it depended on me writing my first IOKit interaction. Turned out half decent, and it works!
Full changelog
- Update assets for tvOS (to try fixing App Store submission)
- Fix MessageBuilder not using fallback pronoun when sending pronoun is disabled
- Move MenuBarExtraView to MacSupport directory
- MacSettingsUtils for GetMacAutomationSetting, for easily getting Mac Automation Settings
- MacIOKit now provides GetMacIsCharging, GetMacPowerSource and HandleMacPowerStateChange, see the file for docs
- MacAppDelegate uses these new functions to complete the Mac Automations infrastructure
- AutomationsView for configuration of Mac Automation Settings currently, other platforms get a notice
- ContentView shows the AutomationsView now
- DefaultsUsed now documents the new used defaults
Usage
Usage is described in the README and the docs website
- TestFlight: https://testflight.apple.com/join/tgiFhRND
- On macOS, extract the archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva) so you can simply run the app with all of Apple's security features in-place.
- On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device.
- On tvOS, install the app with Xcode or another sideloading tool
- On visionOS, install the app with Xcode? I'm not sure but the IPA file is here
<3 Eva for reminding me about this project
1.0b47RC
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is one final small release, intending to polish up the app before I promote the project more. Here's the highlights on what's new:
- Update the app icon on all platforms
- HelpView now refers to the online documentation
- Fix being able to trigger the Shortcut action with more than one automation event selected
- Fix macOS version sometimes not detecting the hardware model on Intel Macs (thanks @dhinakg)
- Reset Settings button is now in Settings instead of About's debug section
- UI fixes on both iOS and macOS
- Sending device model and device name is now enabled by default
- You can still disable it of course
Battery Webhook is now nearing a production-ready state, and as such these releases will no longer be marked as pre-release builds.
Full changelog
- Pull version number and build number from the info.plist, you now increment build number and version in Xcode and not in the source code
- Add Mac-only AppDelegate
- Change sending device model and device name to be enabled by default
- Update images in the repo
- A few organization improvements
- Add a variant of WelcomeView without the app icon shown
- Refer to the online documentation in HelpView instead of local docs
- Prevent triggering a single instance of the Shortcut action with more than one automation event selected
- Fix welcome text in WelcomeView getting cut off
- Fix hardware model detection sometimes failing on macOS (thanks @dhinakg)
- Add various file-related helper functions for future use
- Only show debug section in AboutView when actually building debug programmatically
- Show new file-related helper functions in AboutView
- Show sidebar options in macOS command menu
- Move Reset Settings button out of AboutView's debug section and into SettingsView
- Update the app icon assets
- Add proper macOS app icon
- Add tvOS app icon and Top Shelf image
- Add visionOS app icon
- Update iOS app icon
- Update watchOS app icon (fix being off-center)
Usage
Usage is described in the README and the docs website
- TestFlight: https://testflight.apple.com/join/tgiFhRND
- On macOS, extract the archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva) so you can simply run the app with all of Apple's security features in-place.
- On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device.
- On tvOS, install the app with Xcode
- On visionOS, install the app with Xcode? I'm not sure but the IPA file is here
<3 Eva for reminding me about this project
1.0b44
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is a more minor release, but here are some highlights:
- Only show the onboarding sheet on iPhone
- Bigger devices will show the onboarding view in the navigation controller
- (macOS) Add ability to hide and show the menu bar extra in Settings
- (macOS) Add ability to hide the main window and dock icon in Settings
- You can show the main window and dock icon again using the menu bar extra
- (macOS) Limited the size of the window for a better user experience
- (tvOS) Improve UI
Battery Webhook is now nearing a production-ready state, and as such these releases will no longer be marked as pre-release builds.
Full changelog
- Code cleanup
- 'Send Battery Info' item in the menu bar and menu bar extra will now disable if the configuration is not valid
- Add ability to hide and show the menu bar extra in Settings
- Add ability to hide the main window and dock icon in Settings
- Add ability to unhide the main window and dock icon in the menu bar extra
- Ensure menu bar extra when main window and dock icon are hidden
- Limit window size on macOS for better UI/UX
- Use platform-specific version variable in MessageBuilder
- Only show the onboarding sheet on iPhone
- Improve tvOS UI
Usage
Usage is described in the README.
On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device.
On macOS, extract the archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva) so you can simply run the app with all of Apple's security features in-place.
<3 Eva for reminding me about this project
1.0b43
Update: Battery Webhook is no longer signed and notarized for Apple platforms or available on the App Store. For more information, read this.
This is a big release, so here are the highlights:
- Add Shortcuts support so you can now use Shortcuts Automations!
- "Send Battery Info" action is now available in Shortcuts
- Add menu bar extra and menu bar item for macOS
- Add onboarding to introduce the user to the app
- Add a proper icon to Battery Webhook
- Support for the latest Apple devices
- Loads of bug fixes and improvements under the hood
I have aimed for this release to be production-ready, so I am not marking it pre-release. Please do contact me or create an issue if you run into any bugs.
Full changelog
- Code cleanup
- Re-enable pronoun options in the Settings
- Add app icon
- Add a simple onboarding view to introduce the user to the app
- Add content for the About dialog on macOS
- Add menu bar extra and menu bar item for macOS
- Add intent for Shortcuts support, which means you can use Shortcuts Automations for automations
- Bugfix the About view and make it more fancy
- Fix the About view breaking on watchOS and tvOS
- Fix compatibility function breaking on visionOS
- Support wired devices (will no longer show 0% battery)
- Show HTTP error if one occurs (thanks @dhinakg)
- Add icon to webhook service type selector
- Add identifiers for iPhone 15 series
- Add identifiers for Apple Watch Series 9 and Ultra (2nd generation)
- Add identifiers for 2nd and 3rd generation Apple TV 4K
- Remove identifiers for devices that cannot run Battery Webhook
- Randomize the colored Discord avatar that is sent when the user disables sending their profile picture
Update note:
You may have to reconfigure your pronoun settings, and you can leverage the automation support by using Shortcuts Automations!
Usage
Usage is described in the README.
On iOS, sideload with something like AltStore/Xcode/etc, or sign it with your developer account and AirDrop it to your iOS device.
On macOS, extract the archive and drop the app into /Applications. This release is signed and notarized (thanks to my Eva) so you can simply run the app with all of Apple's security features in-place.
<3 Eva for reminding me about this project
1.0b38
"This is pretty much the last build you should use until I pull through and finish automation support" I lied, again.
- Broke Apple Watch sync support (this will be fixed later)
- Fix inconsistent variable names across the project
- Better handle edge cases and errors
- Finish code for multiple webhook services
- None added yet, but the infrastructure is there for easy adding
- Add 'Discord 2' service, it's just a second instance of the Discord service, so you can push to two different webhook URLs easier.
- Fun fact: It was used for testing changes during development
- Remove the seperate 'Webhook Settings' and put them back into the main Settings.
Update note:
With the major changes behind the hood, you're probably going to have to re-configure your webhook settings.
Usage
Usage is described in the the README.
On iOS, sideload with something like AltStore/Xcode/whatever people use these days.
On macOS, unzip and open (do the Gatekeeper trick if you have to.)
<3 Eva for reminding me about this project
1.0b36-1
This release is the same as 1.0b36, except I decided to notarize the Mac app. Made a new release because it makes more sense honestly.
"This is pretty much the last build you should use until I pull through and finish automation support" I lied
Anyway, bugs were fixed and Mac model detection was added thanks to @dhinakg. (Commit history here)
Also, fun fact: Battery Webhook runs on visionOS now.
Usage is described in the the README.
On iOS, sideload with something like AltStore/Xcode/whatever people use these days.
<3 Eva for reminding me about this project