CONFIGURATION GUIDE
Enabling Live Updates with Shorebird
We've reached our final configuration - setting up Shorebird to enable over-the-air updates for your Flutter apps. This powerful feature lets you update your apps without going through the app stores.
New to Shorebird?
Creating a Shorebird Account
- Head to shorebird.dev
- Click "Sign Up"
- Choose your authentication method:
- GitHub
- Select your plan:
- Free tier (Perfect for starting out)
- Pro tier (For advanced features)
- Complete your profile setup
Setting Up the Shorebird CLI
Codika interacts with Shorebird through the CLI. Let's get it installed and connected to your account.
- Follow the installation steps on the Shorebird CLI installation page
- Once installed, connect it to your account using the
shorebird login
command. This will open your browser for authentication.
Adding Shorebird Credentials to Codemagic
Full Video
To give access to the Shorebird CLI, we need to add the Shorebird token to Codemagic.
This is done by using the shorebird login:ci
command.
Run this command and copy the token.
Now we need to add it to Codemagic as a global variable.
- Open your Codemagic Team settings
- Navigate to
Global Variables and secrets
- Add a new variable with the name
SHOREBIRD_TOKEN
. - Paste the token into the value field.
- For the group write
shorebird
and click on Create "shorebird" group. - Make sure the
Secure
option is checked. - Click
Add
to save.
What's Next?
You've completed all the one-time configurations needed to deploy your Flutter apps! Your development environment is now equipped with:
- Automated deployment pipeline (Codemagic)
- iOS distribution credentials
- Android signing setup
- Live update capabilities (Shorebird)
These configurations unlock the full potential of the Codika Framework, enabling you to focus on building great apps while we handle the infrastructure.