Stop using a prebuilt APK

Instead, require an AndroidManifest.xml and always build an APK.

Fixes #2517
This commit is contained in:
Adam Barth
2016-03-11 12:48:12 -08:00
parent cb62071882
commit e2744e9a30
8 changed files with 94 additions and 45 deletions

View File

@@ -16,7 +16,11 @@ import 'package:mockito/mockito.dart';
class MockApplicationPackageStore extends ApplicationPackageStore {
MockApplicationPackageStore() : super(
android: new AndroidApk(localPath: '/mock/path/to/android/SkyShell.apk'),
android: new AndroidApk(
localPath: '/mock/path/to/android/SkyShell.apk',
id: 'io.flutter.android.mock',
launchActivity: 'io.flutter.android.mock.MockActivity'
),
iOS: new IOSApp(
iosProjectDir: '/mock/path/to/iOS/SkyShell.app',
iosProjectBundleId: 'io.flutter.ios.mock'