mirror of
https://github.com/home-assistant/iOS.git
synced 2026-02-04 02:46:35 -06:00
Refs #1570 and home-assistant/core#50750. Fixes #1382. ## Summary Adds a new app extension to do local push notifications on iOS 14 when connected to internal SSIDs. ## Screenshots Adds a default-on setting to Internal URL: | Light | Dark | | -- | -- | |  |  | ## Link to pull request in Documentation repository Documentation: home-assistant/companion.home-assistant#539 ## Any other notes - Updates the "you need always permission" warning in Internal URL editing to be vibrantly red, to really point out its importance. - Sets the code signing for the app and the push target to 'manual' on device, hopefully for our internal team only. Special entitlements really do not play well with open source. Worth noting that it is not possible to test this feature without being on the HA team since it does not work in simulator (as far as I can tell) and running on-device requires entitlements. - Moves commands into Shared in a slightly-easier registration mechanism, so we can share them in the local push extension.
20 lines
705 B
Plaintext
20 lines
705 B
Plaintext
#include "HomeAssistant.xcconfig"
|
|
|
|
CODE_SIGN_STYLE = Manual
|
|
CODE_SIGN_IDENTITY[sdk=iphoneos*] = Apple Distribution
|
|
CODE_SIGN_IDENTITY[sdk=watchos*] = Apple Distribution
|
|
CODE_SIGN_IDENTITY[sdk=macosx*] = Developer ID Application
|
|
PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*] = iOS App Store - $(TARGET_NAME)
|
|
PROVISIONING_PROFILE_SPECIFIER[sdk=watchos*] = iOS App Store - $(TARGET_NAME)
|
|
PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] = Mac Dev ID - $(TARGET_NAME)
|
|
|
|
VALIDATE_PRODUCT = YES
|
|
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
|
|
OTHER_SWIFT_FLAGS = $(inherited) -DRELEASE
|
|
|
|
ENABLE_NS_ASSERTIONS = NO
|
|
LLVM_LTO = YES
|
|
SWIFT_OPTIMIZATION_LEVEL = -O
|
|
GCC_OPTIMIZATION_LEVEL = s
|
|
SWIFT_COMPILATION_MODE = wholemodule
|