Hello, I need to integrate an iOS/Android native SDK to an Outsystems App. The way to do this is apparently to create a cordova pluging, that encapsulates the SDK and provides an JavaScript interface that can be uses in Outsystems afterwards.
To do so, I've found a very useful article in the Outsystems documentation: How to Create a Cordova Plugin from Scratch and Add to Your Low-Code Mobile App Unfortunately, in this article the code snippets, that are necessary to understand the article, are missing.
Is there anybody how can provide this code snippets.
Or is there an other way to integrate an native SDK to an Outsystem App?
Thanks and kind regards.
Daniel
Hi Daniel, doe you mean that the code snippets are missing if you go to the provided website? I could see them en saved the html page for you (see zip). Does that help?
Hi Erwin, thank you for your help. Unfortunately I can not see them in the save either.I've marked the position of the fist missed snipped in the screenshot below.
Is it possible, that you screenshot the website or to print it to an pdf an post it here? I think that would work best.
Thanks in advance Daniel
Daniel I investigated the page source and found some git repository links in there. Looks like the git repository isn't there any more, which is the reason the code snippet isn't shown.Best to contact the author of the page for this. It's nothing we can repair ourselves.The author: https://www.outsystems.com/blog/author/stanley/
Hi Erwin,
thanks for investigating this issue. Hence the linked contact page doesn't also exist any more, I see no way to contact the author.
So I guess, I need to find another way to understand, how i can implement a Cordova plugin.
It's a bit pitty that there is no detailed description of this in the Outsystems documentation, especially since it's the only way to use native SDK's in Outsystems. So it's an unnecessarily rocky road that discourages developers from using Outsystem.
Anyway thank you again!!!
Kind regards Daniel
Hi,
For the cordova part, you can try this (https://www.npmjs.com/package/cordova-plugin-x-toast)
I think it'll show the same thing (but a lot more than Stanley example)
Thanks