Hi,
I did tested the plugin by generating the apk and installing it in the phone. However, I am still getting an error where it says "App Launcher Plugin is unavailable". I did a check on the javascript that returns this error message and found out that !!window.plugins.launcher is returning false. How can I solve this issue?
!!window.plugins.launcher
Hi Jianlong,
I can reproduce this problem. I'll investigate to solve it.As soon as it is solved, I'll provide the solution or will update the plugin in the forge, and come back here to let you know.
I'll try to be as fast as I can.
Cheers.
This is temporary fix that I used.
Change the Extensibility Configuration in the plugins to :
{ "plugin": { "url": "https://github.com/EduardoJauch/cordova-plugin-app-launcher.git#0.4.2" }}
Thanks
Toto wrote:
Hello Toto,
Thanks for pointing this out, as the extensibility is, indeed, missing the plugin part.
I'll fix it and send a new version to the Forge.
A new version with the required fixes, for version 11, was uploaded to Forge.
At the moment I can't test it on version 10, but fixing the extensibility configuration manually (as provided by Toto) should work also.
If you still experience problems, please, let me know.
Eduardo Jauch wrote:
Hi Eduardo,
Thanks. It worked.
However, I noticed that the javascript of the method onSuccess(data) in the "Launch" client action has an error. It assume it should be JSON.stringify(data);. But still, even after changing this line of code, I am still unable to get the data.extras that was passed back from the 2nd application. I did capture data.isActivityDone in the extras though. Any idea on how to solve this?
onSuccess(data)
JSON.stringify(data);
data.extras
data.isActivityDone
Hello Jianlong,
Not right away.I have to investigate it more and do some tests.
In the meantime, if you find a solution, please, share it here.
It seems that I still can't find a solution. However, I realized that the client action already tried to grab the intent way before the 2nd application was called or sending the result. Is there anyway to solve this problem?
Thanks.
Unfortunately, not yet. I have this schedule to do a series of tests and some refactoring for two weeks from now.
Cheers
Hi All,
I am also facing "App launcher plugin not available". I also made required changes in extensibility configuration but it didn't worked. Can anyone please help me?
Regards,
Rashmi Hatwar
Hello Rashmi,
The plugin is available only when the application is opened directly from the device.Testing from OutSystems Now or from Browser will not work.
Thanks Eduardo. I uninstalled & reinstalled my application and now it works fine.