Repository navigation
Mac identity toggle - #20
Merged
Merged
Conversation
OpenBubbles builds Apple's device-activation request from both bridge answers: device class and model come from activate (a Mac), while the serial number, OS version and build come from get-version-info. Reporting the phone's values there yields an iMac13,1 claiming to run iOS, which Apple's activation server refuses -- no push certificate, surfacing as "Token not found". Report as Mac makes get-version-info report the Mac identity's serial and UUID plus macOS 13.6.4/22G513, so both answers describe the same machine. hardware_version and software_name stay the phone's so OpenBubbles still classifies the relay as an iPhone and keeps phone-number setup available. Version bumped to 1.2.0 and the footer reads -test so testers can confirm which build they are running.
Drop the mechanism explanation and the instruction to turn the toggle back off after activating -- testing shows phone-number registration works with it on, so turning it off only breaks activation again.
setDefaultIfNeeded picks the starting value once: a fresh install has no registration yet and starts on, so it registers as a Mac without anything to configure. An install that already has a registration starts off and keeps reporting the phone's identity, so updating leaves a working registration alone. A value the user sets themselves is never overridden. Also drops the -test suffix from the version label, rewrites the identity footer and README section around Report as Mac, and refreshes the screenshot (registration code now on one line, matching a real device).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.