Closed Studiotekst closed 7 years ago
I have also tried the examplecode but this is unfortunately not working to..
Did you try building and running one of the projects from the example repo?
The plugin has been tested using these and verified as working on iOS 10.3.2
Thank you for you're response. Yes i tried the simpleExample a couple of times but every time when i click on 'Navigate' button, nothing happens. The same problem when i click on 'Navigate' in my own project..:(
This is how i call the function in my own project. May it be a setting in my iphone maybe?
$scope.startNav = function(){ launchnavigator.navigate("London, UK", { start: "Manchester, UK" }); }
Here is a screencast of the SimpleExample running on my iPad with iOS 10.3.2.
You'll need to debug it within your build/run environments to find why it's not working for you. I suggest connecting Safari Web Inspector to the Webview to check for JS errors. If that doesn't help, run the app from XCode and check the native console output for errors.
Thanks for your commit again. When i click the button (in the example project) i get this error (see image):
Although the launchnavigator is highlighted
It looks like you are running your app inside of the Phonegap Developer App instead of building and running a native iOS app via XCode or the Cordova CLI.
This will not work with this plugin because it contains native code which must be baked into the native app at build time.
i am also facing the same issue. is there any update on it? its perfectly working on android but gives same error for IOS. i have also tried https://github.com/dpa99c/phonegap-launch-navigator-example its also giving same error.
Hello people,
I have a question. I installed this plugin with the following line: cordova plugin add uk.co.workingedge.phonegap.plugin.launchnavigator
In my config.xml file this line is visible:
Plugin is also visible in plugins folder and node_modules folder. And also in browser.json this line is visible: "uk.co.workingedge.phonegap.plugin.launchnavigator": { "PACKAGE_NAME": "com.phonegap.helloworld" } In my application i call the function this way:
And this is the function it calls: $scope.startNav = function(){ launchnavigator.navigate("London, UK", { start: "Manchester, UK" }); }
Despite the part "launchnavigator" is highlighted the app is not working. Nothing happens when clicking the button. When i put an alert() inside the function, the alert is visible. Currently i'm running on IOS 10.3.2
I have also tried the examplecode but this is unfortunately not working to..
Can you please help me?