Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new release #39

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ apply plugin: 'com.google.gms.google-services'
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 {
namespace "com.example.iiitd_mentorship"
compileSdkVersion flutter.compileSdkVersion
Expand Down Expand Up @@ -57,11 +63,20 @@ 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
signingConfig signingConfigs.release
}
}
}
Expand Down
68 changes: 68 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,74 @@
"package_name": "com.example.iiitd_mentorship"
}
},
"oauth_client": [
{
"client_id": "1077659098219-ck6i38qrlboq52hrhlps1gemdf2gff9h.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.iiitd_mentorship",
"certificate_hash": "14b183fb2531edcfff4eed2a3afdc98c6241308b"
}
},
{
"client_id": "1077659098219-cvhe9b1hd1f6o4c85b7a06juh3gg83ht.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.iiitd_mentorship",
"certificate_hash": "69804f3b409af5222e81be911d7c11aa272f5336"
}
},
{
"client_id": "1077659098219-hqbqi7juuiuvc19dvgjsdh3rufndq9ic.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.iiitd_mentorship",
"certificate_hash": "25a9aa11e2007f8795c77019a02129a2328e3cba"
}
},
{
"client_id": "1077659098219-uq2do6qijm1nem6iopk8j4l86s75uhke.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.iiitd_mentorship",
"certificate_hash": "e7f3bdcaeeb99066a70086c86b23301d0e2c996c"
}
},
{
"client_id": "1077659098219-uiegruhf41mgsol9ufnvqp36mp7efc2u.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyC_4qdM4mSd6v4pTTz0fWLigkN73YmuZfY"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1077659098219-uiegruhf41mgsol9ufnvqp36mp7efc2u.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "1077659098219-i14nr9otgut0t00hgnsed4kr1obf669c.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.example.iiitdMentorship"
}
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:1077659098219:android:d88595e986492d210c652e",
"android_client_info": {
"package_name": "com.example.iiitd_mentorship"
}
},
"oauth_client": [
{
"client_id": "1077659098219-uiegruhf41mgsol9ufnvqp36mp7efc2u.apps.googleusercontent.com",
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="iiitd_mentorship"
android:label="MentorMatch IIIT Delhi"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/launcher_icon">
<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/icon/icon.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.
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.
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.
5 changes: 1 addition & 4 deletions lib/app/views/screens/profile/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
SnackBar(content: Text('Profile Updated Successfully')),
);
} catch (e) {
print('Error updating user data: $e');
// Show an error message
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text('Error updating profile')),
Expand Down Expand Up @@ -140,7 +139,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
});
}
} catch (e) {
print('Error fetching user data: $e');
rethrow;
}
}
}
Expand Down Expand Up @@ -174,7 +173,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
SnackBar(content: Text('Profile picture updated successfully')),
);
} catch (e) {
print('Error uploading image: $e');
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text('Error updating profile picture')),
);
Expand All @@ -194,7 +192,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
await _uploadProfileImage();
}
} catch (e) {
print('Error picking image: $e');
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text('Error picking image')),
);
Expand Down
Loading