uploadBundle method
Uploads an AAB to an edit.
Implementation
@override
Future<GooglePlayBundle> uploadBundle({
required String packageName,
required String editId,
required String aabPath,
}) => _guard(
'upload the Android App Bundle',
() async {
final file = File(aabPath);
final bundle = await _api.edits.bundles.upload(
packageName,
editId,
uploadMedia: play.Media(
file.openRead(),
await file.length(),
),
uploadOptions: play.UploadOptions.resumable,
);
return _bundle(bundle);
},
);