Hooks are the new feature of the react. They let you use the state and other features of React without creating a class. They are mainly used to handle state and other side effects in react functional components. Side effects are essentially anything that affects something outside of the scope Read more…
Detect mobile device php code
We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…
Steps to run Background Services in Ionic app
To keep your app running some functionality in the background you can use background mode plugin in ionic.
$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/background-mode
Platform:p Read more…
Steps to scan QR Code or Barcode in React Native app
There are different libraries to scan barcode in react native. One of them is react native camera kit.
npm install react-native-camera-kit –save react-native link react-native-camera-kit
Add the Read more…
Steps to scan QR Code or Barcode in Ionic app
For Scanning barcode Ionic provides a barcode scanner plugin which opens camera view, which can be used to scans a barcode or QR Code and return the scanned code back to you.
$ ionic Read more…