Comments (6)
Can you show me how you specify those actions?
from cordova-plugin-3dtouch.
configureQuickActions()
{
let quickActions: ThreeDeeTouchQuickAction[] = [];
for (let i = 0; i < this.settings.quickActions.length; i++)
quickActions.push(
{
type: JSON.stringify(this.settings.quickActions[i]),
title: this.settings.quickActions[i].game.display,
subtitle: `${this.settings.quickActions[i].sort.display} ${this.settings.quickActions[i].time.display}`
}
);
ThreeDeeTouch.configureQuickActions(quickActions);
}
It is in typescript and using the Ionic 2 native wrapper, but I don't think that is the issue. I have gone directly into ThreeDeeTouch.m and set icon to nil like below
[items addObject:[[UIApplicationShortcutItem alloc]initWithType: type localizedTitle: title localizedSubtitle: subtitle icon: nil userInfo: nil]];
and the issue still occurs. When I set localizedSubtitle to nil though, it works as expected and the subtitle goes away. Thanks for your help :)
from cordova-plugin-3dtouch.
So when you set localizedSubtitle
to nil the dot is gone, and the subtitle as well?
from cordova-plugin-3dtouch.
No, just the subtitle. The dot still appears. I also tried
initWithType:localizedTitle:
instead of
initWithType:localizedTitle:localizedSubtitle:icon:userInfo:
and the dot still appeared.
from cordova-plugin-3dtouch.
Almost sounds like an iOS bug. No clue without investing some time I don't have :(
from cordova-plugin-3dtouch.
Thats what I think as well. I've tried looking up the issue online and I can't find anyone else having the issue unfortunately :/ Thanks for the help though
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
- 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.