diff --git a/README.md b/README.md index 73de583..bcc6356 100644 --- a/README.md +++ b/README.md @@ -55,13 +55,13 @@ NPM LINK : https://www.npmjs.com/package/angular-device-information console.log(deviceInformationService.isTablet()); // returns if the device is a tablet (tablet iPad etc) console.log(deviceInformationService.isDesktop()); // returns if the app is running on a Desktop browser. console.log(deviceInformationService.getDeviceType()); // returns if the app is running on a Desktop browser. - console.log(deviceInformationService.getDeviceInfo().os); // returns os name like Windows/Andtoid/iOS/Linux/Mac OS X etc + console.log(deviceInformationService.getDeviceInfo().os); // returns os name like Windows/Android/iOS/Linux/Mac OS X etc console.log(deviceInformationService.getDeviceInfo().osVersion); // returns os version like 10/8.1/7 ...etc console.log(deviceInformationService.getDeviceInfo().browser); // returns browser name like chrome/firefox ...etc console.log(deviceInformationService.getDeviceInfo().browserVersion); // returns browser version as number console.log(deviceInformationService.getDeviceInfo().browserMajorVersion); // returns full browser version as number - console.log(deviceInformationService.getDeviceInfo().screen_resolution); // returns screnn size like 1390x860/640x800 ...etc - console.log(deviceInformationService.getDeviceInfo().cookies); // returns cookies enabled or no + console.log(deviceInformationService.getDeviceInfo().screen_resolution); // returns screen size like 1390x860/640x800 ...etc + console.log(deviceInformationService.getDeviceInfo().cookies); // returns cookies enabled or not console.log(deviceInformationService.getDeviceInfo().userAgent); // returns userAgent }