Skip to content

Test Multiple Cordova Services using the Background Service PLugin

Notifications You must be signed in to change notification settings

kmilov/multiple-services-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Multiple service with the Cordova Plugin Background Services

Install.

  1. Create a new Cordova Project for android

  2. Add the Background service plugin to the project with cordova plugin add https://github.com/Red-Folder/bgs-core.git

  3. Place the MyService Java Classes under the package name com.red_folder.phonegap.plugin.backgroundservice.services;

  4. Activate services on AndroidManifest.xml inside the tag

  5. Place the javascript logic inside the www/index.js file (This file exists for the sample HelloWorld app from Cordova)

  6. Check LogCat and search for the tag MyService, you should see the logs for the MyService1 and MyService2

About

Test Multiple Cordova Services using the Background Service PLugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published