Create pluggable widget for native app

0
This how-to tutorial describes procedure to Create a Pluggable Widget for web and hybrid apps. While generating widget it asks for “Widget type: For web and hybrid mobile apps or Native app” In above tutorial they choose web apps. I set it to native app but still widget does not appear in native pages. It is available for responsive or hybrid pages only. How can I create a custom widget for native apps?
asked
4 answers
3

Good news, we've just released the oficial how-to for Native Pluggable Widgets.

 

https://docs.mendix.com/howto/extensibility/build-native-widget

answered
2

It should work in a similar manner. Is it copied to your projects widget folder?

btw – Internally we also use the generator for native mobile widgets.

Next week we will release a how-to for building native widgets.

answered
1

Hm, good chance that this is not implemented in the generator-mx-widget.

answered
1

Firstly I’ve use the widget builder for native widgets and always have had it work just fine. Not sure what happened in your case. Here’s how to edit an existing widget:

Inside the file <widgetName>.xml, look inside the widget tag. You should see a property that says: 

supportedPlatform="Native"

If that’s set correctly and you build the widget, it should be recognized as a native widget.

answered