passepartout-apple/Library/Sources/CommonLibrary/Strategy
Davide 2f67bcbbf2
Sync local profiles consistently (#1051)
Rather than redoing ProfileManager.observeLocal() altogether:

- Keep the existing profiles subscription (localSubscription)
- Reload ALL local profiles on NE notifications

The reload is "heavy" because each profile save causes a reload of ALL
profiles, but it's the most reliable approach and in the end, it only
takes 1-2msec. It can be improved later.

Partially reverts #1049, because the app did not sync when a VPN
configuration was deleted from the OS settings.
2025-01-04 23:42:10 +01:00
..
FallbackReceiptReader.swift Skip local receipt on Apple TV (#1041) 2024-12-22 12:24:20 +01:00
InMemoryProfileRepository.swift Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
ModulePreferencesRepository.swift Clean up dangling module preferences (#999) 2024-12-10 20:33:35 +01:00
NEProfileRepository.swift Sync local profiles consistently (#1051) 2025-01-04 23:42:10 +01:00
Processors.swift Separate App/Tunnel responsibilities (#984) 2024-12-08 18:56:39 +01:00
ProfileMigrationStrategy.swift Skip onboarding migration if no migratable profiles (#1002) 2024-12-11 22:20:14 +01:00
ProfileRepository.swift Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
ProviderPreferencesRepository.swift Migrate provider favorites to Core Data entities (#997) 2024-12-10 15:19:07 +01:00