Skip to content

Get null on all? #126

Description

@xorgxx

Hi i try to get :

    use SunCat\MobileDetectBundle\DeviceDetector\MobileDetector;
....
        /**
         * TerminalProcessor constructor.
         *
         * @param SessionInterface $session
         * @param MobileDetector   $detector
         */
        public function __construct(SessionInterface $session, MobileDetector $detector)
        {
            $this->session = $session;
            $this->detector = $detector;
        }
....

            $terminal = $this->detector->isMobile();    <---- i have in any cas [true] plus it's not possible to get isAndroid() or isIOS() 

i use SF 3.3.16, "suncat/mobile-detect-bundle": "^1.0", php 5.6

Thank for help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions