| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package io.flutter.plugins.shareexample; |
| |
| import android.os.Bundle; |
| import dev.flutter.plugins.e2e.E2EPlugin; |
| import io.flutter.app.FlutterActivity; |
| import io.flutter.plugins.share.SharePlugin; |
| |
| public class EmbeddingV1Activity extends FlutterActivity { |
| |
| @Override |
| protected void onCreate(Bundle savedInstanceState) { |
| super.onCreate(savedInstanceState); |
| E2EPlugin.registerWith(registrarFor("dev.flutter.plugins.e2e.E2EPlugin")); |
| SharePlugin.registerWith(registrarFor("io.flutter.plugins.share.SharePlugin")); |
| } |
| } |