mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
7 lines
306 B
Dart
7 lines
306 B
Dart
import 'package:shorebird_code_push/shorebird_code_push.dart';
|
|
|
|
/// Maps the beta-tester flag (the `beta_access` entitlement) to the Shorebird
|
|
/// update track the app checks for patches.
|
|
UpdateTrack updateTrackFor({required bool isBetaTester}) =>
|
|
isBetaTester ? UpdateTrack.beta : UpdateTrack.stable;
|