Error with a pluggable widget using Mendix Studio Pro 9.10

0
Hi All! I’m trying to create a new pluggable widget using the latest version of mendix studio pro. Everything works as expected until I try to see my custom widget in a simulator (bluestacks). When I open my app there, an error is raised and the following message appears in the console: NativeFileSystem.fileExists is not a function. (In 'NativeFileSystem.fileExists(relativeToDocumentsAbsolutePath(legacyRelativeFilesDirectory))', 'NativeFileSystem.fileExists' is undefined) _callee26$@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:9147:84 tryCatch@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:11618:23 invoke@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:11788:32 tryCatch@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:11618:23 invoke@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:11690:30 http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:11700:21 tryCallOne@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:45037:16 http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:45138:27 _callTimer@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:45466:17 _callImmediatesPass@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:45505:17 callImmediates@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:45722:33 __callImmediates@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:20067:35 http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:19846:34 __guard@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:20050:15 flushedQueue@http://192.168.1.159:8083/index.bundle?platform=android&dev=true&minify=false:19845:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code] I have tried other versions of studio pro and the widget doesn’t cause any issue. If someone could help me with this problem I would really appreciate it. Thanks in advance, Emilio
asked
1 answers
0

Hi,

 

Does this also happen on an actual device? If you use an older version of the widget tools, does it work then? 

If your widget does not have native dependencies of its own, can you test it using the Make It Native app on a device?

If you can make it work using a previous version of the widget tools and it breaks after upgrading to the latest tools, this could be an issue with the widget tools. Submit a ticket to Mendix support in that case.

Be sure to eliminate any other issues as Mendix support does not debug your widget!

answered