Skip to content

Android staging nextpush update visible to All Versions Instead of Targeted Version #2

@pravinlinge-cfs

Description

@pravinlinge-cfs

Describe the bug
While uploading an OTA build through the Next Push, we have specified a Target Version (e.g., target-binary-version to 0.3.2) under the Android configuration to restrict the update availability only to devices currently running that version.

The OTA update is being pushed to all Android devices, regardless of the version they are currently on (e.g., 0.3.2, 0.4.3, 5.4.3 etc.).

To Reproduce
Steps to reproduce the behavior:

  1. Go to your code Repo
  2. Prepare, create and push the OTA bundle using command i.e. Android: nextpush release-react -a ${companyName}/${AndroidAppName} -d Staging --target-binary-version "0.3.2"
  3. Go to nextpush portal
  4. Go to the Android app and Staging section
  5. Make that bundle status "Enabled" and Mendatory status to "Yes"
  6. Validate the OTA update on your Android application versions.

Expected behavior
The OTA update should be available to version 0.3.2 instead of all

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S22 ultra, other devices as well
  • OS: Android 10 and above

Additional context

Command used to push the OTA update:
Android: nextpush release-react -a ${companyName}/${AndroidAppName} -d Staging --target-binary-version "0.3.2"

Note: This behavior is happening only for Android Staging, for Production it is working fine!

What We Have Verified:

  1. The correct Android Target Version is entered during build upload.
  2. Deployment target is "Staging"
  3. Mendatory update is turned "On"
  4. Application status is "Enabled"
  5. Rest all versions builds are in "Disabled" status and Mendatory is turned "Off"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions