Giter Club home page Giter Club logo

Comments (4)

alberttjahyono avatar alberttjahyono commented on May 31, 2024

Me too. I'm using ionic framework and this plugin, but when i build it to my device, my app is successfully running in the background. But when i tried to call .disable(), the apps still running in the background.

from cordova-plugin-background-mode.

boltex avatar boltex commented on May 31, 2024

Also, it crashes when quitting, either by pressing 'back' or by doing ionic.Platform.exitApp(); It's not very gracefull because a popup dialog appears saying that the app crashed... :(

I would like to be able to quit the application in a clean manner

Side note:
I noticed that in his plugin he tries to override the back button but it doesn't work. I do successfully override the back button in my own programs with $ionicPlatform.registerBackButtonAction(function(e){ blablabla; });

from cordova-plugin-background-mode.

r-luna avatar r-luna commented on May 31, 2024

I'm having issues too - have installed the plugin and it does work in Android - my app does run in the background, but I cannot disable or configure. Note that the plugin causes the app to run in the background without any commands issued to it.

I'd like to be able to disable/enable as needed as well as configure it.

Also, the documentation shows this:

window.plugin.backgroundMode.enable()

and

cordova.plugins.backgroundMode.enable()

.....may want to edit that for consisterncy.

HTC One M8, Android 4.4.4

from cordova-plugin-background-mode.

boltex avatar boltex commented on May 31, 2024

Everything works fine with the last version! THANK YOU MAN !

from cordova-plugin-background-mode.

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.