Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itaihanski committed Nov 17, 2024
1 parent 3ee2d93 commit bc30083
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ private fun String.toUri(): Uri? {
private fun shouldUseCustomSchemeUrl(context: Context): Boolean {
val browserIntent = Intent("android.intent.action.VIEW", Uri.parse("http://"))
val resolveInfo = context.packageManager.resolveActivity(browserIntent, PackageManager.MATCH_DEFAULT_ONLY)
println(resolveInfo?.loadLabel(context.packageManager).toString().lowercase())
return when(resolveInfo?.loadLabel(context.packageManager).toString().lowercase()){
"opera",
"opera mini",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ data class DescopeFlow(val uri: Uri) {
/**
* An optional deep link link URL to use when performing OAuth authentication, overriding
* whatever is configured in the flow or project.
* - **IMPORTANT NOTE**: even the Application links are the recommended way to configure
* deep links, some browsers, such as Opera, do not honor them and open the URLs inline.
* - **IMPORTANT NOTE**: even though App Links are the recommended way to configure
* deep links, some browsers, such as Opera, do not respect them and open the URLs inline.
* It is possible to circumvent this issue by providing a custom scheme based URL via [oauthRedirectCustomScheme].
*/
var oauthRedirect: String? = null
Expand All @@ -55,8 +55,8 @@ data class DescopeFlow(val uri: Uri) {
/**
* An optional deep link link URL to use performing SSO authentication, overriding
* whatever is configured in the flow or project
* - **IMPORTANT NOTE**: even the Application links are the recommended way to configure
* deep links, some browsers, such as Opera, do not honor them and open the URLs inline.
* - **IMPORTANT NOTE**: even though App Links are the recommended way to configure
* deep links, some browsers, such as Opera, do not respect them and open the URLs inline.
* It is possible to circumvent this issue by providing a custom scheme via [ssoRedirectCustomScheme]
*/
var ssoRedirect: String? = null
Expand Down

0 comments on commit bc30083

Please sign in to comment.