Red-Folder / bgs-core

Core code for the Cordova Background Service
Other
236 stars 105 forks source link

Application run but factory is empty #97

Closed Vallhay closed 6 years ago

Vallhay commented 6 years ago

Hello there Im trying to test the plugin, it compiles without error but I cant get the service to start, after some test I realized the factory reference was getting an empty object as response

var factory = cordova.require('com.red_folder.phonegap.plugin.backgroundservice.BackgroundService'); this code return factory = {}

I installed the plugin via cordova CLI, everything is write according to the "Build your own background service" guide