Skip to content
Discussion options

You must be logged in to vote

Hello @marcelo-novapaytech the error you're encountering is expected behavior. The built .apk links provided by Codemagic are restricted to team members and require authentication. This has always been the case to ensure the security of your build artifacts.

To share the builds outside your team, you need to convert the link to a public download URL. Here's a basic outline of how you can achieve that

  publishing:
    scripts:
      - name: Publish to Slack
        script: |
          # Fetch the artifact URL for the .apk file
          ARTIFACT_URL=$(echo $CM_ARTIFACT_LINKS | jq -r '.[] | select(.name | endswith(".apk")) | .url')

          # Set the expiration timestamp for the public U…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dtrdic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants