File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
main/java/com/google/firebase/auth
test/java/com/google/firebase/auth Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ public static final class Builder {
8686
8787 private String url ;
8888 private boolean handleCodeInApp ;
89- // Deprecated, use linkDomain instead.
9089 private String dynamicLinkDomain ;
9190 private String linkDomain ;
9291 private String iosBundleId ;
@@ -142,6 +141,7 @@ public Builder setHandleCodeInApp(boolean handleCodeInApp) {
142141 * @return This builder.
143142 * @deprecated Use {@link #setLinkDomain(String)} instead.
144143 */
144+ @ Deprecated
145145 public Builder setDynamicLinkDomain (String dynamicLinkDomain ) {
146146 this .dynamicLinkDomain = dynamicLinkDomain ;
147147 return this ;
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ public void testAllSettings() {
6767 ActionCodeSettings settings = ActionCodeSettings .builder ()
6868 .setUrl ("https://example.com" )
6969 .setHandleCodeInApp (true )
70+ .setDynamicLinkDomain ("myapp.page.link" )
7071 .setLinkDomain ("myapp.custom.link" )
7172 .setIosBundleId ("com.example.ios" )
7273 .setAndroidPackageName ("com.example.android" )
@@ -76,6 +77,7 @@ public void testAllSettings() {
7677 Map <String , Object > expected = ImmutableMap .<String , Object >builder ()
7778 .put ("continueUrl" , "https://example.com" )
7879 .put ("canHandleCodeInApp" , true )
80+ .put ("dynamicLinkDomain" , "myapp.page.link" )
7981 .put ("linkDomain" , "myapp.custom.link" )
8082 .put ("iOSBundleId" , "com.example.ios" )
8183 .put ("androidPackageName" , "com.example.android" )
You can’t perform that action at this time.
0 commit comments