GoogleMapsRoutePlanner is for web and still using dojo based.
You need to build a widget in react native based on the guide line below
https://docs.mendix.com/howto/extensibility/pluggable-widgets
Then you need to combine it with the lib below for your widget
https://github.com/react-native-community/react-native-maps
hope this help,