Skip to content

Commit 2e06a5b

Browse files
committed
fix(firebase): Fixed various Firebase related problems.
1 parent f94451e commit 2e06a5b

File tree

4 files changed

+31
-7
lines changed

4 files changed

+31
-7
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,9 @@
3737
<data
3838
android:host="login.openauthenticator.app"
3939
android:scheme="https" />
40-
</intent-filter>
41-
<intent-filter>
42-
<action android:name="android.intent.action.VIEW" />
43-
44-
<category android:name="android.intent.category.DEFAULT" />
45-
<category android:name="android.intent.category.BROWSABLE" />
46-
40+
<data
41+
android:host="open-authenticator-by-skyost.firebaseapp.com"
42+
android:scheme="https" />
4743
<data
4844
android:host="totp"
4945
android:scheme="otpauth" />

firebase/firebase.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@
2323
"source": "/**",
2424
"dynamicLinks": true
2525
}
26+
],
27+
"headers": [
28+
{
29+
"source": "/.well-known/assetlinks.json",
30+
"headers": [
31+
{
32+
"key": "Content-Type",
33+
"value": "application/json"
34+
}
35+
]
36+
}
2637
]
2738
},
2839
"functions": [

firebase/functions/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ module.exports = {
3131
'object-curly-spacing': ['error', 'always'],
3232
'semi': ['error', 'never'],
3333
'max-len': ['error', { 'code': 200 }],
34+
'linebreak-style': 'off',
3435
},
3536
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"relation": [
4+
"delegate_permission/common.handle_all_urls"
5+
],
6+
"target": {
7+
"namespace": "android_app",
8+
"package_name": "app.openauthenticator",
9+
"sha256_cert_fingerprints": [
10+
"0F:32:AC:A7:41:B1:6A:C3:DC:FE:6C:C8:50:98:D5:76:9E:63:E3:F7:73:9E:02:47:B4:F8:32:C0:6B:E2:F1:0D",
11+
"76:40:05:07:E2:C0:45:5D:21:9A:89:29:8A:49:E7:38:EB:DA:CA:40:1B:62:2F:D1:3F:7D:23:A0:DA:B8:A7:9B",
12+
"E4:B3:80:E5:64:3C:5C:3E:C3:94:28:B0:23:3C:DB:A0:5B:4A:8B:EE:EB:71:96:AE:74:39:29:0A:BB:99:8F:E6"
13+
]
14+
}
15+
}
16+
]

0 commit comments

Comments
 (0)