Authentication - Signup with Apple
Opened this issue · 0 comments
Narrative
As a user of Interactive Diary
I want to sign up to Interactive Diary using my Apple account
So that I can sync my Apple account with Interactive Diary
Scenarios
Scenario 1
GIVEN my Apple account is ready
AND I'm using an iPhone/iPad device
WHEN I launch the app
THEN I'll be presented with option to sign up with Apple Account
Scenario 2
GIVEN scenario 1
WHEN I tap on Sign up with Apple Account
THEN I'll be taken to Apple Sign In
Scenario 3
GIVEN scenario 2
WHEN I successfully sign up using my Apple Account
THEN I'll be navigated to Interactive Diary home screen
Scenario 4
GIVEN scenario 2
WHEN I failed to sign up using my Apple Account
THEN I'll be taken back to Sign up screen
AND there will be error message to inform me about the failure
Technical requirement
These technical requirement are to be implemented in code
Packages - Authentication service
- Authentication service needs to be implemented as part of packages, and will be included to the main project through pubspec.yaml
- use package sign_in_with_apple
- Strings are to be used in localisation