From 608d00fc55d67e495c4c5a1da5a4ad4294d2fe23 Mon Sep 17 00:00:00 2001 From: ramonornela Date: Tue, 8 Nov 2016 06:42:08 -0200 Subject: [PATCH] fix(diagnostics): fix #776 --- 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 bac1ba937b..dc5c11fa28 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; } /**