Comments (13)
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(), ^{
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.
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.
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.
I was keep testing with different value of ms and 450 is pretty good...
me iphone is 6s plus
from cordova-plugin-3dtouch.
will test 1.0.1 later~it's 4am in hk...
from cordova-plugin-3dtouch.
Wahaha, go (back) to sleep 👍
from cordova-plugin-3dtouch.
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.
@abalonebao Please tty 1.1.0 that should def fix the issue.
from cordova-plugin-3dtouch.
it's weird... not working at 1.1.0
from cordova-plugin-3dtouch.
Can you share you project with me perhaps?
from cordova-plugin-3dtouch.
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.
👍
from cordova-plugin-3dtouch.
I can confirm. Works as expected
from cordova-plugin-3dtouch.
Related Issues (20)
- iconTemplate HOT 27
- Custom icons HOT 2
- Use in android HOT 1
- Opening IOS native share window HOT 5
- Black dot appears when no iconType or iconTemplate is passed HOT 6
- Peek and pop functionality is not working with IONIC framework HOT 2
- Replacing static home icons by dynamic icons HOT 1
- onHomeIconPressed not working but configureQuickActions works fine HOT 19
- Need help with .disableLinkPreview() HOT 2
- Preview bug
- 2 questions HOT 1
- Whitescreen issue with lastest Ionic version 3.9.2 HOT 1
- Remove irrelevant items from the npm package
- Automating the custom iconTemplate assets for iOS
- Ionic 4 compatibility
- isAvailable always return false (new iphones) HOT 5
- Action not triggered on cold start HOT 2
- isAvailable is false for iPhone 11 Pro HOT 1
- onHomeIconPressed not working (even after reading all issues about it) HOT 8
- BSF Cordova Ecosystem Crowdfunding Plan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-3dtouch.