Coder Social home page Coder Social logo

Comments (13)

abalonebao avatar abalonebao commented on May 20, 2024

I've solved this issue~
In XCode, you need to update "plugin/AppDelegate+threedeetouch.m"

Update this line:

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 25 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{

With this line:

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 450 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{

just like this
screen shot 2015-10-15 at 3 33 23 am

I slow down the dispatch delay time and it works~

lol this is my first comment in github, hope my answer can help you~

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

Hey @hannes-k thanks for sharing your observation! I will take a look and see if it can be further optimized (stretching the timeout may result in your app briefly showing a page before responding to the shortcut action).

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

I'm not sure how precise that 450ms is - could you please test v1.0.1 of this plugin and see if it's ok as well?

Btw, which device are you on? 6S or 6S Plus?

from cordova-plugin-3dtouch.

abalonebao avatar abalonebao commented on May 20, 2024

I was keep testing with different value of ms and 450 is pretty good...
me iphone is 6s plus

from cordova-plugin-3dtouch.

abalonebao avatar abalonebao commented on May 20, 2024

will test 1.0.1 later~it's 4am in hk...

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

Wahaha, go (back) to sleep 👍

from cordova-plugin-3dtouch.

abalonebao avatar abalonebao commented on May 20, 2024

sosad... not working#1.0.1

oh wait....it works (sometimes)
don't know why it won't do anything in first 2 tests

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

@abalonebao Please tty 1.1.0 that should def fix the issue.

from cordova-plugin-3dtouch.

abalonebao avatar abalonebao commented on May 20, 2024

it's weird... not working at 1.1.0

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

Can you share you project with me perhaps?

from cordova-plugin-3dtouch.

hannes-k avatar hannes-k commented on May 20, 2024

Hey @EddyVerbruggen

I updated to 1.1.0 and on my iPhone 6s the bug seems to be fixed. Now everything works as expected! Thank you very much!

from cordova-plugin-3dtouch.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

👍

from cordova-plugin-3dtouch.

hirbod avatar hirbod commented on May 20, 2024

I can confirm. Works as expected

from cordova-plugin-3dtouch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.