Skip to content

Commit

Permalink
v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
YunusEmreAlps committed Oct 14, 2021
1 parent 6a093f3 commit 0bad82d
Show file tree
Hide file tree
Showing 46 changed files with 67 additions and 30 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Simple. Secure. Reliable messaging. Online calls and messaging made easy
- Use provider for managing state
- Already logged in to homepage
- TextInputField decoration like whatsapp
- Multiple Language (TR/EN)

## Folder structure
There's two different folders. Each of them is a Dart project.
Expand Down Expand Up @@ -126,6 +127,15 @@ Launch Page | Login Page | Chat Page | C
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v3_1.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v3_2.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v3_3.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v3_4.png?raw=true)|

## Version 0.1.3 Screenshots

Launch Icon | Launch Page | Login Page (EN) | Login Page (TR)
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_0.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_1.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_2.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_2_tr.png?raw=true)|

Add User (EN) | Add User (TR) | Chat Page (EN) | Chat Page (TR)
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_3.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_3_tr.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_4.png?raw=true)|![](https://github.com/YunusEmreAlps/Konnect/blob/master/ss/v4_4_tr.png?raw=true)|

<p align="center">
<a href="https://github.com/YunusEmreAlps/Konnect">
Expand Down
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.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 modified android/app/src/main/res/mipmap-mdpi/ic_launcher.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 modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.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 modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.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 modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.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/images/dark_launch_icon.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/images/launch_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion assets/langs/en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"About Us": "About Us",
"Add users": "Add users",
"Already Registered?": "Already Registered?",
"Already have an account? ": "Already have an account? ",
"Are you sure?": "Are you sure?",
"Call failed": "Call failed",
"Cancel": "Cancel",
"Clear Chat": "Clear Chat",
"Confirm Password": "Confirm Password",
"Confirm?": "Confirm?",
"Connecting...": "Connecting...",
Expand All @@ -13,6 +15,7 @@
"Contact Us": "Contact Us",
"Continue": "Continue",
"Could not open website!": "Could not open website!",
"Click here to add new users": "Click here to add new users",
"Create account": "Create account",
"Don't have an account? ": "Don't have an account? ",
"Done": "Done",
Expand All @@ -25,6 +28,7 @@
"Forgot Password?": "Forgot Password?",
"History": "History",
"Hold on!": "Hold on!",
"Hold to record, release to send": "Hold to record, release to send",
"Home": "Home",
"How It Works?": "How It Works?",
"I accept the policy and terms": "I accept the policy and terms",
Expand All @@ -33,13 +37,16 @@
"Join Us Now": "Join Us Now",
"Location": "Location",
"Location History": "Location History",
"Log In": "Log In",
"Log Out": "Log Out",
"Maybe": "Maybe",
"Need Help?": "Need Help?",
"Next": "Next",
"New Message": "New Message",
"No": "No",
"OR": "OR",
"Password": "Password",
"Refresh": "Refresh",
"Remember me": "Remember me",
"Search History": "Search History",
"Search in network": "Search in network",
Expand All @@ -52,5 +59,6 @@
"Skip": "Skip",
"Username": "Username",
"Yes": "Yes",
"Welcome Back": "Welcome Back"
"Welcome Back": "Welcome Back",
"Kindly allow mic access for sending voice messages": "Kindly allow mic access for sending voice messages"
}
18 changes: 13 additions & 5 deletions assets/langs/tr.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"About Us": "About Us",
"Add users": "Katılımcı ekle",
"Already Registered?": "Already Registered?",
"Already have an account? ": "Already have an account? ",
"Are you sure?": "Are you sure?",
"Call failed": "Call failed",
"Cancel": "Vazgeç",
"Clear Chat": "Sohbeti Temizle",
"Confirm Password": "Confirm Password",
"Confirm?": "Confirm?",
"Connecting...": "Connecting...",
"Connect with Google": "Connect with Google",
"Connect with Google": "Google ile giriş yap",
"Contact Details": "İletişim Bilgileri",
"Contact Us": "İletişim",
"Continue": "Continue",
"Could not open website!": "Could not open website!",
"Click here to add new users": "Yeni kullanıcılar ekleyin",
"Create account": "Create account",
"Don't have an account? ": "Don't have an account? ",
"Done": "Done",
Expand All @@ -25,6 +28,7 @@
"Forgot Password?": "Forgot Password?",
"History": "History",
"Hold on!": "Hold on!",
"Hold to record, release to send": "Kaydetmek için basılı tutun, göndermek için bırakın",
"Home": "Home",
"How It Works?": "How It Works?",
"I accept the policy and terms": "I accept the policy and terms",
Expand All @@ -33,13 +37,16 @@
"Join Us Now": "Join Us Now",
"Location": "Location",
"Location History": "Location History",
"Log Out": "Log Out",
"Log In": "Giriş Yap",
"Log Out": "Çıkış Yap",
"Maybe": "Maybe",
"Need Help?": "Need Help?",
"Next": "Next",
"New Message": "Yeni İleti",
"No": "Hayır",
"OR": "VEYA",
"Password": "Password",
"Refresh": "Yenile",
"Remember me": "Remember me",
"Search History": "Arama Geçmişi",
"Search in network": "Search in network",
Expand All @@ -48,9 +55,10 @@
"Show Bottom Sheet": "Show Bottom Sheet",
"Sign In": "Sign In",
"Sign in with your username and password": "Sign in with your username and password",
"Sign Up": "Sign Up",
"Sign Up": "Kayıt Ol",
"Skip": "Skip",
"Username": "Username",
"Username": "Kullanıcı Adı",
"Yes": "Evet",
"Welcome Back": "Welcome Back"
"Welcome Back": "Welcome Back",
"Kindly allow mic access for sending voice messages": "Sesli Mesaj kaydetmek için, mikrofon erişimine izin verin"
}
2 changes: 1 addition & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -492,4 +492,4 @@
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
}
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
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 modified ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
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/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions lib/core/constants/app/app_constants.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flutter imports:
import 'package:flutter/material.dart';

class AppConstants {
Expand All @@ -16,12 +15,12 @@ class AppConstants {

const kMessageTextFieldDecoration = InputDecoration(
contentPadding: EdgeInsets.symmetric(vertical: 10.0, horizontal: 20.0),
hintText: 'Type your message here...',
hintText: "New Message",
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black54, width: 1.0),
borderRadius: BorderRadius.all(Radius.circular(32.0)),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black54, width: 2.0),
borderRadius: BorderRadius.all(Radius.circular(32.0)),
));
));
2 changes: 1 addition & 1 deletion lib/core/constants/color/app_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter/material.dart';

// Colors
class AppColors {
static final Color colorPrimary = Color(0xFF01E197); // 0xFF71BFBC
static final Color colorPrimary = Color(0xFF6CD8D1); // Color(0xFF01E197);
static final Color colorSecondary = Color(0xFF979797);
static final Color colorPageBg = Color(0xFFF8F8F8);
static final Color colorHeading = Color(0xFF0A151F);
Expand Down
2 changes: 0 additions & 2 deletions lib/core/constants/image/app_images.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ class AppImages {
static String get iconGoogle => "assets/icons/google-icon.svg";
static String get iconMessage => "assets/icons/icon_message.svg";
static String get iconMessage2 => "assets/icons/icon_message2.svg";


}
11 changes: 10 additions & 1 deletion lib/core/constants/string/app_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class AppStrings {
static final String SKIP = AppLocalizations.getString("Skip");
static final String NEXT = AppLocalizations.getString("Next");
static final String DONE = AppLocalizations.getString("Done");
static final String REFRESH = AppLocalizations.getString("Refresh");
static final String YES = AppLocalizations.getString("Yes");
static final String NO = AppLocalizations.getString("No");
static final String MAYBE = AppLocalizations.getString("Maybe");
Expand All @@ -30,6 +31,7 @@ class AppStrings {
static final String SHOW_ALERT = AppLocalizations.getString("Show Alert Dialog");
static final String SHOW_BOTTOM_SHEET = AppLocalizations.getString("Show Bottom Sheet");
static final String WELCOME_BACK = AppLocalizations.getString("Welcome Back");
static final String ADD_USERS = AppLocalizations.getString("Add users");

// Buttons
static final String INTOUCH_NETWORK = AppLocalizations.getString("inTouch Network");
Expand All @@ -43,6 +45,8 @@ class AppStrings {
static final String PASSWORD = AppLocalizations.getString("Password");
static final String CONFIRM_PASSWORD = AppLocalizations.getString("Confirm Password");
static final String EMAIL = AppLocalizations.getString("Email");
static final String ADD_USER_BUTTON = AppLocalizations.getString("Click here to add new users");


static const String FULL_NAME_HINT_TEXT = "Eleanor Pena";
static const String PASSWORD_HINT_TEXT = "********";
Expand All @@ -59,10 +63,14 @@ class AppStrings {
static final String ALREADY_HAVE_AN_ACCOUNT = AppLocalizations.getString("Already have an account? ");
static final String LOGIN_GUIDE = AppLocalizations.getString("Sign in with your username and password");
static final String CONNECT_GOOGLE = AppLocalizations.getString("Connect with Google");
static final String CLEAR_CHAT = AppLocalizations.getString("Clear Chat");
static final String RECORD_GUIDE = AppLocalizations.getString("Hold to record, release to send");
static final String RECORD_STATUS = AppLocalizations.getString("Kindly allow mic access for sending voice messages");
static final String NEW_MESSAGE = AppLocalizations.getString("New Message");

// About App
static const String FONT_FAMILY = "GILROY";
static const String APP_VERSION = "v.1.0";
static const String APP_VERSION = "v0.1.3";
static const String APP_NAME = "Konnect";
static final String APP_DESCRIPTION = "Connecting You From Around The World";
static final String APP_LONG_DESCRIPTION = "";
Expand Down Expand Up @@ -109,3 +117,4 @@ class AppStrings {
static final String MAIL_ERROR = AppLocalizations.getString('E-Mail not delivered');
static final String WEB_ERROR = AppLocalizations.getString('Could not open website!');
}

1 change: 1 addition & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import 'package:flutter/services.dart';
// Package imports:
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:konnect/ui/view/authenticate/login/login.dart';
import 'package:provider/provider.dart';

// Project imports:
Expand Down
16 changes: 10 additions & 6 deletions lib/ui/view/authenticate/login/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class _LoginNewState extends State<LoginNew> {
Widget build(BuildContext context) {
SizeConfig().init(context);
AppLocalizations.of(context);
final width = MediaQuery.of(context).size.width;
final height = MediaQuery.of(context).size.height;
return Scaffold(
body: DecoratedBox(
position: DecorationPosition.background,
Expand All @@ -46,10 +44,11 @@ class _LoginNewState extends State<LoginNew> {
Column(
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[
children: <Widget>[
// Google Button
Padding(
padding: const EdgeInsets.symmetric(
vertical: 54.0, horizontal: 16.0),
vertical: 64.0, horizontal: 16.0),
child: SizedBox(
width: double.infinity,
height: getProportionateScreenHeight(56),
Expand Down Expand Up @@ -80,10 +79,10 @@ class _LoginNewState extends State<LoginNew> {
} catch (Exception) {}
},
style: TextButton.styleFrom(
backgroundColor: Color(0xFF6CD8D1),
backgroundColor: AppColors.colorPrimary,
elevation: 0,
shape: RoundedRectangleBorder(
side: BorderSide(color: Color(0xFF6CD8D1)),
side: BorderSide(color: AppColors.colorPrimary),
),
),
child: Row(
Expand Down Expand Up @@ -111,9 +110,14 @@ class _LoginNewState extends State<LoginNew> {
),
],
),
Align(
alignment: Alignment(0, 1.0),
child: Text(AppStrings.APP_VERSION),
)
],
),
),
);
}
}

6 changes: 3 additions & 3 deletions lib/ui/view/home/chat_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class _ChatHomeState extends State<ChatHome> {
SizedBox(
width: 5,
),
Text('Refresh'),
Text(AppStrings.REFRESH),
],
),
),
Expand All @@ -206,7 +206,7 @@ class _ChatHomeState extends State<ChatHome> {
SizedBox(
width: 5,
),
Text('Logout'),
Text(AppStrings.LOG_OUT),
],
),
),
Expand All @@ -223,7 +223,7 @@ class _ChatHomeState extends State<ChatHome> {
SizedBox(width: double.infinity),
Center(
child: Text(
'Click here to add new users',
AppStrings.ADD_USER_BUTTON,
style: TextStyle(fontSize: width / 20),
),
),
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/view/home/chat_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class _ChatScreenState extends State<ChatScreen> {

if (statusMic == PermissionStatus.denied) {
Fluttertoast.showToast(
msg: "Kindly allow mic access for sending voice messages");
msg: AppStrings.RECORD_STATUS);
await Future.delayed(Duration(seconds: 1));
getPermissions();
}
Expand Down Expand Up @@ -183,7 +183,7 @@ class _ChatScreenState extends State<ChatScreen> {
itemBuilder: (context) => [
PopupMenuItem(
value: 1,
child: Text('Clear Chat'),
child: Text(AppStrings.CLEAR_CHAT),
),
],
),
Expand Down Expand Up @@ -248,7 +248,7 @@ class _ChatScreenState extends State<ChatScreen> {
visible: recordButtonVisible,
child: GestureDetector(
onTap: () => Fluttertoast.showToast(
msg: "Hold to record, release to send",
msg: AppStrings.RECORD_GUIDE,
),
onLongPress: () async {
setState(() {
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/view/home/search_users.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class _SearchUsersState extends State<SearchUsers> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Add users'),
title: Text(AppStrings.ADD_USERS),
centerTitle: true,
backgroundColor: AppColors.colorPrimary,
),
Expand All @@ -81,7 +81,7 @@ class _SearchUsersState extends State<SearchUsers> {
child: TextField(
controller: _controller,
decoration: InputDecoration(
hintText: "Search Users by Name",
hintText: AppStrings.USERNAME, // "Search Users by Name"
hintStyle: TextStyle(
fontSize: 14, color: AppColors.colorBackButton,
),
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ dev_dependencies:
flutter_launcher_icons: ^0.8.1

flutter_icons:
android: "launcher_icon"
android: true
ios: true
image_path: "assets/images/off_logo.png"
image_path: "assets/images/launch_icon.png"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

Expand Down
Binary file added ss/screenshot-1634214946388.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 ss/v4_0.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 ss/v4_1.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 ss/v4_2.png
Binary file added ss/v4_2_tr.png
Binary file added ss/v4_3.png
Binary file added ss/v4_3_tr.png
Binary file added ss/v4_4.png
Binary file added ss/v4_4_tr.png
Binary file added ss/v4_5.png

0 comments on commit 0bad82d

Please sign in to comment.