Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,743,511 members, 6,508,388 topics. Date: Sunday, 26 September 2021 at 04:07 PM

Debug React Native Android Or Ios App Using Console Log - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Debug React Native Android Or Ios App Using Console Log (649 Views)

Debug This Code At Your Spare Time. / Let's Build Android Or Ios App For Your Business / IF You Can And Have Developed Android Or Ios App We Have A Job For You (2) (3) (4)

(1) (Reply)

Debug React Native Android Or Ios App Using Console Log by skptricks: 5:33am On Mar 21, 2019
Debug React Native Android or iOS App Using Console log

This tutorial explains how to perform debugging using console.log() in react native application. Console.log() is a inbuilt and predefined function present in javascript. This function is created for both Android and iOS applications and used to maintain and debug errors in apps on run time. Console.log() helps us to detect errors in our code.


[img]https://4.bp..com/-GdZ7YwQPL_o/XJMRaqHkdfI/AAAAAAAACik/yi8NdDJL97MHLh_DfnNLRyZFoBCq76b8QCLcBGAs/s400/debug.png[/img]

In this example we are using console.log statement inside the function and that function mapped to the button as a click listener. When user perform click event on the button, then it will print console.log statement message in the console. Lets use the below complete source code for logging a message in console, that ultimately help you to debug the code.

(1) (Reply)

Apply For Software Academy Training At Xplug Initiatives / Get Connected To Companies Looking For Developers In Nigeria And Abroad / Can Ai Spot Fake News?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 27
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.