dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 129 forks source link

It gets stuck when opening for the first time on iOS #234

Closed blasco closed 4 years ago

blasco commented 4 years ago

Bug report

Current behavior:

It works perfectly fine in Android, but in iOS it gets stuck the first time you try to use it. If you reload the app, then it works fine, as it can be seen in the attached video

Screenshots

copressed

Environment information

iOS build issue:

Related code:

      this.launchNavigator.navigate([this.proDetails.additionalAddresses[i].latitude, this.proDetails.additionalAddresses[i].longitude], options).catch(error => {
          this.toastController.create({
            message: `Error: ${error}`,
            position: 'bottom',
            buttons: [
              {
                text: 'Ok'
              }
            ]
          }).then(toast => { 
            toast.present();
          });
      });
dpa99c commented 4 years ago

Duplicate of #231