Merge pull request #1733 from dpalou/MOBILE-2829

MOBILE-2829 mac: Use inappbrowser for SSO in Mac
main
Juan Leyva 2019-01-25 11:32:34 +01:00 committed by GitHub
commit cb7e12e355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -16,7 +16,5 @@
<true/> <true/>
<key>com.apple.security.device.audio-input</key> <key>com.apple.security.device.audio-input</key>
<true/> <true/>
<key>LSMultipleInstancesProhibited</key>
<true/>
</dict> </dict>
</plist> </plist>

View File

@ -561,8 +561,8 @@ export class CoreLoginHelperProvider {
* @return {boolean} True if embedded browser, false othwerise. * @return {boolean} True if embedded browser, false othwerise.
*/ */
isSSOEmbeddedBrowser(code: number): boolean { isSSOEmbeddedBrowser(code: number): boolean {
if (this.appProvider.isLinux()) { if (this.appProvider.isLinux() || this.appProvider.isMac()) {
// In Linux desktop apps, always use embedded browser. // In Linux and Mac desktop apps, always use embedded browser.
return true; return true;
} }