Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Mode Configuration #1277

Closed
GavinHellyer opened this issue Mar 28, 2017 · 0 comments
Closed

Background Mode Configuration #1277

GavinHellyer opened this issue Mar 28, 2017 · 0 comments

Comments

@GavinHellyer
Copy link

The Background Mode plugin is missing a few options on the BackgroundModeConfiguration interface, most importantly the icon option. Please refer to the Cordova Plugin for more information.

I have attached a snip from their documentation. If the rest of the options could be added that would be great.

    cordova.plugins.backgroundMode.setDefaults({
        title: String,
        text: String,
        icon: 'icon' // this will look for icon.png in platforms/android/res/drawable|mipmap
        color: String // hex format like 'F14F4D'
        resume: Boolean,
        hidden: Boolean,
        bigText: Boolean
    })

I have tested manually updating the BackgroudModeConfiguration interface with the above options and it works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant