You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/sign_in_with_apple/sign_in_with_apple/CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
## 4.3.0
2
+
3
+
- Android: Fixes an issue where the Chrome Custom Tab would disappear when the user "left" the app (e.g. using the app switcher) ([#162](https://github.com/aboutyou/dart_packages/issues/162))
4
+
- Beware that your app's `launchMode` affects the specific behavior of the Chrome Custom Tab. For more information see the README.
5
+
1
6
## 4.2.0
2
7
3
8
- Remove `jcenter` repository for the Android package
Copy file name to clipboardexpand all lines: packages/sign_in_with_apple/sign_in_with_apple/README.md
+7
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,13 @@ You can find out if you are already using the new embedding by looking into your
138
138
139
139
In case you are not yet using Android V2 Embedding, please first upgrade your app using the following guide: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
140
140
141
+
#### `launchMode`
142
+
143
+
To ensure that deep links from the login web page (shown in a Chrome Custom Tab) back to the app still work, your app must use `launchMode``singleTask` or `singleTop`
144
+
- When using `singleTask` the Chrome Custom Tab persists across app switches from within Android's app switcher, but will be dismissed when the app is launched anew from the home screen icon / app gallery
145
+
- With launch mode `singleTop` the Chrome Custom Tab stays present both after using the app switcher or launching the app anew via its icon
146
+
- If you change your app's `launchMode` be sure to test any other third-party integrations that might be affected by this (e.g. deep links)
147
+
141
148
### Web
142
149
143
150
For web support you need to add the follow script import to your `index.html`'s `<head>` tag:
Copy file name to clipboardexpand all lines: packages/sign_in_with_apple/sign_in_with_apple/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt
-1
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,6 @@ public class SignInWithApplePlugin: FlutterPlugin, MethodCallHandler, ActivityAw
Copy file name to clipboardexpand all lines: packages/sign_in_with_apple/sign_in_with_apple/pubspec.yaml
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
name: sign_in_with_apple
2
2
description: Flutter bridge to initiate Sign in with Apple (on iOS, macOS, and Android). Includes support for keychain entries as well as signing in with an Apple ID.
0 commit comments