-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
App is refreshing again once i downloaded the app from Test Flight #155
Comments
This looks similar. Please take a look at the response. However, The good news is that we are planning to release a feature for environment separation soon, and it might make this possible. |
@gronxb so you are saying it will happen on the test flight only? But maybe it can be happen on the app store as well. When the user downloads and installs the app from app store so app will refresh again on first time. Give me a better solution to fix this because I am displaying the custom screen to the user for downloading the updates. and it will be display to user when user download and install the app and open the app on first time. |
sorry update example😅 |
@gronxb First, thank you for your passionate development. I don't know if it's the same issue, but I think what @danberdevteam describing is a case where the testflight deployment happened later than the forced deploy. For reference, in the case of microsoft-code-push, the timestamp is recorded with the initial package, so even if the version code are the same, if the timestamp of the package is newer, the bundle is not updated. |
@gronxb In our application, we display a message screen prompting the user to download updates if any are available. It works fine when the user has already installed the app from TestFlight, opens the app, and new updates are available—the user sees the screen to download the updates. However, this screen also appears when the user installs the app from TestFlight or the App Store for the first time because HotUpdater.checkForUpdate does not return the UP_TO_DATE status initially. Below is my component, which is rendered at the root level of the application.
|
Yes, I have confirmed the issue you mentioned. Currently, when running the hot-updater/packages/hot-updater/src/plugins/babel.ts Lines 11 to 29 in c36f017
However, the issue is that Babel does not run during the initial installation, causing the bundle ID to default to To resolve this, ensuring that Babel runs even during the initial build should fix the issue. Now that we have identified the solution, please wait a moment while I implement it. |
@gronxb Thanks for the quick response. I am waiting for the fixes once you implement it then must inform me. |
I have added the hot-updater using the supabase provider and it's working fine. but there was only one issue when I installed the app from the Test Flight every time the app refreshed after installing the app from test flight because in the last bundle update, I deployed the bundle with the option.
yarn hot-updater deploy -i -f
Expected Result: The app should download the updates while installing the app from TF. Don't need to download the updates after installing the app. Updates should be downloaded only when the new updates are available and the user has already installed the app on his phone.
Here is my code
ScreenRecording_02-27-2025.14-31-17_1.MP4
The text was updated successfully, but these errors were encountered: