Skip to content

Commit 0075258

Browse files
committed
Add notifications permission to manifest
1 parent 45377b7 commit 0075258

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.unity.mobile.notifications/Editor/AndroidNotificationPostProcessor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ private void InjectAndroidManifest(string projectPath)
8282
AppendAndroidPermissionField(manifestPath, manifestDoc, "android.permission.RECEIVE_BOOT_COMPLETED");
8383
}
8484

85+
AppendAndroidPermissionField(manifestPath, manifestDoc, "android.permission.POST_NOTIFICATIONS");
86+
8587
manifestDoc.Save(manifestPath);
8688
}
8789

0 commit comments

Comments
 (0)