I have recently faced this error “npm ERR cb never called” while running npm install command in my react-native project to install node modules. Here I am going to share the solution to the problem. The screenshot of the error is the following Solution: “npm ERR cb never called“ I have solved this error by […]
Kotlin Tutorial: Kotlin Architecture & Interoperability
In this tutorial, we will discuss the architecture of Kotlin programming language and its Interoperability feature. As you know we write Kotlin code in .kt file. Kotlin compiler converts that Kotlin code written in .kt file into byte code. That byte code is exactly the same as Java compiler generates for .java class file. That […]
jQuery Id/Hash (#) Selector With Examples
In this article, I am going to explain the most common jQuery Id/Hash (#) selector With examples. You may see the list of all available selectors here https://api.jquery.com/category/selectors/ Id Selector or Hash (#) Selector In HTML DOM element ID should be unique for each element. If you want to get an HTML element object you […]
Fetch Distance Between 2 Locations in React Native
In this tutorial, I will explain how you can fetch distance between 2 locations in React Native using Google Directions API. Using Google Directions API we can find the by-road distance between two latitudes & longitudes. You may find another way to find distance using some mathematical expressions without using Google API. But that gives […]
Error: Requirements check failed for JDK 8 (‘1.8.*’)! Detected version: 12.0.1
I have faced this “Requirements check failed for JDK 8” error in Ionic Studio when I tried to run my newly created Ionic App in Android Device. The exact error was the following. Requirements check failed for JDK 8 (‘1.8.*’)! Detected version: 12.0.1Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables. Reason This error happens […]
Jquery Selector: Find nested/child elements
Using jquery you get great level flexibility to search Dom elements using selectors. This article explains in Jquery to Find elements inside an element. There are many selectors but two of then are broadly used 1. Hash Selector 2. Dot selector. Hash (#) selectors search element with id. This is equivalent to a native javascript […]
jQuery Ajax Setup Methods Uses
If you are a web developer you must have used jquery. You may be familiar with ajax setup methods. https://api.jquery.com/jQuery.ajaxSetup/ Here I am going to explain some tips and tricks using these methods that can be really helpful in some scenarios. If you have integrated some third party websites inside an iframe or in a […]