Coder Social home page Coder Social logo

Comments (6)

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

Can you show me how you specify those actions?

from cordova-plugin-3dtouch.

ayyfish avatar ayyfish commented on May 20, 2024
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.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

So when you set localizedSubtitle to nil the dot is gone, and the subtitle as well?

from cordova-plugin-3dtouch.

ayyfish avatar ayyfish commented on May 20, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on May 20, 2024

Almost sounds like an iOS bug. No clue without investing some time I don't have :(

from cordova-plugin-3dtouch.

ayyfish avatar ayyfish commented on May 20, 2024

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)

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.