Vishal Mathimaran

Results 3 issues of Vishal Mathimaran

Usage :- this.locationListener = SystemSetting.addLocationListener( async (locationEnabled) =>{ if(!locationEnabled){ console.log("Location is turned off in between"); await this.getLocationAccess(); } } ); The logs are printing multiple times...How to prevent this effect?

The code is :- this.listener = SystemSetting.addlistener( async (locationEnabled) =>{ if(!locationEnabled && !this.state.locationProcessing){ await this.setState({ locationProcessing:true }); console.log("Location is turned off in between"); await this.getLocationAccess(); this.setState({ locationProcessing:false }); } }...

This project looks cool as a whole but would love a more detailed explanation of each command's result so as to get a good overview of this