Uniko Sistemi srl Active Member Licensed User Feb 14, 2023 #1 Hi everyone. I would like to clarify because I don't understand. I have an app that has a versioncode 9 that checks if there are updates available on the store, when it finds an update it goes to the store tab where the update button is present and so far everything is ok. if I click on update, it is downloaded, but at 99% it says "cannot install", what am I doing wrong? the app I uploaded updated on the store has versioncode 10 . I would like to avoid uninstalling and installing each time because the user would lose the data....is there something I'm missing? if anyone can give me some ideas Thank you
Hi everyone. I would like to clarify because I don't understand. I have an app that has a versioncode 9 that checks if there are updates available on the store, when it finds an update it goes to the store tab where the update button is present and so far everything is ok. if I click on update, it is downloaded, but at 99% it says "cannot install", what am I doing wrong? the app I uploaded updated on the store has versioncode 10 . I would like to avoid uninstalling and installing each time because the user would lose the data....is there something I'm missing? if anyone can give me some ideas Thank you
Solution Sandman Feb 14, 2023 As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins.
As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins.
Uniko Sistemi srl Active Member Licensed User Feb 14, 2023 #2 I add an info, the key used is the same Upvote 0
Sandman Expert Licensed User Longtime User Feb 14, 2023 #3 The app already installed, is it installed from the store also, or is it installed via the B4A IDE? Upvote 0
Uniko Sistemi srl Active Member Licensed User Feb 14, 2023 #4 Sandman said: The app already installed, is it installed from the store also, or is it installed via the B4A IDE? Click to expand... could there be a difference if I boot from b4x and then check the update ? the test i did is: build release via b4x - look for update on store tab - download, but doesn't install Upvote 0
Sandman said: The app already installed, is it installed from the store also, or is it installed via the B4A IDE? Click to expand... could there be a difference if I boot from b4x and then check the update ? the test i did is: build release via b4x - look for update on store tab - download, but doesn't install
Sandman Expert Licensed User Longtime User Feb 14, 2023 #5 Yeah, that's most likely why it doesn't work for you. I had this exact situation on iPhone once, and the update in the store failed because the version installed was from B4i. I'd bet it's the same for you here, with B4A. Upvote 0
Yeah, that's most likely why it doesn't work for you. I had this exact situation on iPhone once, and the update in the store failed because the version installed was from B4i. I'd bet it's the same for you here, with B4A.
Uniko Sistemi srl Active Member Licensed User Feb 14, 2023 #6 Sandman said: Yeah, that's most likely why it doesn't work for you. I had this exact situation on iPhone once, and the update in the store failed because the version installed was from B4i. I'd bet it's the same for you here, with B4A. Click to expand... tell me if I understood correctly, so the app must have been downloaded the first time from the store to ensure that it is then updated with a new version on the store? A thousand thanks Upvote 0
Sandman said: Yeah, that's most likely why it doesn't work for you. I had this exact situation on iPhone once, and the update in the store failed because the version installed was from B4i. I'd bet it's the same for you here, with B4A. Click to expand... tell me if I understood correctly, so the app must have been downloaded the first time from the store to ensure that it is then updated with a new version on the store? A thousand thanks
Sandman Expert Licensed User Longtime User Feb 14, 2023 #7 As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins. Upvote 0 Solution
As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins.
Uniko Sistemi srl Active Member Licensed User Feb 14, 2023 #8 Sandman said: As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins. Click to expand... I tested what you said and it is exactly as you say! thank you very much! Good day! Upvote 0
Sandman said: As far as I can tell, the app needs the same origin to be able to update. If you install an old version of your app using the IDE, you can't update to a later version from the store. Because they have different origins. Click to expand... I tested what you said and it is exactly as you say! thank you very much! Good day!