File tree Expand file tree Collapse file tree 5 files changed +44
-2
lines changed
java/cz/muni/fi/rpg/ui/gameMaster Expand file tree Collapse file tree 5 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 3838 <action android : name =" android.intent.action.VIEW" />
3939 <category android : name =" android.intent.category.DEFAULT" />
4040 <category android : name =" android.intent.category.BROWSABLE" />
41- <data android : host =" wfrp.page.link " android : scheme =" https" />
41+ <data android : host =" dnd-master-58fca.web.app " android : pathPrefix = " /app/ " android : scheme =" https" />
4242 </intent-filter >
4343 </activity >
4444 </application >
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import android.view.View
88import androidx.appcompat.app.AlertDialog
99import androidx.fragment.app.DialogFragment
1010import com.fasterxml.jackson.databind.json.JsonMapper
11+ import com.google.firebase.dynamiclinks.ktx.androidParameters
1112import com.google.firebase.dynamiclinks.ktx.dynamicLinks
1213import com.google.firebase.dynamiclinks.ktx.shortLinkAsync
1314import com.google.firebase.ktx.Firebase
@@ -54,7 +55,8 @@ class InvitationDialog(
5455 jsonInvitation : String
5556 ) {
5657 val link = Firebase .dynamicLinks.shortLinkAsync {
57- link = Uri .parse(" https://play.google.com/store/apps/details?id=cz.frantisekmasa.dnd&invitation=$jsonInvitation " )
58+ link = Uri .parse(" https://dnd-master-58fca.web.app/app/invitation?invitation=$jsonInvitation " )
59+ androidParameters { }
5860 domainUriPrefix = " https://wfrp.page.link"
5961 }.await()
6062
Original file line number Diff line number Diff line change @@ -84,6 +84,16 @@ body {
8484 color : # 000 ;
8585}
8686
87+ .main-screenshot {
88+ width : 30% ;
89+ float : left;
90+ margin-right : 16px ;
91+ }
92+
93+ .clear {
94+ clear : both;
95+ }
96+
8797@media (max-width : 600px ) {
8898 body , # message {
8999 margin-top : 0 ;
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6+ < title > Privacy Policy</ title >
7+
8+ < link rel ="stylesheet " href ="/app.css ">
9+ </ head >
10+ < body >
11+ < div id ="header ">
12+ < h1 > WFRP Master</ h1 >
13+ </ div >
14+ < div id ="message ">
15+ < img src ="/screenshot.png " alt ="Screenshot of WFRP Master " class ="main-screenshot ">
16+ < h1 > Invitation</ h1 >
17+ < p > You have been invited to WFRP Master party.</ p >
18+ < p > Open this page on your Android device to join it.</ p >
19+ < a href ="https://play.google.com/store/apps/details?id=cz.frantisekmasa.dnd&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1 "> < img
20+ alt ="Get it on Google Play "
21+ width ="200 "
22+ src ="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png "/> </ a >
23+ < div class ="clear "> </ div >
24+ </ div >
25+ < div id ="footer ">
26+ < p > WFRP Master</ p >
27+ < p > Google Play and the Google Play logo are trademarks of Google LLC.</ p >
28+ </ div >
29+ </ body >
30+ </ html >
You can’t perform that action at this time.
0 commit comments