From 386d169304431f1624828b1d7a2c9cf03f520c69 Mon Sep 17 00:00:00 2001 From: IllusionMan1212 Date: Sat, 5 Mar 2022 18:35:44 +0200 Subject: [PATCH] fix/chore: bump version to v0.1.1 and fix package name --- android/app/build.gradle | 3 +- android/app/src/debug/AndroidManifest.xml | 2 +- android/app/src/main/AndroidManifest.xml | 2 +- .../lyricsgrabbr/lyricsgrabbr/MainActivity.kt | 2 +- .../lyricsgrabbr/NotificationListener.kt | 2 +- .../lyricsgrabbr/NotificationStreamHandler.kt | 2 +- android/app/src/profile/AndroidManifest.xml | 2 +- pubspec.yaml | 2 +- test/widget_test.dart | 30 ------------------- 9 files changed, 8 insertions(+), 39 deletions(-) delete mode 100644 test/widget_test.dart diff --git a/android/app/build.gradle b/android/app/build.gradle index c27fa28..b1334e4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -42,8 +42,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.illusionware.lyricsgrabbr.lyricsgrabbr" + applicationId "com.illusionware.lyricsgrabbr" minSdkVersion 23 targetSdkVersion 31 versionCode flutterVersionCode.toInteger() diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index f0bde4f..75907a3 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.illusionware.lyricsgrabbr"> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 9e9d4e8..9f2afde 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.illusionware.lyricsgrabbr"> diff --git a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/MainActivity.kt b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/MainActivity.kt index bee87aa..e0962ae 100644 --- a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/MainActivity.kt +++ b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/MainActivity.kt @@ -1,4 +1,4 @@ -package com.illusionware.lyricsgrabbr.lyricsgrabbr +package com.illusionware.lyricsgrabbr import android.content.Intent import android.os.Bundle diff --git a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationListener.kt b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationListener.kt index cc4a181..11974ae 100644 --- a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationListener.kt +++ b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationListener.kt @@ -1,4 +1,4 @@ -package com.illusionware.lyricsgrabbr.lyricsgrabbr +package com.illusionware.lyricsgrabbr import android.app.Notification import android.app.NotificationChannel diff --git a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationStreamHandler.kt b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationStreamHandler.kt index b0627a7..b7f2d61 100644 --- a/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationStreamHandler.kt +++ b/android/app/src/main/kotlin/com/illusionware/lyricsgrabbr/lyricsgrabbr/NotificationStreamHandler.kt @@ -1,4 +1,4 @@ -package com.illusionware.lyricsgrabbr.lyricsgrabbr +package com.illusionware.lyricsgrabbr import io.flutter.plugin.common.EventChannel.StreamHandler import io.flutter.plugin.common.EventChannel.EventSink diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml index f0bde4f..75907a3 100644 --- a/android/app/src/profile/AndroidManifest.xml +++ b/android/app/src/profile/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.illusionware.lyricsgrabbr"> diff --git a/pubspec.yaml b/pubspec.yaml index 7364f1a..b5d46f9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.1.0+1 +version: 0.1.1+1 environment: sdk: ">=2.16.1 <3.0.0" diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index 3d616e5..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility that Flutter provides. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:lyricsgrabbr/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const LyricsGrabbr()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -}