These pages show Cloud's URLs. Sign in on Dedicated and they show your server's.

FEx Pub

FEx Pub is your organization's private package registry. It speaks pub.dev's protocol, so dart pub and flutter pub work with it as they are. Every read needs a token, and every package you publish gets pub points and a Security Score.

BUILDFEX ARCHITECTUREUSERStokensissuesPub tokenpushCI exchangeapps ship to users: app stores, the web, serverssymbolscrashesstack tracessourcetelemetryDeveloper Computerflutter run · dart pub getCIGitHub Actions, GitLab, …Control Roommint tokens · role-based access controlControl Planeorganizations · roles · tokensFEx Pubpackages · sourceObservatorysessions · traces · logsSymbolizercrashes → source linesFEx AIanswers from bothIssue TrackerGitHub · Jira · LinearMobile + Desktop Appsphones · tablets · desktopssends with an OTLP tokenWeb Appsin browserssends with a Browser OTLP tokenDart Serversbackends · servicessends with an OTLP token

Give dart pub your token

Mint a Pub token on the Control Room's Tokens screen (Getting Started walks through it, screen by screen), then give it to dart pub, once per computer:

shell
dart pub token add https://pub.fex.flutterrific.io

When it prompts Enter secret token:, paste the token and press Enter. The prompt shows nothing as you paste; that is expected.

dart pub keeps the token for that host and sends it only there. To see your tokens, replace one or remove one:

shell
dart pub token list                 # the hosts you have tokens for
dart pub token remove https://pub.fex.flutterrific.io

Running dart pub token add again with a new token replaces the old one.

A token reaches the packages its owner may use, and no more. Organization admins have every package. Anyone else has the packages an admin granted them on the Control Room's Pub screen.

Depend on a private package

Name your FEx Pub as the package's host:

yaml
# pubspec.yaml
dependencies:
  acme_models:
    hosted: https://pub.fex.flutterrific.io
    version: ^1.2.0

Send every package through your FEx Pub

Set PUB_HOSTED_URL and every package comes from your FEx Pub, public ones included. It fetches each public package from pub.dev, checks the archive against pub.dev's sha256, and applies your organization's security policy before it serves the package. Your pubspecs stay as they are.

shell
export PUB_HOSTED_URL=https://pub.fex.flutterrific.io
dart pub get

Set it on every computer and in CI, so everyone resolves through the same registry and the lockfile names one host. Your Pub token already covers it.

What your policy holds back, and why, is on Pub security.

Publish a package

Point publish_to at your FEx Pub, then publish as usual. Your token needs write access, and the package must be one you may publish.

yaml
# pubspec.yaml
name: acme_models
version: 1.3.0
publish_to: https://pub.fex.flutterrific.io
shell
dart pub publish

dart pub won't publish without a LICENSE file. For a private package a proprietary notice is enough, and it earns the license points that pub.dev gives only to open-source licenses. An empty file or the template's placeholder earns none.

LICENSE
Copyright (c) 2026 Acme, Inc. All rights reserved.

This software is proprietary and confidential. Unauthorized copying,
distribution or use is prohibited.

Once a version is published, FEx Pub analyzes it. The package's Scores tab shows its pub points and its Security Score when the analysis finishes; Pub security explains both.

Publish your app, with its symbols

Publish each release of a Flutter app with its symbols in the archive, and the Symbolizer turns its obfuscated crashes back into your files and lines. Publishing is the upload; there is no separate step.

shell
flutter build apk --release --obfuscate --split-debug-info=symbols/
flutter build web --release --source-maps
dart pub publish   # the .symbols and .js.map files ride in the archive

Retract a version

On your FEx Pub, open the package's Admin tab and retract the version. dart pub stops choosing it, and builds already pinned to it keep working. Unlike pub.dev, there is no seven-day limit: a package admin can retract any version at any time, and undo it.

From CI

CI reads and publishes with no stored secret: each job trades its CI provider's identity token for a Pub token that lasts 15 minutes. Pub from CI has every provider's workflow.