2

I made a template with a command in the repo: https://github.com/safe-global/safe-apps-sdk/tree/master/packages/cra-template-safe-app

After yarn start, I added localhost:3000 at 'Add custom app' in the gnosis UI, and got the error: The app doesn't support Safe App functionality

enter image description here

gbb
  • 21
  • 1

1 Answers1

0

You can see the issue by opening your browser console.

Most likely the issue is due to CORS error.

You have to make sure that the link you provide is using https and that the server's response provides the following header:

Access-Control-Allow-Origin "https://app.safe.global";

or

Access-Control-Allow-Origin "*";

as stated in this answer: https://ethereum.stackexchange.com/a/149561/76188

Personally I don't recommend using "*" as it would introduce vulnerabilities for your users.