|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
1 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
2 | 3 |
|
3 | 4 | <uses-permission android:name="android.permission.INTERNET" /> |
4 | 5 |
|
5 | | - |
6 | 6 | <application |
7 | | - android:name=".MainApplication" |
8 | | - android:label="@string/app_name" |
9 | | - android:icon="@mipmap/ic_launcher" |
10 | | - android:roundIcon="@mipmap/ic_launcher_round" |
11 | | - android:allowBackup="false" |
12 | | - android:theme="@style/AppTheme" |
13 | | - android:supportsRtl="true"> |
14 | | - <activity |
15 | | - android:name=".MainActivity" |
| 7 | + android:name=".MainApplication" |
16 | 8 | android:label="@string/app_name" |
17 | | - android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" |
18 | | - android:launchMode="singleTask" |
19 | | - android:windowSoftInputMode="adjustResize" |
20 | | - android:exported="true"> |
21 | | - <intent-filter> |
22 | | - <action android:name="android.intent.action.MAIN" /> |
23 | | - <category android:name="android.intent.category.LAUNCHER" /> |
24 | | - </intent-filter> |
25 | | - </activity> |
| 9 | + android:icon="@mipmap/ic_launcher" |
| 10 | + android:roundIcon="@mipmap/ic_launcher_round" |
| 11 | + android:allowBackup="false" |
| 12 | + android:theme="@style/AppTheme" |
| 13 | + android:supportsRtl="true"> |
| 14 | + |
| 15 | + <!-- Our existing MainActivity --> |
| 16 | + <activity |
| 17 | + android:name=".MainActivity" |
| 18 | + android:label="@string/app_name" |
| 19 | + android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" |
| 20 | + android:launchMode="singleTask" |
| 21 | + android:windowSoftInputMode="adjustResize" |
| 22 | + android:exported="true"> |
| 23 | + <intent-filter> |
| 24 | + <action android:name="android.intent.action.MAIN" /> |
| 25 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 26 | + </intent-filter> |
| 27 | + </activity> |
| 28 | + |
| 29 | + <!-- SCGateway SDK Activities --> |
| 30 | + <activity |
| 31 | + android:name="com.smallcase.gateway.screens.transaction.activity.TransactionProcessActivity" |
| 32 | + android:exported="true"> |
| 33 | + <intent-filter> |
| 34 | + <action android:name="android.intent.action.VIEW" /> |
| 35 | + |
| 36 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 37 | + <category android:name="android.intent.category.DEFAULT" /> |
| 38 | + |
| 39 | + <data android:scheme="scgateway"/> |
| 40 | + <data android:host="gatewaydemo"/> |
| 41 | + <data android:scheme="scgateway"/> |
| 42 | + <data android:host="gatewaydemo-dev"/> |
| 43 | + <data android:scheme="scgateway"/> |
| 44 | + <data android:host="gatewaydemo-stag"/> |
| 45 | + </intent-filter> |
| 46 | + </activity> |
| 47 | + |
| 48 | + <!-- RedirectActivity - Handles redirect URLs and launches appropriate actions --> |
| 49 | + <activity |
| 50 | + android:name="com.smallcase.gateway.screens.common.RedirectActivity" |
| 51 | + android:exported="true"> |
| 52 | + <intent-filter> |
| 53 | + <action android:name="android.intent.action.VIEW" /> |
| 54 | + |
| 55 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 56 | + <category android:name="android.intent.category.DEFAULT" /> |
| 57 | + |
| 58 | + <data android:scheme="scgatewayredirect"/> |
| 59 | + <data android:host="gatewaydemo"/> |
| 60 | + <data android:scheme="scgatewayredirect"/> |
| 61 | + <data android:host="gatewaydemo-dev"/> |
| 62 | + <data android:scheme="scgatewayredirect"/> |
| 63 | + <data android:host="gatewaydemo-stag"/> |
| 64 | + </intent-filter> |
| 65 | + </activity> |
| 66 | + |
| 67 | + <!-- SCLoans SDK Activities --> |
| 68 | + <activity |
| 69 | + android:name="com.smallcase.loans.features.ScLoanCustomTabActivity" |
| 70 | + android:exported="true"> |
| 71 | + <intent-filter> |
| 72 | + <action android:name="android.intent.action.VIEW" /> |
| 73 | + |
| 74 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 75 | + <category android:name="android.intent.category.DEFAULT" /> |
| 76 | + |
| 77 | + <data android:scheme="scgateway-loans"/> |
| 78 | + <data android:host="gatewaydemo"/> |
| 79 | + <data android:scheme="scgateway-loans"/> |
| 80 | + <data android:host="gatewaydemo-dev"/> |
| 81 | + <data android:scheme="scgateway-loans"/> |
| 82 | + <data android:host="gatewaydemo-stag"/> |
| 83 | + </intent-filter> |
| 84 | + </activity> |
| 85 | + |
26 | 86 | </application> |
| 87 | + |
27 | 88 | </manifest> |
0 commit comments