You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which for normal development purposes is useless, as we can leave the entire update responsibility to the ActiveLook app.
Because a normal developer does not have the token nor the possibility to download firmware updates, the only solution is to pass bogus parameters and return false in onUpdateAvailableCallback. This however stops the SDK from functioning returning:
which makes sense since we don't have the right token to check for updates.
I forked the repo and I fixed it by putting this in the code:
glasses.fixInDeviceCmdStack {
glasses.cfgSet(name: "ALooK")
// parent.updateInitializedGlasses(glasses) --> this is not needed for 3rd party devs!
discoveredGlasses.connectionCallback?(glasses)
}
The text was updated successfully, but these errors were encountered:
According to https://github.com/ActiveLook/demo-app?tab=readme-ov-file#sdk-token the token field should be blank. I tried setting it to an empty string (like ActiveLookSDK.shared(token: "", [...]) and I don't get the error you mention so seems to be the correct way forward.
It seems we need to instantiate the SDK using:
Which for normal development purposes is useless, as we can leave the entire update responsibility to the ActiveLook app.
Because a normal developer does not have the token nor the possibility to download firmware updates, the only solution is to pass bogus parameters and return
false
inonUpdateAvailableCallback
. This however stops the SDK from functioning returning:The error originates in:
which makes sense since we don't have the right token to check for updates.
I forked the repo and I fixed it by putting this in the code:
The text was updated successfully, but these errors were encountered: