Skip to content

Commit

Permalink
Release1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
curonny committed Sep 19, 2022
1 parent 8fed622 commit 0206b28
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 14 deletions.
4 changes: 4 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<action android:name="android.intent.action.VIEW" />
<data android:scheme="tel" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>
<application
android:label="DWallet"
Expand Down
31 changes: 30 additions & 1 deletion lib/screens/buyAppScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,36 @@ class _BuyAppScreenState extends State<BuyAppScreen> {
style: TextStyle(fontWeight: FontWeight.w600),
),
),
const Padding(
padding: EdgeInsets.all(15.0),
child: Text(
"Ya compró DWallet y no puede usarla?",
textAlign: TextAlign.center,
style: TextStyle(fontWeight: FontWeight.w600),
),
),
const Padding(
padding: EdgeInsets.all(20.0),
child: Text(
"1- Verifique tener instalada la aplicación Apklis \n 2- Introduzca el usuario y contraseña con que fue comprada al aplicación \n 3- Cierre DWallet e intente abrila nuevamente",
textAlign: TextAlign.justify,
),
),
Padding(
padding: const EdgeInsets.all(5.0),
child: InkWell(
child: const Text(
"Descargue aquí Apklis",
textAlign: TextAlign.justify,
style: TextStyle(
fontWeight: FontWeight.bold, color: Colors.blue),
),
onTap: () async {
await launchUrl(Uri.parse(
"https://www.apklis.cu/application/cu.uci.android.apklis"));
},
),
),
const Padding(
padding: EdgeInsets.all(15.0),
child: Text(
Expand All @@ -44,7 +74,6 @@ class _BuyAppScreenState extends State<BuyAppScreen> {
child: Text(
"Es una aplicación que emula una billetera física, que permite llevar siempre los documentos en forma digital",
textAlign: TextAlign.justify,
style: TextStyle(fontWeight: FontWeight.w600),
),
),
Padding(
Expand Down
3 changes: 2 additions & 1 deletion lib/screens/homeScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _HomeScreenState extends State<HomeScreen> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("Wallet"),
title: const Text("DWallet"),
actions: [
IconButton(
onPressed: () {
Expand All @@ -60,6 +60,7 @@ class _HomeScreenState extends State<HomeScreen> {
child: Text(
"La billetera electrónica para tus documentos",
maxLines: 2,
style: TextStyle(fontSize: 10),
),
),
currentAccountPicture: CircleAvatar(
Expand Down
21 changes: 10 additions & 11 deletions lib/screens/splashScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@ class _SplashScreenState extends State<SplashScreen> {

void donLogin() {
Future.delayed(const Duration(seconds: 3), () async {
Get.offAll(HomeScreen());
// if (GetPlatform.isAndroid) {
// if (paymentController.dwalletPurchased.value) {
// Get.offAll(HomeScreen());
// } else {
// Get.offAll(BuyAppScreen());
// }
// } else {
// Get.offAll(HomeScreen());
// }
if (GetPlatform.isAndroid) {
if (paymentController.dwalletPurchased.value) {
Get.offAll(HomeScreen());
} else {
Get.offAll(BuyAppScreen());
}
} else {
Get.offAll(HomeScreen());
}
});
}

Expand All @@ -55,7 +54,7 @@ class _SplashScreenState extends State<SplashScreen> {
const Padding(
padding: EdgeInsets.all(15.0),
child: Text(
"Su billetera electrónica para documentos y papeles importantes",
"Su billetera electrónica para documentos importantes",
textAlign: TextAlign.center,
style: TextStyle(fontWeight: FontWeight.w600),
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.0.0+1
version: 1.0.0+2

environment:
sdk: ">=2.17.5 <3.0.0"
Expand Down

0 comments on commit 0206b28

Please sign in to comment.