-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: is_prod is allways false #191
Comments
@Serra19 what do you mean by production build ? |
exactly, that's what I mean with production build |
can you try the latest release and tell me if that fix ? |
Of course! I will try this week and tell you how it was. With latest release, you mean npm one (4.44.0)? or Github one (4.47.0)? btw, I guess testflight app is a production app, right? Thank you! :) |
hey, ok so the issue if there: testflight is not considerer as production only published on app store is |
Ooh I see, my fault then. So I cannot differentiate a testflight from a dev build (ionic capacitor run ios)? |
in fact we can, but since in Android we cannot (or i don't know how) i have align to android behavior |
I've tested on Android, and the internal testing versions are considered as production versions. Maybe this is because it is installed from Google Play Store, but it is the testflight equivalent for Android. What I'm trying is to avoid capacitor-updater downloading new versions when I'm developing and testing in dev mode. Do you have any solution for this? I guess I'm missing something, but I don't know how to do that... 😓 Thank you for your help! |
in capgo cloud, i compare the semver version number if current version in device is bigger than version in capgo cloud i consider the phone having already the latest and send no update needed. |
i wish we have a way to detect internal testing etc, but for now i didn't found any solution |
Ok, I think I see how to manage it. Thank you very much for your help and for developing this amazing plugin! :) |
Bug Report
Capacitor Version
Plugin Version
Platform(s)
iOs and I don't know if Android, I haven't tried it
Current Behavior
I'm using this package with my own server and auto-update mode, and I'm always receiving is_prod = false with the production builds.
Expected Behavior
On the production builds, I should receive is_prod = true
Other Technical Details
npm --version
output: 8.19.1node --version
output: v18.9.1pod --version
output (iOS issues only): 1.11.3The text was updated successfully, but these errors were encountered: