Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
v1.0.0+1-release
Browse files Browse the repository at this point in the history
  • Loading branch information
subrotokumar committed Feb 18, 2023
1 parent f5f07cf commit 6d3c3a4
Show file tree
Hide file tree
Showing 44 changed files with 440 additions and 154 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
<p align="center">
Not just a crypto wallet
<br />
<a href="https://comet-zeta.vercel.app/"><strong>Open <strong>Application</strong> »</strong></a>
<br>
<a href='https://play.google.com/store/apps/details?id=com.subrotokumar.comet'><img src='assets/meta/download-googleplay.png' width="150"></a>
<br>
<a href="https://play.google.com/store/apps/details?id=com.subrotokumar.comet"><strong>Open <strong>Application</strong> »</strong></a>
<br />
<br />
<a href="https://github.com/subrotokumar/nyx">View Demo</a>
Expand Down Expand Up @@ -64,14 +67,16 @@
<br>
<p align='center'>
<a href='https://comet-zeta.vercel.app/'>
<center>
<pre>
<img src='./assets/meta/ss1.png' width="100"> <img src='./assets/meta/ss2.png' width="100"> <img src='./assets/meta/ss3.png' width="100"> <img src='./assets/meta/ss4.png' width="100"> <img src='./assets/meta/ss5.png' width="100">
<img src='./assets/meta/ss1.png' width="150"> <img src='./assets/meta/ss2.png' width="150"> <img src='./assets/meta/ss3.png' width="150"> <img src='./assets/meta/ss4.png' width="150"> <img src='./assets/meta/ss5.png' width="150">
</center>
</pre>
</a>
</p>
<br>


Comet is the cross-platform cryptocurrency wallet built with Flutter.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Expand Down
21 changes: 15 additions & 6 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 33
ndkVersion flutter.ndkVersion
Expand Down Expand Up @@ -53,14 +59,17 @@ android {
versionName flutterVersionName
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
// shrinkResources false
// minifyEnabled false
// useProguard false
signingConfig signingConfigs.release
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.subrotokumar.comet">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission." />
<application
android:label="Comet"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/newlauncher">
<activity
android:name=".MainActivity"
android:exported="true"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/ic_github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/ic_twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/dragon.png
Binary file not shown.
Binary file removed assets/images/logo_old.png
Binary file not shown.
Binary file removed assets/images/logo_round.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
144 changes: 141 additions & 3 deletions lib/pages/Settings/setting_screen.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import 'dart:io';

import 'package:comet/pages/Settings/show_privatekey_screen.dart';
import 'package:comet/pages/auth/set_passcode_screen.dart';
import 'package:comet/pages/Settings/show_recovery_phase_screen.dart';
import 'package:comet/pages/home.dart';
import 'package:comet/pages/splash/splash_screen.dart';
import 'package:comet/services/functions/social_link.dart';
import 'package:comet/utils/constants.dart';
import 'package:comet/services/functions/functions.dart';
import 'package:comet/utils/theme.dart';
Expand All @@ -12,6 +15,7 @@ import 'package:google_fonts/google_fonts.dart';
import 'package:hive/hive.dart';
import 'package:page_transition/page_transition.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher_string.dart';

class SettingsScreen extends StatelessWidget {
const SettingsScreen({super.key});
Expand Down Expand Up @@ -223,6 +227,99 @@ class SettingsScreen extends StatelessWidget {
},
value: 'USD'),
),
CustomButton(
title: 'Legal',
onTap: () {
// ----
showModalBottomSheet(
context: context,
backgroundColor: Colors.grey.shade900,
builder: (context) {
return StatefulBuilder(
builder: (context, setState) {
return Container(
// padding: EdgeInsets.all(20),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(height: 30),
ListTile(
leading: Text(
'Privacy Policy',
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w400,
),
),
trailing: Icon(Icons.link_rounded),
onTap: () async {
await launchUrlString(
'https://subrotokumar.github.io/privacy-policy/comet.html');
},
),
CustomButton(
title: 'Terms and Condition',
onTap: () {
showDialog(
context: context,
builder: (context) {
return AlertDialog(
backgroundColor:
Colors.white.withOpacity(0.95),
content: Container(
height: 400,
padding: EdgeInsets.all(10),
child: SingleChildScrollView(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment:
CrossAxisAlignment.start,
children: [
Text(
'\nTerms & Conditions\n',
style: TextStyle(
fontSize: 18,
fontWeight:
FontWeight.w500,
color: Colors.black),
),
Text(
'By downloading or using the app, these terms will automatically apply to you \– you should make sure therefore that you read them carefully before using the app. You\’re not allowed to copy or modify the app, any part of the app, or our trademarks in any way. You\’re not allowed to attempt to extract the source code of the app, and you also shouldn’t try to translate the app into other languages or make derivative versions. The app itself, and all the trademarks, copyright, database rights, and other intellectual property rights related to it, still belong to Subroto Kumar.\n\nSubroto Kumar is committed to ensuring that the app is as useful and efficient as possible. For that reason, we reserve the right to make changes to the app or to charge for its services, at any time and for any reason. We will never charge you for the app or its services without making it very clear to you exactly what you’re paying for.\n\nThe Comet app stores and processes personal data that you have provided to us, to provide my Service. It’s your responsibility to keep your phone and access to the app secure. We therefore recommend that you do not jailbreak or root your phone, which is the process of removing software restrictions and limitations imposed by the official operating system of your device. It could make your phone vulnerable to malware/viruses/malicious programs, compromise your phone’s security features and it could mean that the Comet app won’t work properly or at all.\n\n\n\nYou should be aware that there are certain things that Subroto Kumar will not take responsibility for. Certain functions of the app will require the app to have an active internet connection. The connection can be Wi-Fi or provided by your mobile network provider, but Subroto Kumar cannot take responsibility for the app not working at full functionality if you don’t have access to Wi-Fi, and you don’t have any of your data allowance left.\n\nIf you’re using the app outside of an area with Wi-Fi, you should remember that the terms of the agreement with your mobile network provider will still apply. As a result, you may be charged by your mobile provider for the cost of data for the duration of the connection while accessing the app, or other third-party charges. In using the app, you’re accepting responsibility for any such charges, including roaming data charges if you use the app outside of your home territory (i.e. region or country) without turning off data roaming. If you are not the bill payer for the device on which you’re using the app, please be aware that we assume that you have received permission from the bill payer for using the app.\n\nAlong the same lines, Subroto Kumar cannot always take responsibility for the way you use the app i.e. You need to make sure that your device stays charged – if it runs out of battery and you can’t turn it on to avail the Service, Subroto Kumar cannot accept responsibility.\n\nWith respect to Subroto Kumar\’s responsibility for your use of the app, when you’re using the app, it’s important to bear in mind that although we endeavor to ensure that it is updated and correct at all times, we do rely on third parties to provide information to us so that we can make it available to you. Subroto Kumar accepts no liability for any loss, direct or indirect, you experience as a result of relying wholly on this functionality of the app.\n\nAt some point, we may wish to update the app. The app is currently available on Android & iOS – the requirements for the both systems(and for any additional systems we decide to extend the availability of the app to) may change, and you’ll need to download the updates if you want to keep using the app. Subroto Kumar does not promise that it will always update the app so that it is relevant to you and/or works with the Android & iOS version that you have installed on your device. However, you promise to always accept updates to the application when offered to you, We may also wish to stop providing the app, and may terminate use of it at any time without giving notice of termination to you. Unless we tell you otherwise, upon any termination, (a) the rights and licenses granted to you in these terms will end; (b) you must stop using the app, and (if needed) delete it from your device.\n\nChanges to This Terms and Conditions\n\nI may update our Terms and Conditions from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Terms and Conditions on this page.\n\nThese terms and conditions are effective as of 2023-02-12\n\nContact Us\n\nIf you have any questions or suggestions about my Terms and Conditions, do not hesitate to contact me at isubrotokumar@gmail.com.\n\nThis Terms and Conditions page was generated by App Privacy Policy Generator',
style: TextStyle(
color: Colors.black),
),
SizedBox(height: 20),
Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: [
ElevatedButton(
onPressed: () =>
Navigator.pop(
context),
child: Text('Close'),
),
],
),
],
),
),
),
);
},
);
},
),
SizedBox(height: 20),
],
),
);
},
);
},
);
},
),
CustomButton(
title: 'Rate Us',
onTap: () {
Expand Down Expand Up @@ -256,8 +353,14 @@ class SettingsScreen extends StatelessWidget {
foregroundColor: Colors.white,
minimumSize: Size(double.maxFinite, 50),
),
onPressed: () {},
child: Text('Rate us on Playstore'),
onPressed: () {
if (Platform.isAndroid) {
launchUrlString(
'https://play.google.com/store/apps/details?id=com.subrotokumar.comet');
}
},
child: Text(
'Rate us on ${Platform.isAndroid ? 'Playstore' : 'Appstore'}'),
),
TextButton(
onPressed: () {
Expand Down Expand Up @@ -289,8 +392,43 @@ class SettingsScreen extends StatelessWidget {
children: [
Text(
'COMET',
style: TextStyle(color: Colors.black),
textAlign: TextAlign.center,
style: GoogleFonts.poppins(
color: Colors.black,
fontSize: 18,
fontWeight: FontWeight.w500,
),
),
Divider(
thickness: 0.5,
color: Colors.black12,
),
Text(
'Comet is a simple yet powerful crypto and NFT management application. Comet has been developed to simplify the process of viewing, transferring, and storing your digital assets while maintaining the security of your funds with its encrypted private key storage. In Comet, you can easily create, transfer and manage your digital assets.',
textAlign: TextAlign.justify,
style: TextStyle(color: Colors.black87),
),
SizedBox(height: 20),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Connect With Me',
style: GoogleFonts.poppins(
color: Colors.black87,
fontSize: 15,
),
),
],
),
SizedBox(height: 10),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
GitHub(username: 'subrotokumar'),
Twitter(username: 'isubrotokumar')
],
)
],
),
),
Expand Down
17 changes: 13 additions & 4 deletions lib/pages/auth/password_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class PasswordScreen extends StatefulWidget {
}

class _PasswordScreenState extends State<PasswordScreen> {
bool isLoading = false;
String n = '';
void addN(String nn) {
if (n.length < 6) {
Expand Down Expand Up @@ -129,6 +130,9 @@ class _PasswordScreenState extends State<PasswordScreen> {
SizedBox(height: 30),
GestureDetector(
onTap: () async {
setState(() {
isLoading = true;
});
bool flag = await walletProvider.getLoggedByPassword(n);
if (flag) {
Navigator.pushReplacement(
Expand All @@ -140,6 +144,9 @@ class _PasswordScreenState extends State<PasswordScreen> {
} else {
snackBar('Wrong Password', context, vertical: 50);
}
setState(() {
isLoading = false;
});
},
child: CircleAvatar(
radius: 30,
Expand All @@ -148,10 +155,12 @@ class _PasswordScreenState extends State<PasswordScreen> {
: Colors.blue,
foregroundColor:
Colors.white.withOpacity(n.length < 6 ? 0.2 : 1),
child: Icon(
Icons.arrow_forward,
size: 40,
),
child: isLoading
? CircularProgressIndicator()
: Icon(
Icons.arrow_forward,
size: 40,
),
),
),
SizedBox(height: 50),
Expand Down
Loading

0 comments on commit 6d3c3a4

Please sign in to comment.