-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Setup push notifications #424
Changes from 78 commits
3ce3814
deab109
9ac89a5
f4b3617
42ce96a
7714a1c
9dbe08e
f93400b
4a98da3
1572e4d
4bae637
6acfdc8
8b8e20f
866d8dd
8103e06
67820ac
54f9cbc
d2d20d2
5bf7eaf
cfed894
d7292dd
90f7a44
26b7b7c
16a9ef3
b58ff7d
1d181ae
28809b1
29a4599
e4016e7
2243eaf
e5477c8
1326414
ea04e7a
9f2cf11
f1b7992
a51a9d7
5976aef
c24ee99
b069751
15bc4e5
93fb232
221ddb8
70c1c33
1dd1ad4
e760d20
ed2ef62
a7f8bbb
3ecd752
e64fe75
5ae956f
bea5156
ffa7192
22ca23c
4416772
f783f3d
1ba6496
95818a5
7645985
105fb11
7f0915c
a226e40
e721350
7e1402e
3ddecd4
8d26246
c7ef42e
0c80e86
a6ef943
3aa3db9
e01231b
0bcc2e9
4048e53
7661304
fd2a44a
7321830
9eb0598
479b045
6e0665c
6b8b7d6
344343f
a1a1c35
b49e7d4
27553a9
60865d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "921154746561", | ||
"firebase_url": "https://expensify-chat.firebaseio.com", | ||
"project_id": "expensify-chat", | ||
"storage_bucket": "expensify-chat.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:921154746561:android:4f04268f25f84eaf027c40", | ||
"android_client_info": { | ||
"package_name": "com.expensify.chat" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyCVwQb9lBI06bDIwHOw10AkdJyquXoMngk" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", | ||
"client_type": 3 | ||
}, | ||
{ | ||
"client_id": "921154746561-s3uqn2oe4m85tufi6mqflbfbuajrm2i3.apps.googleusercontent.com", | ||
"client_type": 2, | ||
"ios_info": { | ||
"bundle_id": "com.chat.expensify.chat" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
developmentAppKey = uulSSfTDQJ2r0PMpjRrhmQ | ||
developmentAppSecret = D4Bhf0HrQEehrPua74Tyiw | ||
|
||
productionAppKey = 55vypj0ARc6cN09MX7ogtQ | ||
productionAppSecret = EsSaqbdLSvmyC6kSBFJCtQ | ||
|
||
# Notification Customization | ||
notificationIcon = ic_notification | ||
notificationAccentColor = #2EAAE2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ buildscript { | |
} | ||
dependencies { | ||
classpath("com.android.tools.build:gradle:3.5.3") | ||
classpath("com.google.gms:google-services:4.2.0") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason not to use 4.3.4 here? Just asking b/c I'm also adding this in this PR There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have no opinion here - again, I didn't write any of this config stuff manually. |
||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>detectProvisioningMode</key> | ||
<true/> | ||
<key>developmentAppKey</key> | ||
<string>uulSSfTDQJ2r0PMpjRrhmQ</string> | ||
<key>developmentAppSecret</key> | ||
<string>D4Bhf0HrQEehrPua74Tyiw</string> | ||
<key>productionAppKey</key> | ||
<string>55vypj0ARc6cN09MX7ogtQ</string> | ||
<key>productionAppSecret</key> | ||
<string>EsSaqbdLSvmyC6kSBFJCtQ</string> | ||
</dict> | ||
</plist> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this check if we're adding google-services.json to the project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is output by the RN build process - I wouldn't mess with it unnecessarily. Besides, Android push notifications won't work without google-services.json