Steps to read Mobile Hardware and Operating system Details in React Native
To get the android and ios device information like UDID, version, build, operating system etc – We can get this information by using react-native-device-info plugin provided by react native.
npm install Read more…
Steps to access camera in Ionic app
To access camera to capture image inside ionic application you can use camera plugin.
$ ionic cordova plugin add cordova-plugin-camera
$ npm install @ionic-native/camera
Supported platforms are as follows:
4 Read more…
Steps to access Flashlight in Ionic app
Flashlight plugin allows you to turn the flashlight on/off of your mobile in Ionic application.
$ ionic cordova plugin add cordova-plugin-flashlight
$ npm install @ionic-native/flashlight
Windows Phone 8 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…
Steps to play Audio file in React Native
React-native-audio-player is a react-native link module for audio recorder and player. This library provides simple recorder and player functionalities for both android and ios platforms. This only supports default file extension for each platform Read more…
How to generate Android APK for Ionic project
Apk is android application package file format which is used by android operating system to distribute and install app. Apk file is used for publishing mobile application to google play store. Users never see the APK files because Read more…
Style your existing Visualforce page with Lightning Experience
You can view your existing Visualforce page with lightning experience by simply adding a lightningStylesheets=”True” attribute in the tag.
This tag will work with Salesforce for Android, Salesforce for iOS, or Salesforce mobile web.