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

If so, then his extension should not work because those changes are missing in App Inventor’s compiler till now.

:confused:
But someone has tested his extension and it worked.
Am I missing something?

1 Like

Okay, so to test this out, I created an app containing a service extension in AI2. It got compiled but crashed when I opened it. The same happened with Kodular Creator.

Perhaps, @Atom_Developer might want to answer this.

2 Likes

Yes background extention is working verry gud atom developer done great job

Yes, confirmed.
More precise: I tested his test APK.

2 Likes

Yes, the APK works, apparently because he decompiled it and manually adjusted the Manifest.

I got this last sentence in a post via PM from @Shreyash:
PS: Anyways, after the nb184 release there won’t be any need to decompile the app and you’ll directly be able to use that extension.

1 Like

And this means I was correct. You cannot add Services to your app using an extension unless the nb184 release is out.

2 Likes

I think we already know the answer now.

2 Likes

Ok, but why is it working for others without modifying manifest?
Or has no one bought his extension yet?

btw, I was also correct.

Because he used the latest AppInventor repo (nb184, ai2-test).

See this post from Evan Patton (MIT team) in the PowerUser forum (AI2):

1 Like

I understand that @Atom_Developer has used that repo to generate extension but what about Compiler as mentioned by @Shreyash because it has not been updated yet.

Sorry if I am asking too many questions. :slightly_smiling_face:

Check this:

https://ai2-test.appinventor.mit.edu/

grafik

From the information I got from @bodymindpower, they are asking the users of their extension to modify the manifest for the extension to work.

2 Likes

Thank you for clarifying my doubts :hugs:
This is what I was looking for. :innocent:
Thanks to you @bodymindpower too :slightly_smiling_face:

2 Likes

No

No

No(I asked it earlier)

My extension works in kodular without editing the manifest

The answer you got was wrong :roll_eyes:

He is using my repository to create the extension. This is possible at the moment, because the services are added in the same tag as the activities.

Check this extension, which was created using it.

5 Likes

I said the same thing inside my post :slightly_frowning_face:

2 Likes

Is compiler able to add that element to manifest without update?

1 Like