USE_AS_ORIGIN property

CustomTabsRelationType USE_AS_ORIGIN
final

For App -> Web transitions, requests the app to use the declared origin to be used as origin for the client app in the web APIs context.

Officially Supported Platforms/Implementations:

  • Android native WebView

Implementation

static final USE_AS_ORIGIN =
    CustomTabsRelationType._internalMultiPlatform(1, () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.android:
      return 1;
    default:
      break;
  }
  return null;
});