-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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:
- Go to your code Repo
- 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"
- Go to nextpush portal
- Go to the Android app and Staging section
- Make that bundle status "Enabled" and Mendatory status to "Yes"
- 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:
- The correct Android Target Version is entered during build upload.
- Deployment target is "Staging"
- Mendatory update is turned "On"
- Application status is "Enabled"
- Rest all versions builds are in "Disabled" status and Mendatory is turned "Off"