inspect on native app

0
Hi, I would like to design a native application. My problem is that I can't find a solution to inspect (inspect in chrome/open the console) my design, because the application is only available on Mobile. I tried Chrome.inspect but because its a native app it doesnt work... I am using the 10.6.8 version (Make It Native doesnt support this version - I cannot run it locally then)  What solution do you propose? Thank you
asked
2 answers
1

Hi Odelia,

 

You can use a few different options, like React DevTools, Android Studio or Remote JS Debugging, all options are explained in detail here:

https://docs.mendix.com/refguide/mobile/distributing-mobile-apps/native-debug/

It's a bit of work to set up, but it allows you to inspect your native app the way you would with Chrome DevTools.

 

Hope this helps!

 

answered
0

Hello Odelia,

 

For the styling of a native application you need to style with react native and not with SCSS like what is in your tag, see also:

 

https://docs.mendix.com/refguide8/native-styling-refguide/

 

Beside this Mendix does not really propose a analysing tool like inspect in a browser it does it more by iterating back and forth between the code and the app viewer:

 

https://docs.mendix.com/howto8/mobile/how-to-use-native-styling/

 

But maybe this could help:

 

https://reactnative.dev/docs/debugging 

 

Hope this helps,

 

Good luck

answered