Skip to content

Commit

Permalink
Feb 24 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gina261 committed Feb 23, 2024
1 parent 4cd5149 commit 1b5899a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 34 deletions.
3 changes: 2 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ android {
applicationId "com.example.well_bin01"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
// minSdkVersion flutter.minSdkVersion
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
19 changes: 19 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:408234270631:android:4940475337f13a28162082",
"android_client_info": {
"package_name": "com.example.well_bin_gdsc2024"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyByRZs-laEJRaEVXBrQROG50f9IWdMD7n8"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
Expand Down
39 changes: 6 additions & 33 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import 'package:flutter/material.dart';
import 'package:well_bin01/home.dart';
// import 'camera.dart';
import 'package:firebase_core/firebase_core.dart';
import 'firebase_options.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
runApp(const MyApp());
}

Expand Down Expand Up @@ -100,46 +103,16 @@ class FirstPage extends StatelessWidget {
child: Column(
children: [
const SizedBox(height: 300),
// const Text(
// 'Well-bin',
// style: TextStyle(
// fontSize: 35,
// fontWeight: FontWeight.w500,
// color: Colors.white,
// ),
// ),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const SizedBox(
width: 100,
width: 10,
),
Image.asset('images/well-bin-logo.png'),
],
),
const SizedBox(height: 10),
// TextButton(
// style: TextButton.styleFrom(
// backgroundColor: Colors.white,
// shape: RoundedRectangleBorder(
// borderRadius: BorderRadius.circular(10),
// ),
// minimumSize:
// Size(MediaQuery.of(context).size.width * 0.94, 70),
// maximumSize:
// Size(MediaQuery.of(context).size.width * 0.94, 70),
// ),
// child: const Text(
// 'Upload a photo',
// style: TextStyle(
// fontSize: 20,
// color: Colors.black,
// ),
// ),
// onPressed: () {
// showPopup(context, 'Upload a Photo');
// },
// ),
// const SizedBox(height: 10),
TextButton(
style: TextButton.styleFrom(
// backgroundColor: Colors.white,
Expand Down

0 comments on commit 1b5899a

Please sign in to comment.