Background Geolocation plugin closes the app

Hello, I added Background Geolocation in my app recently… Everythng worked fine before adding it… But after adding it, plugins like camera for photo clicking, social sharing are closing the application. They work, but after using them, when I return to the app, the app starts from the splash again. Maybe android garbage collector kills the app… What can I do to prevent this?