Skip to content

Commit

Permalink
task: setting up firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Atuoha committed Sep 20, 2022
1 parent b629d30 commit 93abf0e
Show file tree
Hide file tree
Showing 22 changed files with 6,574 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "multivendz"
}
}
3 changes: 2 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ android {
applicationId "com.atutechs.multivendor_shop"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
minSdkVersion 19
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}

buildTypes {
Expand Down
54 changes: 54 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"project_info": {
"project_number": "775065813848",
"project_id": "multivendz",
"storage_bucket": "multivendz.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:775065813848:android:05f53a9af344590b4d5b2d",
"android_client_info": {
"package_name": "com.atutechs.multivendor_shop"
}
},
"oauth_client": [
{
"client_id": "775065813848-85q9m52rj5qldj1gmugn846atqjsk008.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.atutechs.multivendor_shop",
"certificate_hash": "fac44a58ecf3847144cb49a604bbb9a4e69897c1"
}
},
{
"client_id": "775065813848-bcuq9b5anblvd632rlmfso6em9f6o82t.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyA7rOI3nl4JLGafn4Bqw84jyEeGLiiqD6c"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "775065813848-bcuq9b5anblvd632rlmfso6em9f6o82t.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "775065813848-gvjhqiqp8b3eam9fge2dsq6ceilbstue.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.atutechs.multivendorShop"
}
}
]
}
}
}
],
"configuration_version": "1"
}
9 changes: 9 additions & 0 deletions android/bash.exe.stackdump
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Stack trace:
Frame Function Args
000FFFFA330 00210062B0E (002102970D8, 00210275E3E, 000FFFFA330, 000FFFF9230)
000FFFFA330 0021004846A (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFA330 002100484A2 (00210297189, 000FFFFA1E8, 000FFFFA330, 00000000000)
000FFFFA330 002100D2DDE (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFA330 002100D2F05 (000FFFFA340, 00000000000, 00000000000, 00000000000)
000FFFFA600 002100D44C5 (000FFFFA340, 00000000000, 00000000000, 00000000000)
End of stack trace
Binary file added assets/images/google.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/logo.jpg
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/logo_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"functions": {
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
]
}
}
14 changes: 14 additions & 0 deletions functions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
"eslint:recommended",
"google",
],
rules: {
quotes: ["error", "double"],
},
};
1 change: 1 addition & 0 deletions functions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
9 changes: 9 additions & 0 deletions functions/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const functions = require("firebase-functions");

// // Create and Deploy Your First Cloud Functions
// // https://firebase.google.com/docs/functions/write-firebase-functions
//
// exports.helloWorld = functions.https.onRequest((request, response) => {
// functions.logger.info("Hello logs!", {structuredData: true});
// response.send("Hello from Firebase!");
// });
Loading

0 comments on commit 93abf0e

Please sign in to comment.