dappros / ethora

A 'super app' engine for your project. React Native (iOS, Android) and React.js (Web, desktop). Social Sign In 🄵, Messaging 💬 (chat, voice, push notifications), Web3 Wallet 🪪 (profile QR, documents, coins, NFT), DLT 🔐 (provenance, crypto signing), Gamification 🤩, Social Commerce and more.
https://ethora.com/
GNU Affero General Public License v3.0
400 stars 74 forks source link

In web builder: CORS error after preparing react native build #452

Closed tab00 closed 1 year ago

tab00 commented 1 year ago

Describe the bug When editing an App in the web builder and pressing "PREPARE REACT NATIVE BUILD", "Something went wrong" popup notification appears.

In the browser console the following appear:

XHR POST https://api.ethoradev.com/v1/mobile/src-builder/... CORS Missing Allow Origin

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.ethoradev.com/v1/mobile/src-builder/.... (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 504.

To Reproduce Sign into ethora.ethoradev.com View list of Apps Edit App Press "PREPARE REACT NATIVE BUILD" View browser console Wait for build to finish See "Something went wrong" popup appear on the UI See CORS error messages appear in the console

Expected behavior No errors, and react native build available to download.

Desktop (please complete the following information):

dzinzyura commented 1 year ago

Hi, @tab00!

Thank you for taking the time to report the bug you encountered. Your contribution is invaluable to us, and we greatly appreciate your effort in helping us improve our product!

The development team has already begun investigating the bug based on the information you provided. Rest assured that we are actively working on finding a solution and implementing the necessary fixes.

phwizard commented 1 year ago

@tab00 thank you for reporting this issue

we were able to reproduce this and will fix this bug

our lead server developer is on vacation this week so it could be until the next week when it's fixed

if you need it earlier than that we can arrange a session with our React Native developer to help you prepare a customized build manually, please let me know if you'd like that

phwizard commented 1 year ago

@tab00 this has been fixed - please try again, I have tested and it works for me now:

Screenshot 2023-07-06 at 14 40 17
tab00 commented 1 year ago

It works now. Thank you @phwizard.

phwizard commented 12 months ago

great, let us know if you experience any other issues