Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
f15a53fd
Commit
f15a53fd
authored
Sep 19, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firebase setup
parent
bc814759
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
213 additions
and
0 deletions
+213
-0
build.gradle
android/app/build.gradle
+2
-0
google-services.json
android/app/google-services.json
+46
-0
build.gradle
android/build.gradle
+1
-0
GoogleService-Info.plist
ios/Runner/GoogleService-Info.plist
+34
-0
firebase_app_id_file.json
ios/firebase_app_id_file.json
+7
-0
firebase_options.dart
lib/firebase_options.dart
+82
-0
GoogleService-Info.plist
macos/Runner/GoogleService-Info.plist
+34
-0
firebase_app_id_file.json
macos/firebase_app_id_file.json
+7
-0
No files found.
android/app/build.gradle
View file @
f15a53fd
...
@@ -23,6 +23,7 @@ if (flutterVersionName == null) {
...
@@ -23,6 +23,7 @@ if (flutterVersionName == null) {
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android'
apply
plugin:
'com.google.gms.google-services'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
...
@@ -68,4 +69,5 @@ flutter {
...
@@ -68,4 +69,5 @@ flutter {
dependencies
{
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
platform
(
'com.google.firebase:firebase-bom:30.4.1'
)
}
}
android/app/google-services.json
0 → 100644
View file @
f15a53fd
{
"project_info"
:
{
"project_number"
:
"806811359126"
,
"project_id"
:
"medapp-by-eksad"
,
"storage_bucket"
:
"medapp-by-eksad.appspot.com"
},
"client"
:
[
{
"client_info"
:
{
"mobilesdk_app_id"
:
"1:806811359126:android:5dea1814d776408a336fb7"
,
"android_client_info"
:
{
"package_name"
:
"com.eksad.medapp"
}
},
"oauth_client"
:
[
{
"client_id"
:
"806811359126-u6dgf8qamfdnn3ga32u7ppdot00e92bn.apps.googleusercontent.com"
,
"client_type"
:
3
}
],
"api_key"
:
[
{
"current_key"
:
"AIzaSyDwbsx4RbqVDPIMfESYw4NIaUCxedQpxHE"
}
],
"services"
:
{
"appinvite_service"
:
{
"other_platform_oauth_client"
:
[
{
"client_id"
:
"806811359126-u6dgf8qamfdnn3ga32u7ppdot00e92bn.apps.googleusercontent.com"
,
"client_type"
:
3
},
{
"client_id"
:
"806811359126-32g1e7m46rra6sjidfah3fauor5sq511.apps.googleusercontent.com"
,
"client_type"
:
2
,
"ios_info"
:
{
"bundle_id"
:
"com.example.medappEksad"
}
}
]
}
}
}
],
"configuration_version"
:
"1"
}
\ No newline at end of file
android/build.gradle
View file @
f15a53fd
...
@@ -8,6 +8,7 @@ buildscript {
...
@@ -8,6 +8,7 @@ buildscript {
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:7.1.2'
classpath
'com.android.tools.build:gradle:7.1.2'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath
'com.google.gms:google-services:4.3.13'
}
}
}
}
...
...
ios/Runner/GoogleService-Info.plist
0 → 100644
View file @
f15a53fd
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CLIENT_ID
<
/k
e
y
>
<
string
>
806811359126-32g1e7m46rra6sjidfah3fauor5sq511.apps.googleusercontent.com
<
/string
>
<
k
e
y
>
REVERSED_CLIENT_ID
<
/k
e
y
>
<
string
>
com.googleusercontent.apps.806811359126-32g1e7m46rra6sjidfah3fauor5sq511
<
/string
>
<
k
e
y
>
API_KEY
<
/k
e
y
>
<
string
>
AIzaSyAHUTLqbVYsWtQoVmP99KMNSoYhi2jVR3s
<
/string
>
<
k
e
y
>
GCM_SENDER_ID
<
/k
e
y
>
<
string
>
806811359126
<
/string
>
<
k
e
y
>
PLIST_VERSION
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
BUNDLE_ID
<
/k
e
y
>
<
string
>
com.example.medappEksad
<
/string
>
<
k
e
y
>
PROJECT_ID
<
/k
e
y
>
<
string
>
medapp-by-eksad
<
/string
>
<
k
e
y
>
STORAGE_BUCKET
<
/k
e
y
>
<
string
>
medapp-by-eksad.appspot.com
<
/string
>
<
k
e
y
>
IS_ADS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_ANALYTICS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_APPINVITE_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_GCM_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_SIGNIN_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
GOOGLE_APP_ID
<
/k
e
y
>
<
string
>
1:806811359126:ios:fd5b916031b6994c336fb7
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
\ No newline at end of file
ios/firebase_app_id_file.json
0 → 100644
View file @
f15a53fd
{
"file_generated_by"
:
"FlutterFire CLI"
,
"purpose"
:
"FirebaseAppID & ProjectID for this Firebase app in this directory"
,
"GOOGLE_APP_ID"
:
"1:806811359126:ios:fd5b916031b6994c336fb7"
,
"FIREBASE_PROJECT_ID"
:
"medapp-by-eksad"
,
"GCM_SENDER_ID"
:
"806811359126"
}
\ No newline at end of file
lib/firebase_options.dart
0 → 100644
View file @
f15a53fd
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
import
'package:firebase_core/firebase_core.dart'
show
FirebaseOptions
;
import
'package:flutter/foundation.dart'
show
defaultTargetPlatform
,
kIsWeb
,
TargetPlatform
;
/// Default [FirebaseOptions] for use with your Firebase apps.
///
/// Example:
/// ```dart
/// import 'firebase_options.dart';
/// // ...
/// await Firebase.initializeApp(
/// options: DefaultFirebaseOptions.currentPlatform,
/// );
/// ```
class
DefaultFirebaseOptions
{
static
FirebaseOptions
get
currentPlatform
{
if
(
kIsWeb
)
{
return
web
;
}
switch
(
defaultTargetPlatform
)
{
case
TargetPlatform
.
android
:
return
android
;
case
TargetPlatform
.
iOS
:
return
ios
;
case
TargetPlatform
.
macOS
:
return
macos
;
case
TargetPlatform
.
windows
:
throw
UnsupportedError
(
'DefaultFirebaseOptions have not been configured for windows - '
'you can reconfigure this by running the FlutterFire CLI again.'
,
);
case
TargetPlatform
.
linux
:
throw
UnsupportedError
(
'DefaultFirebaseOptions have not been configured for linux - '
'you can reconfigure this by running the FlutterFire CLI again.'
,
);
default
:
throw
UnsupportedError
(
'DefaultFirebaseOptions are not supported for this platform.'
,
);
}
}
static
const
FirebaseOptions
web
=
FirebaseOptions
(
apiKey:
'AIzaSyDDrwgOX2lBl3oL3kSa4eTPZ2gdSUEA2i8'
,
appId:
'1:806811359126:web:d8760ad3f5c4cbb4336fb7'
,
messagingSenderId:
'806811359126'
,
projectId:
'medapp-by-eksad'
,
authDomain:
'medapp-by-eksad.firebaseapp.com'
,
storageBucket:
'medapp-by-eksad.appspot.com'
,
);
static
const
FirebaseOptions
android
=
FirebaseOptions
(
apiKey:
'AIzaSyDwbsx4RbqVDPIMfESYw4NIaUCxedQpxHE'
,
appId:
'1:806811359126:android:6f3c3f91db66b5b9336fb7'
,
messagingSenderId:
'806811359126'
,
projectId:
'medapp-by-eksad'
,
storageBucket:
'medapp-by-eksad.appspot.com'
,
);
static
const
FirebaseOptions
ios
=
FirebaseOptions
(
apiKey:
'AIzaSyAHUTLqbVYsWtQoVmP99KMNSoYhi2jVR3s'
,
appId:
'1:806811359126:ios:fd5b916031b6994c336fb7'
,
messagingSenderId:
'806811359126'
,
projectId:
'medapp-by-eksad'
,
storageBucket:
'medapp-by-eksad.appspot.com'
,
iosClientId:
'806811359126-32g1e7m46rra6sjidfah3fauor5sq511.apps.googleusercontent.com'
,
iosBundleId:
'com.example.medappEksad'
,
);
static
const
FirebaseOptions
macos
=
FirebaseOptions
(
apiKey:
'AIzaSyAHUTLqbVYsWtQoVmP99KMNSoYhi2jVR3s'
,
appId:
'1:806811359126:ios:fd5b916031b6994c336fb7'
,
messagingSenderId:
'806811359126'
,
projectId:
'medapp-by-eksad'
,
storageBucket:
'medapp-by-eksad.appspot.com'
,
iosClientId:
'806811359126-32g1e7m46rra6sjidfah3fauor5sq511.apps.googleusercontent.com'
,
iosBundleId:
'com.example.medappEksad'
,
);
}
macos/Runner/GoogleService-Info.plist
0 → 100644
View file @
f15a53fd
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CLIENT_ID
<
/k
e
y
>
<
string
>
806811359126-32g1e7m46rra6sjidfah3fauor5sq511.apps.googleusercontent.com
<
/string
>
<
k
e
y
>
REVERSED_CLIENT_ID
<
/k
e
y
>
<
string
>
com.googleusercontent.apps.806811359126-32g1e7m46rra6sjidfah3fauor5sq511
<
/string
>
<
k
e
y
>
API_KEY
<
/k
e
y
>
<
string
>
AIzaSyAHUTLqbVYsWtQoVmP99KMNSoYhi2jVR3s
<
/string
>
<
k
e
y
>
GCM_SENDER_ID
<
/k
e
y
>
<
string
>
806811359126
<
/string
>
<
k
e
y
>
PLIST_VERSION
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
BUNDLE_ID
<
/k
e
y
>
<
string
>
com.example.medappEksad
<
/string
>
<
k
e
y
>
PROJECT_ID
<
/k
e
y
>
<
string
>
medapp-by-eksad
<
/string
>
<
k
e
y
>
STORAGE_BUCKET
<
/k
e
y
>
<
string
>
medapp-by-eksad.appspot.com
<
/string
>
<
k
e
y
>
IS_ADS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_ANALYTICS_ENABLED
<
/k
e
y
>
<
fa
ls
e
><
/
fa
ls
e
>
<
k
e
y
>
IS_APPINVITE_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_GCM_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
IS_SIGNIN_ENABLED
<
/k
e
y
>
<
tru
e
><
/tru
e
>
<
k
e
y
>
GOOGLE_APP_ID
<
/k
e
y
>
<
string
>
1:806811359126:ios:fd5b916031b6994c336fb7
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
\ No newline at end of file
macos/firebase_app_id_file.json
0 → 100644
View file @
f15a53fd
{
"file_generated_by"
:
"FlutterFire CLI"
,
"purpose"
:
"FirebaseAppID & ProjectID for this Firebase app in this directory"
,
"GOOGLE_APP_ID"
:
"1:806811359126:ios:fd5b916031b6994c336fb7"
,
"FIREBASE_PROJECT_ID"
:
"medapp-by-eksad"
,
"GCM_SENDER_ID"
:
"806811359126"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment