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

SHOREBIRD_TOKEN not working in CodeMagic #2856

Open
eseidel opened this issue Feb 6, 2025 · 4 comments
Open

SHOREBIRD_TOKEN not working in CodeMagic #2856

eseidel opened this issue Feb 6, 2025 · 4 comments

Comments

@eseidel
Copy link
Contributor

eseidel commented Feb 6, 2025

In my case i am getting
You must be logged in to run this command.
If you already have an account, run shorebird login to sign in.

Image

even after adding token

Originally posted by @Gaurav-CareMonitor in #2855

@eseidel
Copy link
Contributor Author

eseidel commented Feb 6, 2025

That would suggest that SHOREBIRD_TOKEN is not set. Can you tell us more about the setup involved? This is on codemagic, correct?

@Gaurav-CareMonitor
Copy link

Gaurav-CareMonitor commented Feb 6, 2025

Hi @eseidel ,
Thank you for creating the ticket.

Yes this is on codemagic.
I used token from shorebird login:ci.

Tried 2 times thinking that i might have copied wrong token, but had the same issue.

I pasted the token in codemagic shorebird setup.

Also tried adding --flavor prod as build param but its not getting saved in code magic. Gets removed after refresh

I'll share more details tomorrow.

@Gaurav-CareMonitor
Copy link

Gaurav-CareMonitor commented Feb 7, 2025

@eseidel
Here are the logs

Android Build Log (1).log

Moreover, i have tried adding the build args here, but it just works with initial build, when opening again it doesn't show prefilled for shorebird.

Image

@bryanoltman
Copy link
Contributor

This is the behavior I'd expect to see if SHOREBIRD_TOKEN were not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants