chart screen changes
This commit is contained in:
parent
f78d2f2df3
commit
b5d0b38ac7
@ -20,12 +20,12 @@ if (project.hasProperty('google-services.json')) {
|
|||||||
|
|
||||||
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
|
def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
|
||||||
if (flutterVersionCode == null) {
|
if (flutterVersionCode == null) {
|
||||||
flutterVersionCode = "31"
|
flutterVersionCode = "32"
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterVersionName = localProperties.getProperty("flutter.versionName")
|
def flutterVersionName = localProperties.getProperty("flutter.versionName")
|
||||||
if (flutterVersionName == null) {
|
if (flutterVersionName == null) {
|
||||||
flutterVersionName = "1.0.30"
|
flutterVersionName = "1.0.31"
|
||||||
}
|
}
|
||||||
|
|
||||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import 'dart:developer';
|
import 'dart:developer';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:app_links/app_links.dart';
|
// import 'package:app_links/app_links.dart';
|
||||||
import 'package:uae_stat/presentation/Screens/Bottom%20Navigation%20Pages/UAE_Numbers/Social/marriages.dart';
|
import 'package:uae_stat/presentation/Screens/Bottom%20Navigation%20Pages/UAE_Numbers/Social/marriages.dart';
|
||||||
import 'package:uae_stat/presentation/routes/auth_routes/login_route.dart';
|
import 'package:uae_stat/presentation/routes/auth_routes/login_route.dart';
|
||||||
import 'package:uae_stat/presentation/routes/bottom_bar_routes/tab_routes/home_route.dart';
|
import 'package:uae_stat/presentation/routes/bottom_bar_routes/tab_routes/home_route.dart';
|
||||||
@ -30,12 +30,12 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Also listen for app links (Firebase Hosting links)
|
// Also listen for app links (Firebase Hosting links)
|
||||||
final appLinks = AppLinks();
|
// final appLinks = AppLinks();
|
||||||
appLinks.uriLinkStream.listen((Uri? uri) {
|
// appLinks.uriLinkStream.listen((Uri? uri) {
|
||||||
if (uri != null) {
|
// if (uri != null) {
|
||||||
handleDeepLink(uri);
|
// handleDeepLink(uri);
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
void handleDeepLink(Uri uri) {
|
void handleDeepLink(Uri uri) {
|
||||||
@ -45,11 +45,14 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
|||||||
final String firstSegment = uri.pathSegments.first;
|
final String firstSegment = uri.pathSegments.first;
|
||||||
|
|
||||||
if (firstSegment == 'marriages') {
|
if (firstSegment == 'marriages') {
|
||||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => Marriages()));
|
Navigator.of(context)
|
||||||
|
.push(MaterialPageRoute(builder: (context) => Marriages()));
|
||||||
} else if (firstSegment == 'login') {
|
} else if (firstSegment == 'login') {
|
||||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => LoginRoute()));
|
Navigator.of(context)
|
||||||
|
.push(MaterialPageRoute(builder: (context) => LoginRoute()));
|
||||||
} else if (firstSegment == 'home') {
|
} else if (firstSegment == 'home') {
|
||||||
Navigator.of(context).push(MaterialPageRoute(builder: (context) => MyHomePage()));
|
Navigator.of(context)
|
||||||
|
.push(MaterialPageRoute(builder: (context) => MyHomePage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -58,4 +61,4 @@ class _DeepLinkListenerState extends State<DeepLinkListener> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return widget.child;
|
return widget.child;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
name: uae_stat
|
name: uae_stat
|
||||||
description: "View statistics about the UAE from the Federal Center for Statistics and Competitiveness."
|
description: "View statistics about the UAE from the Federal Center for Statistics and Competitiveness."
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
version: 1.0.30+31
|
version: 1.0.31+32
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.2.3 <4.0.0"
|
sdk: ">=3.2.3 <4.0.0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user