link.xml 664 B

1234567891011
  1. <!--
  2. Prevents the IL2CPP managed code stripper from removing UniWebView types and members that are
  3. only reached through reflection or JSON deserialization, and therefore invisible to the static
  4. analyzer. This includes the native message listeners (methods invoked via MethodInfo.Invoke,
  5. e.g. PageStarted / EvalJavaScriptFinished / DebugLog) and the [Serializable] payload types that
  6. JsonUtility.FromJson populates. Without this, higher managed stripping levels (increasingly the
  7. default in newer Unity) can silently drop these members, making native callbacks disappear.
  8. -->
  9. <linker>
  10. <assembly fullname="UniWebView-CSharp" preserve="all"/>
  11. </linker>