Open OsamaMukhtar opened 4 years ago
This is where it crashes:
componentWillUnmount() {
UIManager.dispatchViewManagerCommand(
findNodeHandle(this.agsMapRef),
UIManager.getViewManagerConfig('RNArcGISMapView').Commands.dispose,
[args]
);
}
This is where it crashes:
componentWillUnmount() { UIManager.dispatchViewManagerCommand( findNodeHandle(this.agsMapRef), UIManager.getViewManagerConfig('RNArcGISMapView').Commands.dispose, [args] ); }
Can you solve it?
@OsamaMukhtar You can remove "args" and using patch-package for another developer.
After successfully displaying map, when I press back the app crashes in the ComponentWillUnmount function of the mapView saying 'args' is undefined. Here is my code :