₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,124 members, 8,510,239 topics. Date: Friday, 30 October 2026 at 06:28 AM

Toggle theme

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 (828 Views)

1 Reply

Debug React Native Android Or Ios App Using Console Log by skptricks(op): 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

Journey To Becoming A Native Android Dev (kotlin) • 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

Premium Drag & Drop Magezon Page Builder For Magento 2 • Tutorial! Tutorial!! Tutorial!!! • Mobile App And Web App Development In Fadeyi And Yaba Area