🔔 MelonNotification • Various styled notifications + Itoo

I tried to check data with the cloud but nothing happend (I copied the example)

Could you please show us your blocks?

Yes here is my code
proba.aia (2,7 MB)

Well, I do not understand what you are trying to do. Why are you using Fetch Property? Do you want to send a notification when a value on cloud db changes?

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

2 Likes

Yes I want to send the notification when the two data is the same

Well the 3rd parameter for ExecuteInternalScript should be a redis port number which you have not included. See how to configure Cloud DB here:

Hi I added that now and now it is working. (There was another issue because I didnt ask for permission but now it is working right. I hav another question: Can I use variable in the code somehow?

What kind of variables? Global? Not recommended. Local variables? Sure. You may also use Itoo's Store/Fetch property blocks.

Thank you I will try it out

1 Like

I came to an issue. I copyed the code to my app where I want to use it and it doesn't want to work, and the app is just crashing.

Have you enabled the notifications permissions in your settings app? Because he may crash in background, for lack of it.

Drop me your .aia so that I can test it out later when I have time.

yes I enabled it but manually, that coud be the problem that the code isnt at the home page?

Does it still crash if you have enabled the notifications permission?
Also please post your .aia so that I can try it out quickly.

From your screenshot it looks like currently you are not using CloudDB in the background... so what happens if you remove that block as test?

Also you could try to rename your clock component to Clock1

Let us know if this makes a difference

Tai

Here is the apk file sorry for the wait. I also tried Taifun version but didn't work aswell. (I removed my token from the project)
<mod remove, contains API key>

I checked your .aia.

  1. Why is your Screen1 blocks empty? Your background processing blocks lies in the other screen.
  2. After I add a block to auto navigate to the other screen, I compiled, and checked on my phone. It does not crash for me. After I enable the notifications permission, I notifications appear as they should.

Maybe you are facing an application crash on Screen1, perhaps due to something else?

It is strange I dont know why it is working now. I think another extension crashed it. Thank you

1 Like

So I have two questions:
When I create a notification i need an intel for that, and there is something called startValue. I can do that the person just click the notification and I deteck that thing in the app?
My second question is: it is possible to not have that notification popup what itoo is creating

Thank you in advance

Yes, just use the get plain start text block from the Control drawer

http://ai2.appinventor.mit.edu/reference/blocks/control.html#getplainstarttext

A foreground service running in the background must display a persistent notification
The user can dismiss that notification

Taifun

1 Like