diff --git a/amnet-native/app.json b/amnet-native/app.json index 8917a38..3a0f13d 100644 --- a/amnet-native/app.json +++ b/amnet-native/app.json @@ -20,6 +20,7 @@ }, "android": { "package": "moe.ppc.amnet", + "versionCode": 1, "adaptiveIcon": { "foregroundImage": "./assets/icon-android.png", "backgroundColor": "#DED8FD" @@ -31,7 +32,40 @@ "dark": { "backgroundColor": "#3B5ACC" } - } + }, + "intentFilters": + [ + { + "autoVerify": true, + "action": "VIEW", + "data": [ + { + "scheme": "http", + "host": "card.ppc.moe", + "pathPrefix": "/#/servers" + }, + { + "scheme": "http", + "host": "card.ppc.moe", + "pathPrefix": "/#/cards" + }, + { + "scheme": "https", + "host": "card.ppc.moe", + "pathPrefix": "/#/servers" + }, + { + "scheme": "https", + "host": "card.ppc.moe", + "pathPrefix": "/#/cards" + } + ], + "category": [ + "BROWSABLE", + "DEFAULT" + ] + } + ] }, "plugins": [] }