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

Expo Go and React Native Web support for V6 and future #13918

Open
2 tasks
BuildingFiles opened this issue Oct 12, 2024 · 27 comments
Open
2 tasks

Expo Go and React Native Web support for V6 and future #13918

BuildingFiles opened this issue Oct 12, 2024 · 27 comments
Labels
feature-request Request a new feature React Native React Native related issue VP Version parity issues between v5 and v6

Comments

@BuildingFiles
Copy link

BuildingFiles commented Oct 12, 2024

Is this related to a new or existing framework?

React Native, Web Components

Is this related to a new or existing API?

Both if by api you mean amplify-js as a whole

Is this related to another service?

Not outside of amplify

Describe the feature you'd like to request

I was told that this feature request had been created already by aws support. But I could not locate it. So I made one of my own.

According to recent conversations with support and the dev team in other tickets. Support for expo go, react-native web and expo web while it always has been and still is being maintained in Version 5. Will no longer be supported in Version 6 and newer.

Our production application runs primarily as a web app. We've spent many years developing and to it using react-native and expo on Amplify. We love using Amplify for this.

But I have been told that the reason support is being dropped for web is because it is "a lot of work". With no regard to how much work time and money it's going to cost us loyal customers of Amplify. Making us have to completely throw out the last 5 years of development for an entirely new web framework that you currently still support.

I respectfully request that you re include support for expo and react-native web and continue to include them as full stack options for Amplifys newest and future versions.

Describe the solution you'd like

Continued support for web in expo and react-native after version 5

Describe alternatives you've considered

I'm open to suggestion that don't require a complete rewrite of our application in another farmwork, so we can continue to offer our clients our web app.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Oct 12, 2024
@haverchuck
Copy link
Contributor

@BuildingFiles We are reviewing this with the team. If needed, would you be available to meet with us?

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Oct 14, 2024
@ashika112 ashika112 added feature-request Request a new feature React Native React Native related issue and removed pending-triage Issue is pending triage labels Oct 14, 2024
@rayelward
Copy link

We have been holding back on updating from v5 amplify because of the lack of support in this area.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Oct 15, 2024
@BuildingFiles
Copy link
Author

BuildingFiles commented Oct 15, 2024

@BuildingFiles We are reviewing this with the team. If needed, would you be available to meet with us?

I am available if you need. I just got off a call with AWS support and some members of the development team as well.

@BuildingFiles
Copy link
Author

BuildingFiles commented Oct 15, 2024

We have been holding back on updating from v5 amplify because of the lack of support in this area.

( Had to edit this, thought you were a member of Amplifys dev team when I first read your post :) )

Its a good call it seems like at the moment upgrading to v6 will require a lot of editing for any existing application, and even after that's all said and done it may not work due to the web support issues on their end.

@cwomack cwomack added VP Version parity issues between v5 and v6 and removed pending-maintainer-response Issue is pending a response from the Amplify team. labels Oct 16, 2024
@Seano180
Copy link

Seano180 commented Dec 2, 2024

Waiting for a defined clear path to implementing Gen 2 AWS Auth for React Native - current documentation is extremely poor and confusing and mixes between Gen 1 which makes it difficult to work out.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 2, 2024
@HuiSF
Copy link
Member

HuiSF commented Dec 2, 2024

Hi @Seano180 are you planning to use React Native Web?

Regarding Gen1 vs Gen2 documentation - Amplify JS library works the same between Gen1 and Gen2, the setup and category APIs have the same specifications. Please feel free to open an issue at https://github.com/aws-amplify/docs for any documentation improvement suggestions.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 2, 2024
@Seano180
Copy link

Seano180 commented Dec 2, 2024

Hi @Seano180 are you planning to use React Native Web?

Regarding Gen1 vs Gen2 documentation - Amplify JS library works the same between Gen1 and Gen2, the setup and category APIs have the same specifications. Please feel free to open an issue at https://github.com/aws-amplify/docs for any documentation improvement suggestions.

We have followed the Gen2 Auth documentation and still getting errors - Console error highlighting that it cannot find our backend environment when using "amplify pull"

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 2, 2024
@HuiSF
Copy link
Member

HuiSF commented Dec 3, 2024

Hi @Seano180 Sorry about the confusion.

amplify pull is Amplify CLI - not the library

The original Amplify CLI and the new Gen2 experience are focusing on the steps of setting up your backend resources. The JS library works with both original Amplify CLI and the new Gen 2 experience, but you cannot mix-use Amplify CLI and Gen2.

For react-native - you can follow the Gen2 documentation to set up your backend resource. Then regarding how to use the library APIs to implement your react-native App you can follow the Gen1 doc.

In addition, if you are not planning to develop with React Native Web or Expo Web, please feel free to open a new issue if you need further assistance. Thanks!

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 3, 2024
@Seano180
Copy link

Seano180 commented Dec 4, 2024

Hi @Seano180 Sorry about the confusion.

amplify pull is Amplify CLI - not the library

The original Amplify CLI and the new Gen2 experience are focusing on the steps of setting up your backend resources. The JS library works with both original Amplify CLI and the new Gen 2 experience, but you cannot mix-use Amplify CLI and Gen2.

For react-native - you can follow the Gen2 documentation to set up your backend resource. Then regarding how to use the library APIs to implement your react-native App you can follow the Gen1 doc.

In addition, if you are not planning to develop with React Native Web or Expo Web, please feel free to open a new issue if you need further assistance. Thanks!

I managed to connect my back-end successfully and wrote a blog post on how to do it for those who might have similar issues.

I highlight some parts that aren't on the AWS documentation. Feel free to take a look.

Link: https://sean-sheridan.gitbook.io/blog/react-native/react-native-aws-auth

Thanks
Sean

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 4, 2024
@HuiSF HuiSF removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 4, 2024
@steinybot
Copy link
Contributor

Is there any update on this? I'm looking to start a new project, and I was hoping to use React Native for Web with Expo and Amplify. What is the recommended approach to have a multi-platform React app until this done?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 4, 2025
@AllanZhengYP
Copy link
Member

Hi @steinybot

We do not have update yet. Please refer this comment: #13918 (comment) for our support policy for React Native web. Don't hesitate to thumb up this feature request, it will help us prioritize the feature requests.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 6, 2025
@Seano180
Copy link

Seano180 commented Jan 6, 2025

Hi @steinybot

We do not have update yet. Please refer this comment: #13918 (comment) for our support policy for React Native web. Don't hesitate to thumb up this feature request, it will help us prioritize the feature requests.

It needs to be rectified ASAP because Amplify Gen 2 for React Native is basically unusable.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 6, 2025
@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 7, 2025
@ggcespia
Copy link

I've read this 3 times and it is unclear to me. I have a GEN1 V5 application w/ React Native - runs on iOS (natively), Android (natively) and Web. After reading this there seems to be a mix of comments related to Gen1 V5 vs. V6 and sprinkled in other comments about Gen2. I now want to create a new application that has iOS (native), Android (native) and Web. Are you saying that I cannot do that in Gen2 because it does not support Web (only native) for React Native? If that's the case, then there is clearly a significant problem for me given the main reason for using Amplify and React Native was to satisfy native and web. There seems to be a hint that the dev team will 'eventually' support React Native web for Gen 2 - but no timeframe. Is this correct? Gen2 does not support React Native web?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 10, 2025
@BuildingFiles
Copy link
Author

BuildingFiles commented Jan 14, 2025

I've read this 3 times and it is unclear to me. I have a GEN1 V5 application w/ React Native - runs on iOS (natively), Android (natively) and Web. After reading this there seems to be a mix of comments related to Gen1 V5 vs. V6 and sprinkled in other comments about Gen2. I now want to create a new application that has iOS (native), Android (native) and Web. Are you saying that I cannot do that in Gen2 because it does not support Web (only native) for React Native? If that's the case, then there is clearly a significant problem for me given the main reason for using Amplify and React Native was to satisfy native and web. There seems to be a hint that the dev team will 'eventually' support React Native web for Gen 2 - but no timeframe. Is this correct? Gen2 does not support React Native web?

We've been long time supporters and users of Amplify. I recommended aws and amplify to several friends. So, it feels very bad to say this.

I wouldn't start developing in react-native and Expo if you want to use them with their web functionality for amplify at this time. Also if you are starting a new mobile only app, make sure you're using V2.

They told Me they will be adding support for web in V2 and maintaining V1 support until V1 is shut down (no date for this was given, though they said it wouldn't be for a long time...). BUT they also would not guarantee that web would be supported in V2 by the time V1 is shut down.

So, you could develop in V1 with web support. Running the risk that when V1 ends you may not have a working web interface for your app if V2 isn't done in time. Not to mention the guaranteed headache of converting from V1 to V2.
Which while somewhat similar has enough distinct changes to be a huge headache for any large apps to upgrade to. (I'm not looking forward to the experience of upgrading 5+ years worth of code in V1 to V2)

Their response to all this has been unreassuring. Their vague time frames and indefinite responses has not restored my confidence in them. If they had rolled back V2 until the issue was fixed the day it was found. Then I'd have full faith in them as a service still. Its going to take a lot to regain that trust now. Just the fact that V2 was created with little regards to how upgrading to it will impact us is enough to have shaken my trust in them. The fact that it also excludes core functionality of the frameworks its meant to support is just unbelievable to me.

I sincerely hope they fix this and I can go back to feeling confident in my choice to develop using Amplify.

@BuildingFiles
Copy link
Author

BuildingFiles commented Jan 14, 2025

Hey @BuildingFiles and folks in the thread 👋 we're actively investigating issues related to feature parity between v5 and v6 of the library, which indirectly includes identifying and closing gaps with Expo Go support. Please use this issue to continue to document specific areas of trouble with Expo Go and Amplify.

We appreciate the detailed feedback on this issue. While we're working to address the concerns, I'd like to kindly remind everyone to review our community guidelines. This helps us maintain constructive discussions that lead us to resolve issues effectively.

Thank you, It's good to see some steps being taken towards fixing things. Also glad to see Expo Go is getting looked at. We have been using it to internally deploy alpha versions of our mobile app for testing, for several years now.

@cwomack cwomack removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 14, 2025
@deouws
Copy link

deouws commented Jan 29, 2025

Any updates on timeline ?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 29, 2025
@cwomack
Copy link
Member

cwomack commented Jan 30, 2025

@deouws, we don't have any updates at this time. As soon as we have any progress or updates, we'll be sure to leave a comment.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 30, 2025
@charlieforward9
Copy link

I've been following this for a few weeks, and am optimistic about its outcome, but I would like to know a bit more.

Other OS projects I follow are great about outlining a roadmap for a heavy lift like this, and it would be great to see that on this request.

With a roadmap established, I'm sure some of us could accelerate this feature release, seeing it's quite a popular request.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 2, 2025
@cwomack cwomack removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 3, 2025
@JUSTINMKAUFMAN
Copy link

Creating a new Amplify project (gen2) and was excited to try Expo + Web.

But based on this thread, I'm gauging I'd be walking on to a minefield, yes?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@HuiSF HuiSF removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@deouws
Copy link

deouws commented Feb 7, 2025

I am still working in the MVP and really wanted to keep everything within AWS. However issues with amplify would force me to may end up moving to google. I feel defeated at times.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@HuiSF
Copy link
Member

HuiSF commented Feb 7, 2025

Hi @deouws I don't have any updates yet for this. The "lot of issues" you mentioned are specifically related to React Native Web support, or is there anything else we can assist you with?

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@deouws
Copy link

deouws commented Feb 7, 2025

Yes, it's mostly the web support. I just wanted to have the project within AWS including Authentication, DynamoDB and everything else. Amplify seemed like a great choice at beginning but over time I felt I should just try going back to S3/CloudFront or may be firebase. My MVP is only for Web. Thank you.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@HuiSF HuiSF removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 7, 2025
@steinybot
Copy link
Contributor

Yes, it's mostly the web support. I just wanted to have the project within AWS including Authentication, DynamoDB and everything else. Amplify seemed like a great choice at beginning but over time I felt I should just try going back to S3/CloudFront or may be firebase. My MVP is only for Web. Thank you.

If your MVP is only for the web then why use React Native? Stick with normal React and you'll be fine.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 15, 2025
@cwomack cwomack removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 17, 2025
@rafa-ochoa
Copy link

Has anybody seen this issue?

Image

React native + Nativewind in the form of React Native Reusables.
The Sign in button is there only white and the button for Google looses styling. Does anybody know how to inject styles for this?

@github-actions github-actions bot added the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 19, 2025
@deouws
Copy link

deouws commented Feb 19, 2025

Yes, it's mostly the web support. I just wanted to have the project within AWS including Authentication, DynamoDB and everything else. Amplify seemed like a great choice at beginning but over time I felt I should just try going back to S3/CloudFront or may be firebase. My MVP is only for Web. Thank you.

If your MVP is only for the web then why use React Native? Stick with normal React and you'll be fine.

Agree, it is currently only web but I was planning to get to iOS soon.

@jjarvisp jjarvisp removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature React Native React Native related issue VP Version parity issues between v5 and v6
Projects
None yet
Development

No branches or pull requests