Skip to content

feat: InApp2Fa notification#52

Merged
valentinperignon merged 1 commit intomainfrom
feat/2fa-notifications
Nov 12, 2025
Merged

feat: InApp2Fa notification#52
valentinperignon merged 1 commit intomainfrom
feat/2fa-notifications

Conversation

@PhilippeWeidmann
Copy link
Member

No description provided.

@PhilippeWeidmann PhilippeWeidmann marked this pull request as draft November 5, 2025 08:53
@PhilippeWeidmann PhilippeWeidmann marked this pull request as ready for review November 5, 2025 08:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates push notification support for two-factor authentication (2FA) challenges into the Euria iOS app. The implementation adds the InfomaniakNotifications dependency and configures the app to receive and handle 2FA push notifications.

  • Added InfomaniakNotifications dependency and configured it with the app group identifier
  • Implemented notification handling infrastructure with AppDelegate and NotificationCenterDelegate
  • Integrated 2FA push notification topic registration at key points: account creation, app foreground, and initial setup

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Tuist/Package.swift Added ios-notifications package dependency and changed InfomaniakConcurrency from static to dynamic framework
Tuist/Package.resolved Updated package lock file with ios-notifications@15.1.0 and new origin hash
Project.swift Added InfomaniakNotifications dependency to MainView, Euria, and EuriaCore targets
EuriaFeatures/MainView/MainView.swift Added notification registration on foreground and stored session for API access
EuriaCore/Utils/TargetAssembly.swift Registered InfomaniakNotifications service in DI container with app group identifier
EuriaCore/Extensions/Topic+Extension.swift Defined twoFAPushChallenge topic constant for 2FA push notifications
EuriaCore/AccountManager.swift Added notification topic subscription during account creation
Euria/Sources/NotificationCenterDelegate.swift Implemented notification handling for 2FA challenges
Euria/Sources/EuriaApp.swift Registered AppDelegate using UIApplicationDelegateAdaptor
Euria/Sources/AppDelegate.swift Configured remote notifications and registered device tokens with backend
Euria/Resources/Euria.entitlements Added development APS environment entitlement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PhilippeWeidmann PhilippeWeidmann force-pushed the feat/2fa-notifications branch 3 times, most recently from 5476082 to ebf065e Compare November 5, 2025 10:26
@valentinperignon valentinperignon force-pushed the feat/2fa-notifications branch 3 times, most recently from f62b84c to 27bfcb7 Compare November 7, 2025 06:28
@PhilippeWeidmann PhilippeWeidmann force-pushed the feat/2fa-notifications branch 3 times, most recently from d589e40 to d3d825f Compare November 11, 2025 11:43
# Conflicts:
#	Euria/Sources/AppDelegate.swift
#	Euria/Sources/EuriaApp.swift
#	EuriaCore/Utils/TargetAssembly.swift
#	Project.swift
#	Tuist/Package.resolved
@sonarqubecloud
Copy link

@valentinperignon valentinperignon merged commit 412e7bf into main Nov 12, 2025
10 checks passed
@valentinperignon valentinperignon deleted the feat/2fa-notifications branch November 12, 2025 07:23
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.

3 participants