Gear S3 Web Applicaiton – on re-launch first screen touch ignored

Gear S3 Web Applicaiton – on re-launch first screen touch ignored

BY 11 Oct 2017 Web Application Development

Hi There,

I’m writting a web application  for the Gear S3. On wrist up i am relaunching my application so it displays in the foreground. I noticed after the relaunch that the first touch on the screen is ignored so my applicaiton seems non responsive. Has anyone else had this issue or am i doing something wrong? I’ve noticed this happens on some other web apps that i’ve downloaded also. Any Ideas?

Launch code below…

  tizen.power.setScreenStateChangeListener((prevState: string, currState: string) => {
        if (currState === ‘SCREEN_NORMAL’ && prevState === ‘SCREEN_OFF’) {
          //when screen woke up
          let app = tizen.application.getCurrentApplication();
          tizen.application.launch(app.appInfo.id, () => {
   

 

Written by