How to halt rollout of a version which is in staged rollout in Production Track? #21991
Replies: 1 comment
-
When you set the rollout fraction to 0, it halts the release for new users, but it doesn't stop the app update for users who have already received the update. Here are a few steps you can take to stop the rollout completely: Halt the Rollout First, you need to halt the rollout by setting the rollout fraction to 0. You can do this using the google_play_track_update_binary action in Fastlane:
Deactivate the Release To stop the update for users who have already received it, you need to deactivate the release. This can be done using the Google Play Developer API or the Google Play Console. With the Google Play Developer API, you can use the deactivate method on the edits.deactivate resource: `require "google/apis/androidpublisher_v3" service = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new package_name = "com.your.package" Deactivate the releaseservice.deactivate_edit(package_name, edit_id)` Alternatively, you can deactivate the release from the Google Play Console:
After halting the rollout and deactivating the release, you can verify the rollout status using the google_play_track_get_rollout action: `rollout = google_play_track_get_rollout( puts rollout # this should be 0` By following these steps, you should be able to completely stop the rollout of an app update, both for new users and users who have already received the update. |
Beta Was this translation helpful? Give feedback.
-
I tried to figure this out but did not found anything useful.
We currently use fastlane to update rollout of releases as well as promoting from internal testing track to production track.
I tried setting rollout to 0 to halt release but it didn't help.
Beta Was this translation helpful? Give feedback.
All reactions