Would it be possible to add a third method "Push notification" for sending the 2FA code to Piwigo mobile apps? To my understanding, this would require to setup a server linking all Piwigo instances with the few Push Notifications servers proposed by Apple, Google, etc.
Here is the documentation for sending push notifications to iOS devices:
https://developer.apple.com/documentation/usernotifications/sending-notification-requests-to-apns
This is similar on Android devices with Firebase Cloud Messaging (FCM):
https://firebase.google.com/docs/cloud-messaging/android/client
Would it be possible to add a third method "Push notification" for sending the 2FA code to Piwigo mobile apps? To my understanding, this would require to setup a server linking all Piwigo instances with the few Push Notifications servers proposed by Apple, Google, etc.
Here is the documentation for sending push notifications to iOS devices:
https://developer.apple.com/documentation/usernotifications/sending-notification-requests-to-apns
This is similar on Android devices with Firebase Cloud Messaging (FCM):
https://firebase.google.com/docs/cloud-messaging/android/client