Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70916

Breaking bugs with @ionic-native/background-geolocation

$
0
0

@ndmcreative wrote:

Hi, Im just posting this to try and get a senior member to pick up this up.

With the npm module @ionic-native/background-geolocation there has been a bug with this app for a few months now that breaks the the entire plugin, however there is a fix as @ionic-native/background-geolocation@5.0.0-beta.21 , this works however the release versions including the latest @ionic-native/background-geolocation@5.2.0 breaks the plugin, how someone can release a new version of plugin with out running a basic test on a release is beyond me.

The error is

"ERROR in src/app/xxx.ts: error TS2339: Property 'subscribe' does not exist on type 'Promise<any>'."

from .subscribe in the code

this.backgroundGeolocation.configure(config).subscribe((location: BackgroundGeolocationResponse) => {

There are many posts about this issue on github and stackover flow, why this breaking bug has not been sorted out I dont know, it may be that the individual working on this plugin needs a good kick up their arse as anyone new to ionic would be completely confused.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>