Skip to content

Commit

Permalink
Fix Mobile Install Referrer issue for MMP integration
Browse files Browse the repository at this point in the history
Summary: Remove "fb" prefix for Android App Id to fix MIR issue for MMP integration.

Reviewed By: KylinChang

Differential Revision: D56906371

fbshipit-source-id: f7a2271b638b38bebc59ae8dff2df057e231b6a2
  • Loading branch information
jjiang10 authored and facebook-github-bot committed May 3, 2024
1 parent 20e50bc commit ee8c2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Facebook.Unity.Editor/android/ManifestMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ public static void UpdateManifest(string fullPath)
ManifestMod.AddSimpleActivity(doc, dict, ns, UnityGameRequestActivityName);

// add the app id
// <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ fb<APPID>" />
// <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ <APPID>" />
XmlElement appIdElement = doc.CreateElement("meta-data");
appIdElement.SetAttribute("name", ns, ApplicationIdMetaDataName);
appIdElement.SetAttribute("value", ns, "fb" + appId);
appIdElement.SetAttribute("value", ns, appId);
ManifestMod.SetOrReplaceXmlElement(dict, appIdElement);

// add the client token
Expand Down

0 comments on commit ee8c2f0

Please sign in to comment.