Category: Mobile
Totara | How to enroll audience to Course or Program
Enrolling audience to Course or Program in Totara Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below
How to read Mobile Hardware and Operating system Details in React Native
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
How to get Lat, Long in React Native app
Steps to access GPS in React Native app to capture lat/long In your AndroidManifest.xml add following permissions: <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” /> it comes enabled by default on iOS but not Android. There are three methods available for geolocation: getCurrentPosition allows us
How to read Mobile Hardware and Operating system Details in Ionic
Steps to read Mobile Hardware and Operating system Details in Ionic To get the mobile hardware and operating system information you can use device plugin in ionic framework. Installation: $ ionic cordova plugin add cordova-plugin-device $ npm install @ionic-native/device Platform:
How to access camera in Ionic app
Steps to access camera in Ionic app To access camera to capture image inside ionic application you can use camera plugin. Installation: $ ionic cordova plugin add cordova-plugin-camera $ npm install @ionic-native/camera Supported platforms are as follows: 1. Android 2.
How to access Flashlight in Ionic app
Steps to access Flashlight in Ionic app Flashlight plugin allows you to turn the flashlight on/off of your mobile in Ionic application. Installation: $ ionic cordova plugin add cordova-plugin-flashlight $ npm install @ionic-native/flashlight Platform: Android iOS Windows Phone 8 Use:
How to run Background services in Ionic app
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. Installation: $ ionic cordova plugin add cordova-plugin-background-mode $ npm install @ionic-native/background-mode Platform:p AmazonFire OS
How to get scan QR Code or Barcode in React Native app
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. Installation: npm install react-native-camera-kit –save react-native link react-native-camera-kit Add the following
How to get scan QR Code or Barcode in Ionic app
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