adjust / unity_sdk

This is the Unity SDK of
http://www.adjust.com
MIT License
149 stars 70 forks source link

Android Build failed after intalling Firebase Cloud Messaging Unity Sdk. #273

Open rumaniel opened 11 months ago

rumaniel commented 11 months ago

Hi, teams.

I'm implementing the Adjust Unity SDK but faced Null Reference Exception at 157 line on AdjustEditorPreprocessors.cs during the Android Build stage.

I think it's because of at 118 line on AdjustEditorPreprocessors.cs that try to select "/manifest/application/activity[@android:name='com.unity3d.player.UnityPlayerActivity']" node.

Before implementing the Adjust Unity Sdk, I already implement Firebase Cloud Messaging Unity Sdk.

Latest Firebase Cloud Messaging Unity Sdk replace com.unity3d.player.UnityPlayerActivity to com.google.firebase.MessagingUnityPlayerActivity.

Temporarily, I changed that line and can keep implementing Adjust Sdk.

I think there will be an option to customize the default activity name via the inspector.

My environments:

Best Regards.