How to to run a function in background even after the app is closed?

Yes, it is capable.

1 Like

Yes,you can test the push notification Extension

1 Like

I thought they didn’t understand. Excuse me :frowning:

1 Like

I’m curious how this works. Can you explain?

You guys may re-read this post to understand :sweat_smile:

This is also explained

That’s not what I’m asking. @jarlissonlira2 said:

What I want to know is how adding service tags to the activity tag works?

As the compiler writes activity directly into the manifest,Service is also given as a activity so it directly writes service into manifest

How does the compiler determines that it is a service and not an activity?

This is from a extension which contains service(from json) :
activities":["<service android:name=“abc.efg”>\n </service>\n"]
This is from a extension which contains activity(from json) :
activities":["<activity android:name=“activityname”>\n"]

1 Like

Hmm. So, it means that its more of a hack than the actual implementation of services. I’d rather wait for the nb184 release which has the MIT approved implementation of services. :slightly_smiling_face:

2 Likes

It works without any bug,you can test it.
I even checked my app manifest after compiling it and it clearly shows what i want

Me too.
After release I shall start working on the extension(my dream project) if I get time.

It will be free

4 Likes

I indeed never said it doesn’t work. :slightly_smiling_face:

1 Like

Ok, but if the new nb184 release is there, will you adapt your extension accordingly?

Yes,but still what is the problem there,that repo was also approved i think

1 Like

Am I infringing on any legality of the platform?
Can anyone misuse it?

If someone answers these questions, I can delete it and temporarily disable all of my extensions that I used for construction.

1 Like

What do you mean by “legality problem”?
(Maybe this should be asked in the AI2 forum.)

I want to know if I’m doing something wrong with the distribution of this repository.

1 Like

I don’t think you are doing anything wrong.
Since App Inventor is open source so you should refer to license to learn more.

2 Likes

I have posted the link in the PowerUser forum (AI2).
I don’t think that there is any problem, but if I got a responce from Evan Patton (MIT) I’ll post it here.

2 Likes