Change api key
This commit is contained in:
parent
fc5f25b210
commit
3f989ac7b6
|
@ -47,7 +47,7 @@ android {
|
||||||
applicationId "com.stonegate.tsacdop"
|
applicationId "com.stonegate.tsacdop"
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 2
|
versionCode 3
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,7 +173,7 @@ class AudioPlayerNotifier extends ChangeNotifier {
|
||||||
super.addListener(listener);
|
super.addListener(listener);
|
||||||
_queueUpdate = false;
|
_queueUpdate = false;
|
||||||
await AudioService.connect();
|
await AudioService.connect();
|
||||||
bool running = await AudioService.running;
|
bool running = AudioService.running;
|
||||||
if (running) {}
|
if (running) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,13 +91,11 @@ class _DownloadButtonState extends State<DownloadButton> {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> _checkPermmison() async {
|
Future<bool> _checkPermmison() async {
|
||||||
PermissionStatus permission = await PermissionHandler()
|
PermissionStatus permission = await Permission.storage.status;
|
||||||
.checkPermissionStatus(PermissionGroup.storage);
|
|
||||||
if (permission != PermissionStatus.granted) {
|
if (permission != PermissionStatus.granted) {
|
||||||
Map<PermissionGroup, PermissionStatus> permissions =
|
Map<Permission, PermissionStatus> permissions =
|
||||||
await PermissionHandler()
|
await [Permission.storage].request();
|
||||||
.requestPermissions([PermissionGroup.storage]);
|
if (permissions[Permission.storage] == PermissionStatus.granted) {
|
||||||
if (permissions[PermissionGroup.storage] == PermissionStatus.granted) {
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -72,7 +72,7 @@ class AboutApp extends StatelessWidget {
|
||||||
image: AssetImage('assets/logo.png'),
|
image: AssetImage('assets/logo.png'),
|
||||||
height: 80,
|
height: 80,
|
||||||
),
|
),
|
||||||
Text('Version: 0.1.7'),
|
Text('Version: 0.1.8'),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -17,7 +17,6 @@ import 'package:tsacdop/home/audiopanel.dart';
|
||||||
import 'package:tsacdop/util/pageroute.dart';
|
import 'package:tsacdop/util/pageroute.dart';
|
||||||
import 'package:tsacdop/util/colorize.dart';
|
import 'package:tsacdop/util/colorize.dart';
|
||||||
import 'package:tsacdop/util/context_extension.dart';
|
import 'package:tsacdop/util/context_extension.dart';
|
||||||
import 'package:tsacdop/util/day_night_switch.dart';
|
|
||||||
import 'package:tsacdop/util/custompaint.dart';
|
import 'package:tsacdop/util/custompaint.dart';
|
||||||
|
|
||||||
class MyRectangularTrackShape extends RectangularSliderTrackShape {
|
class MyRectangularTrackShape extends RectangularSliderTrackShape {
|
||||||
|
|
|
@ -421,7 +421,7 @@ class HistoryChart extends StatelessWidget {
|
||||||
dotData: FlDotData(
|
dotData: FlDotData(
|
||||||
show: true,
|
show: true,
|
||||||
dotSize: 5,
|
dotSize: 5,
|
||||||
dotColor: Theme.of(context).accentColor,
|
// getDotColor: Theme.of(context).accentColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
20
pubspec.yaml
20
pubspec.yaml
|
@ -11,7 +11,7 @@ description: An easy-use podacasts player.
|
||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 0.1.7
|
version: 0.1.8
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.6.0 <3.0.0"
|
sdk: ">=2.6.0 <3.0.0"
|
||||||
|
@ -32,18 +32,18 @@ dev_dependencies:
|
||||||
flutter_html: ^0.11.1
|
flutter_html: ^0.11.1
|
||||||
path_provider: ^1.6.1
|
path_provider: ^1.6.1
|
||||||
color_thief_flutter: ^1.0.2
|
color_thief_flutter: ^1.0.2
|
||||||
provider: ^4.0.4
|
provider: ^4.0.5
|
||||||
google_fonts: ^0.3.10
|
google_fonts: ^0.4.0
|
||||||
dio: ^3.0.9
|
dio: ^3.0.9
|
||||||
file_picker: ^1.5.0+2
|
file_picker: ^1.6.2
|
||||||
xml: ^3.5.0
|
xml: ^3.5.0
|
||||||
marquee: ^1.3.1
|
marquee: ^1.3.1
|
||||||
flutter_downloader: ^1.4.1
|
flutter_downloader: ^1.4.3
|
||||||
permission_handler: ^4.4.0+hotfix.2
|
permission_handler: ^5.0.0+hotfix.3
|
||||||
fluttertoast: ^4.0.0
|
fluttertoast: ^4.0.1
|
||||||
intl: ^0.16.1
|
intl: ^0.16.1
|
||||||
url_launcher: ^5.4.2
|
url_launcher: ^5.4.2
|
||||||
image: ^2.1.4
|
image: ^2.1.12
|
||||||
shared_preferences: ^0.5.6+1
|
shared_preferences: ^0.5.6+1
|
||||||
uuid: ^2.0.4
|
uuid: ^2.0.4
|
||||||
tuple: ^1.0.3
|
tuple: ^1.0.3
|
||||||
|
@ -51,8 +51,8 @@ dev_dependencies:
|
||||||
workmanager: ^0.2.2
|
workmanager: ^0.2.2
|
||||||
flutter_colorpicker: ^0.3.2
|
flutter_colorpicker: ^0.3.2
|
||||||
app_settings: ^3.0.1
|
app_settings: ^3.0.1
|
||||||
fl_chart: ^0.8.7
|
fl_chart: ^0.9.0
|
||||||
audio_service: ^0.6.2
|
audio_service: ^0.7.1
|
||||||
just_audio:
|
just_audio:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/stonega/just_audio.git
|
url: https://github.com/stonega/just_audio.git
|
||||||
|
|
Loading…
Reference in New Issue