Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchDevices does not return devices name #3504

Closed
gscarrone opened this issue Feb 8, 2024 · 6 comments
Closed

fetchDevices does not return devices name #3504

gscarrone opened this issue Feb 8, 2024 · 6 comments
Assignees
Labels
auth Issues related to the Auth category bug Something isn't working

Comments

@gscarrone
Copy link

Describe the bug

After succefully login I call fetchDevices to know name and id of each device remembered, but I found "name" field is allways null.

Steps To Reproduce

1. login on one or more devices
2. call rememberDevice function on each one
3. call fetchDevices after login on one device


let devices = try await Amplify.Auth.fetchDevices()

Expected behavior

return devices name

Amplify Framework Version

2.25.7

Amplify Categories

Auth

Dependency manager

Swift PM

Swift version

5.8

CLI version

ND

Xcode version

15.2

Relevant log output

<details>
<summary>Log Messages</summary>


INSERT LOG MESSAGES HERE
```

Is this a regression?

No

Regression additional context

No response

Platforms

iOS

OS Version

iOS 16, iOS 17

Device

iPhone 15 Pro

Specific to simulators

No response

Additional context

No response

@lawmicha lawmicha added bug Something isn't working auth Issues related to the Auth category pending-triage Issue is pending triage labels Feb 8, 2024
@lawmicha
Copy link
Member

lawmicha commented Feb 8, 2024

Hi @gscarrone, thanks for opening this issue. We'll investigate and get back to you.

@harsh62
Copy link
Member

harsh62 commented Feb 9, 2024

@gscarrone I was able to get a fix for the issue you raised. Although, I have added tests to verify the behaviour, would you be able to test branch 3504 to make sure this fixes your issue?

Once you confirm, I can plan to get a release out as quickly as possible.

@harsh62 harsh62 added pending-release Code has been merged but pending release Code has been merged but pending release and removed pending-triage Issue is pending triage labels Feb 9, 2024
@harsh62 harsh62 self-assigned this Feb 9, 2024
@gscarrone
Copy link
Author

It works. Let me know please when release the new version and the version

@lawmicha
Copy link
Member

lawmicha commented Feb 9, 2024

The version should be 2.26.1, will keep you posted, thanks!

@lawmicha
Copy link
Member

@github-actions github-actions bot removed the pending-release Code has been merged but pending release Code has been merged but pending release label Feb 12, 2024
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issues related to the Auth category bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants