Skip to content

Commit 03cdfb6

Browse files
committed
fix native SDK logs on UWP
1 parent 3389bb9 commit 03cdfb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/AppCenter/Editor/AppCenterPostBuild.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject)
8282
public static void AddHelperCodeToUWPProject(string pathToBuiltProject)
8383
{
8484
var settings = AppCenterSettingsContext.SettingsInstance;
85-
if (!settings.UsePush)
85+
if (!settings.UsePush || AppCenterSettings.Push == null)
8686
{
8787
return;
8888
}

0 commit comments

Comments
 (0)