Skip to content

Conversation

@adamschlesinger
Copy link
Contributor

@adamschlesinger adamschlesinger commented Jan 6, 2022

Changed

  • Default export path for icons on Android changed to Assets/Plugins/Android/OneSignalConfig/res

Removed

  • Legacy AndroidManifest from past version of imported OneSignal Android SDK

This change is Reviewable

Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 2 files at r1.
Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @adamschlesinger and @jkasten2)


com.onesignal.unity.android/Editor/SetupSteps/SetupManifestStep.cs, line 36 at r1 (raw file):

        var matches = Regex.Matches(contents, _manifestRegex);
        foreach (var match in matches) {
            if (match.ToString() != PlayerSettings.GetApplicationIdentifier(BuildTargetGroup.Android))

I believe we can remove this whole manifest step completely since we switched our Gradle release of the OneSignal-Andriod-SDK.

Copy link
Contributor Author

@adamschlesinger adamschlesinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @jkasten2)


com.onesignal.unity.android/Editor/SetupSteps/SetupManifestStep.cs, line 36 at r1 (raw file):

Previously, jkasten2 (Josh Kasten) wrote…

I believe we can remove this whole manifest step completely since we switched our Gradle release of the OneSignal-Andriod-SDK.

I think you're right. I'll need to test it without this step to confirm.

Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @adamschlesinger)


com.onesignal.unity.android/Editor/SetupSteps/SetupManifestStep.cs, line 36 at r1 (raw file):

Previously, adamschlesinger (Adam Schlesinger) wrote…

I think you're right. I'll need to test it without this step to confirm.

We can merge this PR in for now so it doesn't hold up the release since you tested it. We can follow up with another PR to fully remove this if it work.

@adamschlesinger adamschlesinger changed the title [FIX] Use Android app id for manifest [FIX] Exported Android resources not functioning as intended Jan 20, 2022
Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me. Some commits could be squashed to clean up the git history though.

Reviewed 72 of 72 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @adamschlesinger)

@adamschlesinger adamschlesinger merged commit e0035c1 into develop Jan 21, 2022
@adamschlesinger adamschlesinger deleted the fix/androidManifest branch January 21, 2022 16:50
adamschlesinger added a commit that referenced this pull request Apr 4, 2022
adamschlesinger added a commit that referenced this pull request Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants