Skip to content

Commit 3bc8794

Browse files
prasadsunny1LinusU
andauthored
🐛 Remove NoHistory flag (#33)
Co-authored-by: Linus Unnebäck <[email protected]>
1 parent a68466c commit 3bc8794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/com/linusu/flutter_web_auth/FlutterWebAuthPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FlutterWebAuthPlugin(private val context: Context): MethodCallHandler {
3434
val intent = CustomTabsIntent.Builder().build()
3535
val keepAliveIntent = Intent(context, KeepAliveService::class.java)
3636

37-
intent.intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_NO_HISTORY or Intent.FLAG_ACTIVITY_NEW_TASK)
37+
intent.intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_NEW_TASK)
3838
intent.intent.putExtra("android.support.customtabs.extra.KEEP_ALIVE", keepAliveIntent)
3939

4040
intent.launchUrl(context, url)

0 commit comments

Comments
 (0)