generic-oauth2 icon indicating copy to clipboard operation
generic-oauth2 copied to clipboard

Hide navigation bar and footer on iOS

Open cordeveloper opened this issue 1 year ago • 5 comments

I am using the plugin to log in against azure b2c, I need that in IOS, in the window that opens from the internal browser, neither the upper nor the lower navigation bar is shown. This is the condition that Apple asks me to publish. Is there an option in the plugin that allows me to do this?

Description Capacitor version: Installed Dependencies:

@capacitor/cli: 4.8.0 @capacitor/android: 4.6.3 @capacitor/ios: 4.8.0 @capacitor/core: 4.7.0

Library version: -4.02

OAuth Provider: Azure AD (B2C) Your Plugin Configuration { appId: "", authorizationBaseUrl: , scope: "", accessTokenEndpoint: , responseType: "code", pkceEnabled: true, logsEnabled: true, web: { redirectUrl: ${REDIRECT_BASE}, windowOptions: "height=600,left=0,top=0", windowTarget: "_self", }, android: { redirectUrl: "", /* accessTokenEndpoint: '', handleResultOnNewIntent: true, handleResultOnActivityResult: true, responseType: 'code' */ handleResultOnNewIntent: true, handleResultOnActivityResult: true, }, ios: { redirectUrl: "", }, }

Affected Platform(s): *IOS

cordeveloper avatar Dec 04 '23 10:12 cordeveloper

Is this issue the same as #243 or does Apple require you to change sth else for #243?

moberwasserlechner avatar Dec 04 '23 10:12 moberwasserlechner

It is what would resolve both incidents, in fact I am going to close #243

On 4 Dec 2023, at 11:03, Michael Oberwasserlechner @.***> wrote:

Is this issue the same as #243 or does Apple require you to change sth else for #243? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cordeveloper avatar Dec 04 '23 10:12 cordeveloper

@cordeveloper I guess you wanted to release the first version of the app because I updated mine a week ago and had no issues getting it approved to the app store.

moberwasserlechner avatar Dec 17 '23 12:12 moberwasserlechner

@moberwasserlechner I have been denied three times, for different reasons, from a bad user experience to saying that the SafariViewController api is not used... I login against Azure B2C and I think that if I manage to launch a browser without a user interface, surely They will validate me...

cordeveloper avatar Dec 17 '23 17:12 cordeveloper

@moberwasserlechner and this PR couldn't be the solution?: https://github.com/moberwasserlechner/capacitor-oauth2/pull/226/files/425ebe4e550c4be65a4f76af0acbeffe64c6a858#diff-8c1c5b6ec7c66a10ecf45d6e8cd2e4b86a59ae96d1b274f7aef2249b7a7738d6

cordeveloper avatar Dec 18 '23 12:12 cordeveloper