Customize the Manifest and GameActivity with scheme "http://sudoku.secuso.org".
Make sure that WhatsApp accepts this as a valid link.
This commit is contained in:
parent
0ccb20ad19
commit
a538517900
2 changed files with 3 additions and 3 deletions
|
@ -55,14 +55,14 @@
|
|||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="http"
|
||||
android:host="sudoku" />
|
||||
android:host="sudoku.secuso.org" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="sudoku" />
|
||||
<data android:scheme="sudoku.secuso.org" />
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
|
|
|
@ -65,7 +65,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig
|
|||
|
||||
public static final String URL_SCHEME_WITHOUT_HOST = "sudoku";
|
||||
public static final String URL_SCHEME_WITH_HOST = "http";
|
||||
public static final String URL_HOST = "sudoku";
|
||||
public static final String URL_HOST = "sudoku.secuso.org";
|
||||
|
||||
GameController gameController;
|
||||
SudokuFieldLayout layout;
|
||||
|
|
Loading…
Reference in a new issue