Android touch event problem

This was originally posted as a box collider issue at link below but have started this new thread as the problem is not to do with the box collider after all.

This code allows me to rotate an object and also accept taps and for the most part it recognises both correctly. But on different Android devices I get weird results and not sure how to address it?

Motorola G and Acer tablets drag and tap work fine
Nexus 4 tap works but only after tapping a number of times
Samsung Galaxy S6 very very intermittent maybe 1 out of 20 taps will work

As it works perfect on IOS and on two of the tested Androids I can only presume the code and logic are sound so do not have a scooby doo how to address the other devices.

Would really appreciate any help…

Thanks

if (Physics.Raycast (ray, outhit) && (hit.collider.gameObject.name == “MContainer”)) {

touchDuration += Time.deltaTime;

if (touch.phase == TouchPhase.Began) {

isMoving = false;
}
else if (touch.phase == TouchPhase.Moved) {

transform.Rotate (0.0f, -touch.deltaPosition.x * rotationSpeed * Time.deltaTime, 0, Space.Self);

isMoving = true;
}
else if (touch.phase == TouchPhase.Ended && touchDuration < 0.2f && !isMoving) {

StartCoroutine (“singleOrDouble”);
}
else {
touchDuration = 0.0f;
}
}

This is the solution…!

if (Physics.Raycast (ray, outhit) && (hit.collider.gameObject.name == "MContainer")) {

     touchDuration += Time.deltaTime;

     if (touch.phase == TouchPhase.Moved) {

          transform.Rotate (0.0f, -touch.deltaPosition.x * rotationSpeed * Time.deltaTime, 0, Space.Self);
     }

     if (touch.phase == TouchPhase.Ended) {

          if (touchDuration < 0.3f) {

               StartCoroutine ("singleOrDouble");
          }
         else {

              touchDuration = 0.0f;
         }
     }
}