dpa99c / phonegap-launch-navigator

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

launchNavigator ios 14.4 Error. UIAlertController can only have one action with a style of UIAlertActionStyleCancel' #263

Closed khaledpro2012 closed 3 years ago

khaledpro2012 commented 3 years ago

error on ios terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIAlertController can only have one action with a style of UIAlertActionStyleCancel' terminating with uncaught exception of type NSException (lldb)

code let options: LaunchNavigatorOptions = { start: currentlocation , appSelection: { rememberChoice: { enabled: false } } }; this.launchNavigator.navigate(this.destination , options) .then( success => console.log('Launched navigator' ,success), error => console.log('Error launching navigator', error) );

dpa99c commented 3 years ago

This is insufficient information. Please fill out the bug issue template completely and ensure you have regression tested using the example project to rule out issues in your project. If the example project works, please list all other plugins in your own project as this may be caused by a plugin conflict.