-
Notifications
You must be signed in to change notification settings - Fork 203
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
AWS Amplify Network Issue on Watch OS development #3215
Comments
@pravarsha21 Thanks for opening the issue. We will investigate and get back to you soon. |
@pravarsha21 could you please share the logs with Amplify.Logging.logLevel = .verbose Also, are you using the let file = // your recording file
let uploadTask = Amplify.Storage.uploadFile(
key: "yourKey",
local: file
)
_ = try await uploadTask.value |
Hey @pravarsha21, quick update from our side - we've identified the issue and are working on a fix. |
This fix was released with 2.18.1 Thanks again for reporting it @pravarsha21 |
Thankyou for solving the issue, it was very helpful for me and my team mate Pravarsha. |
thankyou @atierian for solving the issue . |
@atierian Thank you for fixing this bug. We had faced error when doing authentication, precisely on Amplify.Auth.signIn(). With fix you've done is working fine for us. So is there any tag or specific release where this issue is fixed but watchOs version remains 7 only. If there is no specific release or commit. Would it be possible to plan out one release ? Amplify Framework Version Dependency manager Xcode version |
Hi @gurupatel107, To better assist you, could you please provide more details on the difficulties or constraints you are facing with upgrading the minimum watchOS support to version 9? Understanding the specific challenges will help us explore potential solutions or consider adjustments in our future planning. |
Sure @5d. Our existing application for watchOS is already on App Store and support minimum watchOs version 7.6. As some users may still be utilising watchOS versions 7 or 8. Given our commitment to maintaining compatibility across different versions, we are faced with the challenge of ensuring that our Watch app continues to support a broad range of watchOS versions. Consequently, setting the minimum deployment version to 9+ is not currently feasible in alignment with our internal guidelines and decisions. So we would like to have help if any possible update were version 2.17.2 (last version which support watchOs 7+) with the current bug fix of including this PR#3230. Looking forward to have your collaboration in this situation. |
Hey @gurupatel107. Apologies for the delayed response here; we missed this because the issue was closed. Amplify Swift supports watchOS 9 as a minimum target. However, there is nothing (currently) that requires watchOS 9 in Amplify Swift. To work around this, you can add Amplify Swift as a local package dependency and change this line in the Please note that we can't make any guarantees that APIs requiring watchOS 9 won't be used in the future -- in other words, this workaround may not work for future versions. I understand that every app has its own requirements around minimum supported versions. In case you haven't already, I'd encourage you to consider that the most recent Apple Watch unable to run watchOS 9 is the Series 3 from 2017 [source]. If you need any further assistance on this, please open a new issue. Thanks for your patience! |
Describe the bug
I have created a voice recorder application for watch only app in xcode. The logic is when the user stops the recording, the recorded audio file is transferred red to AWS S3 bucket.
The code is working fine when I run the app on Xcode Watch OS simulator.
But when I install it on the physical watch, every time it is giving network error. I have added all the required permissions and also pinged a basic website and it returned as OK.
Steps To Reproduce
I think it is difficult to reproduce since you need the code of my app
Expected behavior
The expected behaviour is it should transfer the files to S3
Amplify Framework Version
2.17.1
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.8
CLI version
12.4.0
Xcode version
14+
Relevant log output
Is this a regression?
Yes
Regression additional context
No response
Platforms
watchOS
OS Version
16
Device
Apple Watch 8
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: