so i have a game where you have shop and i can change shop from a different app with clouddb. I want to do when clouddb data changed then send notification but in background. I downloaded itoo but i dont know how to check if the data changed
can anyone provide me with an apk file with a working notification for a test? the extension does not work on both my phones (samsung a10 and redmi 7a phones)
my blocks
it helps to read the thread carefully...
also as already mentioned
Btw. in the background there is no user interface, do not use textboxes or labelsβ¦
Taifun
Please consider posting the Blocks for your solution @Hareesh_Sarma. It will help others that are attempting to use this extension. Every example helps others.
As I said, it only works when the application is open. But if you close the application, then there is no notification. exactly the same with your extension TaifunAlarmManager if the application is closed does not work (checked with your apk file)
You are using an old version from December 2021, The extension was updated several times meanwhile, see also here. You should use the latest version as of November 2022, which is SDK31 compatible. You can find it in the download folder.
Taifun
Concerning your screenshot of your tests with the itoo extension: make sure to use tke latest version of the Notification Style extension... that extension also needed a SDK31 Update...
Taifun
You have to add a little 'x' as an argument to the procedure 'doBackgroundWork'.
Also since you use redmi device, make sure to turn on autostart permission in the settings app.
And also to remember a point is, as Taifun said, do not use any user-interfaces components with the extension, when the app is active, it may work normally, but when it is in background, it will fail to re-create components thus resulting in the service crashing.
As a start:
In your case the CheckShopNotif method
Taifun
still not working
Have you made sure that the NotificationStyle extension is working properly? Also, you are not using the current version of the extension. Now there is no "when" block.
I tied the new version but it hasn't got blocks like initialize or initialize periodic and I don't know how to do with these
Thank you so much
Have you also tried CreateProcess? Or "restart" set on False. If these things don't work, then you have to wait for the @Kumaraswamy response.
MajkerDaskSklep
component is not used before registering the event thus the extension does not recognize it, you can use eval result block with the just MajkerDaskSklep
block.