Skip to content

Commit 901ecec

Browse files
committed
[MOB - 3271] - xml changes for Android 12
Adding "exported: false" to InboxActivity and InboxMessageActivity. Service - Firebase already had this flag. This flag indicates whether the given application component is available to other applications. If false, it can only be accessed by same package. If true, it can be invoked by external entities.
1 parent a7b1092 commit 901ecec

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

iterableapi-ui/src/main/AndroidManifest.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
<application>
44
<activity
55
android:name=".inbox.IterableInboxActivity"
6-
android:label="Inbox"/>
6+
android:exported="false"
7+
android:label="Inbox" />
78
<activity
8-
android:name=".inbox.IterableInboxMessageActivity"/>
9+
android:name=".inbox.IterableInboxMessageActivity"
10+
android:exported="false"/>
911
</application>
1012
</manifest>

iterableapi/src/test/AndroidManifest.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ package="com.iterable.iterableapi" android:versionName="1.2.3" android:versionCo
44
<application
55
android:label="IterableAPI"
66
android:supportsRtl="true">
7-
<activity android:name=".unit.MainActivity">
7+
<activity android:name=".unit.MainActivity"
8+
android:exported="false">
89
<intent-filter>
910
<action android:name="android.intent.action.MAIN" />
1011
<category android:name="android.intent.category.LAUNCHER" />

0 commit comments

Comments
 (0)