Why does SFAuthenticationSession consent alert show Xcode project name instead of App name?
Asked Answered
D

1

7

I'm using SFAuthenticationSession to authenticate via OAuth2.

The consent the user has to agree displays the following message as an alert:

"[Xcode-Project-Name]" Wants to Use "[Server-URL]" to Sign In. This allows the app and website to share information about you.

Why isn't the App Display Name being mentioned?

Will it be the App name after App Store submission?

Densimeter answered 16/4, 2018 at 14:54 Comment(1)
+1 on this. You can change the Product Name in Build Settings, but the module name it compiles to is this name too, which screws up module importsFluid
C
2

SFAuthenticationSession uses Product name for App Store apps too. It is deprecated in iOS 12 in favor of the new ASWebAuthenticationSession. Let's hope it is fixed to use app Display name instead.

Celestyn answered 1/8, 2018 at 10:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.