Rename the test app android_views
to platform_views
(#36384)
This commit is contained in:
parent
42a9c031e5
commit
7a4665f13f
@ -33,7 +33,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "io.flutter.integration.androidviews"
|
||||
applicationId "io.flutter.integration.platformviews"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
@ -1,12 +1,12 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="io.flutter.integration.androidviews">
|
||||
package="io.flutter.integration.platformviews">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<application
|
||||
android:name="io.flutter.app.FlutterApplication"
|
||||
android:label="android_views">
|
||||
android:label="platform_views">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTop"
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.Manifest;
|
||||
import android.content.pm.PackageManager;
|
||||
@ -32,7 +32,7 @@ public class MainActivity extends FlutterActivity implements MethodChannel.Metho
|
||||
super.onCreate(savedInstanceState);
|
||||
GeneratedPluginRegistrant.registerWith(this);
|
||||
getFlutterView().getPluginRegistry()
|
||||
.registrarFor("io.flutter.integration.android_views").platformViewRegistry()
|
||||
.registrarFor("io.flutter.integration.platform_views").platformViewRegistry()
|
||||
.registerViewFactory("simple_view", new SimpleViewFactory(getFlutterView()));
|
||||
mMethodChannel = new MethodChannel(this.getFlutterView(), "android_views_integration");
|
||||
mMethodChannel.setMethodCallHandler(this);
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.os.Build;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.MotionEvent;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
package io.flutter.integration.androidviews;
|
||||
package io.flutter.integration.platformviews;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.os.Build;
|
||||
|
@ -393,7 +393,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformViews;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformviews;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
};
|
||||
@ -522,7 +522,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformViews;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformviews;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
};
|
||||
@ -545,7 +545,7 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformViews;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.integration.platformviews;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
};
|
||||
|
@ -11,7 +11,7 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>android_views</string>
|
||||
<string>platform_views</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: android_views
|
||||
description: An integration test for embedded Android views
|
||||
name: platform_views
|
||||
description: An integration test for embedded platform views
|
||||
version: 1.0.0+1
|
||||
|
||||
dependencies:
|
||||
|
Loading…
x
Reference in New Issue
Block a user