From 01b30c68e1b3b9faa5ce67fcf79641182c27b1c1 Mon Sep 17 00:00:00 2001 From: Ramon Henrique Ornelas Date: Tue, 8 Nov 2016 20:01:38 -0200 Subject: [PATCH] fix(diagnostics): fix #776 (#777) --- src/plugins/diagnostic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/diagnostic.ts b/src/plugins/diagnostic.ts index bac1ba937..dc5c11fa2 100644 --- a/src/plugins/diagnostic.ts +++ b/src/plugins/diagnostic.ts @@ -215,7 +215,7 @@ export class Diagnostic { * mode - (iOS-only / optional) location authorization mode: "always" or "when_in_use". If not specified, defaults to "when_in_use". * @returns {Promise} */ - @Cordova({ platforms: ['Android', 'iOS'] }) + @Cordova({ platforms: ['Android', 'iOS'], callbackOrder: 'reverse' }) static requestLocationAuthorization(mode?: string): Promise { return; } /**