Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/flutter_android_lifecycle/android/settings.gradle

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group 'io.flutter.plugins.flutter_android_lifecycle'
group 'io.flutter.plugins.flutter_plugin_android_lifecycle'
version '1.0'

buildscript {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'flutter_plugin_android_lifecycle'
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.flutter_android_lifecycle">
package="io.flutter.plugins.flutter_plugin_android_lifecycle">
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -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.plugins.flutter_android_lifecycle;
package io.flutter.plugins.flutter_plugin_android_lifecycle;

import io.flutter.plugin.common.PluginRegistry.Registrar;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.plugins.flutter_android_lifecycle_example"
applicationId "io.flutter.plugins.flutter_plugin_android_lifecycle_example"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.plugins.flutter_android_lifecycle_example;
package io.flutter.plugins.flutter_plugin_android_lifecycle_example;

import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.e2e.FlutterRunner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.plugins.flutter_android_lifecycle_example;
package io.flutter.plugins.flutter_plugin_android_lifecycle_example;

import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.e2e.FlutterRunner;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.flutter_android_lifecycle_example">
package="io.flutter.plugins.flutter_plugin_android_lifecycle_example">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.flutter_android_lifecycle_example">
package="io.flutter.plugins.flutter_plugin_android_lifecycle_example">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="flutter_android_lifecycle_example"
android:label="flutter_plugin_android_lifecycle_example"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.flutter.plugins.flutter_android_lifecycle_example;
package io.flutter.plugins.flutter_plugin_android_lifecycle_example;

import android.os.Bundle;
import io.flutter.app.FlutterActivity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.plugins.flutter_android_lifecycle_example;
package io.flutter.plugins.flutter_plugin_android_lifecycle_example;

import android.util.Log;
import androidx.lifecycle.Lifecycle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.flutter.plugins.flutter_android_lifecycle_example">
package="io.flutter.plugins.flutter_plugin_android_lifecycle_example">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>flutter_android_lifecycle_example</string>
<string>flutter_plugin_android_lifecycle_example</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MyApp extends StatelessWidget {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Sample flutter_android_lifecycle usage'),
title: const Text('Sample flutter_plugin_android_lifecycle usage'),
),
),
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutter_android_lifecycle_example
description: Demonstrates how to use the flutter_android_lifecycle plugin.
name: flutter_plugin_android_lifecycle_example
description: Demonstrates how to use the flutter_plugin_android_lifecycle plugin.
publish_to: 'none'

environment:
Expand All @@ -13,7 +13,7 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_android_lifecycle:
flutter_plugin_android_lifecycle:
path: ../
e2e: "^0.2.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'package:flutter_test/flutter_test.dart';
import 'package:e2e/e2e.dart';
import 'package:flutter_android_lifecycle_example/main.dart';
import 'package:flutter_plugin_android_lifecycle_example/main.dart';

void main() {
E2EWidgetsFlutterBinding.ensureInitialized();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint flutter_android_lifecycle.podspec' to validate before publishing.
# Run `pod lib lint flutter_plugin_android_lifecycle.podspec' to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'flutter_android_lifecycle'
s.name = 'flutter_plugin_android_lifecycle'
s.version = '0.0.1'
s.summary = 'A new flutter plugin project.'
s.description = <<-DESC
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// The flutter_plugin_android_lifecycle plugin only provides a Java API
// for use by Android plugins. This plugin has no Dart code.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: flutter_android_lifecycle
name: flutter_plugin_android_lifecycle
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
version: 1.0.0
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/flutter_android_lifecycle
homepage: https://github.com/flutter/plugins/tree/master/packages/flutter_plugin_android_lifecycle

environment:
sdk: ">=2.1.0 <3.0.0"
Expand All @@ -19,5 +19,5 @@ flutter:
plugin:
platforms:
android:
package: io.flutter.plugins.flutter_android_lifecycle
package: io.flutter.plugins.flutter_plugin_android_lifecycle
pluginClass: FlutterAndroidLifecyclePlugin