Skip to content

Commit

Permalink
fix(launch-navigator): fix navigate method (#1940)
Browse files Browse the repository at this point in the history
  • Loading branch information
mflynnKVD authored and ihadeed committed Sep 27, 2017
1 parent 4246d47 commit a150d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@ionic-native/plugins/launch-navigator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ export class LaunchNavigator extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
successIndex: 2,
errorIndex: 3
})
navigate(destination: string | number[], options?: LaunchNavigatorOptions): Promise<any> { return; }

Expand Down

1 comment on commit a150d4d

@rcrodrigues
Copy link

@rcrodrigues rcrodrigues commented on a150d4d Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange. Apparently this broke my code.
I had to reset successIndex and errorIndex to older values to get it working again.

Using:

Please sign in to comment.