Skip to content

Commit 7e43b08

Browse files
author
Pedro Martins
committed
Update to target sdk version 31
YM-25652
1 parent 0efc144 commit 7e43b08

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
minSdkVersionVersion=21
25-
targetSdkVersion=28
25+
targetSdkVersion=31
2626
compileSdkVersion=28
2727

2828
uiWidgetsVersion=1.9.0

sample-app-2/src/main/AndroidManifest.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
<activity
1717
android:name="com.yoti.mobile.android.sampleapp2.MainActivity"
18+
android:exported="true"
1819
android:launchMode="singleInstance"
1920
android:theme="@style/SampleAppFullScreenTheme">
2021
<intent-filter>
@@ -24,13 +25,17 @@
2425
</intent-filter>
2526
</activity>
2627

27-
<receiver android:name="com.yoti.mobile.android.sampleapp2.recievers.ShareAttributesResultBroadcastReceiver" android:exported="false">
28+
<receiver
29+
android:name="com.yoti.mobile.android.sampleapp2.recievers.ShareAttributesResultBroadcastReceiver"
30+
android:exported="false">
2831
<intent-filter>
2932
<action android:name="com.yoti.services.CALLBACK" />
3033
</intent-filter>
3134
</receiver>
3235

33-
<activity android:name="com.yoti.mobile.android.sampleapp2.ProfileActivity" />
36+
<activity
37+
android:name="com.yoti.mobile.android.sampleapp2.ProfileActivity"
38+
android:exported="false" />
3439

3540
<service
3641
android:name="com.yoti.mobile.android.sampleapp2.services.CallbackIntentService"

sample-app-3/src/main/AndroidManifest.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@
1111
android:roundIcon="@mipmap/ic_launcher_round"
1212
android:supportsRtl="true"
1313
android:theme="@style/AppTheme">
14-
<activity android:name="com.yoti.mobile.android.sdk.sampleapp.MainActivity"
15-
android:theme="@style/SampleAppTheme"
16-
android:launchMode="singleInstance">
14+
<activity
15+
android:name="com.yoti.mobile.android.sdk.sampleapp.MainActivity"
16+
android:exported="true"
17+
android:launchMode="singleInstance"
18+
android:theme="@style/SampleAppTheme">
1719
<intent-filter>
1820
<action android:name="android.intent.action.MAIN" />
1921

2022
<category android:name="android.intent.category.LAUNCHER" />
2123
</intent-filter>
2224
</activity>
2325

24-
<receiver android:name="com.yoti.mobile.android.sdk.sampleapp.ShareAttributesResultBroadcastReceiver" android:exported="false">
26+
<receiver
27+
android:name="com.yoti.mobile.android.sdk.sampleapp.ShareAttributesResultBroadcastReceiver"
28+
android:exported="false">
2529
<intent-filter>
2630
<action android:name="com.test.app.YOTI_CALLBACK" />
2731
<action android:name="com.test.app.BACKEND_CALLBACK" />

sample-app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
android:roundIcon="@mipmap/ic_launcher_round"
1313
android:supportsRtl="true"
1414
android:theme="@style/AppTheme">
15-
<activity android:name=".MainActivity"
15+
<activity
16+
android:name=".MainActivity"
17+
android:exported="true"
1618
android:launchMode="singleInstance"
1719
android:theme="@style/SampleAppTheme">
1820
<intent-filter>
@@ -22,7 +24,9 @@
2224
</intent-filter>
2325
</activity>
2426

25-
<receiver android:name=".ShareAttributesResultBroadcastReceiver" android:exported="false">
27+
<receiver
28+
android:name=".ShareAttributesResultBroadcastReceiver"
29+
android:exported="false">
2630
<intent-filter>
2731
<action android:name="com.test.app.YOTI_CALLBACK" />
2832
<action android:name="com.test.app.BACKEND_CALLBACK" />

0 commit comments

Comments
 (0)