Unity-Technologies / com.unity.mobile.notifications

Mobile Notifications Package
https://docs.unity3d.com/Packages/com.unity.mobile.notifications@2.1/manual/index.html
Other
132 stars 42 forks source link

Remove auto-added stuff from the manifest #307

Closed aurimasc closed 10 months ago

aurimasc commented 10 months ago

https://jira.unity3d.com/browse/MNB-76 The androidlib plugin has a manifest file that contains base stuff. Then post process script adds additional things to it based on settings. By accident after creating androidlib plugin manifest ended up having too many things, so even if you don't set rescheduling after boot or exact scheduling in the settings, these settings are still in the manifest.

Adding stuff to manifest is tested by automation. Only remove things that shouldn't be there in the first place. Exact scheduling metadata item needs to be in the manifest, as for legacy reasons code defaults to 1 otherwise. Tested manually by playing with settings that the stuff removed in this PR gets auto-added if requested.