-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Is there any callback to check update available programmatically ? #388
Comments
@rajrajputgs Look at the code for UpgradeAlert and copy the relevant parts that you need. |
Hello Larryaasen/Upgrader
We have already copied the code and it's working fine but the problem is we
need a callback on the programming side. Currently, the upgrader is working
on the widget so we need to know if there is anything from
the programming side that we get any callback.
Thanks,
Raj Rajput
Sr. Mobile App Developer
…On Sat, 2 Mar 2024 at 23:08, Larry Aasen ***@***.***> wrote:
@rajrajputgs <https://github.com/rajrajputgs> Look at the code for
UpgradeAlert and copy the relevant parts that you need.
—
Reply to this email directly, view it on GitHub
<#388 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6MUOPFTO2EFIGWA7AA6VKDYWIFBJAVCNFSM6AAAAABEBLXMOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHA3DCMBYGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
IMPORTANT: The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only. If you have received
this email by mistake, please notify the sender immediately and do not
disclose the contents to anyone or make copies thereof.
Although taking
reasonable precautions to ensure no viruses or malicious software are
present in this email, the sender cannot accept responsibility for any loss
or damage arising from the use of this email or attachments.
No employee
or agent is authorised to conclude any binding agreement on behalf of the
company with another party by email without specific confirmation.
All
views and opinions expressed in this email message are the personal
opinions of the author and do not represent those of the company. No
liability can be held for any damages, however, caused, to any recipients
of this message.
|
@rajrajputgs
|
This doesn't work though |
@GokulP48 What part doesn't work? Do you have any logs you can share? |
class MyApp extends ConsumerStatefulWidget { @OverRide class _MyAppState extends ConsumerState { @OverRide
} this is my code , I hope you understand what i trying to do. |
UpgradeAlert(
showIgnore: false,
upgrader: Upgrader(
durationUntilAlertAgain: const Duration(milliseconds: 500),
),
shouldPopScope: () => false,
child:Text('Test Data'),
)
Currently, we are using this code to check force update from play store but this code only work on ui side not for programming side, so is there any way to check app update or any callback available ?
The text was updated successfully, but these errors were encountered: