Skip to content

Harden Tor iOS lifecycle#3356

Open
adrastaea wants to merge 18 commits into
developfrom
tor-ios-lifecycle
Open

Harden Tor iOS lifecycle#3356
adrastaea wants to merge 18 commits into
developfrom
tor-ios-lifecycle

Conversation

@adrastaea

Copy link
Copy Markdown
Collaborator

Pull Request Checklist

  • I have linked this PR to a related GitHub issue.
  • I have added a description of the change (and Github issue number, if any) to the root CHANGELOG.md.

(Optional) Mobile checklist

Please ensure you completed the following checks if you did any changes to the mobile package:

  • I have run e2e tests for mobile
  • I have updated base screenshots for visual regression tests

islathehut and others added 12 commits July 3, 2026 14:27
 - @quiet/desktop@8.0.0-alpha.0
 - @quiet/mobile@8.0.0-alpha.0
* Update directory to Quiet8 and files7 to files8

* Update CHANGELOG
 - @quiet/desktop@8.0.0-alpha.1
 - @quiet/mobile@8.0.0-alpha.1
* Update s3 bucket for 8.0

* Update CHANGELOG
 - @quiet/desktop@8.0.0-alpha.2
 - @quiet/mobile@8.0.0-alpha.2
 - @quiet/desktop@8.0.0
 - @quiet/mobile@8.0.0
- Added a new function `getMessageEnvelopeLogMetadata` to extract metadata from message envelopes for improved logging.
- Updated logging in `MessageCodec` to provide more detailed information during payload parsing and envelope deserialization.
- Refactored `startNodeProject` method in `RNNodeJsMobile` to run the Node project in the background, preventing UI blocking.
- Adjusted `launchBackend` in `AppDelegate` to utilize the new background startup method.
- Updated Podfile.lock to reflect changes in Yoga dependency version.
- Modified Xcode project settings to ensure proper framework linking and resource management.
- Enhanced `TorHandler` to include a list of directory authorities for improved bootstrap independence.
@adrastaea adrastaea linked an issue Jul 14, 2026 that may be closed by this pull request
@adrastaea
adrastaea marked this pull request as ready for review July 14, 2026 16:01
await this.spawnHiddenServices()
if (bootstrapGeneration !== this.bootstrapGeneration) return
await this.spawnHiddenServices(bootstrapGeneration)
if (bootstrapGeneration !== this.bootstrapGeneration) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this now be removed since we do this check before the spawn now?

import type { OpenServices } from './options'

export type MobileLifecycleIntent =
| { type: 'paused' }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick but can you create and use an enum for the intent types rather than just setting 'paused' and 'active'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS crashed when the user clicked on a notification

2 participants