MakeItNative not working after Studio Pro 9.24 update

4
Hi all, I just updated my project to Mendix 9.24.1. After the update, MakeItNative is not working any longer. This is the error log: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'. Stack: invariant@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:12840:26 ViewPropTypes@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:12717:16 node_modulesReactNativeCalendarsSrcCalendarIndexJs@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:229794:36 __webpack_require__@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199093:29 node_modulesReactNativeCalendarsSrcIndexJs@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:232369:65 __webpack_require__@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199093:29 srcComponentsCalendarInitTsx@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:243235:84 __webpack_require__@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199093:29 srcCalendarNativeWidgetTsx@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:243121:86 __webpack_require__@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199093:29 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199147:31 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:199148:4 loadModuleImplementation@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:257:14 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:190309:42 loadModuleImplementation@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:257:14 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:189359:37 loadModuleImplementation@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:257:14 guardedLoadModule@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:158:47 registerPages@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:1284:76 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:6660:68 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:6661:10 generatorResume@[native code] asyncGeneratorStep@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:7025:26 _next@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:7044:29 tryCallOne@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:33981:16 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:34062:27 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:34942:26 _callTimer@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:34861:17 _callReactNativeMicrotasksPass@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:34891:17 callReactNativeMicrotasks@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:35054:44 __callReactNativeMicrotasks@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:28540:46 @http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:28352:45 __guard@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:28524:15 flushedQueue@http://172.16.144.152:8083/index.bundle?platform=ios&dev=true&minify=false:28351:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code]  Doe anyone know how to resolve this?   UPDATE: The Mendix Native Calendar (https://marketplace.mendix.com/link/component/116200) is causing the issue. I was able to run the project again after removing this widget. I now have to figure out how to fix the widget, because I need it...
asked
2 answers
1

Hello,

 

I had the same problem in a custom component that has "react-native-camera" as a dependency: "4.2.1".


A temporary solution was to use the procedure from this link https://github.com/react-native-camera/react-native-camera/issues/3423#issuecomment-1185692205, but for that, you would have to have access to the component sources (Mendix Native Calendar).

 

Good luck!

answered
1

I'm experiencing the same error message (upgraded from 9.18.4 to 9.24.11),

but I don't use the Native Calendar Widget and don't have it installed.

Can someone help in that regard?

answered