Fix build

This commit is contained in:
nielsandriesse 2020-06-03 11:23:04 +10:00
parent c1d1fa6c3a
commit e7a7d00f25
3 changed files with 50 additions and 5 deletions

1
.gitignore vendored
View File

@ -26,4 +26,3 @@ jni/libspeex/.deps/
pkcs11.password
fabric.properties
play
google-services.json

View File

@ -40,8 +40,7 @@ Setting up a development environment and building from Android Studio
3. Paste the URL for the session-android project when prompted (https://github.com/loki-project/session-android.git).
4. Android Studio should detect the presence of a project file and ask you whether to open it. Click "yes".
5. Default config options should be good enough.
6. Right now, the google-services.json file is kept out of the public repository as it contains credentials for Firebase (used for push notifications) authentication. We haven't yet made a way to build the app without this file or without Firebase. Email niels@loki.network to get this file for your build.
7. Project initialisation and building should proceed.
6. Project initialization and building should proceed.
Building Session from the command line
---------------

47
google-services.json Normal file
View File

@ -0,0 +1,47 @@
{
"project_info": {
"project_number": "43512467490",
"firebase_url": "https://loki-5a81e.firebaseio.com",
"project_id": "loki-5a81e",
"storage_bucket": "loki-5a81e.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:43512467490:android:12239ad88b21eedf19ba7b",
"android_client_info": {
"package_name": "network.loki.messenger"
}
},
"oauth_client": [
{
"client_id": "43512467490-5hlnkf47svrlsb79h5f0hmct6afv1ep7.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBPvEo_fyUsb3nuqhh20EwJGt_UXaVITrE"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "43512467490-5hlnkf47svrlsb79h5f0hmct6afv1ep7.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "43512467490-f04dj1ssk2medqq3t33odidvmi9bi9ob.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.loki-project.loki-messenger"
}
}
]
}
}
}
],
"configuration_version": "1"
}