Releases: aferodeveloper/AferoIOSSofthub
HUB-1120: Bump to 1.6.7 (Hubby 1.0.359 + SofthubAssociationState patch)
Migrate to ARM Permissive Binary License
As of 1.6.5
, AferoSofthub is available under the ARM Permissive Binary License. See LICENSE
for more info.
AferoSofthub 1.4.5 - Consumer Default, Notification Cleanup
New Features
-
OTA status notifications have been cleaned up; in swift, the valid names can be found in
AferoSofthub.AferoSofthubNotificationName
. Old names are still valid (but deprecated). -
OTA progress notifications (name
AferoSofthub.AferoSofthubNotificationName.OTAProgressUpdate
) now containuserInfo
dicts withdeviceId
, progress, state, and state desciption info.
NOTE: All OTA info from the softhub pertains to the local softhub only.
- A category on NSString provides factory methods for producing string descriptions of
AferoSofthubSetupWifiCommandState
andAferoSofthubWifiState
values ([NSString stringWithWifiSetupCommandState:]
and[NSString stringWithWifiSetupState]
, respectively.
Resolved:
- Releases
1.4.3
and1.4.4
defaulted to starting the softhub inENTERPRISE
mode. Release1.4.5
defaults this toCONSUMER
(the standard mode). To useENTERPRISE
mode, invoke:
+ (void)startWithAccountId:(NSString *_Nonnull)accountId
cloud:(AferoService)cloud
softhubType:(AferoSofthubType _Nullable)softhubType
logLevel:(AferoSofthubLogLevel)logLevel
hardwareIdentifier:(NSString *_Nullable)hardwareIdentifier
associationHandler:(AferoSofthubSecureHubAssociationHandler _Nonnull)associationHandler
completionHandler:(AferoSofthubCompleteReasonHandler _Nonnull)completionHandler;
App Thinning Support
This release fixes ACE-190, in which app thinning was broken for 32-bit platforms. Specifically, it:
-
Ensures that the framework's
Info.plist
is not restricted toarm64
architectures by removing theUIRequiredDeviceCapabilities
keys altogether. -
Ensure that an
armv7s
slice is present.
Enterprise mode + Bugfixes
AferoIOSSofthub 1.4.3 introduces an "enterprise" mode, and fixes two bugs:
- HUB-841: Softhub OOB crash when connecting to peripherals
- HUB-798/ACE-170/ACE-173: Softhub crashes when quickly starting/stopping
IMPORTANT
As of this release, AferoIOSSofthub is considered an Afero-internal API. External API consumers should use the
Softhub
class vended by AferoSwiftSDK 1.0.9 or later. See the Softhub documentation for more details.
Binary Softhub
AferoIOSSofthub 1.1.0 is a precompiled dynamic framework:
- The module name (
AferoSofthub
) and all symbol names are unchanged from version 1.0.2 (which is the last hosted in theaferodeveloper/hubby
repo.1.1.0
is API-compatible with1.0.2
. - Framework contains
armv7
,arm64
,i386
, andx86_64
architectures, as well as bitcode. - As
i386
andx86_64
slices are intended to run on the simulator only, they're "stubbed": theAferoSofthub
interface is exposed, but all calls are stubbed to either no-op, or to return test fixture results. Bitcode is included only as a marker in these slices.