Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tablet and mobile devices and also fix desktop issue #84

Conversation

syedsaadqamar
Copy link
Contributor

@syedsaadqamar syedsaadqamar commented Jun 23, 2019

  • Fix tablet issue -> give false when the device is a tablet
  • Fix desktop issue -> show desktop true if device unknown and mobile/tablet
  • Fix mobile issue -> some mobile devices gives false like Blackberry Z30
  • Improve some code as well

- Fix desktop issue: show desktop true if device unknown and mobile/tablet
- Fix mobile issue: some mobile devices gives false like Blackberry Z30
@syedsaadqamar
Copy link
Contributor Author

#65 #59 #54

@@ -134,12 +144,16 @@ export class DeviceDetectorService {
* @returns whether the current device is a desktop device
*/
public isDesktop() {
return [
const destopDevices = [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const desktopDevices =

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, man!

@AhsanAyaz AhsanAyaz merged commit c9d798e into AhsanAyaz:master Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants