Closed sean-hill closed 7 years ago
UIAlertController can only have one action with a style of UIAlertActionStyleCancel
That error is occurring due to cordova-plugin-actionsheet, on which this plugin has a dependency in order to display the list of apps to the user.
A possible cause is a conflict with another plugin in your project which also defines an action with the UIAlertActionStyleCancel
style.
A possible solution is to uninstall/re-install this plugin - see #139.
Or you could implement a custom UI to choose the navigator app (as demonstrated in the Advanced Example), therefore eliminating the need to invoke cordova-plugin-actionsheet
.
You can confirm this plugin works OK in isolation by building+running the example projects.
Closed due to no response from OP
Hey there,
In my emulator this plugin works like a boss, however on my device it crashes with this error:
Any ideas?